@opencode/core 0.0.0-dev-19404 → 0.0.0-dev-19406

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 (782) 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 +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-k4t1n3ds.js → workspace-00yj64tw.js} +8 -8
  9. package/dist/chunks/{file-5djf14hj.js → workspace-08va5z8e.js} +42 -42
  10. package/dist/chunks/{file-ms6rwfbv.js → workspace-0c2368v0.js} +26 -26
  11. package/dist/chunks/{file-j1ywwsrp.js → workspace-0df1zyj6.js} +61 -61
  12. package/dist/chunks/{file-9yb9755z.js → workspace-0f5r6y21.js} +13 -13
  13. package/dist/chunks/{file-7dqw4kz8.js → workspace-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{file-2r4xr41j.js → workspace-0mvrzs3q.js} +25 -25
  15. package/dist/chunks/{file-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-rn18s34v.js → workspace-11f5ey5t.js} +9 -9
  18. package/dist/chunks/{file-fk561ek3.js → workspace-17x03v7d.js} +17 -17
  19. package/dist/chunks/{file-ec8389mk.js → workspace-18e56dsp.js} +4 -4
  20. package/dist/chunks/{file-kk4kf303.js → workspace-19p34cwj.js} +11 -11
  21. package/dist/chunks/{file-1vpsedet.js → workspace-1a6tnz5m.js} +6 -6
  22. package/dist/chunks/{file-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{file-verq85zk.js → workspace-1agm07vn.js} +4 -4
  24. package/dist/chunks/{file-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{file-1eyaby9q.js → workspace-1eyaby9q.js} +2 -2
  26. package/dist/chunks/{file-s7vx81dz.js → workspace-1hfvq3hk.js} +9 -9
  27. package/dist/chunks/{file-bf99w40p.js → workspace-1k8a3rj6.js} +90 -90
  28. package/dist/chunks/{file-5cvqq58e.js → workspace-1n9v4yht.js} +3 -3
  29. package/dist/chunks/{file-75v5avbv.js → workspace-21kgkeg9.js} +6 -6
  30. package/dist/chunks/{file-21r38tys.js → workspace-21r38tys.js} +1 -1
  31. package/dist/chunks/{file-6h73sxmp.js → workspace-2402vzrj.js} +5 -5
  32. package/dist/chunks/{file-j2j5pzjs.js → workspace-25z0xxdg.js} +10 -10
  33. package/dist/chunks/{file-vq3dh784.js → workspace-260nsw4w.js} +23 -23
  34. package/dist/chunks/{file-f98vsa4d.js → workspace-26hypp0s.js} +35 -35
  35. package/dist/chunks/{file-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{file-qt2wzkfv.js → workspace-2atctz6s.js} +171 -171
  37. package/dist/chunks/{file-frghq38s.js → workspace-2d4astz3.js} +12 -12
  38. package/dist/chunks/{file-844ef7ks.js → workspace-2hyh68ab.js} +8 -8
  39. package/dist/chunks/{file-jhtsdbae.js → workspace-2nfnt4ye.js} +16 -16
  40. package/dist/chunks/{file-kcvfr73y.js → workspace-2q352txm.js} +46 -46
  41. package/dist/chunks/{file-2rbw2ja1.js → workspace-31japxcc.js} +19 -19
  42. package/dist/chunks/{file-7ebn0nc0.js → workspace-35agz59w.js} +6 -6
  43. package/dist/chunks/{file-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{file-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{file-b8ek1188.js → workspace-3j1hp0ty.js} +32 -32
  46. package/dist/chunks/{file-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-d5n4bh35.js → workspace-3wnr7h3v.js} +26 -26
  49. package/dist/chunks/{file-ashvqh0k.js → workspace-42z94ejy.js} +8 -8
  50. package/dist/chunks/{file-9hhkemsn.js → workspace-47z782k9.js} +15 -15
  51. package/dist/chunks/{file-yc3z3e63.js → workspace-48qrq2th.js} +13 -13
  52. package/dist/chunks/{file-jvdqbckk.js → workspace-48vm7pvj.js} +19 -19
  53. package/dist/chunks/{file-e7c5hh0v.js → workspace-4brkry6z.js} +7 -7
  54. package/dist/chunks/{file-qrh3ph5y.js → workspace-4knw0yd9.js} +44 -44
  55. package/dist/chunks/{file-0p4j4cv0.js → workspace-52vrzpkh.js} +9 -9
  56. package/dist/chunks/{file-195b9hkp.js → workspace-564nwv9t.js} +28 -28
  57. package/dist/chunks/{file-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{file-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  59. package/dist/chunks/{file-v3smhzc7.js → workspace-5n23cvdt.js} +23 -23
  60. package/dist/chunks/{file-ce5fknq2.js → workspace-5nrew705.js} +5 -5
  61. package/dist/chunks/{file-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{file-denqxv8d.js → workspace-5va42dqn.js} +7 -7
  63. package/dist/chunks/{file-gshc2tst.js → workspace-5xyecbgy.js} +30 -30
  64. package/dist/chunks/{file-t9qhnrv6.js → workspace-60swyqgb.js} +6 -6
  65. package/dist/chunks/{file-mrw4weg4.js → workspace-62jy5cfr.js} +5 -5
  66. package/dist/chunks/{file-84tssp1s.js → workspace-63c29q5z.js} +8 -8
  67. package/dist/chunks/{file-669tq793.js → workspace-669tq793.js} +1 -1
  68. package/dist/chunks/{file-rb7pkpgx.js → workspace-671axw96.js} +25 -25
  69. package/dist/chunks/{file-8kpa3sfw.js → workspace-6c6d27ky.js} +28 -28
  70. package/dist/chunks/{file-03wwe30p.js → workspace-6f71wzny.js} +20 -20
  71. package/dist/chunks/{file-rz3jkdqg.js → workspace-6h5kb07x.js} +20 -20
  72. package/dist/chunks/{file-rctdwqm8.js → workspace-6jgmv1yx.js} +10 -10
  73. package/dist/chunks/{file-ew6y6y1a.js → workspace-6kkm1vms.js} +32 -32
  74. package/dist/chunks/{file-n6c8w82a.js → workspace-6m75b8cv.js} +5 -5
  75. package/dist/chunks/{file-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  77. package/dist/chunks/{file-qaeybh9m.js → workspace-75my1bc5.js} +6 -6
  78. package/dist/chunks/{file-1z0pzthf.js → workspace-772n9qp6.js} +2 -2
  79. package/dist/chunks/{file-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{file-8s0m5yrh.js → workspace-7d6jfxsy.js} +18 -18
  81. package/dist/chunks/{file-tsdrwk88.js → workspace-7f86n5vp.js} +8 -8
  82. package/dist/chunks/{file-1vd4786e.js → workspace-7xpb4b38.js} +9 -9
  83. package/dist/chunks/{file-81swgkk7.js → workspace-81swgkk7.js} +2 -2
  84. package/dist/chunks/{file-87deq66t.js → workspace-87deq66t.js} +1 -1
  85. package/dist/chunks/{file-tcezcvh9.js → workspace-89znhe33.js} +4 -4
  86. package/dist/chunks/{file-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/workspace-8g1qq46z.js +247 -0
  88. package/dist/chunks/{file-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{file-5trk58xb.js → workspace-8sghyhzw.js} +8 -8
  90. package/dist/chunks/{file-rs226bz6.js → workspace-90h7kwk9.js} +5 -5
  91. package/dist/chunks/{file-vftfn4tg.js → workspace-98cg5nke.js} +63 -63
  92. package/dist/chunks/{file-91p1v22t.js → workspace-9ex8f1cq.js} +8 -8
  93. package/dist/chunks/{file-70xczmxz.js → workspace-9hvf7zmn.js} +9 -9
  94. package/dist/chunks/{file-v9n7g2jp.js → workspace-9shdk57a.js} +49 -49
  95. package/dist/chunks/{file-9v3118pd.js → workspace-9wbxqmjz.js} +28 -28
  96. package/dist/chunks/{file-pvp2wc9z.js → workspace-9xw3tj2y.js} +11 -11
  97. package/dist/chunks/{file-wkwfxgj3.js → workspace-a0z4fccy.js} +4 -4
  98. package/dist/chunks/{file-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{file-jh9jg79a.js → workspace-a5bp1xck.js} +11 -11
  100. package/dist/chunks/{file-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  101. package/dist/chunks/{file-3fj0ehej.js → workspace-aam5c1df.js} +33 -33
  102. package/dist/chunks/{file-3trbxeqx.js → workspace-aan3cyfv.js} +1 -1
  103. package/dist/chunks/{file-206fxkvm.js → workspace-acdf9wey.js} +18 -18
  104. package/dist/chunks/{file-xr2q0tqq.js → workspace-ade7nb1r.js} +23 -23
  105. package/dist/chunks/{file-bbddt0rr.js → workspace-anadqz16.js} +20 -20
  106. package/dist/chunks/{file-9aqzzx1f.js → workspace-av8gdzmj.js} +20 -20
  107. package/dist/chunks/{file-eykg37vx.js → workspace-b2wde7ay.js} +18 -18
  108. package/dist/chunks/{file-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{file-0kzzmtkd.js → workspace-beamfkq3.js} +18 -18
  110. package/dist/chunks/{file-2ff89mrc.js → workspace-behfe7zr.js} +4 -4
  111. package/dist/chunks/{file-szgy4byf.js → workspace-bha4atvq.js} +4 -4
  112. package/dist/chunks/{file-kkmk6wev.js → workspace-bn5b4a4k.js} +14 -14
  113. package/dist/chunks/{file-gj4x8zz6.js → workspace-bnf2jjvk.js} +12 -12
  114. package/dist/chunks/{file-9nmemh1m.js → workspace-br1eash1.js} +22 -22
  115. package/dist/chunks/{file-gj9xpvv3.js → workspace-bv56xrks.js} +6 -6
  116. package/dist/chunks/workspace-by5v678g.js +18 -0
  117. package/dist/chunks/{file-3n1sj9mp.js → workspace-c30fjtmk.js} +1 -1
  118. package/dist/chunks/{file-egqspz5t.js → workspace-c8266qxr.js} +13 -13
  119. package/dist/chunks/{file-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{file-agz6ccty.js → workspace-cxqtyqa4.js} +31 -31
  121. package/dist/chunks/{file-5z7h86dp.js → workspace-cxssh81s.js} +5 -5
  122. package/dist/chunks/{file-4rpd5z62.js → workspace-d9sn21bc.js} +2 -2
  123. package/dist/chunks/{file-e9cer28w.js → workspace-dcvqdecp.js} +4 -4
  124. package/dist/chunks/workspace-dx1xsamq.js +462 -0
  125. package/dist/chunks/{file-bd7mw0dj.js → workspace-e6jfrte4.js} +22 -22
  126. package/dist/chunks/{file-ypy1tgyh.js → workspace-e9z75ypz.js} +12 -12
  127. package/dist/chunks/{file-t550f9t1.js → workspace-eaj1djv9.js} +8 -8
  128. package/dist/chunks/{file-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{file-3w2b2yj4.js → workspace-evbgk2k8.js} +5 -5
  130. package/dist/chunks/{file-f828m53h.js → workspace-f828m53h.js} +2 -2
  131. package/dist/chunks/{file-9k2v62xn.js → workspace-fb6ja2y4.js} +1 -1
  132. package/dist/chunks/{file-z2rxccdg.js → workspace-fsyg4b4p.js} +6 -6
  133. package/dist/chunks/{file-4e25g0td.js → workspace-ftsj9eb4.js} +17 -17
  134. package/dist/chunks/{file-1enyjv7v.js → workspace-fvev15ye.js} +12 -12
  135. package/dist/chunks/{file-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{file-3kff94q5.js → workspace-fyjrpq2n.js} +8 -8
  137. package/dist/chunks/{file-9bj2cvf7.js → workspace-g47eftgs.js} +9 -9
  138. package/dist/chunks/{file-h074tf43.js → workspace-gbze51rp.js} +41 -41
  139. package/dist/chunks/{file-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{file-xe3tttza.js → workspace-gdvq22q3.js} +10 -10
  141. package/dist/chunks/{file-ntp00jbn.js → workspace-gha35mp7.js} +45 -45
  142. package/dist/chunks/{file-nmpjh5tr.js → workspace-gjg21rfc.js} +22 -22
  143. package/dist/chunks/{file-xnn90w67.js → workspace-gpw9wb7z.js} +29 -29
  144. package/dist/chunks/{file-xxewcce8.js → workspace-gqay82r3.js} +11 -11
  145. package/dist/chunks/{file-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{file-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  147. package/dist/chunks/{file-zts5fb25.js → workspace-h2r7bbkd.js} +9 -9
  148. package/dist/chunks/{file-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{file-vypqtakx.js → workspace-hggyschk.js} +1 -1
  150. package/dist/chunks/{file-awz7xhfp.js → workspace-hhvjvf8g.js} +4 -4
  151. package/dist/chunks/{file-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
  152. package/dist/chunks/{file-yt0fqk68.js → workspace-hkfg6fzm.js} +5 -5
  153. package/dist/chunks/{file-embw8kgh.js → workspace-hn57h045.js} +4 -4
  154. package/dist/chunks/{file-g5twr0sp.js → workspace-hs7fbk9e.js} +14 -14
  155. package/dist/chunks/{file-79rym0vx.js → workspace-hww6a8kv.js} +18 -18
  156. package/dist/chunks/{file-w6vgwbtw.js → workspace-hxbwkwf2.js} +25 -25
  157. package/dist/chunks/{file-56j57pys.js → workspace-j2e3vmqt.js} +15 -15
  158. package/dist/chunks/{file-xx0dsh07.js → workspace-j2qyabf0.js} +36 -36
  159. package/dist/chunks/{file-mcma3e2p.js → workspace-j4w9fnyz.js} +3 -3
  160. package/dist/chunks/{file-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  161. package/dist/chunks/{file-3yjg5mh2.js → workspace-j7wq2tw5.js} +3 -3
  162. package/dist/chunks/{file-v6eynfa8.js → workspace-j8qeg2b0.js} +25 -25
  163. package/dist/chunks/{file-0bc9xa41.js → workspace-j9987dbw.js} +16 -16
  164. package/dist/chunks/{file-y2vrj84a.js → workspace-jefma2gq.js} +10 -10
  165. package/dist/chunks/{file-8x96bj0m.js → workspace-jfqtm2ew.js} +7 -7
  166. package/dist/chunks/{file-vsp1fds9.js → workspace-jw80jp6b.js} +21 -21
  167. package/dist/chunks/{file-03zt5v0h.js → workspace-jwdv4y1w.js} +11 -11
  168. package/dist/chunks/{file-ngx16gc5.js → workspace-jwef205w.js} +12 -12
  169. package/dist/chunks/{file-a28msnrx.js → workspace-jx36ppfv.js} +4 -4
  170. package/dist/chunks/{file-hbznxe04.js → workspace-k2v8w9sh.js} +11 -11
  171. package/dist/chunks/{file-e6g776ht.js → workspace-k3s1wnxs.js} +13 -13
  172. package/dist/chunks/{file-wc01vwq2.js → workspace-k6hm1c4z.js} +19 -19
  173. package/dist/chunks/{file-gzbkpp9m.js → workspace-k8e0krnc.js} +9 -9
  174. package/dist/chunks/{file-k2cps1w2.js → workspace-kc6m6sz4.js} +13 -13
  175. package/dist/chunks/{file-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  176. package/dist/chunks/{file-6cr0vect.js → workspace-ks28khcp.js} +28 -28
  177. package/dist/chunks/{file-5aejmzs0.js → workspace-ktdx9tqj.js} +23 -23
  178. package/dist/chunks/{file-dtbk98nz.js → workspace-ky29xcn8.js} +28 -28
  179. package/dist/chunks/{file-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/workspace-mbnhm94y.js +22 -0
  181. package/dist/chunks/{file-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  182. package/dist/chunks/{file-c807y6n2.js → workspace-mn4xswwv.js} +26 -26
  183. package/dist/chunks/{file-dft13gwa.js → workspace-mnvzjba7.js} +43 -43
  184. package/dist/chunks/{file-s40t4n9p.js → workspace-mpd5qf4j.js} +21 -21
  185. package/dist/chunks/{file-7yh4e7ss.js → workspace-mvfsc1pv.js} +3 -3
  186. package/dist/chunks/{file-3yknbgq7.js → workspace-ncyvmtt2.js} +13 -13
  187. package/dist/chunks/{file-e7n26ax2.js → workspace-nfgy6v4x.js} +8 -8
  188. package/dist/chunks/{file-m4w483hc.js → workspace-nm95p8zp.js} +6 -6
  189. package/dist/chunks/{file-fq1h1v14.js → workspace-ns261efr.js} +3 -3
  190. package/dist/chunks/{file-3nmb6yg0.js → workspace-nyc7jxxp.js} +34 -34
  191. package/dist/chunks/{file-88sz8qcd.js → workspace-paegk39x.js} +4 -4
  192. package/dist/chunks/{file-j935v87r.js → workspace-paphc93g.js} +2 -2
  193. package/dist/chunks/{file-67mjd9te.js → workspace-pazbjste.js} +9 -9
  194. package/dist/chunks/{file-dgbe4bt1.js → workspace-pbrpfg1g.js} +12 -12
  195. package/dist/chunks/{file-7a03d1b8.js → workspace-pcyx20k3.js} +22 -22
  196. package/dist/chunks/{file-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{file-pknna89w.js → workspace-pknna89w.js} +1 -1
  198. package/dist/chunks/{file-jxj1g7d6.js → workspace-prdj2v50.js} +5 -5
  199. package/dist/chunks/{file-0ee4sq7j.js → workspace-q0syr9ta.js} +13 -13
  200. package/dist/chunks/{file-n4tr9e7x.js → workspace-q1hq4vqk.js} +18 -18
  201. package/dist/chunks/{file-g713qgch.js → workspace-q6xe9kp6.js} +21 -21
  202. package/dist/chunks/{file-hq8zt1th.js → workspace-qfzde7bh.js} +6 -6
  203. package/dist/chunks/{file-wxg97684.js → workspace-qnbyzqhb.js} +31 -31
  204. package/dist/chunks/{file-3nte7245.js → workspace-qnnfhh99.js} +18 -18
  205. package/dist/chunks/{file-wh05710z.js → workspace-qp21pdsm.js} +48 -48
  206. package/dist/chunks/{file-zn15gz72.js → workspace-qs1x3754.js} +15 -15
  207. package/dist/chunks/{file-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  208. package/dist/chunks/{file-b4ssmz4r.js → workspace-qwkytnft.js} +9 -9
  209. package/dist/chunks/{file-pnfpsavj.js → workspace-qyyvm09j.js} +8 -8
  210. package/dist/chunks/{file-vabb23s0.js → workspace-r0vgb2sm.js} +1 -1
  211. package/dist/chunks/{file-gj7pn1ka.js → workspace-r2c1v5cs.js} +11 -11
  212. package/dist/chunks/{file-prqr7atv.js → workspace-r6fr6xhv.js} +18 -18
  213. package/dist/chunks/{file-rddqvwx7.js → workspace-r97fj8kj.js} +24 -24
  214. package/dist/chunks/{file-arncpnzb.js → workspace-rbfxpsrk.js} +11 -11
  215. package/dist/chunks/{file-fzsrmebp.js → workspace-rf48fc3z.js} +24 -24
  216. package/dist/chunks/{file-q043d12m.js → workspace-rnwhwxkr.js} +11 -11
  217. package/dist/chunks/{file-d1xvm4af.js → workspace-rpb40cdh.js} +15 -15
  218. package/dist/chunks/{file-t33aqq77.js → workspace-rtathh62.js} +8 -8
  219. package/dist/chunks/{file-397qe2v7.js → workspace-rvbs1y5m.js} +16 -16
  220. package/dist/chunks/{file-8pnwjqbd.js → workspace-rw0gxka2.js} +21 -21
  221. package/dist/chunks/{file-agmzfzv5.js → workspace-rybesq9t.js} +20 -20
  222. package/dist/chunks/{file-fkszgfvj.js → workspace-saahjfzz.js} +11 -11
  223. package/dist/chunks/{file-n92g5px8.js → workspace-scg96trk.js} +17 -17
  224. package/dist/chunks/{file-h2gyv3sg.js → workspace-sczgc2a3.js} +1 -1
  225. package/dist/chunks/{file-6bg31a94.js → workspace-sm6980w8.js} +17 -17
  226. package/dist/chunks/{file-nrj82zgb.js → workspace-svjbpvc0.js} +28 -28
  227. package/dist/chunks/{file-9vqmh8rd.js → workspace-swa700vz.js} +21 -21
  228. package/dist/chunks/{file-dx6t03ys.js → workspace-szqt16bj.js} +2 -2
  229. package/dist/chunks/{file-37y0x4sa.js → workspace-t07nr89d.js} +15 -15
  230. package/dist/chunks/{file-fjmrr6sh.js → workspace-t0x5rdq8.js} +9 -9
  231. package/dist/chunks/{file-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{file-0vbmec47.js → workspace-tb3qt4de.js} +30 -30
  233. package/dist/chunks/{file-tdstcens.js → workspace-tdstcens.js} +1 -1
  234. package/dist/chunks/{file-t4fssz5f.js → workspace-th7rxwpk.js} +11 -11
  235. package/dist/chunks/{file-xacpwbjs.js → workspace-tmv3vrbh.js} +9 -9
  236. package/dist/chunks/{file-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  237. package/dist/chunks/{file-1tx98gn3.js → workspace-v2dqap2x.js} +11 -11
  238. package/dist/chunks/{file-x015srt1.js → workspace-vcm9nwkf.js} +18 -18
  239. package/dist/chunks/{file-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-an7cqtb7.js → workspace-vncycja5.js} +4 -4
  241. package/dist/chunks/{file-dn4sgk77.js → workspace-vw4rsjqf.js} +62 -62
  242. package/dist/chunks/{file-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{file-xncegbyh.js → workspace-w2tqht5n.js} +6 -6
  244. package/dist/chunks/{file-he3a9kdv.js → workspace-w3c11q9a.js} +24 -24
  245. package/dist/chunks/{file-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{file-b3wkxfg9.js → workspace-w79zsp0s.js} +1 -1
  247. package/dist/chunks/{file-qacd23e2.js → workspace-w8ssx6tw.js} +4 -4
  248. package/dist/chunks/{file-wd87259q.js → workspace-wd87259q.js} +1 -1
  249. package/dist/chunks/{file-bv5t9bgg.js → workspace-we9gybbj.js} +10 -10
  250. package/dist/chunks/{file-zgye80qh.js → workspace-wvmwf5r3.js} +37 -37
  251. package/dist/chunks/{file-qefhz522.js → workspace-wycsdkc3.js} +11 -11
  252. package/dist/chunks/{file-qj43ta48.js → workspace-wyp518qd.js} +27 -27
  253. package/dist/chunks/{file-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{file-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  255. package/dist/chunks/{file-2cmcktmr.js → workspace-x4f7xa08.js} +7 -7
  256. package/dist/chunks/{file-rbb6h0rd.js → workspace-x6cge8hj.js} +11 -11
  257. package/dist/chunks/{file-b3ab3ctg.js → workspace-xaj3yemm.js} +6 -6
  258. package/dist/chunks/{file-htj0b10m.js → workspace-xb38tjbm.js} +27 -27
  259. package/dist/chunks/{file-6jnybvqn.js → workspace-xekzrwwc.js} +9 -9
  260. package/dist/chunks/{file-esdnemd6.js → workspace-xep7y6dg.js} +1 -1
  261. package/dist/chunks/{file-664j63h8.js → workspace-xfmmbppy.js} +15 -15
  262. package/dist/chunks/{file-edx7kkbf.js → workspace-xrnzdda7.js} +24 -24
  263. package/dist/chunks/{file-ja6srv6s.js → workspace-xyvg2pqc.js} +23 -23
  264. package/dist/chunks/{file-11tcp5y8.js → workspace-y0n2m4xg.js} +4 -4
  265. package/dist/chunks/{file-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-jwcy2c2z.js → workspace-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-52az7e5h.js → workspace-yaw72qpm.js} +20 -20
  268. package/dist/chunks/{file-n2egqj3k.js → workspace-ybpsbgjn.js} +7 -7
  269. package/dist/chunks/{file-z6mn07nx.js → workspace-yd1p1r8q.js} +90 -90
  270. package/dist/chunks/{file-n3ehebhz.js → workspace-yjgcx94j.js} +12 -12
  271. package/dist/chunks/{file-p1nm93x7.js → workspace-yjptyezs.js} +5 -5
  272. package/dist/chunks/{file-4qbtf2xm.js → workspace-yrejkez5.js} +5 -5
  273. package/dist/chunks/{file-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-s4enseaf.js → workspace-yrznvahk.js} +2 -2
  275. package/dist/chunks/{file-p7r5e3re.js → workspace-yxse6n4e.js} +27 -27
  276. package/dist/chunks/{file-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-29x78va6.js → workspace-z63w68vq.js} +6 -6
  278. package/dist/chunks/{file-vzab2f08.js → workspace-z7th72fz.js} +37 -37
  279. package/dist/chunks/{file-xp2ajnz8.js → workspace-zbt061zt.js} +20 -20
  280. package/dist/chunks/{file-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-416qpt5q.js → workspace-zg7z3sgq.js} +30 -30
  282. package/dist/chunks/{file-ff8vf18q.js → workspace-zgh2pzwp.js} +7 -7
  283. package/dist/chunks/{file-b91bsk4k.js → workspace-zgpjdkre.js} +26 -26
  284. package/dist/chunks/{file-0tqgm7xh.js → workspace-zjp7g5zn.js} +36 -36
  285. package/dist/chunks/{file-4ycmfby4.js → workspace-zkdt6a6d.js} +38 -38
  286. package/dist/chunks/{file-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-fydnx5fx.js → workspace-zwhke550.js} +39 -39
  288. package/dist/chunks/{file-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 +83 -83
  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 +117 -117
  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 +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  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 +116 -116
  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 +83 -83
  321. package/dist/database/database.js +72 -72
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +360 -360
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +86 -86
  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 +72 -72
  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 +222 -222
  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 +100 -100
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +91 -91
  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 +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +81 -81
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +79 -79
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  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 +80 -80
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  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 +324 -324
  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 +115 -115
  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 +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +82 -82
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +80 -80
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +108 -108
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +147 -147
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +218 -218
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +84 -84
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +107 -107
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +102 -102
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +113 -113
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +7 -7
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +82 -82
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +1 -1
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +74 -74
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/file-60chw6ns.js +0 -462
  688. package/dist/chunks/file-bxsmgxt8.js +0 -22
  689. package/dist/chunks/file-ht5y0zrb.js +0 -18
  690. package/dist/chunks/file-ngb1kbyf.js +0 -247
  691. /package/dist/chunks/{file-0mesazry.js → workspace-0mesazry.js} +0 -0
  692. /package/dist/chunks/{file-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{file-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{file-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{file-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{file-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{file-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{file-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{file-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{file-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{file-3asan66x.js → workspace-3asan66x.js} +0 -0
  702. /package/dist/chunks/{file-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{file-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{file-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{file-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{file-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{file-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{file-53557ph1.js → workspace-53557ph1.js} +0 -0
  710. /package/dist/chunks/{file-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{file-6prwharc.js → workspace-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-822emrt2.js → workspace-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{file-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{file-922hggd3.js → workspace-922hggd3.js} +0 -0
  718. /package/dist/chunks/{file-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{file-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{file-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{file-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{file-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{file-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{file-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{file-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{file-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{file-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{file-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{file-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{file-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{file-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{file-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{file-df08tz66.js → workspace-df08tz66.js} +0 -0
  734. /package/dist/chunks/{file-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{file-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{file-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{file-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{file-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{file-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{file-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{file-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{file-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{file-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{file-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{file-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{file-g86h250q.js → workspace-g86h250q.js} +0 -0
  747. /package/dist/chunks/{file-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{file-gftt206x.js → workspace-gftt206x.js} +0 -0
  749. /package/dist/chunks/{file-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{file-hk9envan.js → workspace-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{file-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{file-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{file-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{file-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{file-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{file-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{file-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{file-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{file-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{file-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{file-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{file-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{file-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{file-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{file-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{file-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{file-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{file-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{file-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{file-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{file-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{file-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{file-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{file-x61499pn.js → workspace-x61499pn.js} +0 -0
  778. /package/dist/chunks/{file-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{file-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{file-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{file-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{file-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./file-f0mxakyp.js";
3
+ } from "./workspace-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./file-w3wsvvr9.js";
6
+ } from "./workspace-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./file-7bmhse3q.js";
9
+ } from "./workspace-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./file-cf4snx6d.js";
12
+ } from "./workspace-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./file-822emrt2.js";
15
+ } from "./workspace-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./file-wd87259q.js";
18
+ } from "./workspace-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./file-m9w0rfyh.js";
21
+ } from "./workspace-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-0kzzmtkd.js";
2
+ Service79,
3
+ node84
4
+ } from "./workspace-beamfkq3.js";
5
5
  import {
6
6
  create3
7
- } from "./file-kg06axw8.js";
7
+ } from "./workspace-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-dn4sgk77.js";
10
+ } from "./workspace-vw4rsjqf.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
21
- ID: () => ID4,
22
- Info: () => Info8,
20
+ Event: () => Event17,
21
+ ID: () => ID12,
22
+ Info: () => Info26,
23
23
  Name: () => Name2,
24
- Service: () => Service39,
24
+ Service: () => Service70,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node43,
29
+ node: () => node75,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event17 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info26 = Skill.Info;
43
+ var ID12 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service39 extends Context.Service()("@opencode/Skill") {
74
+ class Service70 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service39, Effect.gen(function* () {
77
- const bus = yield* Service78;
76
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
77
+ const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID12.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID12.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID12.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID12.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service39.of({
100
+ return Service70.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node43 = makeLocationNode({
112
- service: Service39,
111
+ var node75 = makeLocationNode({
112
+ service: Service70,
113
113
  layer,
114
- deps: [node82]
114
+ deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node43, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service70, node75, exports_skill5, Event17 };
@@ -1,63 +1,63 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-d1xvm4af.js";
2
+ Service80,
3
+ node85
4
+ } from "./workspace-rpb40cdh.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./file-0kzzmtkd.js";
6
+ Service79,
7
+ node84
8
+ } from "./workspace-beamfkq3.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-pknna89w.js";
11
+ } from "./workspace-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-0q0f95c6.js";
14
+ } from "./workspace-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./file-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID14,
25
- Info: () => Info28,
26
- Key: () => Key4,
23
+ Event: () => Event15,
24
+ ID: () => ID8,
25
+ Info: () => Info22,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service74,
28
+ Service: () => Service59,
29
29
  Value: () => Value2,
30
- node: () => node78
30
+ node: () => node63
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID8 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event15 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info22 extends Schema.Class("Credential.Info")({
44
+ id: ID8,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service74 extends Context.Service()("@opencode/Credential") {
51
+ class Service59 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service74, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info22({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service74.of({
71
+ return Service59.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info28({
80
- id: ID14.create(),
79
+ const credential = new Info22({
80
+ id: ID8.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event15.Updated, {}, { global: true });
105
+ yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event15.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event15.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node83, node82] });
196
+ var node63 = makeGlobalNode({ service: Service59, layer, deps: [node85, node84] });
197
197
 
198
- export { ID14, OAuth3, Key4, Value2, Event18, Info28, Service74, node78, exports_credential };
198
+ export { ID8, OAuth3, Key3, Value2, Event15, Info22, Service59, node63, exports_credential };
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID9,
3
- Service58
4
- } from "./file-p7r5e3re.js";
2
+ ID16,
3
+ Service75
4
+ } from "./workspace-yxse6n4e.js";
5
5
  import {
6
6
  latest2,
7
- Service65
8
- } from "./file-wh05710z.js";
7
+ Service49
8
+ } from "./workspace-qp21pdsm.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./file-3yjg5mh2.js";
11
+ } from "./workspace-j7wq2tw5.js";
12
12
  import {
13
- Service51
14
- } from "./file-zn15gz72.js";
13
+ Service42
14
+ } from "./workspace-qs1x3754.js";
15
15
  import {
16
16
  evaluate2,
17
- Service55
18
- } from "./file-dn4sgk77.js";
17
+ Service71
18
+ } from "./workspace-vw4rsjqf.js";
19
19
  import {
20
- Service17
21
- } from "./file-bf99w40p.js";
20
+ Service22
21
+ } from "./workspace-1k8a3rj6.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./file-x1ezjp6w.js";
24
+ } from "./workspace-x1ezjp6w.js";
25
25
  import {
26
- make7
27
- } from "./file-t4fssz5f.js";
26
+ make6
27
+ } from "./workspace-th7rxwpk.js";
28
28
  import {
29
29
  __export
30
- } from "./file-9rqn6x4v.js";
30
+ } from "./workspace-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input2,
36
- Output: () => Output2,
37
- Plugin: () => Plugin20,
35
+ Input: () => Input6,
36
+ Output: () => Output6,
37
+ Plugin: () => Plugin25,
38
38
  SubagentTool: () => exports_subagent,
39
39
  description: () => description2,
40
- name: () => name2
40
+ name: () => name6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name2 = "subagent";
44
+ var name6 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input2 = Schema.Struct({
55
+ var Input6 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,7 +63,7 @@ var Input2 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output2 = Schema.Struct({
66
+ var Output6 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
@@ -77,21 +77,21 @@ var description2 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin20 = {
80
+ var Plugin25 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service17;
84
- const jobs = yield* Service51;
85
- const agents = yield* Service58;
86
- const config = yield* Service65;
87
- const permission = yield* Service55;
88
- const subagents = yield* make7;
83
+ const sessions = yield* Service22;
84
+ const jobs = yield* Service42;
85
+ const agents = yield* Service75;
86
+ const config = yield* Service49;
87
+ const permission = yield* Service71;
88
+ const subagents = yield* make6;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name2,
90
+ name: name6,
91
91
  options: { codemode: false },
92
92
  description: description2,
93
- input: Input2,
94
- output: Output2,
93
+ input: Input6,
94
+ output: Output6,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin20 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name2,
114
+ action: name6,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin20 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID9.make(input.agent),
137
+ agent: ID16.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name2];
187
+ const tool = event.tools[name6];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name2, Input2, Output2, description2, Plugin20, exports_subagent };
207
+ export { name6, Input6, Output6, description2, Plugin25, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node81
7
- } from "./file-y2vrj84a.js";
6
+ node83
7
+ } from "./workspace-jefma2gq.js";
8
8
  import {
9
9
  ID18
10
- } from "./file-81swgkk7.js";
10
+ } from "./workspace-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./file-gebd4c9n.js";
13
+ } from "./workspace-gebd4c9n.js";
14
14
  import {
15
- Service79,
16
- node83
17
- } from "./file-d1xvm4af.js";
15
+ Service80,
16
+ node85
17
+ } from "./workspace-rpb40cdh.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./file-0kzzmtkd.js";
19
+ Service79,
20
+ node84
21
+ } from "./workspace-beamfkq3.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./file-8p4f9s12.js";
24
+ } from "./workspace-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./file-cfpkc3c9.js";
27
+ } from "./workspace-cfpkc3c9.js";
28
28
  import {
29
- Service72,
30
- node76
31
- } from "./file-6bg31a94.js";
29
+ Service76,
30
+ node81
31
+ } from "./workspace-sm6980w8.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./file-gv6a8nnw.js";
35
+ } from "./workspace-gv6a8nnw.js";
36
36
  import {
37
- make15
38
- } from "./file-3kff94q5.js";
37
+ make12
38
+ } from "./workspace-fyjrpq2n.js";
39
39
  import {
40
40
  create3
41
- } from "./file-kg06axw8.js";
41
+ } from "./workspace-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./file-9rqn6x4v.js";
44
+ } from "./workspace-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event6,
53
- Info: () => Info6,
52
+ Event: () => Event4,
53
+ Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service32,
60
+ Service: () => Service15,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node36
66
+ node: () => node19
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info6 = Worktree.Info;
85
+ var Info4 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event6 = Worktree.Event;
103
+ var Event4 = Worktree.Event;
104
104
 
105
- class Service32 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service15 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service32, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
- const database = yield* Service79;
109
+ const database = yield* Service80;
110
110
  const db = database.db;
111
- const bus = yield* Service78;
111
+ const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service72;
113
+ const location = yield* Service76;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make15;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event6.Updated, { projectID });
138
+ yield* bus.publish(Event4.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service32.of({
260
+ return Service15.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node36 = makeLocationNode({
273
- service: Service32,
272
+ var node19 = makeLocationNode({
273
+ service: Service15,
274
274
  layer,
275
- deps: [FSUtil.node, node81, node82, node83, AppProcess.node, node76, Global.node]
275
+ deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service32, node36, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service15, node19, exports_worktree2, OperationError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/file-3fc6dm20.js";
7
+ } from "../chunks/workspace-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,