@opencode/core 0.0.0-dev-19974 → 0.0.0-dev-19976

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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/{command-8gxjxfk7.js → workspace-00jp707z.js} +34 -34
  8. package/dist/chunks/{command-d4kvcxbh.js → workspace-05jrxfe9.js} +20 -20
  9. package/dist/chunks/{command-9tb5hr0v.js → workspace-0jrsc0d0.js} +20 -20
  10. package/dist/chunks/{command-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{command-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{command-b91y5b0n.js → workspace-0rvp7ahq.js} +20 -20
  13. package/dist/chunks/{command-e0378qy6.js → workspace-0tmgye68.js} +9 -9
  14. package/dist/chunks/{command-7y0fda1f.js → workspace-0x0c0f3f.js} +7 -7
  15. package/dist/chunks/{command-3gafegkz.js → workspace-0z7rzftk.js} +6 -6
  16. package/dist/chunks/{command-gezbrf6h.js → workspace-1407x5yq.js} +6 -6
  17. package/dist/chunks/{command-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{command-mhkvc446.js → workspace-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{command-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{command-5qmpb97a.js → workspace-1kzq6qnm.js} +6 -6
  21. package/dist/chunks/{command-yx0qkvav.js → workspace-1y9dt3g7.js} +59 -59
  22. package/dist/chunks/{command-1ygqh575.js → workspace-1ygqh575.js} +2 -2
  23. package/dist/chunks/{command-21r38tys.js → workspace-21r38tys.js} +1 -1
  24. package/dist/chunks/{command-86qzxe6p.js → workspace-277eer69.js} +4 -4
  25. package/dist/chunks/{command-z63w68vq.js → workspace-29x78va6.js} +6 -6
  26. package/dist/chunks/{command-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  27. package/dist/chunks/workspace-2a7ewa7q.js +26 -0
  28. package/dist/chunks/{command-4dkr59gj.js → workspace-2aftd3a2.js} +3 -3
  29. package/dist/chunks/{command-w1kts72e.js → workspace-2cmnwcq0.js} +7 -7
  30. package/dist/chunks/{command-vtpa8adt.js → workspace-2qmapw28.js} +29 -29
  31. package/dist/chunks/{command-15ecbz73.js → workspace-33k257v5.js} +17 -17
  32. package/dist/chunks/{command-sds13m34.js → workspace-37sfe3bm.js} +11 -11
  33. package/dist/chunks/{command-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{command-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{command-rahj5xg6.js → workspace-3nenj1by.js} +11 -11
  36. package/dist/chunks/{command-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{command-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{command-ez47arx5.js → workspace-3w2b2yj4.js} +5 -5
  39. package/dist/chunks/{command-mwch1h7x.js → workspace-42em1327.js} +26 -26
  40. package/dist/chunks/{command-zg4hrway.js → workspace-438fgj0f.js} +20 -20
  41. package/dist/chunks/{command-fdms3n6w.js → workspace-4nj4bn9q.js} +9 -9
  42. package/dist/chunks/{command-395exzp5.js → workspace-4t3xng2k.js} +35 -35
  43. package/dist/chunks/{command-q0r7cvmx.js → workspace-4vv2c1zf.js} +11 -11
  44. package/dist/chunks/{command-1dard8rw.js → workspace-4zvygart.js} +8 -8
  45. package/dist/chunks/{command-d9s573fh.js → workspace-57ez7d0k.js} +2 -2
  46. package/dist/chunks/{command-rkwepmqr.js → workspace-57sydnee.js} +12 -12
  47. package/dist/chunks/{command-cb9ss0ge.js → workspace-5bkw2dcb.js} +9 -9
  48. package/dist/chunks/{command-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  49. package/dist/chunks/{command-q3t37ft6.js → workspace-5epte933.js} +3 -3
  50. package/dist/chunks/{command-6yd319e0.js → workspace-5nzaa539.js} +43 -43
  51. package/dist/chunks/{command-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{command-y91g1rqk.js → workspace-5yyt2gzp.js} +5 -5
  53. package/dist/chunks/{command-s2ynmxvy.js → workspace-607q5haz.js} +5 -5
  54. package/dist/chunks/{command-5fygez4p.js → workspace-61fvg6ge.js} +5 -5
  55. package/dist/chunks/{command-k0gxj95r.js → workspace-64prggvs.js} +30 -30
  56. package/dist/chunks/{command-669tq793.js → workspace-669tq793.js} +1 -1
  57. package/dist/chunks/{command-w0cjdr4y.js → workspace-6878ajz3.js} +26 -26
  58. package/dist/chunks/{command-f3t28nxc.js → workspace-68arvhxb.js} +7 -7
  59. package/dist/chunks/{command-q29a3mzv.js → workspace-6bstxtt3.js} +17 -17
  60. package/dist/chunks/{command-6h73sxmp.js → workspace-6h73sxmp.js} +1 -1
  61. package/dist/chunks/{command-85gr95dm.js → workspace-6ky7efr6.js} +68 -68
  62. package/dist/chunks/{command-gzk0z5t1.js → workspace-6m0tgnv5.js} +44 -44
  63. package/dist/chunks/{command-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{command-1fmn7nca.js → workspace-6qa9hb0h.js} +21 -21
  65. package/dist/chunks/{command-k6w958j5.js → workspace-6r6sqe9n.js} +8 -8
  66. package/dist/chunks/{command-nnbzrd8n.js → workspace-6y1vxjf5.js} +20 -20
  67. package/dist/chunks/{command-tqnd21xx.js → workspace-724bb6xm.js} +24 -24
  68. package/dist/chunks/{command-ypwyy9wb.js → workspace-77g3a63m.js} +13 -13
  69. package/dist/chunks/{command-csmtma2g.js → workspace-7b0gpmec.js} +16 -16
  70. package/dist/chunks/{command-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{command-esafk7q3.js → workspace-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{command-eqbz22z4.js → workspace-7h57f7d7.js} +31 -31
  73. package/dist/chunks/{command-4gv05ame.js → workspace-7rce4ag1.js} +11 -11
  74. package/dist/chunks/{command-97w5rk9e.js → workspace-7s2tn799.js} +8 -8
  75. package/dist/chunks/{command-v7bs4fwn.js → workspace-7yg3y2sd.js} +14 -14
  76. package/dist/chunks/{command-77hk7r89.js → workspace-89ad7fzy.js} +9 -9
  77. package/dist/chunks/{command-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{command-5arbc4sb.js → workspace-8hyqnzhe.js} +50 -50
  79. package/dist/chunks/{command-en452bs7.js → workspace-8j6z6d32.js} +24 -24
  80. package/dist/chunks/{command-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
  81. package/dist/chunks/{command-98r14yx2.js → workspace-8vabvz82.js} +13 -13
  82. package/dist/chunks/{command-m4j94d0w.js → workspace-8ykdne12.js} +13 -13
  83. package/dist/chunks/{command-76vyv3fa.js → workspace-8z45c87w.js} +12 -12
  84. package/dist/chunks/{command-sf8s250z.js → workspace-915kganc.js} +27 -27
  85. package/dist/chunks/{command-ha7xgv60.js → workspace-9403nfm7.js} +20 -20
  86. package/dist/chunks/{command-qbznwwr3.js → workspace-95aphakr.js} +5 -5
  87. package/dist/chunks/{command-st8d6rzm.js → workspace-9bkpwrqx.js} +43 -43
  88. package/dist/chunks/{command-bp02r99k.js → workspace-9fc3v4re.js} +4 -4
  89. package/dist/chunks/{command-p37cw4rj.js → workspace-9hn6k4tm.js} +8 -8
  90. package/dist/chunks/{command-4drgpw32.js → workspace-9pkkzrmj.js} +5 -5
  91. package/dist/chunks/{command-fb3kqv53.js → workspace-9rcspwcs.js} +36 -36
  92. package/dist/chunks/{command-5esk5nf6.js → workspace-9t3w81t2.js} +17 -17
  93. package/dist/chunks/{command-j1h0x3qm.js → workspace-9v1v9bph.js} +4 -4
  94. package/dist/chunks/{command-7nvpgp18.js → workspace-9zdcna1n.js} +26 -26
  95. package/dist/chunks/{command-kkf65y6a.js → workspace-9zmsvm50.js} +27 -27
  96. package/dist/chunks/{command-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{command-njkzccyn.js → workspace-a3afvmqg.js} +7 -7
  98. package/dist/chunks/{command-fdv30zvt.js → workspace-a46v4e4v.js} +7 -7
  99. package/dist/chunks/{command-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  100. package/dist/chunks/{command-5v6q8ws3.js → workspace-axm728m5.js} +35 -35
  101. package/dist/chunks/{command-jw80jp6b.js → workspace-axmvebxj.js} +21 -21
  102. package/dist/chunks/{command-8a6kxmc8.js → workspace-ay0gn1a8.js} +43 -43
  103. package/dist/chunks/{command-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{command-q5nw5m1n.js → workspace-bdqrk2vk.js} +6 -6
  105. package/dist/chunks/{command-w0825h81.js → workspace-bh6xnkn8.js} +317 -317
  106. package/dist/chunks/{command-4qm7m3m6.js → workspace-brpd6fv5.js} +26 -26
  107. package/dist/chunks/{command-rgbassad.js → workspace-bsfgxy3a.js} +23 -23
  108. package/dist/chunks/{command-r5b2g718.js → workspace-c05v4fnx.js} +33 -33
  109. package/dist/chunks/{command-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{command-ejhgf7w3.js → workspace-cm5z7ssw.js} +13 -13
  111. package/dist/chunks/{command-qnv6wqrn.js → workspace-cq01mcjf.js} +86 -86
  112. package/dist/chunks/{command-y31b318c.js → workspace-cq37gk0t.js} +4 -4
  113. package/dist/chunks/{command-6jt6hkba.js → workspace-crf141y6.js} +25 -25
  114. package/dist/chunks/{command-2m0t44q9.js → workspace-cs700ddv.js} +17 -17
  115. package/dist/chunks/{command-w1k39n5e.js → workspace-csf2jhsg.js} +4 -4
  116. package/dist/chunks/{command-vbaxqaky.js → workspace-cskcxkdr.js} +10 -10
  117. package/dist/chunks/{command-qsmad8q5.js → workspace-cwp5p4t3.js} +25 -25
  118. package/dist/chunks/{command-jwbqhvyy.js → workspace-d2aac7k2.js} +5 -5
  119. package/dist/chunks/{command-t9zs3egg.js → workspace-dfe8djrf.js} +4 -4
  120. package/dist/chunks/{command-aht6b1gw.js → workspace-dj97z1h1.js} +11 -11
  121. package/dist/chunks/{command-ca4wybjn.js → workspace-dkkf29sp.js} +9 -9
  122. package/dist/chunks/{command-69zdqv0e.js → workspace-dn1jy3t2.js} +9 -9
  123. package/dist/chunks/{command-h47e2fat.js → workspace-dnk3rzs1.js} +27 -27
  124. package/dist/chunks/{command-7s37cbtz.js → workspace-dnq79vah.js} +10 -10
  125. package/dist/chunks/{command-y71avatq.js → workspace-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{command-r60jn89m.js → workspace-drkc87kz.js} +17 -17
  127. package/dist/chunks/{command-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{command-ph5q8xzv.js → workspace-eatsc6yh.js} +10 -10
  129. package/dist/chunks/{command-p504gj3f.js → workspace-ed6ewr6r.js} +8 -8
  130. package/dist/chunks/{command-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{command-n80jc431.js → workspace-egm44ayq.js} +17 -17
  132. package/dist/chunks/{command-azsbfkqj.js → workspace-egmeyekh.js} +20 -20
  133. package/dist/chunks/{command-12ppvwww.js → workspace-ehe4wzqm.js} +11 -11
  134. package/dist/chunks/{command-kw5v92fn.js → workspace-en40pvpc.js} +17 -17
  135. package/dist/chunks/{command-jm23qt55.js → workspace-en5ms791.js} +16 -16
  136. package/dist/chunks/{command-ngne8dfe.js → workspace-ersf5sn4.js} +9 -9
  137. package/dist/chunks/{command-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{command-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{command-1wnwcw7r.js → workspace-evstn2e1.js} +11 -11
  140. package/dist/chunks/{command-svt8e23h.js → workspace-ex4wm9dq.js} +30 -30
  141. package/dist/chunks/{command-5cry9dbs.js → workspace-ezqe822v.js} +43 -43
  142. package/dist/chunks/{command-0fxyxxca.js → workspace-f32czd11.js} +11 -11
  143. package/dist/chunks/{command-hvf8bzx3.js → workspace-f7djnycc.js} +15 -15
  144. package/dist/chunks/{command-hdnk95c8.js → workspace-f828m53h.js} +2 -2
  145. package/dist/chunks/{command-z0pamjge.js → workspace-fb08vzds.js} +48 -48
  146. package/dist/chunks/{command-eac26f80.js → workspace-fnxvy9mq.js} +25 -25
  147. package/dist/chunks/{command-np4grtax.js → workspace-frq37dj9.js} +24 -24
  148. package/dist/chunks/{command-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{command-zqcfqxpy.js → workspace-g652nsve.js} +24 -24
  150. package/dist/chunks/{command-jca4demv.js → workspace-g97bb4fb.js} +2 -2
  151. package/dist/chunks/{command-hm4csw6w.js → workspace-g9avfrxv.js} +15 -15
  152. package/dist/chunks/{command-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{command-pm3aw8jw.js → workspace-gfrjm2xz.js} +25 -25
  154. package/dist/chunks/{command-3ppptnan.js → workspace-gjmk74th.js} +6 -6
  155. package/dist/chunks/{command-fyxvyc63.js → workspace-gmqh62m1.js} +16 -16
  156. package/dist/chunks/{command-yyb7tjpc.js → workspace-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{command-d8vs3fz8.js → workspace-gy8jtxss.js} +18 -18
  158. package/dist/chunks/{command-qmk2rxp5.js → workspace-h05xe26f.js} +5 -5
  159. package/dist/chunks/{command-nzyhnfxz.js → workspace-h6r3nrb9.js} +4 -4
  160. package/dist/chunks/{command-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{command-z3qta96q.js → workspace-hby81b9r.js} +5 -5
  162. package/dist/chunks/{command-3801kdgp.js → workspace-hbyhqfhs.js} +5 -5
  163. package/dist/chunks/{command-m2k7mg07.js → workspace-hc5h1fwz.js} +11 -11
  164. package/dist/chunks/{command-1jqpcwdd.js → workspace-hcpextjt.js} +13 -13
  165. package/dist/chunks/{command-t3swkhbg.js → workspace-hnr5yq9h.js} +5 -5
  166. package/dist/chunks/{command-jshnnbm0.js → workspace-hpew3xwe.js} +3 -3
  167. package/dist/chunks/{command-bvrm6sd3.js → workspace-hq9c8xrb.js} +26 -26
  168. package/dist/chunks/{command-rtbgd8vv.js → workspace-hsg668p1.js} +16 -16
  169. package/dist/chunks/{command-fxjzx9zk.js → workspace-j04hx8st.js} +2 -2
  170. package/dist/chunks/{command-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  171. package/dist/chunks/{command-0601qg4c.js → workspace-j71eb661.js} +11 -11
  172. package/dist/chunks/{command-57aypccr.js → workspace-jbnhwg68.js} +3 -3
  173. package/dist/chunks/{command-9bh1kbwm.js → workspace-jck03djw.js} +37 -37
  174. package/dist/chunks/{command-qv6qez6w.js → workspace-jd2q17ad.js} +11 -11
  175. package/dist/chunks/{command-m9wnxg74.js → workspace-jdhqnsv9.js} +24 -24
  176. package/dist/chunks/{command-ycytvwgt.js → workspace-jn6zj5k7.js} +20 -20
  177. package/dist/chunks/{command-y32hsvj3.js → workspace-jprse0xe.js} +27 -27
  178. package/dist/chunks/{command-b3h4hk8s.js → workspace-jttm2z5k.js} +168 -168
  179. package/dist/chunks/{command-9xv0kghy.js → workspace-jy1x85rx.js} +4 -4
  180. package/dist/chunks/{command-wgzvszfr.js → workspace-jzj5fe77.js} +24 -24
  181. package/dist/chunks/{command-qvx74awb.js → workspace-k55f3hcm.js} +7 -7
  182. package/dist/chunks/{command-44ke2mar.js → workspace-k9kj6xed.js} +6 -6
  183. package/dist/chunks/{command-e23rwaaf.js → workspace-kfpry7jw.js} +30 -30
  184. package/dist/chunks/{command-xydhn12a.js → workspace-kkkjbbh2.js} +6 -6
  185. package/dist/chunks/{command-rc2rdsk3.js → workspace-m1xzdp0d.js} +12 -12
  186. package/dist/chunks/{command-cnkj3bkk.js → workspace-m2333cga.js} +6 -6
  187. package/dist/chunks/{command-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{command-1vc7h4bf.js → workspace-m7a66szm.js} +17 -17
  189. package/dist/chunks/{command-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{command-6dbd9kfr.js → workspace-mbj6r9mg.js} +4 -4
  191. package/dist/chunks/{command-f2wfspan.js → workspace-mksgfzgs.js} +3 -3
  192. package/dist/chunks/{command-mqzwkyay.js → workspace-mvfdckk2.js} +6 -6
  193. package/dist/chunks/{command-ny7zsgxc.js → workspace-mzkzf2w3.js} +10 -10
  194. package/dist/chunks/{command-qcqngy56.js → workspace-n7hq9y22.js} +20 -20
  195. package/dist/chunks/{command-hqn1z470.js → workspace-nhkza4qs.js} +18 -18
  196. package/dist/chunks/{command-kz87xe09.js → workspace-njpe9gsc.js} +26 -26
  197. package/dist/chunks/{command-j84y35zg.js → workspace-ns9v291x.js} +1 -1
  198. package/dist/chunks/workspace-nt2g1hn6.js +252 -0
  199. package/dist/chunks/{command-0dtckawb.js → workspace-nz40v0xg.js} +15 -15
  200. package/dist/chunks/{command-nzks3jc8.js → workspace-nzks3jc8.js} +3 -3
  201. package/dist/chunks/{command-3x4n1p4b.js → workspace-p0ar7mqv.js} +11 -11
  202. package/dist/chunks/{command-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
  203. package/dist/chunks/{command-xh0mn2db.js → workspace-p7gtrmqp.js} +4 -4
  204. package/dist/chunks/{command-ytjd48j9.js → workspace-phbsj0j2.js} +16 -16
  205. package/dist/chunks/{command-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{command-pknna89w.js → workspace-pknna89w.js} +1 -1
  207. package/dist/chunks/{command-qmawctgv.js → workspace-pm8erawn.js} +11 -11
  208. package/dist/chunks/{command-y1q6eyqb.js → workspace-ppygek1b.js} +16 -16
  209. package/dist/chunks/{command-6bnbyxfg.js → workspace-ptx7r7w6.js} +11 -11
  210. package/dist/chunks/{command-beq4zdab.js → workspace-q37hvqsc.js} +11 -11
  211. package/dist/chunks/{command-tx9w5tca.js → workspace-qby9dwvd.js} +8 -8
  212. package/dist/chunks/{command-ceer43ev.js → workspace-qft4n94x.js} +6 -6
  213. package/dist/chunks/{command-rsnh7qyx.js → workspace-qkp1k0b9.js} +5 -5
  214. package/dist/chunks/{command-bbn46np6.js → workspace-qnye80mc.js} +37 -37
  215. package/dist/chunks/{command-k409y6k1.js → workspace-qqveq5z9.js} +8 -8
  216. package/dist/chunks/{command-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  217. package/dist/chunks/{command-e64hjbz6.js → workspace-qwv4fpqw.js} +10 -10
  218. package/dist/chunks/{command-35agz59w.js → workspace-qz49fwgp.js} +6 -6
  219. package/dist/chunks/{command-bc7r1051.js → workspace-r02e4wv6.js} +11 -11
  220. package/dist/chunks/{command-cwa6csj7.js → workspace-r2m716tb.js} +9 -9
  221. package/dist/chunks/{command-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{command-eaj1djv9.js → workspace-rhjbct0v.js} +8 -8
  223. package/dist/chunks/{command-pn2fvd3j.js → workspace-rjg5g3rw.js} +12 -12
  224. package/dist/chunks/{command-a16afrr2.js → workspace-rxxp0mym.js} +3 -3
  225. package/dist/chunks/{command-yrznvahk.js → workspace-s4enseaf.js} +2 -2
  226. package/dist/chunks/{command-szncdaef.js → workspace-s8ah00f6.js} +4 -4
  227. package/dist/chunks/{command-2evyaa68.js → workspace-shh6fz4q.js} +4 -4
  228. package/dist/chunks/{command-80agk8qd.js → workspace-sttw4gkc.js} +32 -32
  229. package/dist/chunks/{command-c27g0cwe.js → workspace-sx7xb6j6.js} +16 -16
  230. package/dist/chunks/{command-9ksxqh2k.js → workspace-szgj26xm.js} +2 -2
  231. package/dist/chunks/{command-c68rk66j.js → workspace-t8djmwwn.js} +8 -8
  232. package/dist/chunks/{command-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{command-89znhe33.js → workspace-tcezcvh9.js} +4 -4
  234. package/dist/chunks/{command-tdstcens.js → workspace-tdstcens.js} +1 -1
  235. package/dist/chunks/{command-9jyavp4h.js → workspace-tjszthyy.js} +8 -8
  236. package/dist/chunks/{command-4jc5c4h4.js → workspace-ts2x07a1.js} +1 -1
  237. package/dist/chunks/{command-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  238. package/dist/chunks/{command-7rx5b338.js → workspace-tx1r3w21.js} +16 -16
  239. package/dist/chunks/{command-rqmc9bz6.js → workspace-txw29g1t.js} +4 -4
  240. package/dist/chunks/{command-5r8re7cq.js → workspace-v2gb0a2b.js} +5 -5
  241. package/dist/chunks/{command-18fjrjyv.js → workspace-v2mh11m3.js} +25 -25
  242. package/dist/chunks/{command-y64kjv5k.js → workspace-v9bkd1yb.js} +21 -21
  243. package/dist/chunks/{command-ycrff0sc.js → workspace-vd7ypez6.js} +7 -7
  244. package/dist/chunks/{command-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  245. package/dist/chunks/{command-mt1xf8xq.js → workspace-vh4jega5.js} +4 -4
  246. package/dist/chunks/{command-29ebz4cy.js → workspace-vhv5xdae.js} +17 -17
  247. package/dist/chunks/{command-dtyshr95.js → workspace-vjz8een3.js} +17 -17
  248. package/dist/chunks/workspace-vkrew15q.js +18 -0
  249. package/dist/chunks/{command-5we7r0eg.js → workspace-vkt5fbj2.js} +5 -5
  250. package/dist/chunks/{command-3f7xan5b.js → workspace-vpv31xpv.js} +4 -4
  251. package/dist/chunks/{command-js89hyr4.js → workspace-vrxn6v33.js} +84 -84
  252. package/dist/chunks/{command-pdhkkygs.js → workspace-vs1j1ez4.js} +11 -11
  253. package/dist/chunks/{command-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{command-bkt6pkzv.js → workspace-w068zxwj.js} +20 -20
  255. package/dist/chunks/{command-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{command-6pj7x9ww.js → workspace-wc444ph0.js} +12 -12
  257. package/dist/chunks/{command-wd87259q.js → workspace-wd87259q.js} +1 -1
  258. package/dist/chunks/{command-tg765z21.js → workspace-whtf8zfp.js} +6 -6
  259. package/dist/chunks/{command-dm0bbnwt.js → workspace-wj557cjd.js} +9 -9
  260. package/dist/chunks/{command-f41ena25.js → workspace-wnf5egzc.js} +9 -9
  261. package/dist/chunks/{command-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{command-19wqcg6g.js → workspace-x57r3cf8.js} +29 -29
  263. package/dist/chunks/{command-dnm7xxeh.js → workspace-x9m6b332.js} +5 -5
  264. package/dist/chunks/{command-xfkkasph.js → workspace-xfkkasph.js} +1 -1
  265. package/dist/chunks/{command-jndgkwdf.js → workspace-xhxcwzqv.js} +7 -7
  266. package/dist/chunks/{command-mvn2r3z4.js → workspace-xk747vep.js} +8 -8
  267. package/dist/chunks/{command-92rkebfh.js → workspace-xqrhjvfz.js} +13 -13
  268. package/dist/chunks/{command-x6k8vawk.js → workspace-xtn5wpmn.js} +11 -11
  269. package/dist/chunks/{command-44ksrw62.js → workspace-xygf558z.js} +13 -13
  270. package/dist/chunks/{command-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-21bs846c.js → workspace-y39x7n9b.js} +17 -17
  272. package/dist/chunks/{command-dj7ydz2q.js → workspace-y9c8ds6g.js} +1 -1
  273. package/dist/chunks/{command-z7t8qwge.js → workspace-y9k1g73x.js} +5 -5
  274. package/dist/chunks/{command-6axvzsm7.js → workspace-yemygy56.js} +23 -23
  275. package/dist/chunks/{command-cd0z4qvb.js → workspace-yf10kn3d.js} +8 -8
  276. package/dist/chunks/{command-gb73r5q4.js → workspace-yga8c4n1.js} +30 -30
  277. package/dist/chunks/{command-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{command-3ktbe3hf.js → workspace-yv13jgjp.js} +9 -9
  279. package/dist/chunks/{command-hng4xen5.js → workspace-yx53t0r1.js} +29 -29
  280. package/dist/chunks/{command-v5g5v3ws.js → workspace-yz5wbtz1.js} +18 -18
  281. package/dist/chunks/{command-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{command-5mjt82ds.js → workspace-za2m9gf5.js} +24 -24
  283. package/dist/chunks/{command-gst7axd9.js → workspace-zav06jzw.js} +4 -4
  284. package/dist/chunks/{command-k6jsebqw.js → workspace-zcaw5wve.js} +14 -14
  285. package/dist/chunks/{command-rq775frq.js → workspace-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{command-g2aavtfc.js → workspace-zetnz1cj.js} +3 -3
  287. package/dist/chunks/{command-brmtm7cf.js → workspace-zn2rtdne.js} +11 -11
  288. package/dist/chunks/{command-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{command-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{command-8qby4p94.js → workspace-zymwz594.js} +47 -47
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +120 -120
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +104 -104
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +99 -99
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +118 -118
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +119 -119
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +348 -348
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +91 -91
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +4 -4
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +107 -107
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +121 -121
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +108 -108
  648. package/dist/tool/plugin/subagent.js +212 -212
  649. package/dist/tool/plugin/webfetch.js +107 -107
  650. package/dist/tool/plugin/websearch.js +109 -109
  651. package/dist/tool/plugin/write.js +113 -113
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +79 -79
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +93 -93
  696. package/package.json +8 -8
  697. package/dist/chunks/command-0repjh3r.js +0 -252
  698. package/dist/chunks/command-vnkjks7b.js +0 -18
  699. package/dist/chunks/command-zyyeags5.js +0 -26
  700. /package/dist/chunks/{command-0mesazry.js → workspace-0mesazry.js} +0 -0
  701. /package/dist/chunks/{command-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{command-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{command-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{command-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{command-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{command-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{command-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{command-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{command-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{command-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{command-3asan66x.js → workspace-3asan66x.js} +0 -0
  712. /package/dist/chunks/{command-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{command-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{command-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{command-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{command-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{command-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{command-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{command-53557ph1.js → workspace-53557ph1.js} +0 -0
  720. /package/dist/chunks/{command-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{command-6prwharc.js → workspace-6prwharc.js} +0 -0
  722. /package/dist/chunks/{command-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{command-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{command-822emrt2.js → workspace-822emrt2.js} +0 -0
  725. /package/dist/chunks/{command-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{command-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{command-922hggd3.js → workspace-922hggd3.js} +0 -0
  728. /package/dist/chunks/{command-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{command-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{command-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{command-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{command-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{command-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{command-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{command-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{command-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{command-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{command-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{command-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{command-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{command-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{command-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{command-df08tz66.js → workspace-df08tz66.js} +0 -0
  744. /package/dist/chunks/{command-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{command-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{command-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{command-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{command-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{command-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{command-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{command-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{command-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{command-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{command-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{command-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{command-g86h250q.js → workspace-g86h250q.js} +0 -0
  757. /package/dist/chunks/{command-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{command-gftt206x.js → workspace-gftt206x.js} +0 -0
  759. /package/dist/chunks/{command-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{command-hk9envan.js → workspace-hk9envan.js} +0 -0
  761. /package/dist/chunks/{command-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{command-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{command-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{command-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{command-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{command-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{command-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{command-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{command-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{command-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{command-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{command-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{command-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{command-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{command-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{command-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{command-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{command-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{command-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{command-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{command-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{command-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{command-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{command-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{command-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{command-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{command-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{command-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{command-x61499pn.js → workspace-x61499pn.js} +0 -0
  790. /package/dist/chunks/{command-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{command-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{command-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{command-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{command-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{command-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-922hggd3.js";
4
+ } from "./workspace-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./command-s2ynmxvy.js";
10
+ } from "./workspace-607q5haz.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./command-fxjzx9zk.js";
14
+ } from "./workspace-j04hx8st.js";
15
15
  import {
16
16
  create3
17
- } from "./command-rdw6cm16.js";
17
+ } from "./workspace-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./workspace-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service52,
25
+ Error: () => Error4,
26
+ ID: () => ID9,
27
+ Service: () => Service59,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
29
+ node: () => node62,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ 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 ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 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 Service52 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service59 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service52, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, 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 Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ 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(Service52, 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 Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ 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(Service52, 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 ID9.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(Service52, 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 Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ 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 Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ 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 Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node54 = makeLocationNode({
144
- service: Service52,
143
+ var node62 = makeLocationNode({
144
+ service: Service59,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service52, Service52.of({
148
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service52, Service52.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
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, Error3, Service52, node54, noopLayer3, exports_snapshot2 };
166
+ export { ID9, Error4, Service59, node62, noopLayer3, exports_snapshot2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./command-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info18,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info11
9
+ Info: () => Info17
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info11 = Schema.Struct({
12
+ var Info17 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info11, exports_skills };
21
+ export { Info17, exports_skills };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./command-st8d6rzm.js";
3
+ Service67
4
+ } from "./workspace-9bkpwrqx.js";
5
5
  import {
6
- Service52
7
- } from "./command-qsmad8q5.js";
6
+ Service59
7
+ } from "./workspace-cwp5p4t3.js";
8
8
  import {
9
9
  observe2
10
- } from "./command-qsdy395h.js";
10
+ } from "./workspace-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin34
19
+ Plugin: () => Plugin40
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin34 = define({
23
+ var Plugin40 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service47;
27
- const snapshot = yield* Service52;
26
+ const config = yield* Service67;
27
+ const snapshot = yield* Service59;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin34 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin34, exports_snapshot };
38
+ export { Plugin40, exports_snapshot };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./command-xh0mn2db.js";
3
+ } from "./workspace-p7gtrmqp.js";
4
4
  import {
5
5
  Service80
6
- } from "./command-fxjzx9zk.js";
6
+ } from "./workspace-j04hx8st.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service30
10
- } from "./command-z0pamjge.js";
9
+ Service37
10
+ } from "./workspace-fb08vzds.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin16
19
+ Plugin: () => Plugin10
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin16 = define({
196
+ var Plugin10 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service80;
200
- const mcp = yield* Service30;
200
+ const mcp = yield* Service37;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin16, exports_command };
283
+ export { Plugin10, exports_command };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service40
3
- } from "./command-3ppptnan.js";
2
+ Service51
3
+ } from "./workspace-gjmk74th.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-vnkjks7b.js";
6
+ } from "./workspace-vkrew15q.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./command-3ktbe3hf.js";
9
+ } from "./workspace-yv13jgjp.js";
10
10
  import {
11
- Service33
12
- } from "./command-jm23qt55.js";
11
+ Service44
12
+ } from "./workspace-en5ms791.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./workspace-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service40;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
25
+ const instances = yield* Service51;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./command-xh0mn2db.js";
4
+ } from "./workspace-p7gtrmqp.js";
5
5
  import {
6
6
  environment2
7
- } from "./command-92rkebfh.js";
7
+ } from "./workspace-xqrhjvfz.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./command-sk3qaz4a.js";
10
+ } from "./workspace-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError5,
20
- Options: () => Options6,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service50,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured5,
25
- layer: () => layer19,
26
- node: () => node52
22
+ Service: () => Service25,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured4,
25
+ layer: () => layer10,
26
+ node: () => node28
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service50 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service25 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError5({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service50.of({
242
+ return Service25.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer19 = makeLayer();
259
- var configured5 = (options) => makeGlobalNode({
260
- service: Service50,
261
- layer: options === undefined ? layer19 : makeLayer(options),
258
+ var layer10 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service25,
261
+ layer: options === undefined ? layer10 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node52 = configured5();
264
+ var node28 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options6, UnavailableError3, NotFoundError5, Service50, layer19, configured5, node52, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError4, Service25, layer10, configured4, node28, exports_persistent_pty, Handoff2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83
3
- } from "./command-xh0mn2db.js";
3
+ } from "./workspace-p7gtrmqp.js";
4
4
  import {
5
- Service49,
6
- Event9
7
- } from "./command-azsbfkqj.js";
5
+ Service69,
6
+ Event14
7
+ } from "./workspace-egmeyekh.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin30,
15
+ Plugin: () => Plugin18,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin30 = define({
20
+ var Plugin18 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service49;
24
+ const wellknown = yield* Service69;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin30 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin30, exports_plugin };
48
+ export { Plugin18, exports_plugin };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make23,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make23 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make23, exports_keyed_mutex };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-4gv05ame.js";
3
+ } from "./workspace-7rce4ag1.js";
4
4
  import {
5
5
  Service83
6
- } from "./command-xh0mn2db.js";
6
+ } from "./workspace-p7gtrmqp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16,
10
- Service69
11
- } from "./command-gb73r5q4.js";
9
+ Event19,
10
+ Service78
11
+ } from "./workspace-yga8c4n1.js";
12
12
  import {
13
- ID10,
13
+ ID14,
14
14
  MethodID2,
15
- Service68
16
- } from "./command-19wqcg6g.js";
15
+ Service77
16
+ } from "./workspace-x57r3cf8.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./command-pjvnvgmy.js";
20
+ } from "./workspace-pjvnvgmy.js";
21
21
  import {
22
- ID9
23
- } from "./command-vtpa8adt.js";
22
+ ID13
23
+ } from "./workspace-2qmapw28.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./command-gezbrf6h.js";
26
+ } from "./workspace-1407x5yq.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID9.make("snowflake-cortex");
34
- var integrationID = ID10.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service69;
57
- const integrations = yield* Service68;
56
+ const credentials = yield* Service78;
57
+ const integrations = yield* Service77;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load4() {
3
+ function load5() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load4 };
9
+ export { load5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-57aypccr.js";
4
+ } from "./workspace-jbnhwg68.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./command-3hepkmqq.js";
7
+ } from "./workspace-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service72,
17
- node: () => node76
16
+ Service: () => Service74,
17
+ node: () => node78
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service72 extends Context.Service()("@opencode/KV") {
22
+ class Service74 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service72, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service72.of({
26
+ return Service74.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
54
+ var node78 = makeGlobalNode({ service: Service74, layer, deps: [node88] });
55
55
 
56
- export { Service72, node76, exports_kv };
56
+ export { Service74, node78, exports_kv };