@opencode/core 0.0.0-dev-19594 → 0.0.0-dev-19596

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{mime-m6mq2hjy.js → schema-02nqk1b9.js} +4 -4
  9. package/dist/chunks/{mime-rhjbct0v.js → schema-02nrjc1r.js} +6 -6
  10. package/dist/chunks/{mime-0artwwxx.js → schema-0artwwxx.js} +1 -1
  11. package/dist/chunks/{mime-zfyh5k5p.js → schema-0e0qwbc3.js} +32 -32
  12. package/dist/chunks/{mime-a6wxbqrd.js → schema-0n4jht4c.js} +18 -18
  13. package/dist/chunks/{mime-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{mime-0pb75hch.js → schema-0pb75hch.js} +1 -1
  15. package/dist/chunks/{mime-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{mime-hssj4d10.js → schema-100j1g9v.js} +32 -32
  17. package/dist/chunks/{mime-2cv161v0.js → schema-14a1bm7w.js} +22 -22
  18. package/dist/chunks/{mime-xtdnnkz9.js → schema-14getyrd.js} +24 -24
  19. package/dist/chunks/{mime-xn5rvdk3.js → schema-15nepkqg.js} +8 -8
  20. package/dist/chunks/{mime-9eafbtjx.js → schema-160w9f8h.js} +4 -4
  21. package/dist/chunks/{mime-64mdbckw.js → schema-16502g6j.js} +20 -20
  22. package/dist/chunks/{mime-sd8yy5r9.js → schema-17ccpqma.js} +13 -13
  23. package/dist/chunks/{mime-1cbk4m95.js → schema-1cbk4m95.js} +3 -3
  24. package/dist/chunks/{mime-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{mime-pa86c6bb.js → schema-1gr0tcdy.js} +4 -4
  26. package/dist/chunks/{mime-pt4bgws9.js → schema-1pqwnjx4.js} +16 -16
  27. package/dist/chunks/{mime-hs2a3b3x.js → schema-1qghmjy0.js} +3 -3
  28. package/dist/chunks/{mime-56gdpj1q.js → schema-1ygqh575.js} +9 -9
  29. package/dist/chunks/{mime-219neeqh.js → schema-219neeqh.js} +2 -2
  30. package/dist/chunks/{mime-21r38tys.js → schema-21r38tys.js} +1 -1
  31. package/dist/chunks/{mime-2402vzrj.js → schema-2402vzrj.js} +1 -1
  32. package/dist/chunks/{mime-265kqrgy.js → schema-265kqrgy.js} +1 -1
  33. package/dist/chunks/{mime-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{mime-444p8hwk.js → schema-2bvm5bng.js} +5 -5
  35. package/dist/chunks/schema-2rnk416m.js +247 -0
  36. package/dist/chunks/{mime-qkdjfw93.js → schema-2xmxfdkw.js} +13 -13
  37. package/dist/chunks/{mime-qk0gpxf2.js → schema-30c1nq7z.js} +8 -8
  38. package/dist/chunks/{mime-33n3bzdy.js → schema-33n3bzdy.js} +1 -1
  39. package/dist/chunks/{mime-4780s8zr.js → schema-352w66m8.js} +9 -9
  40. package/dist/chunks/{mime-cga0myw9.js → schema-35hkzk16.js} +7 -7
  41. package/dist/chunks/{mime-35wynegs.js → schema-35wynegs.js} +2 -2
  42. package/dist/chunks/{mime-w4arg62q.js → schema-3a6re68j.js} +6 -6
  43. package/dist/chunks/{mime-zyyezbff.js → schema-3dmtdf19.js} +9 -9
  44. package/dist/chunks/{mime-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{mime-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{mime-z5e4xs1g.js → schema-3hf7z3yq.js} +11 -11
  47. package/dist/chunks/{mime-bbrkv54p.js → schema-3p2ed7sd.js} +25 -25
  48. package/dist/chunks/{mime-420zfhbw.js → schema-3qte0bkw.js} +11 -11
  49. package/dist/chunks/{mime-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{mime-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{mime-ywcdcbeh.js → schema-460nzhf0.js} +13 -13
  52. package/dist/chunks/{mime-njct8jvz.js → schema-46kds8gk.js} +18 -18
  53. package/dist/chunks/{mime-tfwtnexv.js → schema-49m0b0hg.js} +12 -12
  54. package/dist/chunks/{mime-h4xx3q8r.js → schema-4n7x7n3b.js} +41 -41
  55. package/dist/chunks/{mime-cq37gk0t.js → schema-4p8fzzdy.js} +4 -4
  56. package/dist/chunks/{mime-3bxse654.js → schema-57kf9cn6.js} +11 -11
  57. package/dist/chunks/{mime-8x7bs8k4.js → schema-59fjh03s.js} +6 -6
  58. package/dist/chunks/{mime-5daktx2q.js → schema-5daktx2q.js} +1 -1
  59. package/dist/chunks/{mime-anxsz8s7.js → schema-5rs2mggp.js} +13 -13
  60. package/dist/chunks/{mime-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{mime-2k8khapm.js → schema-607tc6va.js} +5 -5
  62. package/dist/chunks/{mime-sm7k231e.js → schema-61tweh31.js} +11 -11
  63. package/dist/chunks/{mime-669tq793.js → schema-669tq793.js} +1 -1
  64. package/dist/chunks/{mime-fvhxsqzp.js → schema-6756pezh.js} +12 -12
  65. package/dist/chunks/{mime-8q7cq0y1.js → schema-6bsje7ws.js} +3 -3
  66. package/dist/chunks/{mime-eraanh1f.js → schema-6kyz0a76.js} +8 -8
  67. package/dist/chunks/{mime-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{mime-ra43e7fd.js → schema-6sk8rnq7.js} +47 -47
  69. package/dist/chunks/{mime-133n9d2d.js → schema-6z8qh9hd.js} +9 -9
  70. package/dist/chunks/{mime-70d2s7af.js → schema-70d2s7af.js} +1 -1
  71. package/dist/chunks/{mime-71q4at8m.js → schema-71q4at8m.js} +1 -1
  72. package/dist/chunks/{mime-r5x6zcsm.js → schema-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{mime-mdwr1hje.js → schema-74jczd3p.js} +6 -6
  74. package/dist/chunks/{mime-j3y0vmp2.js → schema-7a8p0xnb.js} +15 -15
  75. package/dist/chunks/{mime-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{mime-adtd93wp.js → schema-7cdavrgt.js} +26 -26
  77. package/dist/chunks/{mime-rf80fxgj.js → schema-7d2a7xbs.js} +5 -5
  78. package/dist/chunks/{mime-79j0w79y.js → schema-7f0264at.js} +34 -34
  79. package/dist/chunks/{mime-2gwea9g5.js → schema-7h6eczm7.js} +20 -20
  80. package/dist/chunks/{mime-seam05pa.js → schema-7hztb8a6.js} +8 -8
  81. package/dist/chunks/{mime-xj7p06cz.js → schema-7j034exa.js} +13 -13
  82. package/dist/chunks/{mime-704h20fa.js → schema-7vgg5bre.js} +20 -20
  83. package/dist/chunks/{mime-844ef7ks.js → schema-844ef7ks.js} +1 -1
  84. package/dist/chunks/{mime-vv47xjan.js → schema-88jrr0c1.js} +20 -20
  85. package/dist/chunks/{mime-tcezcvh9.js → schema-89znhe33.js} +4 -4
  86. package/dist/chunks/{mime-txhedez9.js → schema-8b5a8700.js} +28 -28
  87. package/dist/chunks/{mime-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{mime-hcv4nqeb.js → schema-8g7dzdwc.js} +17 -9
  89. package/dist/chunks/{mime-mez6c9p4.js → schema-8hqm76n9.js} +16 -16
  90. package/dist/chunks/{mime-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{mime-52xa8h0k.js → schema-8tasdpw9.js} +17 -17
  92. package/dist/chunks/{mime-vc4e6k4r.js → schema-8tpwn33w.js} +4 -4
  93. package/dist/chunks/{mime-zb37mv0v.js → schema-94wn97cy.js} +6 -6
  94. package/dist/chunks/{mime-zyyy8fjh.js → schema-9776sn27.js} +8 -8
  95. package/dist/chunks/{mime-kn0whz0h.js → schema-9cdcqr3z.js} +24 -24
  96. package/dist/chunks/{mime-g95881nk.js → schema-9cwdscm4.js} +6 -6
  97. package/dist/chunks/{mime-8na3ps9f.js → schema-9cwgx80s.js} +15 -15
  98. package/dist/chunks/{mime-eqde16p0.js → schema-9ee4bqq5.js} +16 -16
  99. package/dist/chunks/{mime-5w49rw7h.js → schema-9n8afz82.js} +18 -18
  100. package/dist/chunks/{mime-9h8p7dc2.js → schema-9n9wwhvc.js} +27 -27
  101. package/dist/chunks/{mime-g2v8q978.js → schema-9xbky303.js} +64 -64
  102. package/dist/chunks/{mime-2ht41vc1.js → schema-9xdtwryq.js} +15 -15
  103. package/dist/chunks/{mime-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{mime-t92h3xfh.js → schema-a2mmkps9.js} +27 -27
  105. package/dist/chunks/{mime-tpnhe26j.js → schema-a3dxz99s.js} +11 -11
  106. package/dist/chunks/{mime-f640cp8s.js → schema-a9bb11qt.js} +5 -5
  107. package/dist/chunks/{mime-aaet6srn.js → schema-aaet6srn.js} +2 -2
  108. package/dist/chunks/{mime-z053jb5k.js → schema-ak553geh.js} +26 -26
  109. package/dist/chunks/{mime-xkanz2ea.js → schema-aqd42mcz.js} +10 -10
  110. package/dist/chunks/{mime-cc31018j.js → schema-aqqw58sn.js} +32 -32
  111. package/dist/chunks/{mime-b11403r6.js → schema-b11403r6.js} +4 -4
  112. package/dist/chunks/{mime-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{mime-zqbh65n6.js → schema-b83gcn6t.js} +24 -24
  114. package/dist/chunks/{mime-5yeq06a0.js → schema-bdqrk2vk.js} +9 -9
  115. package/dist/chunks/{mime-wzv25m25.js → schema-bfn7mtpr.js} +13 -13
  116. package/dist/chunks/{mime-wa22fvar.js → schema-bnf5aq9z.js} +24 -24
  117. package/dist/chunks/schema-bsgewm40.js +26 -0
  118. package/dist/chunks/{mime-v4xb0e1g.js → schema-bswyt25e.js} +9 -9
  119. package/dist/chunks/{mime-6heswp50.js → schema-c09skazh.js} +9 -9
  120. package/dist/chunks/{mime-35vdht0v.js → schema-c1660zyq.js} +4 -4
  121. package/dist/chunks/{mime-c3s2gn8c.js → schema-c3s2gn8c.js} +2 -2
  122. package/dist/chunks/{mime-fr161fk4.js → schema-c5nvra9m.js} +2 -2
  123. package/dist/chunks/{mime-t0fxg8b9.js → schema-c78bbtc9.js} +5 -5
  124. package/dist/chunks/{mime-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
  125. package/dist/chunks/{mime-z16ek00m.js → schema-ckp1ht4p.js} +301 -301
  126. package/dist/chunks/{mime-m86bnw2c.js → schema-crptryd9.js} +9 -9
  127. package/dist/chunks/{mime-2vs2nh1n.js → schema-ctmr8zqa.js} +4 -4
  128. package/dist/chunks/{mime-r65rh87v.js → schema-cvnh4hxe.js} +11 -11
  129. package/dist/chunks/{mime-cvtmmhw6.js → schema-cvtmmhw6.js} +1 -1
  130. package/dist/chunks/{mime-fvx6fngr.js → schema-cwtxttrt.js} +17 -17
  131. package/dist/chunks/{mime-wyd5qy3e.js → schema-cxnfc116.js} +16 -16
  132. package/dist/chunks/{mime-et0rkxxj.js → schema-cyhsea0k.js} +8 -8
  133. package/dist/chunks/{mime-v2rhk2e4.js → schema-cyyebbpd.js} +18 -18
  134. package/dist/chunks/{mime-wwgj97ya.js → schema-d4d34sqm.js} +17 -17
  135. package/dist/chunks/{mime-ky1z1t7f.js → schema-d6e8k2gz.js} +34 -34
  136. package/dist/chunks/{mime-f565jxke.js → schema-dcrj6gad.js} +22 -22
  137. package/dist/chunks/{mime-pdcjakb6.js → schema-dm8kv9e9.js} +49 -49
  138. package/dist/chunks/{mime-kpvyk30t.js → schema-dtsq3qdh.js} +9 -9
  139. package/dist/chunks/{mime-bndc73cn.js → schema-e5nv3ght.js} +5 -5
  140. package/dist/chunks/{mime-bgxcxs0p.js → schema-e6hmchc5.js} +5 -5
  141. package/dist/chunks/{mime-nhy5jxhy.js → schema-e82z9tr0.js} +7 -7
  142. package/dist/chunks/{mime-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{mime-hr15y0yn.js → schema-eng2bkh5.js} +4 -4
  144. package/dist/chunks/{mime-eq6c3fte.js → schema-eq6c3fte.js} +2 -2
  145. package/dist/chunks/{mime-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{mime-2p6q1z9q.js → schema-ew8epg43.js} +8 -8
  147. package/dist/chunks/{mime-818pfwc9.js → schema-eyqq4r43.js} +8 -8
  148. package/dist/chunks/{mime-tqtqm0tk.js → schema-f3fywrrk.js} +21 -21
  149. package/dist/chunks/{mime-jgs57335.js → schema-f4ygn7kd.js} +25 -25
  150. package/dist/chunks/{mime-xmvk2ac6.js → schema-f6agekp8.js} +9 -9
  151. package/dist/chunks/{mime-f828m53h.js → schema-f828m53h.js} +2 -2
  152. package/dist/chunks/{mime-h752p31j.js → schema-fay8vjw6.js} +14 -14
  153. package/dist/chunks/{mime-50spkatp.js → schema-fch79rh9.js} +28 -3
  154. package/dist/chunks/{mime-qbx47xy2.js → schema-febxpxrj.js} +9 -9
  155. package/dist/chunks/{mime-5frpvc34.js → schema-ff0svapt.js} +2 -2
  156. package/dist/chunks/{mime-2wyn68kt.js → schema-fnt00pdw.js} +95 -95
  157. package/dist/chunks/{mime-gsy31vka.js → schema-fvwtc7m7.js} +8 -8
  158. package/dist/chunks/{mime-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{mime-z4y4a432.js → schema-g5rn0d52.js} +18 -18
  160. package/dist/chunks/{mime-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{mime-edtxp2z3.js → schema-gd8pphrc.js} +1 -1
  162. package/dist/chunks/{mime-7fejhyaj.js → schema-gg2v66ak.js} +36 -36
  163. package/dist/chunks/{mime-7fkzzjzh.js → schema-gj03f4ek.js} +14 -14
  164. package/dist/chunks/{mime-tst7fck9.js → schema-gj5yqrt5.js} +5 -5
  165. package/dist/chunks/{mime-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{mime-mx7czsbd.js → schema-h2ksjayj.js} +28 -28
  167. package/dist/chunks/{mime-6pg9yxyn.js → schema-h6ar4aba.js} +24 -24
  168. package/dist/chunks/{mime-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{mime-d2q9jptv.js → schema-hhgwwrzt.js} +43 -43
  170. package/dist/chunks/{mime-73zec2db.js → schema-hj0g3228.js} +13 -13
  171. package/dist/chunks/{mime-7jryds9y.js → schema-hjnnbnbb.js} +9 -9
  172. package/dist/chunks/{mime-yt0fqk68.js → schema-hkfg6fzm.js} +5 -5
  173. package/dist/chunks/{mime-t2qnazqa.js → schema-hv9ta9e9.js} +24 -24
  174. package/dist/chunks/{mime-qmd9v6g9.js → schema-j0kcbam5.js} +17 -17
  175. package/dist/chunks/{mime-j56e64zr.js → schema-j56e64zr.js} +1 -1
  176. package/dist/chunks/{mime-1p086jrz.js → schema-j5dzb3vg.js} +11 -11
  177. package/dist/chunks/{mime-rqkpr08e.js → schema-jb92a43k.js} +54 -54
  178. package/dist/chunks/{mime-b0dn0kc2.js → schema-jj8s0vwv.js} +27 -27
  179. package/dist/chunks/{mime-gb2e7tdd.js → schema-jr3e8pb9.js} +5 -5
  180. package/dist/chunks/{mime-y71avatq.js → schema-jwcy2c2z.js} +4 -4
  181. package/dist/chunks/{mime-13a7a1wx.js → schema-jxbxppp8.js} +28 -28
  182. package/dist/chunks/{mime-tdjcx4hx.js → schema-k5ahzgcr.js} +29 -29
  183. package/dist/chunks/{mime-tr59z4r6.js → schema-k7ytje6f.js} +14 -14
  184. package/dist/chunks/{mime-6stpc6jq.js → schema-k7yxbrfp.js} +35 -35
  185. package/dist/chunks/{mime-ahxwejs5.js → schema-kdmcvb0r.js} +6 -6
  186. package/dist/chunks/{mime-kg06axw8.js → schema-kg06axw8.js} +1 -1
  187. package/dist/chunks/{mime-axyhzpge.js → schema-kgt4jx9n.js} +20 -20
  188. package/dist/chunks/{mime-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{mime-mfhfdr54.js → schema-mfhfdr54.js} +1 -1
  190. package/dist/chunks/{mime-870jgjkc.js → schema-mh093k67.js} +22 -22
  191. package/dist/chunks/{mime-kpzqjmdf.js → schema-mp0exg3w.js} +11 -11
  192. package/dist/chunks/{mime-stk15n3e.js → schema-mw7ftrc1.js} +47 -47
  193. package/dist/chunks/{mime-0rn7bd2y.js → schema-mx4nfnwv.js} +3 -3
  194. package/dist/chunks/{mime-mz6ae2yf.js → schema-mz6ae2yf.js} +1 -1
  195. package/dist/chunks/{mime-d6k63gab.js → schema-na2rb754.js} +49 -49
  196. package/dist/chunks/{mime-qharf8gs.js → schema-nkszaa5g.js} +19 -19
  197. package/dist/chunks/{mime-e6prdszb.js → schema-nnaq0ssc.js} +30 -30
  198. package/dist/chunks/{mime-8pcfc58d.js → schema-nrzpy080.js} +32 -32
  199. package/dist/chunks/{mime-g3vtg5jq.js → schema-nsc0z153.js} +15 -15
  200. package/dist/chunks/{mime-2x58g7fm.js → schema-nsy21xt9.js} +38 -38
  201. package/dist/chunks/{mime-6sm2335y.js → schema-nvck40qe.js} +8 -8
  202. package/dist/chunks/{mime-e07961mt.js → schema-nwejh57z.js} +23 -23
  203. package/dist/chunks/{mime-ke3mc4hq.js → schema-p8ee7rnh.js} +15 -15
  204. package/dist/chunks/{mime-dvfrh357.js → schema-p8rnrv0y.js} +4 -4
  205. package/dist/chunks/{mime-eatzh2k7.js → schema-pdamhna9.js} +8 -8
  206. package/dist/chunks/{mime-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{mime-pknna89w.js → schema-pknna89w.js} +1 -1
  208. package/dist/chunks/{mime-k30yspdv.js → schema-pta0m0y2.js} +10 -10
  209. package/dist/chunks/{mime-pfm8588r.js → schema-q53mw4kv.js} +11 -11
  210. package/dist/chunks/{mime-5y1dhwgz.js → schema-qcyk0ctz.js} +12 -12
  211. package/dist/chunks/{mime-gv2jqw69.js → schema-qdeq33kz.js} +20 -20
  212. package/dist/chunks/schema-qdyb70sk.js +18 -0
  213. package/dist/chunks/{mime-gcb8mzse.js → schema-qgtwsm4a.js} +47 -47
  214. package/dist/chunks/{mime-f160myny.js → schema-qjkj1w27.js} +5 -5
  215. package/dist/chunks/{mime-pt5fe4wm.js → schema-qpv0n9y2.js} +13 -13
  216. package/dist/chunks/{mime-9fk0tq8j.js → schema-qpxa9xfm.js} +11 -11
  217. package/dist/chunks/{mime-2nm7ty4g.js → schema-qr42g2ex.js} +12 -12
  218. package/dist/chunks/{mime-qsdy395h.js → schema-qsdy395h.js} +1 -1
  219. package/dist/chunks/{mime-3gjcsfkp.js → schema-r66k216p.js} +30 -30
  220. package/dist/chunks/{mime-r9asyhme.js → schema-r9asyhme.js} +3 -3
  221. package/dist/chunks/{mime-r9mregkx.js → schema-r9mregkx.js} +2 -2
  222. package/dist/chunks/{mime-f0r94znb.js → schema-rggx3fk4.js} +8 -8
  223. package/dist/chunks/{mime-hbbajkb6.js → schema-s32qcjvy.js} +43 -43
  224. package/dist/chunks/{mime-g190xswt.js → schema-sez5jh81.js} +4 -4
  225. package/dist/chunks/{mime-c5gn303e.js → schema-shh6fz4q.js} +4 -4
  226. package/dist/chunks/{mime-cfpeewsf.js → schema-skkcpn4x.js} +17 -17
  227. package/dist/chunks/{mime-t9zs3egg.js → schema-sx1n432n.js} +4 -4
  228. package/dist/chunks/{mime-m1mf6fzk.js → schema-sxj88q7q.js} +36 -36
  229. package/dist/chunks/{mime-zjw2f83e.js → schema-sxwejk34.js} +62 -62
  230. package/dist/chunks/{mime-skgd961f.js → schema-szvcpp15.js} +34 -34
  231. package/dist/chunks/{mime-t0x5rdq8.js → schema-t0x5rdq8.js} +2 -2
  232. package/dist/chunks/{mime-5r46t150.js → schema-t16yqmmz.js} +7 -7
  233. package/dist/chunks/{mime-8bnrj9ah.js → schema-t2tp6kph.js} +9 -9
  234. package/dist/chunks/{mime-2ge8dzt3.js → schema-t46k7n4n.js} +29 -29
  235. package/dist/chunks/{mime-sxz6gkc3.js → schema-t6vsspdg.js} +4 -4
  236. package/dist/chunks/{mime-qd153e6s.js → schema-t9qn8q8w.js} +8 -8
  237. package/dist/chunks/{mime-wjf2ryf5.js → schema-tax233da.js} +18 -18
  238. package/dist/chunks/{mime-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{mime-tdstcens.js → schema-tdstcens.js} +1 -1
  240. package/dist/chunks/{mime-sy5x3wzp.js → schema-tgp4vj3e.js} +25 -25
  241. package/dist/chunks/{mime-gv6a8nnw.js → schema-th5km1p3.js} +5 -5
  242. package/dist/chunks/{mime-0rh963zz.js → schema-ttvjx6p5.js} +18 -18
  243. package/dist/chunks/{mime-tvtrv512.js → schema-tvtrv512.js} +1 -1
  244. package/dist/chunks/{mime-hwfrndnj.js → schema-tz9c6nnc.js} +15 -15
  245. package/dist/chunks/{mime-q5r46mjj.js → schema-varphpm5.js} +16 -16
  246. package/dist/chunks/{mime-qc2jvtz9.js → schema-vazxaftq.js} +15 -15
  247. package/dist/chunks/{mime-veqvce7d.js → schema-veqvce7d.js} +1 -1
  248. package/dist/chunks/{mime-8qh7f6m5.js → schema-vrf9z43g.js} +32 -32
  249. package/dist/chunks/{mime-y1x7r325.js → schema-vve3ffxw.js} +29 -29
  250. package/dist/chunks/{mime-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{mime-81rrwt6s.js → schema-vzm76b3t.js} +6 -6
  252. package/dist/chunks/{mime-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{mime-njhyngta.js → schema-w4cz4w8n.js} +2 -2
  254. package/dist/chunks/{mime-dec7wy2e.js → schema-w52sm2v7.js} +37 -37
  255. package/dist/chunks/{mime-4xgk073c.js → schema-w5np17bk.js} +32 -32
  256. package/dist/chunks/{mime-wavq5vqb.js → schema-wavq5vqb.js} +1 -1
  257. package/dist/chunks/{mime-jyzy5bh9.js → schema-wb1a395f.js} +28 -28
  258. package/dist/chunks/{mime-wd87259q.js → schema-wd87259q.js} +1 -1
  259. package/dist/chunks/{mime-s140sdf9.js → schema-wpcmngey.js} +9 -9
  260. package/dist/chunks/{mime-w3zbj2ne.js → schema-wtx5fp6w.js} +41 -41
  261. package/dist/chunks/{mime-0qxam8dj.js → schema-x00t4nfm.js} +9 -9
  262. package/dist/chunks/{mime-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{mime-ye34jjbw.js → schema-xafa45y0.js} +23 -23
  264. package/dist/chunks/{mime-3zygn6db.js → schema-xcz5qpew.js} +18 -18
  265. package/dist/chunks/{mime-rr835zjc.js → schema-xr4pykw3.js} +16 -16
  266. package/dist/chunks/{mime-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{mime-kx4bd44t.js → schema-y5dj3dxk.js} +6 -6
  268. package/dist/chunks/{mime-rm1v9tpv.js → schema-y9ytwzzt.js} +29 -29
  269. package/dist/chunks/{mime-5cbe66kg.js → schema-yaj99xd7.js} +18 -18
  270. package/dist/chunks/{mime-dagq8swk.js → schema-yea1wtgt.js} +86 -86
  271. package/dist/chunks/{mime-prkz2p0b.js → schema-yfbgkrwe.js} +11 -11
  272. package/dist/chunks/{mime-3djbw1yw.js → schema-yh4as7xh.js} +23 -23
  273. package/dist/chunks/{mime-2fz3ddp8.js → schema-yn73hxa9.js} +10 -10
  274. package/dist/chunks/{mime-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{mime-7dt64zzx.js → schema-yp37mb71.js} +25 -25
  276. package/dist/chunks/{mime-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{mime-yrznvahk.js → schema-yrznvahk.js} +2 -2
  278. package/dist/chunks/{mime-1vh2jpye.js → schema-yzesgjc2.js} +31 -29
  279. package/dist/chunks/{mime-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{mime-z63w68vq.js → schema-z63w68vq.js} +2 -2
  281. package/dist/chunks/{mime-ppg8cm88.js → schema-zdyqqjkd.js} +163 -163
  282. package/dist/chunks/{mime-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{mime-1qy9swdm.js → schema-zf2yj53h.js} +17 -17
  284. package/dist/chunks/{mime-tt0d903s.js → schema-zm862yqt.js} +33 -33
  285. package/dist/chunks/{mime-0q847seh.js → schema-zpbz1axx.js} +8 -8
  286. package/dist/chunks/{mime-59c8rz3w.js → schema-zqk4v51d.js} +15 -15
  287. package/dist/chunks/{mime-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{mime-1eaf0dqh.js → schema-zwv68h5q.js} +7 -7
  289. package/dist/chunks/{mime-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +11 -11
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +121 -121
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +137 -137
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +120 -120
  303. package/dist/config/plugin/image.js +119 -119
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +121 -121
  306. package/dist/config/plugin/mcp.js +130 -130
  307. package/dist/config/plugin/policy.js +118 -118
  308. package/dist/config/plugin/provider.js +117 -117
  309. package/dist/config/plugin/reference.js +121 -121
  310. package/dist/config/plugin/shell.js +119 -119
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +140 -140
  313. package/dist/config/plugin/snapshot.js +119 -119
  314. package/dist/config/plugin/source.js +121 -121
  315. package/dist/config/plugin/tool-output.js +121 -121
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +73 -73
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +90 -90
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +82 -82
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +137 -137
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +2 -2
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +83 -83
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +1 -1
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +81 -81
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +137 -137
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +344 -344
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +223 -223
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +1 -1
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +85 -85
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +76 -76
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +1 -1
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +170 -170
  607. package/dist/session/shell.js +134 -134
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +222 -222
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +125 -125
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +121 -121
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +122 -122
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +216 -216
  644. package/dist/tool/plugin/webfetch.js +107 -107
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +15 -15
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +73 -73
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +345 -345
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +91 -91
  690. package/package.json +8 -8
  691. package/dist/chunks/mime-4v7qdvcn.js +0 -18
  692. package/dist/chunks/mime-bhcmsjc5.js +0 -26
  693. package/dist/chunks/mime-x0mt5qzb.js +0 -247
  694. /package/dist/chunks/{mime-0mesazry.js → schema-0mesazry.js} +0 -0
  695. /package/dist/chunks/{mime-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{mime-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{mime-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{mime-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{mime-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{mime-2710q6r3.js → schema-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{mime-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{mime-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{mime-359p4xyc.js → schema-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{mime-3asan66x.js → schema-3asan66x.js} +0 -0
  705. /package/dist/chunks/{mime-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{mime-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{mime-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{mime-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{mime-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{mime-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{mime-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{mime-53557ph1.js → schema-53557ph1.js} +0 -0
  713. /package/dist/chunks/{mime-550bvhaj.js → schema-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{mime-6prwharc.js → schema-6prwharc.js} +0 -0
  715. /package/dist/chunks/{mime-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{mime-7m9af43g.js → schema-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{mime-822emrt2.js → schema-822emrt2.js} +0 -0
  718. /package/dist/chunks/{mime-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{mime-8n3pysct.js → schema-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{mime-922hggd3.js → schema-922hggd3.js} +0 -0
  721. /package/dist/chunks/{mime-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{mime-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{mime-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{mime-af5trqkr.js → schema-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{mime-afrmfg78.js → schema-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{mime-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{mime-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{mime-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{mime-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{mime-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{mime-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{mime-d9fn303g.js → schema-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{mime-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{mime-dajrwvna.js → schema-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{mime-dap0rakb.js → schema-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{mime-df08tz66.js → schema-df08tz66.js} +0 -0
  737. /package/dist/chunks/{mime-dy18nga0.js → schema-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{mime-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{mime-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{mime-ec1grn59.js → schema-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{mime-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{mime-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{mime-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{mime-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{mime-faypxj3z.js → schema-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{mime-fd410y7t.js → schema-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{mime-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{mime-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{mime-g86h250q.js → schema-g86h250q.js} +0 -0
  750. /package/dist/chunks/{mime-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{mime-gftt206x.js → schema-gftt206x.js} +0 -0
  752. /package/dist/chunks/{mime-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{mime-hk9envan.js → schema-hk9envan.js} +0 -0
  754. /package/dist/chunks/{mime-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
  755. /package/dist/chunks/{mime-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{mime-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{mime-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{mime-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{mime-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{mime-mp448xyj.js → schema-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{mime-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{mime-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{mime-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{mime-njntx4h6.js → schema-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{mime-paphc93g.js → schema-paphc93g.js} +0 -0
  766. /package/dist/chunks/{mime-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{mime-q74kybfr.js → schema-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{mime-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{mime-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{mime-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{mime-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{mime-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{mime-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{mime-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{mime-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{mime-twg0f83k.js → schema-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{mime-w803qqfp.js → schema-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{mime-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{mime-wtztk69x.js → schema-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{mime-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{mime-x61499pn.js → schema-x61499pn.js} +0 -0
  782. /package/dist/chunks/{mime-y44na4kk.js → schema-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{mime-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{mime-y8f7s663.js → schema-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{mime-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{mime-ym463w8f.js → schema-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{mime-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,54 +1,54 @@
1
1
  import {
2
- ID9,
3
- Info22,
2
+ ID12,
3
+ Info26,
4
4
  SessionSchema2
5
- } from "./mime-8q7cq0y1.js";
5
+ } from "./schema-6bsje7ws.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./mime-922hggd3.js";
8
+ } from "./schema-922hggd3.js";
9
9
  import {
10
- Service77,
11
- node82
12
- } from "./mime-ke3mc4hq.js";
10
+ Service80,
11
+ node84
12
+ } from "./schema-p8ee7rnh.js";
13
13
  import {
14
14
  isSynced2,
15
- Service76,
16
- node81
17
- } from "./mime-z4y4a432.js";
15
+ Service79,
16
+ node83
17
+ } from "./schema-g5rn0d52.js";
18
18
  import {
19
- Service66,
20
- node71
21
- } from "./mime-ra43e7fd.js";
19
+ Service71,
20
+ node75
21
+ } from "./schema-6sk8rnq7.js";
22
22
  import {
23
- Service42,
24
- node45
25
- } from "./mime-81rrwt6s.js";
23
+ Service34,
24
+ node37
25
+ } from "./schema-vzm76b3t.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./mime-ec1grn59.js";
28
+ } from "./schema-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./mime-a1bz86dw.js";
31
+ } from "./schema-a1bz86dw.js";
32
32
  import {
33
- node46
34
- } from "./mime-3gjcsfkp.js";
33
+ node35
34
+ } from "./schema-r66k216p.js";
35
35
  import {
36
36
  current2
37
- } from "./mime-cq37gk0t.js";
37
+ } from "./schema-4p8fzzdy.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./mime-eqde16p0.js";
40
+ } from "./schema-9ee4bqq5.js";
41
41
  import {
42
42
  Slug2
43
- } from "./mime-gebd4c9n.js";
43
+ } from "./schema-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node32
47
- } from "./mime-wa22fvar.js";
46
+ node22
47
+ } from "./schema-bnf5aq9z.js";
48
48
  import {
49
49
  Metadata2,
50
- node51
51
- } from "./mime-z5e4xs1g.js";
50
+ node85
51
+ } from "./schema-3hf7z3yq.js";
52
52
  import {
53
53
  NotFoundError8,
54
54
  MessageNotFoundError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./mime-hs2a3b3x.js";
64
+ } from "./schema-1qghmjy0.js";
65
65
  import {
66
- ListInput4,
67
- Service59,
68
- node63
69
- } from "./mime-fvx6fngr.js";
66
+ ListInput3,
67
+ Service53,
68
+ node56
69
+ } from "./schema-cwtxttrt.js";
70
70
  import {
71
- Service44,
72
- node47
73
- } from "./mime-8na3ps9f.js";
71
+ Service64,
72
+ node67
73
+ } from "./schema-9cwgx80s.js";
74
74
  import {
75
- Service39,
76
- node43
77
- } from "./mime-w3zbj2ne.js";
75
+ Service30,
76
+ node34
77
+ } from "./schema-wtx5fp6w.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./mime-5t3nmthw.js";
80
+ } from "./schema-5t3nmthw.js";
81
81
  import {
82
- Service27,
83
- node31
84
- } from "./mime-3bxse654.js";
82
+ Service23,
83
+ node27
84
+ } from "./schema-57kf9cn6.js";
85
85
  import {
86
86
  generate3
87
- } from "./mime-7fkzzjzh.js";
87
+ } from "./schema-gj03f4ek.js";
88
88
  import {
89
89
  execute2
90
- } from "./mime-f0r94znb.js";
90
+ } from "./schema-rggx3fk4.js";
91
91
  import {
92
- Service45,
93
- node48
94
- } from "./mime-tfwtnexv.js";
92
+ Service35,
93
+ node38
94
+ } from "./schema-49m0b0hg.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service19,
100
- node23
101
- } from "./mime-zjw2f83e.js";
99
+ Service17,
100
+ node21
101
+ } from "./schema-sxwejk34.js";
102
102
  import {
103
- Service34,
104
- node38
105
- } from "./mime-xn5rvdk3.js";
103
+ Service39,
104
+ node42
105
+ } from "./schema-15nepkqg.js";
106
106
  import {
107
107
  make12
108
- } from "./mime-hssj4d10.js";
108
+ } from "./schema-100j1g9v.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./mime-prkz2p0b.js";
112
+ } from "./schema-yfbgkrwe.js";
113
113
  import {
114
114
  __export
115
- } from "./mime-9rqn6x4v.js";
115
+ } from "./schema-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID9,
126
+ ID: () => ID12,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info22,
128
+ Info: () => Info26,
129
129
  ListAnchor: () => ListAnchor2,
130
- ListInput: () => ListInput3,
130
+ ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
133
  NotFoundError: () => NotFoundError8,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service18,
135
+ Service: () => Service16,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node22
141
+ node: () => node20
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput4;
152
- class Service18 extends Context.Service()("@opencode/Session") {
151
+ var ListInput2 = ListInput3;
152
+ class Service16 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service18, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
- const database = yield* Service77;
156
+ const database = yield* Service80;
157
157
  const db = database.db;
158
- const bus = yield* Service76;
159
- const projects = yield* Service66;
160
- const execution = yield* Service39;
158
+ const bus = yield* Service79;
159
+ const projects = yield* Service71;
160
+ const execution = yield* Service30;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service27;
163
- const store = yield* Service59;
164
- const instances = yield* Service42;
165
- const moves = yield* Service19;
166
- const jobs = yield* Service44;
167
- const environments = yield* Service34;
168
- const locations = yield* Service45;
162
+ const transport = yield* Service23;
163
+ const store = yield* Service53;
164
+ const instances = yield* Service34;
165
+ const moves = yield* Service17;
166
+ const jobs = yield* Service64;
167
+ const environments = yield* Service39;
168
+ const locations = yield* Service35;
169
169
  const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service18.of({
171
+ const result = Service16.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service77, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service34, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service34, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
326
326
  });
327
327
  return result;
328
328
  }));
329
- var node22 = Node.makeGlobalNode({
330
- service: Service18,
329
+ var node20 = Node.makeGlobalNode({
330
+ service: Service16,
331
331
  layer,
332
332
  deps: [
333
- node47,
334
- node38,
335
- node82,
336
- node81,
337
- node71,
338
- node43,
339
- node31,
333
+ node67,
334
+ node42,
335
+ node84,
336
+ node83,
337
+ node75,
338
+ node34,
339
+ node27,
340
340
  llmClient2,
341
- node63,
342
- node45,
343
- node46,
344
- node23,
345
- node32,
346
- node48,
341
+ node56,
342
+ node37,
343
+ node35,
344
+ node21,
345
+ node22,
346
+ node38,
347
347
  FSUtil.node,
348
- node51
348
+ node85
349
349
  ]
350
350
  });
351
351
 
352
- export { ListAnchor2, ListInput3, Service18, node22, exports_session };
352
+ export { ListAnchor2, ListInput2, Service16, node20, exports_session };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service76
3
- } from "./mime-z4y4a432.js";
2
+ Service79
3
+ } from "./schema-g5rn0d52.js";
4
4
  import {
5
- Service47,
6
- Event7
7
- } from "./mime-e6prdszb.js";
5
+ Service77,
6
+ Event20
7
+ } from "./schema-nnaq0ssc.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service47;
33
- const bus = yield* Service76;
32
+ const modelsDev = yield* Service77;
33
+ const bus = yield* Service79;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
66
66
  }
67
67
  }
68
68
  });
69
- yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event20.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
70
70
  })
71
71
  });
72
72
  function environmentNames(provider) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./mime-ke3mc4hq.js";
2
+ Service80,
3
+ node84
4
+ } from "./schema-p8ee7rnh.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./mime-2710q6r3.js";
8
+ } from "./schema-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./mime-y71avatq.js";
11
+ } from "./schema-jwcy2c2z.js";
12
12
  import {
13
13
  __export
14
- } from "./mime-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service76,
22
- configured: () => configured12,
21
+ Service: () => Service79,
22
+ configured: () => configured11,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node81,
27
+ node: () => node83,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service76 extends Context.Service()("@opencode/Bus") {
79
+ class Service79 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
- function configured12(options) {
81
+ function configured11(options) {
82
82
  return makeGlobalNode({
83
- service: Service76,
84
- deps: [node82],
85
- layer: Layer.effect(Service76, Effect.gen(function* () {
83
+ service: Service79,
84
+ deps: [node84],
85
+ layer: Layer.effect(Service79, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service77;
96
+ const { db } = yield* Service80;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service76.of({
528
+ return Service79.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node81 = configured12();
542
+ var node83 = configured11();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service76, configured12, node81, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured11, node83, exports_bus };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./mime-njhyngta.js";
5
+ } from "./schema-w4cz4w8n.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,63 +1,63 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./mime-ke3mc4hq.js";
2
+ Service80,
3
+ node84
4
+ } from "./schema-p8ee7rnh.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./mime-z4y4a432.js";
6
+ Service79,
7
+ node83
8
+ } from "./schema-g5rn0d52.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./mime-pknna89w.js";
11
+ } from "./schema-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./mime-0q0f95c6.js";
14
+ } from "./schema-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./mime-9rqn6x4v.js";
17
+ } from "./schema-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: () => Event19,
24
- ID: () => ID15,
25
- Info: () => Info30,
26
- Key: () => Key4,
23
+ Event: () => Event14,
24
+ ID: () => ID11,
25
+ Info: () => Info25,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service74,
28
+ Service: () => Service63,
29
29
  Value: () => Value2,
30
- node: () => node79
30
+ node: () => node66
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 ID15 = Credential.ID;
37
+ var ID11 = 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 Event19 = Credential.Event;
41
+ var Event14 = Credential.Event;
42
42
 
43
- class Info30 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
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 Service63 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service74, Effect.gen(function* () {
54
- const db = (yield* Service77).db;
55
- const bus = yield* Service76;
53
+ var layer = Layer.effect(Service63, 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 Info30({
60
+ return new Info25({
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 Service63.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 Info30({
80
- id: ID15.create(),
79
+ const credential = new Info25({
80
+ id: ID11.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(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event14.Updated, {}, { global: true });
105
+ yield* bus.publish(Event14.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(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event14.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(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event14.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(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event14.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node79 = makeGlobalNode({ service: Service74, layer, deps: [node82, node81] });
196
+ var node66 = makeGlobalNode({ service: Service63, layer, deps: [node84, node83] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service74, node79, exports_credential };
198
+ export { ID11, OAuth3, Key3, Value2, Event14, Info25, Service63, node66, exports_credential };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service77
3
- } from "./mime-ke3mc4hq.js";
2
+ Service80
3
+ } from "./schema-p8ee7rnh.js";
4
4
  import {
5
- Service42
6
- } from "./mime-81rrwt6s.js";
5
+ Service34
6
+ } from "./schema-vzm76b3t.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./mime-4v7qdvcn.js";
9
+ } from "./schema-qdyb70sk.js";
10
10
  import {
11
11
  provenance2
12
- } from "./mime-mfhfdr54.js";
12
+ } from "./schema-mfhfdr54.js";
13
13
  import {
14
14
  preview2
15
- } from "./mime-6sm2335y.js";
15
+ } from "./schema-nvck40qe.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./mime-cc31018j.js";
18
+ } from "./schema-aqqw58sn.js";
19
19
  import {
20
- Service20
21
- } from "./mime-dagq8swk.js";
20
+ Service19
21
+ } from "./schema-yea1wtgt.js";
22
22
  import {
23
23
  __export
24
- } from "./mime-9rqn6x4v.js";
24
+ } from "./schema-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service42;
36
- const database = yield* Service77;
35
+ const instances = yield* Service34;
36
+ const database = yield* Service80;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service20;
40
+ const context = yield* Service19;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");