@opencode/core 0.0.0-dev-19300 → 0.0.0-dev-19301

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{repository-eaj1djv9.js → workspace-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{repository-bn9sxrbg.js → workspace-05dnp20b.js} +19 -19
  10. package/dist/chunks/{repository-bey7x3zt.js → workspace-09vseg8s.js} +24 -24
  11. package/dist/chunks/{repository-j7rmzkqc.js → workspace-0caq5a2p.js} +16 -16
  12. package/dist/chunks/{repository-2p2ash1s.js → workspace-0gqt70p3.js} +6 -6
  13. package/dist/chunks/workspace-0mesazry.js +4 -0
  14. package/dist/chunks/{repository-2zm9r2mq.js → workspace-0n965jn0.js} +33 -33
  15. package/dist/chunks/{repository-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{repository-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{repository-5ta6a5m3.js → workspace-0zxft7wv.js} +7 -7
  18. package/dist/chunks/{repository-1235z6h5.js → workspace-1235z6h5.js} +2 -2
  19. package/dist/chunks/{repository-fcx00w1h.js → workspace-14encp35.js} +9 -9
  20. package/dist/chunks/{repository-1acjjqhc.js → workspace-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{repository-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{repository-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
  23. package/dist/chunks/{repository-p3cr5m8k.js → workspace-1q7njqr8.js} +8 -8
  24. package/dist/chunks/{repository-j0er744w.js → workspace-1xx3n8by.js} +8 -8
  25. package/dist/chunks/{repository-21r38tys.js → workspace-21r38tys.js} +1 -1
  26. package/dist/chunks/{repository-wsax0zm4.js → workspace-22ncyhda.js} +20 -20
  27. package/dist/chunks/{repository-6h73sxmp.js → workspace-2402vzrj.js} +5 -5
  28. package/dist/chunks/{repository-nf52vkfc.js → workspace-285sk89s.js} +11 -11
  29. package/dist/chunks/{repository-acr4esdf.js → workspace-29zqcttt.js} +26 -26
  30. package/dist/chunks/{repository-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{repository-7yqjxrmz.js → workspace-2jmaghvr.js} +6 -6
  32. package/dist/chunks/{repository-qgn6gcr1.js → workspace-2k8khapm.js} +5 -5
  33. package/dist/chunks/{repository-488yfy34.js → workspace-2mfnacv9.js} +16 -16
  34. package/dist/chunks/{repository-rpxwpx2g.js → workspace-2r2a59vh.js} +15 -15
  35. package/dist/chunks/{repository-42t63d0v.js → workspace-2rc0x19k.js} +9 -9
  36. package/dist/chunks/{repository-twkbfbpv.js → workspace-39atg463.js} +15 -15
  37. package/dist/chunks/{repository-z6dtt623.js → workspace-39yd8fs4.js} +43 -43
  38. package/dist/chunks/{repository-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{repository-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{repository-3da9a2rq.js → workspace-3m5pm5bg.js} +41 -41
  41. package/dist/chunks/{repository-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{repository-s9teexy3.js → workspace-3tejw0k5.js} +13 -13
  43. package/dist/chunks/{repository-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{repository-t97t2t7r.js → workspace-3xztec2w.js} +11 -11
  45. package/dist/chunks/{repository-x8pybnqb.js → workspace-4407emfp.js} +6 -6
  46. package/dist/chunks/{repository-5hk4b2g6.js → workspace-481njsdn.js} +8 -8
  47. package/dist/chunks/{repository-bs5pepmy.js → workspace-4a1gzb1y.js} +24 -24
  48. package/dist/chunks/{repository-g1nak0bc.js → workspace-4gwv5f10.js} +18 -18
  49. package/dist/chunks/{repository-xwdv5ax5.js → workspace-4tyka3qy.js} +11 -11
  50. package/dist/chunks/{repository-fvkyxybn.js → workspace-512qfn16.js} +27 -27
  51. package/dist/chunks/{repository-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{repository-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  53. package/dist/chunks/{repository-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  54. package/dist/chunks/{repository-pzqj8cz9.js → workspace-5v3se96a.js} +11 -11
  55. package/dist/chunks/{repository-t9azvbfb.js → workspace-62852zzh.js} +17 -17
  56. package/dist/chunks/{repository-z69s9t6b.js → workspace-62jy5cfr.js} +5 -5
  57. package/dist/chunks/{repository-qegb081p.js → workspace-63bg78v6.js} +12 -12
  58. package/dist/chunks/{repository-m27pyyd3.js → workspace-63c29q5z.js} +8 -8
  59. package/dist/chunks/{repository-669tq793.js → workspace-669tq793.js} +1 -1
  60. package/dist/chunks/{repository-r034twb5.js → workspace-6a1qkqw7.js} +18 -18
  61. package/dist/chunks/{repository-42x6g9em.js → workspace-6drwn6fk.js} +17 -17
  62. package/dist/chunks/{repository-1rw8y3qp.js → workspace-6fqz5w64.js} +15 -15
  63. package/dist/chunks/{repository-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{repository-qth74v4j.js → workspace-6n88yxkj.js} +11 -11
  65. package/dist/chunks/workspace-6pjhpf77.js +247 -0
  66. package/dist/chunks/{repository-g52x9ads.js → workspace-6prxjdtq.js} +10 -10
  67. package/dist/chunks/{repository-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  68. package/dist/chunks/{repository-ec018mz5.js → workspace-71q4fb3j.js} +8 -8
  69. package/dist/chunks/{repository-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{repository-nayt11ps.js → workspace-7e5s0f2g.js} +3 -3
  71. package/dist/chunks/{repository-83m7jv2c.js → workspace-7gh5mp13.js} +6 -6
  72. package/dist/chunks/{repository-5c74bejr.js → workspace-7xdajtbq.js} +13 -13
  73. package/dist/chunks/{repository-v33xfvcj.js → workspace-81swgkk7.js} +9 -9
  74. package/dist/chunks/{repository-1d1r455x.js → workspace-8734049b.js} +7 -7
  75. package/dist/chunks/{repository-2nxb55e9.js → workspace-886z29pe.js} +11 -11
  76. package/dist/chunks/{repository-tcezcvh9.js → workspace-89znhe33.js} +4 -4
  77. package/dist/chunks/{repository-pz6kvv0a.js → workspace-8cc7t6mx.js} +11 -11
  78. package/dist/chunks/{repository-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{repository-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  80. package/dist/chunks/{repository-gg4p3dxp.js → workspace-8qdvcyb6.js} +41 -41
  81. package/dist/chunks/{repository-nyfsa3d4.js → workspace-8zz46eww.js} +17 -17
  82. package/dist/chunks/{repository-n76fdqym.js → workspace-90h7kwk9.js} +5 -5
  83. package/dist/chunks/{repository-t0sqncza.js → workspace-92azg307.js} +5 -5
  84. package/dist/chunks/{repository-25dt1yg9.js → workspace-92t0khks.js} +38 -38
  85. package/dist/chunks/{repository-f2wm6whm.js → workspace-99tbqkcw.js} +10 -10
  86. package/dist/chunks/{repository-hd29wc17.js → workspace-9e47yq11.js} +8 -8
  87. package/dist/chunks/{repository-p5ym65ek.js → workspace-9jdakqgh.js} +12 -12
  88. package/dist/chunks/{repository-a7ya2t55.js → workspace-9y444b6v.js} +4 -4
  89. package/dist/chunks/{repository-xn4600q8.js → workspace-a0z4fccy.js} +4 -4
  90. package/dist/chunks/{repository-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  91. package/dist/chunks/{repository-b3mzkn50.js → workspace-a78x0tqp.js} +17 -17
  92. package/dist/chunks/{repository-mqypt7zj.js → workspace-a9trz7xg.js} +9 -9
  93. package/dist/chunks/{repository-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  94. package/dist/chunks/{repository-fgh0kbhd.js → workspace-aan3cyfv.js} +1 -1
  95. package/dist/chunks/{repository-bk1bf212.js → workspace-am5y2yzp.js} +30 -30
  96. package/dist/chunks/{repository-3sy2qy7n.js → workspace-an5gm3yx.js} +1 -1
  97. package/dist/chunks/{repository-ct5ygdvv.js → workspace-b2wfqz6v.js} +32 -32
  98. package/dist/chunks/{repository-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{repository-w86n12pv.js → workspace-bcatesge.js} +45 -45
  100. package/dist/chunks/{repository-8g0ywzr5.js → workspace-bjk09qw6.js} +20 -20
  101. package/dist/chunks/{repository-5p36ytzk.js → workspace-bm3b3xby.js} +28 -28
  102. package/dist/chunks/{repository-21505my7.js → workspace-bsdhcv6e.js} +25 -25
  103. package/dist/chunks/{repository-gj9xpvv3.js → workspace-bv56xrks.js} +6 -6
  104. package/dist/chunks/{repository-5ck9wg8w.js → workspace-bzg1m3qp.js} +5 -5
  105. package/dist/chunks/{repository-vxzf7v58.js → workspace-bzzbqws7.js} +3 -3
  106. package/dist/chunks/{repository-svz4xhyh.js → workspace-c09967vq.js} +17 -17
  107. package/dist/chunks/{repository-byvwwxkk.js → workspace-c0zax72k.js} +32 -32
  108. package/dist/chunks/{repository-wvp8ne5c.js → workspace-ca6ew4kd.js} +11 -11
  109. package/dist/chunks/{repository-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{repository-hc0r56wb.js → workspace-cmssp0z9.js} +35 -35
  111. package/dist/chunks/{repository-n8gkpbkd.js → workspace-cy127xek.js} +24 -24
  112. package/dist/chunks/{repository-af04s6ss.js → workspace-d2aac7k2.js} +5 -5
  113. package/dist/chunks/{repository-1080qp6z.js → workspace-d8nc1xcx.js} +4 -4
  114. package/dist/chunks/{repository-v4t0dn9g.js → workspace-d9sn21bc.js} +2 -2
  115. package/dist/chunks/{repository-7fh28bch.js → workspace-dcbt4rr2.js} +28 -28
  116. package/dist/chunks/{repository-2hyh68ab.js → workspace-dgj0dq1g.js} +8 -8
  117. package/dist/chunks/{repository-756ftpmv.js → workspace-dh49hrje.js} +4 -4
  118. package/dist/chunks/{repository-ehg1nygq.js → workspace-dmjeafns.js} +6 -6
  119. package/dist/chunks/{repository-pnean495.js → workspace-dszepm9d.js} +5 -5
  120. package/dist/chunks/{repository-ng1cxp70.js → workspace-e21tmfke.js} +15 -15
  121. package/dist/chunks/{repository-fk4ccpbg.js → workspace-e2crwazr.js} +17 -17
  122. package/dist/chunks/{repository-99xeyytz.js → workspace-e6451bx7.js} +22 -22
  123. package/dist/chunks/{repository-m52vhm9w.js → workspace-echv63h4.js} +10 -10
  124. package/dist/chunks/{repository-65k3vztb.js → workspace-egfwjd08.js} +48 -48
  125. package/dist/chunks/{repository-s702d5fa.js → workspace-ep66wy90.js} +47 -47
  126. package/dist/chunks/{repository-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{repository-f828m53h.js → workspace-f828m53h.js} +2 -2
  128. package/dist/chunks/{repository-hj52cskm.js → workspace-f99k44yv.js} +3 -3
  129. package/dist/chunks/{repository-4ftw1z01.js → workspace-f9qrme3f.js} +21 -21
  130. package/dist/chunks/{repository-k16ay38w.js → workspace-fb6ja2y4.js} +1 -1
  131. package/dist/chunks/{repository-dcmk5z6d.js → workspace-fjbrq6mf.js} +11 -11
  132. package/dist/chunks/{repository-20d5ynpz.js → workspace-fqghg761.js} +23 -23
  133. package/dist/chunks/{repository-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{repository-6s9eyz9r.js → workspace-fxqygnfa.js} +4 -4
  135. package/dist/chunks/{repository-egdp0v7k.js → workspace-fyjrpq2n.js} +5 -5
  136. package/dist/chunks/{repository-e7710hd6.js → workspace-g1sb636y.js} +8 -8
  137. package/dist/chunks/{repository-mvdnynp8.js → workspace-g22wb2pz.js} +4 -4
  138. package/dist/chunks/{repository-0f776x05.js → workspace-g43tytty.js} +15 -15
  139. package/dist/chunks/{repository-q7v1pqah.js → workspace-g8475x4p.js} +10 -10
  140. package/dist/chunks/{repository-23ys1acm.js → workspace-g9s9j6xv.js} +19 -19
  141. package/dist/chunks/workspace-gap4xn4b.js +22 -0
  142. package/dist/chunks/{repository-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{repository-vm3tqwqk.js → workspace-gdpvacec.js} +4 -4
  144. package/dist/chunks/{repository-4rq8jptq.js → workspace-gh7n1bng.js} +13 -13
  145. package/dist/chunks/{repository-ygab95pb.js → workspace-gj7hzhw3.js} +11 -11
  146. package/dist/chunks/{repository-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  147. package/dist/chunks/{repository-1s7e6phh.js → workspace-gxjpzw3n.js} +6 -6
  148. package/dist/chunks/{repository-g5qy6dee.js → workspace-gxwzr3wg.js} +10 -10
  149. package/dist/chunks/{repository-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{repository-h77e4z6a.js → workspace-h26gkp4s.js} +9 -9
  151. package/dist/chunks/{repository-njtrby3g.js → workspace-h2nqgc31.js} +11 -11
  152. package/dist/chunks/{repository-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{repository-96yt6zt0.js → workspace-hggyschk.js} +1 -1
  154. package/dist/chunks/{repository-m1jtpm13.js → workspace-hhvjvf8g.js} +4 -4
  155. package/dist/chunks/{repository-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
  156. package/dist/chunks/{repository-qe2326jn.js → workspace-hn51r0q8.js} +6 -6
  157. package/dist/chunks/{repository-06x8he3q.js → workspace-hn57h045.js} +4 -4
  158. package/dist/chunks/{repository-hcz3zddy.js → workspace-hnr5yq9h.js} +5 -5
  159. package/dist/chunks/{repository-9e0shq8y.js → workspace-hpzydpnx.js} +2 -2
  160. package/dist/chunks/{repository-b0q3gy5e.js → workspace-hs7fbk9e.js} +14 -14
  161. package/dist/chunks/{repository-xxrmh4kw.js → workspace-j2vje5f9.js} +33 -33
  162. package/dist/chunks/{repository-fy9dm37w.js → workspace-j3mqfpt8.js} +50 -50
  163. package/dist/chunks/{repository-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  164. package/dist/chunks/{repository-yyyn8rfv.js → workspace-j6c7mg19.js} +5 -5
  165. package/dist/chunks/{repository-ndmv45hp.js → workspace-j7wq2tw5.js} +2 -2
  166. package/dist/chunks/{repository-3tey5e4w.js → workspace-jefma2gq.js} +10 -10
  167. package/dist/chunks/{repository-f9dnc6qb.js → workspace-jzcb5zg9.js} +9 -9
  168. package/dist/chunks/{repository-trjbg8c1.js → workspace-jzh89m9h.js} +20 -20
  169. package/dist/chunks/{repository-6m42r3np.js → workspace-k2h4r4s0.js} +21 -21
  170. package/dist/chunks/{repository-pjw4mgws.js → workspace-k2v8w9sh.js} +11 -11
  171. package/dist/chunks/{repository-28bdjpwd.js → workspace-k8g0aq43.js} +20 -20
  172. package/dist/chunks/{repository-2ke5dpvq.js → workspace-k9k0s8f0.js} +16 -16
  173. package/dist/chunks/{repository-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  174. package/dist/chunks/{repository-sqc84shp.js → workspace-kg892g7f.js} +33 -33
  175. package/dist/chunks/{repository-qxc8wz53.js → workspace-kq1a8t9t.js} +17 -17
  176. package/dist/chunks/{repository-5kh3zgw0.js → workspace-m8j1vn7p.js} +15 -15
  177. package/dist/chunks/{repository-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{repository-2gqxkbxa.js → workspace-mhte6216.js} +20 -20
  179. package/dist/chunks/{repository-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  180. package/dist/chunks/{repository-d971jd90.js → workspace-mp5h4hzc.js} +19 -19
  181. package/dist/chunks/{repository-hbhp39pa.js → workspace-mwkcp274.js} +25 -25
  182. package/dist/chunks/{repository-sf673xhe.js → workspace-n0g6fzce.js} +12 -12
  183. package/dist/chunks/{repository-n77pyy8y.js → workspace-n5atw2w8.js} +4 -4
  184. package/dist/chunks/{repository-f19mrtp6.js → workspace-njna6xd1.js} +25 -25
  185. package/dist/chunks/{repository-5ndbzdej.js → workspace-np51q5jj.js} +41 -41
  186. package/dist/chunks/{repository-m9wjgnng.js → workspace-nr02nn09.js} +9 -9
  187. package/dist/chunks/{repository-fygdb7h7.js → workspace-ns261efr.js} +3 -3
  188. package/dist/chunks/{repository-g32rby1q.js → workspace-nxpjh8w5.js} +18 -18
  189. package/dist/chunks/{repository-h9xzymfq.js → workspace-p0xsckgp.js} +6 -6
  190. package/dist/chunks/{repository-0ms83wsr.js → workspace-p16wwb4c.js} +15 -15
  191. package/dist/chunks/{repository-y1p12sez.js → workspace-p37kmksf.js} +34 -34
  192. package/dist/chunks/{repository-bccb6npm.js → workspace-paegk39x.js} +4 -4
  193. package/dist/chunks/{repository-j935v87r.js → workspace-paphc93g.js} +2 -2
  194. package/dist/chunks/{repository-drx0v7dc.js → workspace-pbrpfg1g.js} +12 -12
  195. package/dist/chunks/{repository-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{repository-pknna89w.js → workspace-pknna89w.js} +1 -1
  197. package/dist/chunks/{repository-ve4pfa0n.js → workspace-pmr4s4kc.js} +4 -4
  198. package/dist/chunks/{repository-q5zafh14.js → workspace-q5xvhvda.js} +6 -6
  199. package/dist/chunks/{repository-mhwnn3nh.js → workspace-q5zg4735.js} +7 -7
  200. package/dist/chunks/{repository-bz3n39rt.js → workspace-q80jwr34.js} +59 -59
  201. package/dist/chunks/{repository-0sb7r7z8.js → workspace-q9jmjakx.js} +170 -170
  202. package/dist/chunks/{repository-806j49yq.js → workspace-qa3qhgw8.js} +4 -4
  203. package/dist/chunks/{repository-esj243wz.js → workspace-qa4rp7fn.js} +9 -9
  204. package/dist/chunks/{repository-t430gn4d.js → workspace-qavvsbzn.js} +24 -24
  205. package/dist/chunks/{repository-12gb8myc.js → workspace-qdyrhweq.js} +17 -17
  206. package/dist/chunks/{repository-eddb1hsm.js → workspace-qgdc71e1.js} +3 -3
  207. package/dist/chunks/{repository-8brhm2ma.js → workspace-qr3d7yj6.js} +37 -37
  208. package/dist/chunks/{repository-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  209. package/dist/chunks/{repository-rad6g3ft.js → workspace-qy5sepm7.js} +6 -6
  210. package/dist/chunks/{repository-ksz0h0wp.js → workspace-r0vgb2sm.js} +1 -1
  211. package/dist/chunks/{repository-jc87ns02.js → workspace-r3fv6v1m.js} +26 -26
  212. package/dist/chunks/{repository-98h7z1dp.js → workspace-r533rs18.js} +10 -10
  213. package/dist/chunks/{repository-mvfsc1pv.js → workspace-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/workspace-rap9a73h.js +18 -0
  215. package/dist/chunks/{repository-65tew8e9.js → workspace-rkqzecgv.js} +32 -32
  216. package/dist/chunks/{repository-z4vx8zth.js → workspace-rn192n82.js} +26 -26
  217. package/dist/chunks/{repository-np2wt734.js → workspace-rtnzfgta.js} +58 -58
  218. package/dist/chunks/{repository-zqn7tw4w.js → workspace-rvrc2w8n.js} +24 -24
  219. package/dist/chunks/{repository-1xb5wcr4.js → workspace-rxemfqdb.js} +22 -22
  220. package/dist/chunks/{repository-n6fqsy4a.js → workspace-rzr2835t.js} +9 -9
  221. package/dist/chunks/{repository-5m82w98f.js → workspace-s9039swt.js} +27 -27
  222. package/dist/chunks/{repository-f8q7mv7a.js → workspace-sczgc2a3.js} +1 -1
  223. package/dist/chunks/{repository-nw0w9xts.js → workspace-sh3bgw0e.js} +16 -16
  224. package/dist/chunks/{repository-24jpa85g.js → workspace-snqjhxtt.js} +8 -8
  225. package/dist/chunks/{repository-pjedbq3k.js → workspace-spt9fbav.js} +6 -6
  226. package/dist/chunks/{repository-5wz9f6t6.js → workspace-t0grjbht.js} +12 -12
  227. package/dist/chunks/{repository-zhxw6mnd.js → workspace-t7bagm3w.js} +2 -2
  228. package/dist/chunks/{repository-ppg2pkc4.js → workspace-t8f5a5hy.js} +7 -7
  229. package/dist/chunks/{repository-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{repository-pe1hnp5n.js → workspace-tdn6ycjd.js} +286 -286
  231. package/dist/chunks/{repository-tdstcens.js → workspace-tdstcens.js} +1 -1
  232. package/dist/chunks/{repository-ja76sygq.js → workspace-thrcthqp.js} +9 -9
  233. package/dist/chunks/{repository-2qw4fg5j.js → workspace-tjabks10.js} +24 -24
  234. package/dist/chunks/{repository-tn0aqsam.js → workspace-tn0aqsam.js} +2 -2
  235. package/dist/chunks/{repository-twcs75va.js → workspace-tq5h294s.js} +19 -19
  236. package/dist/chunks/{repository-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  237. package/dist/chunks/{repository-8w9tvb25.js → workspace-twy35tz0.js} +9 -9
  238. package/dist/chunks/{repository-cqz2c9ze.js → workspace-tx10d39y.js} +22 -22
  239. package/dist/chunks/{repository-3faemfqa.js → workspace-v9v77gq9.js} +13 -13
  240. package/dist/chunks/{repository-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  241. package/dist/chunks/{repository-mtgx628c.js → workspace-vg3c0nsb.js} +16 -16
  242. package/dist/chunks/{repository-p40ajvra.js → workspace-vh8m22te.js} +46 -46
  243. package/dist/chunks/{repository-tf1axwb0.js → workspace-vmjwh0y2.js} +27 -27
  244. package/dist/chunks/{repository-s784my9g.js → workspace-vt4mzp30.js} +18 -18
  245. package/dist/chunks/{repository-gw75b7xp.js → workspace-vxpjwrg1.js} +33 -33
  246. package/dist/chunks/{repository-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{repository-hhnggr0y.js → workspace-w12rp218.js} +9 -9
  248. package/dist/chunks/{repository-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{repository-t23qze4t.js → workspace-w79zsp0s.js} +1 -1
  250. package/dist/chunks/{repository-a3xfqne5.js → workspace-wb6pntek.js} +19 -19
  251. package/dist/chunks/{repository-wd87259q.js → workspace-wd87259q.js} +1 -1
  252. package/dist/chunks/{repository-11tcp5y8.js → workspace-wdby5any.js} +4 -4
  253. package/dist/chunks/{repository-gasa05ya.js → workspace-we7qc7n1.js} +35 -35
  254. package/dist/chunks/{repository-farzb5ty.js → workspace-wgdttpnq.js} +15 -15
  255. package/dist/chunks/{repository-nxrh5nrb.js → workspace-wgnb6efq.js} +10 -10
  256. package/dist/chunks/{repository-7yscfpph.js → workspace-wjycmk11.js} +7 -7
  257. package/dist/chunks/{repository-rsvmvhbp.js → workspace-wpm2rk0p.js} +6 -6
  258. package/dist/chunks/{repository-9nps6jxk.js → workspace-wsg88bk6.js} +75 -75
  259. package/dist/chunks/{repository-bksjv0kp.js → workspace-wtcjs487.js} +11 -11
  260. package/dist/chunks/{repository-cfhyqxd5.js → workspace-x0tn6qwv.js} +26 -26
  261. package/dist/chunks/{repository-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{repository-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{repository-pt9hhbjv.js → workspace-xaz800th.js} +25 -25
  264. package/dist/chunks/{repository-crptryd9.js → workspace-xekzrwwc.js} +9 -9
  265. package/dist/chunks/{repository-r9babyk8.js → workspace-xep7y6dg.js} +1 -1
  266. package/dist/chunks/{repository-0rvwym2w.js → workspace-xgp3syj5.js} +4 -4
  267. package/dist/chunks/{repository-vc1a951d.js → workspace-xgy598e9.js} +30 -30
  268. package/dist/chunks/{repository-2jd3nfvw.js → workspace-xn9fr5jd.js} +26 -26
  269. package/dist/chunks/{repository-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{repository-tetdjcv5.js → workspace-y3wj6ntt.js} +11 -11
  271. package/dist/chunks/{repository-81rrwt6s.js → workspace-y5j69yad.js} +5 -5
  272. package/dist/chunks/{repository-y71avatq.js → workspace-y71avatq.js} +1 -1
  273. package/dist/chunks/{repository-zapem284.js → workspace-y8pp3er9.js} +17 -17
  274. package/dist/chunks/{repository-6nyfbssk.js → workspace-ypfgjb30.js} +22 -22
  275. package/dist/chunks/{repository-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{repository-s4enseaf.js → workspace-yrznvahk.js} +2 -2
  277. package/dist/chunks/{repository-eppyg65b.js → workspace-ys0mtxyj.js} +25 -25
  278. package/dist/chunks/{repository-pgyxckf0.js → workspace-ys6344d6.js} +10 -10
  279. package/dist/chunks/{repository-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{repository-29x78va6.js → workspace-z63w68vq.js} +6 -6
  281. package/dist/chunks/{repository-d3p1g0v9.js → workspace-z72x676g.js} +74 -74
  282. package/dist/chunks/{repository-tysrnn2h.js → workspace-zbcg40zh.js} +11 -11
  283. package/dist/chunks/{repository-z9czcytr.js → workspace-ze0f0baa.js} +25 -25
  284. package/dist/chunks/{repository-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{repository-0y360m9h.js → workspace-zg6etqwm.js} +20 -20
  286. package/dist/chunks/{repository-ee84hvhb.js → workspace-zgshgwpw.js} +16 -16
  287. package/dist/chunks/{repository-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{repository-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +113 -113
  312. package/dist/config/plugin/source.js +111 -111
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +357 -357
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +88 -88
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +3 -3
  453. package/dist/instance.js +350 -350
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +125 -125
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +79 -79
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +72 -72
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +338 -338
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +80 -80
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +80 -80
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +215 -215
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +107 -107
  586. package/dist/session/model-transport.js +3 -3
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +84 -84
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +3 -3
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +116 -116
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +111 -111
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +100 -100
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +2 -2
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/repository-dxj72tfx.js +0 -18
  687. package/dist/chunks/repository-gjn7zjnk.js +0 -247
  688. package/dist/chunks/repository-h47he10w.js +0 -4
  689. package/dist/chunks/repository-jn0ab61b.js +0 -22
  690. /package/dist/chunks/{repository-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{repository-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{repository-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{repository-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{repository-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{repository-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{repository-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{repository-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{repository-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{repository-3asan66x.js → workspace-3asan66x.js} +0 -0
  700. /package/dist/chunks/{repository-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{repository-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{repository-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{repository-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{repository-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{repository-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{repository-53557ph1.js → workspace-53557ph1.js} +0 -0
  707. /package/dist/chunks/{repository-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{repository-6prwharc.js → workspace-6prwharc.js} +0 -0
  709. /package/dist/chunks/{repository-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{repository-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{repository-822emrt2.js → workspace-822emrt2.js} +0 -0
  712. /package/dist/chunks/{repository-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{repository-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{repository-922hggd3.js → workspace-922hggd3.js} +0 -0
  715. /package/dist/chunks/{repository-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{repository-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{repository-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{repository-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{repository-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{repository-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{repository-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{repository-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{repository-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{repository-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{repository-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{repository-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{repository-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{repository-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{repository-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{repository-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{repository-df08tz66.js → workspace-df08tz66.js} +0 -0
  732. /package/dist/chunks/{repository-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{repository-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{repository-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{repository-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{repository-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{repository-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{repository-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{repository-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{repository-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{repository-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{repository-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{repository-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{repository-g86h250q.js → workspace-g86h250q.js} +0 -0
  745. /package/dist/chunks/{repository-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{repository-gftt206x.js → workspace-gftt206x.js} +0 -0
  747. /package/dist/chunks/{repository-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{repository-hk9envan.js → workspace-hk9envan.js} +0 -0
  749. /package/dist/chunks/{repository-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{repository-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{repository-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{repository-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{repository-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{repository-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{repository-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{repository-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{repository-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{repository-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{repository-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{repository-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{repository-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{repository-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{repository-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{repository-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{repository-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{repository-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{repository-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{repository-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{repository-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{repository-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{repository-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{repository-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{repository-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{repository-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{repository-x61499pn.js → workspace-x61499pn.js} +0 -0
  776. /package/dist/chunks/{repository-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{repository-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{repository-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{repository-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{repository-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service46
3
- } from "./repository-bz3n39rt.js";
2
+ Service65
3
+ } from "./workspace-q80jwr34.js";
4
4
  import {
5
- ID5,
5
+ ID11,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service44
10
- } from "./repository-cqz2c9ze.js";
9
+ Service64
10
+ } from "./workspace-tx10d39y.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill2 = {};
17
17
  __export(exports_skill2, {
18
18
  Input: () => Input9,
19
- Output: () => Output5,
20
- Plugin: () => Plugin26,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin27,
21
21
  SkillTool: () => exports_skill2,
22
22
  description: () => description5,
23
23
  name: () => name9,
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  var name9 = "skill";
30
30
  var Input9 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
31
+ id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output5 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,18 +43,18 @@ var description5 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin26 = {
46
+ var Plugin27 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service44;
51
- const permission = yield* Service46;
50
+ const skills = yield* Service64;
51
+ const permission = yield* Service65;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name9,
54
54
  options: { codemode: false },
55
55
  description: description5,
56
56
  input: Input9,
57
- output: Output5,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
@@ -79,4 +79,4 @@ var Plugin26 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output5, description5, toModelOutput2, Plugin26, exports_skill2 };
82
+ export { name9, Input9, Output6, description5, toModelOutput2, Plugin27, exports_skill2 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./repository-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service61
7
- } from "./repository-w86n12pv.js";
6
+ Service59
7
+ } from "./workspace-bcatesge.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./repository-2a5m3afh.js";
10
+ } from "./workspace-2a5m3afh.js";
11
11
  import {
12
- Service63
13
- } from "./repository-bey7x3zt.js";
12
+ Service74
13
+ } from "./workspace-09vseg8s.js";
14
14
  import {
15
- Service72
16
- } from "./repository-fk4ccpbg.js";
15
+ Service42
16
+ } from "./workspace-e2crwazr.js";
17
17
  import {
18
- Service46
19
- } from "./repository-bz3n39rt.js";
18
+ Service65
19
+ } from "./workspace-q80jwr34.js";
20
20
  import {
21
- Service18,
21
+ Service14,
22
22
  resolvePath2
23
- } from "./repository-r034twb5.js";
23
+ } from "./workspace-6a1qkqw7.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./repository-fxbjtjnd.js";
29
+ } from "./workspace-fxbjtjnd.js";
30
30
  import {
31
- Service65,
31
+ Service54,
32
32
  name15
33
- } from "./repository-ng1cxp70.js";
33
+ } from "./workspace-e21tmfke.js";
34
34
  import {
35
- NotFoundError8,
36
- Service59
37
- } from "./repository-s702d5fa.js";
35
+ NotFoundError7,
36
+ Service52
37
+ } from "./workspace-ep66wy90.js";
38
38
  import {
39
- Service23
40
- } from "./repository-d3p1g0v9.js";
39
+ Service21
40
+ } from "./workspace-z72x676g.js";
41
41
  import {
42
42
  scan2
43
- } from "./repository-756ftpmv.js";
43
+ } from "./workspace-dh49hrje.js";
44
44
  import {
45
45
  __export
46
- } from "./repository-9rqn6x4v.js";
46
+ } from "./workspace-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin21,
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin30,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name4
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input4 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin21 = {
118
+ var Plugin30 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service23;
122
- const jobs = yield* Service72;
121
+ const sessions = yield* Service21;
122
+ const jobs = yield* Service42;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service63;
125
- const access = yield* Service18;
126
- const shell = yield* Service59;
127
- const shellSelect = yield* Service65;
124
+ const environment = yield* Service74;
125
+ const access = yield* Service14;
126
+ const shell = yield* Service52;
127
+ const shellSelect = yield* Service54;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service46;
130
- const config = yield* Service61;
129
+ const permission = yield* Service65;
130
+ const config = yield* Service59;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin21 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name4,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin21 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name4,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input4,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin21 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError8({ id: info.id });
208
+ return yield* new NotFoundError7({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name4,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name4];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin21, exports_shell2 };
260
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin30, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-qfa1cgps.js";
3
+ } from "./workspace-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./repository-hj52cskm.js";
7
+ } from "./workspace-f99k44yv.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./repository-mvdnynp8.js";
11
+ } from "./workspace-g22wb2pz.js";
12
12
  import {
13
- Service71,
14
- node76
15
- } from "./repository-3tey5e4w.js";
13
+ Service78,
14
+ node83
15
+ } from "./workspace-jefma2gq.js";
16
16
  import {
17
- ID13,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event15,
21
+ Event20,
22
22
  Vcs3
23
- } from "./repository-v33xfvcj.js";
23
+ } from "./workspace-81swgkk7.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./repository-8p4f9s12.js";
27
+ } from "./workspace-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./repository-cfpkc3c9.js";
30
+ } from "./workspace-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-9rqn6x4v.js";
33
+ } from "./workspace-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID12,
40
- Info: () => Info27,
41
- NotFoundError: () => NotFoundError9,
39
+ ID: () => ID17,
40
+ Info: () => Info32,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service70,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node75,
46
+ node: () => node82,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID12 = ID13;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info27 = Info28;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID12
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Project") {
74
+ class Service77 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service70, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service71;
99
+ const git = yield* Service78;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event15.Updated, fromRow(row));
110
+ yield* bus.publish(Event20.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID12.global,
147
+ previous: project.previous ?? ID17.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError9({ projectID: input.projectID });
170
+ return yield* new NotFoundError10({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event15.Updated, project);
172
+ yield* bus.publish(Event20.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
176
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
176
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
177
177
  return;
178
178
  }));
179
179
  });
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
184
184
  const normalized = url(origin);
185
185
  if (!normalized)
186
186
  return;
187
- return ID12.make(Hash.fast(`git-remote:${normalized}`));
187
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
188
188
  });
189
189
  function url(input) {
190
190
  const value = input.trim();
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
209
209
  }
210
210
  const rootCommit = Effect.fnUntraced(function* (repo) {
211
211
  const root = (yield* git.history.rootCommits(repo))[0];
212
- return root ? ID12.make(root) : undefined;
212
+ return root ? ID17.make(root) : undefined;
213
213
  });
214
214
  const hgRoot = Effect.fnUntraced(function* (worktree) {
215
215
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
225
225
  return;
226
226
  const node = result.stdout.toString("utf8").split(`
227
227
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
228
- return node ? ID12.make(node) : undefined;
228
+ return node ? ID17.make(node) : undefined;
229
229
  });
230
230
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
231
231
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
234
234
  const id = previous ?? (yield* hgRoot(worktree));
235
235
  return {
236
236
  previous,
237
- id: id ?? ID12.global,
237
+ id: id ?? ID17.global,
238
238
  directory: worktree,
239
239
  vcs: { type: "hg", store }
240
240
  };
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
252
252
  return yield* persist({
253
253
  previous,
254
- id: id ?? ID12.global,
254
+ id: id ?? ID17.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
265
265
  });
266
266
  }
267
267
  return yield* persist({
268
- id: ID12.make(Hash.fast(`directory:${directory}`)),
268
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
269
269
  directory,
270
270
  canonical: directory,
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service70.of({ list, update, resolve });
274
+ return Service77.of({ list, update, resolve });
275
275
  }));
276
- var node75 = makeGlobalNode({
277
- service: Service70,
276
+ var node82 = makeGlobalNode({
277
+ service: Service77,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node76, AppProcess.node]
279
+ deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError9, root2, Service70, node75, exports_project };
282
+ export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-pgyxckf0.js";
3
+ } from "./workspace-ys6344d6.js";
4
4
  import {
5
5
  Service79
6
- } from "./repository-mvdnynp8.js";
6
+ } from "./workspace-g22wb2pz.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./repository-5p36ytzk.js";
9
+ Event14
10
+ } from "./workspace-bm3b3xby.js";
11
11
  import {
12
- ID15,
12
+ ID4,
13
13
  MethodID2
14
- } from "./repository-z4vx8zth.js";
14
+ } from "./workspace-rn192n82.js";
15
15
  import {
16
- ID18
17
- } from "./repository-m27pyyd3.js";
16
+ ID10
17
+ } from "./workspace-63c29q5z.js";
18
18
  import {
19
19
  Family2
20
- } from "./repository-b0q3gy5e.js";
20
+ } from "./workspace-hs7fbk9e.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./repository-pjvnvgmy.js";
23
+ } from "./workspace-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID18.make("digitalocean");
30
- var integrationID = ID15.make("digitalocean");
29
+ var providerID = ID10.make("digitalocean");
30
+ var integrationID = ID4.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Key4,
3
3
  removed2,
4
- make21,
4
+ make20,
5
5
  diffByKey2
6
- } from "./repository-eaj1djv9.js";
6
+ } from "./workspace-02nrjc1r.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./repository-3fc6dm20.js";
11
+ } from "./workspace-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
20
- make: () => make13,
17
+ var exports_instructions2 = {};
18
+ __export(exports_instructions2, {
19
+ CodeModeInstructions: () => exports_instructions2,
20
+ make: () => make14,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -113,9 +113,9 @@ ${render2(current)}`;
113
113
  }
114
114
  var key = Key4.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make13 = (inventory) => {
116
+ var make14 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make21({
118
+ return make20({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
@@ -127,4 +127,4 @@ var make13 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render2, update3, make13, exports_instructions4 };
130
+ export { render2, update3, make14, exports_instructions2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-pgyxckf0.js";
3
+ } from "./workspace-ys6344d6.js";
4
4
  import {
5
5
  call2
6
- } from "./repository-56gdpj1q.js";
6
+ } from "./workspace-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin36,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin39 = define({
50
+ var Plugin36 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin39 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint5, Plugin39, exports_parallel };
96
+ export { endpoint5, Plugin36, exports_parallel };