@opencode/core 0.0.0-dev-19652 → 0.0.0-dev-19654

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{schema-sjf3tctt.js → project-0c2xmx3r.js} +5 -5
  8. package/dist/chunks/{schema-bjgq97ey.js → project-0ctkc4ky.js} +16 -16
  9. package/dist/chunks/{schema-knvfs6pc.js → project-0ejs8pyj.js} +11 -11
  10. package/dist/chunks/{schema-ekdmd5z4.js → project-0jsday3s.js} +47 -47
  11. package/dist/chunks/{schema-2fgn2we9.js → project-0ke265bw.js} +7 -7
  12. package/dist/chunks/{schema-nekzqhap.js → project-0kvys8hn.js} +9 -9
  13. package/dist/chunks/project-0mesazry.js +4 -0
  14. package/dist/chunks/{schema-typ47xqv.js → project-0mhynwnc.js} +8 -8
  15. package/dist/chunks/{schema-rv9hmyrv.js → project-0mkyqgfd.js} +25 -25
  16. package/dist/chunks/{schema-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{schema-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{schema-3ythc6yv.js → project-0rpg7gzc.js} +4 -4
  19. package/dist/chunks/{schema-69mekdnv.js → project-0sj5h9wb.js} +29 -29
  20. package/dist/chunks/{schema-tjecye6p.js → project-0vz1tkj3.js} +10 -10
  21. package/dist/chunks/{schema-tgtkvqe9.js → project-0xthej4a.js} +5 -5
  22. package/dist/chunks/{schema-1bbkgx8g.js → project-1bbkgx8g.js} +1 -1
  23. package/dist/chunks/{schema-kbch1f4b.js → project-1bdr5thg.js} +43 -43
  24. package/dist/chunks/{schema-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{schema-rpcw9abc.js → project-1jysd4sq.js} +18 -18
  26. package/dist/chunks/{schema-17xzmh3e.js → project-1pdxjmka.js} +39 -39
  27. package/dist/chunks/{schema-wp67138w.js → project-1ratrz0v.js} +29 -29
  28. package/dist/chunks/{schema-3ee1q45j.js → project-1sgtrjmp.js} +10 -10
  29. package/dist/chunks/{schema-6sydn1mq.js → project-1wspaw71.js} +5 -5
  30. package/dist/chunks/{schema-1ygqh575.js → project-1ygqh575.js} +2 -2
  31. package/dist/chunks/{schema-mmwvyfxk.js → project-1ynd3vfw.js} +29 -29
  32. package/dist/chunks/{schema-21r38tys.js → project-21r38tys.js} +1 -1
  33. package/dist/chunks/{schema-6h73sxmp.js → project-2402vzrj.js} +5 -5
  34. package/dist/chunks/{schema-x3656kx6.js → project-24ag81p1.js} +12 -12
  35. package/dist/chunks/{schema-gmjjhz4f.js → project-283sq9eb.js} +7 -7
  36. package/dist/chunks/{schema-z63w68vq.js → project-29x78va6.js} +6 -6
  37. package/dist/chunks/{schema-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{schema-ctkq0avj.js → project-2ahk5c0y.js} +16 -16
  39. package/dist/chunks/{schema-5sbtfkvy.js → project-2as6abmy.js} +11 -11
  40. package/dist/chunks/{schema-egb509wj.js → project-2dn13wbh.js} +7 -7
  41. package/dist/chunks/{schema-ckspfy32.js → project-2h4yezz8.js} +11 -11
  42. package/dist/chunks/{schema-gjfy02nj.js → project-2jdkswqa.js} +38 -38
  43. package/dist/chunks/{schema-9j3p0a6z.js → project-2k5sqtx0.js} +37 -37
  44. package/dist/chunks/{schema-kyxd1ff3.js → project-2m0tdyvq.js} +15 -15
  45. package/dist/chunks/{schema-4x3es53w.js → project-35qx3tg6.js} +15 -15
  46. package/dist/chunks/{schema-rj5n40r1.js → project-36rrs65m.js} +30 -30
  47. package/dist/chunks/{schema-jeck9fhr.js → project-3ady01sp.js} +15 -15
  48. package/dist/chunks/{schema-tn0aqsam.js → project-3cfzdc8e.js} +5 -5
  49. package/dist/chunks/{schema-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{schema-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{schema-z0rhrb3j.js → project-3m60hbn1.js} +31 -31
  52. package/dist/chunks/{schema-603btna3.js → project-3msvx9qz.js} +16 -16
  53. package/dist/chunks/{schema-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{schema-7jstqpd5.js → project-3t3smen9.js} +29 -29
  55. package/dist/chunks/{schema-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{schema-pzkc7njq.js → project-3w3pp2km.js} +17 -17
  57. package/dist/chunks/{schema-y7s0zapj.js → project-3xc949v2.js} +17 -17
  58. package/dist/chunks/{schema-4dv0c8br.js → project-42173m5y.js} +7 -7
  59. package/dist/chunks/{schema-7a89sew0.js → project-4228h0q6.js} +26 -26
  60. package/dist/chunks/{schema-nrc1qagd.js → project-4336qr41.js} +10 -10
  61. package/dist/chunks/{schema-tg92h923.js → project-4aegmmva.js} +11 -11
  62. package/dist/chunks/{schema-3nsjfmzq.js → project-4hv3mxh5.js} +6 -6
  63. package/dist/chunks/{schema-xr05v48s.js → project-4knwenfv.js} +6 -6
  64. package/dist/chunks/{schema-rz9jtxyn.js → project-4pbmg8th.js} +6 -6
  65. package/dist/chunks/{schema-957yf008.js → project-508tw13s.js} +16 -16
  66. package/dist/chunks/{schema-5c4hm403.js → project-5c4hm403.js} +3 -3
  67. package/dist/chunks/{schema-03ep55h0.js → project-5d3evgag.js} +20 -20
  68. package/dist/chunks/{schema-5daktx2q.js → project-5daktx2q.js} +1 -1
  69. package/dist/chunks/{schema-kqvqnzwb.js → project-5e2qmmvm.js} +16 -16
  70. package/dist/chunks/{schema-94fp10gk.js → project-5pdnvhmz.js} +4 -4
  71. package/dist/chunks/{schema-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{schema-5yzzbxa7.js → project-5yzzbxa7.js} +1 -1
  73. package/dist/chunks/{schema-xpbr7bcc.js → project-63kngrnd.js} +6 -6
  74. package/dist/chunks/{schema-w1k39n5e.js → project-64kphnzf.js} +4 -4
  75. package/dist/chunks/{schema-hknczzph.js → project-65zjkj2s.js} +9 -9
  76. package/dist/chunks/{schema-669tq793.js → project-669tq793.js} +1 -1
  77. package/dist/chunks/{schema-76mtmnx0.js → project-68v7wq3s.js} +6 -6
  78. package/dist/chunks/{schema-awaxm1q8.js → project-6dxca9n3.js} +27 -27
  79. package/dist/chunks/{schema-axb19299.js → project-6mdkj0jz.js} +57 -57
  80. package/dist/chunks/{schema-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  81. package/dist/chunks/{schema-00a8st2d.js → project-6n0315c6.js} +13 -13
  82. package/dist/chunks/{schema-ce5fknq2.js → project-6vq97qmv.js} +5 -5
  83. package/dist/chunks/{schema-smjnv1yt.js → project-72j82y8n.js} +17 -17
  84. package/dist/chunks/{schema-49cpqk8x.js → project-75jjxc6v.js} +10 -10
  85. package/dist/chunks/{schema-f1t1f2q3.js → project-75wwenxr.js} +22 -22
  86. package/dist/chunks/{schema-zz75d48d.js → project-77hwbmqb.js} +300 -300
  87. package/dist/chunks/{schema-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{schema-607tc6va.js → project-7dqw4kz8.js} +5 -5
  89. package/dist/chunks/{schema-kgxz2f7g.js → project-7tav4pdx.js} +12 -12
  90. package/dist/chunks/{schema-38s28pd0.js → project-7v31bb7s.js} +27 -27
  91. package/dist/chunks/{schema-p6dqprnz.js → project-7y7zxavp.js} +5 -5
  92. package/dist/chunks/{schema-k5wasz4q.js → project-813tndwv.js} +5 -5
  93. package/dist/chunks/{schema-y1f6k396.js → project-8bjqnspe.js} +20 -20
  94. package/dist/chunks/{schema-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{schema-kg6516s3.js → project-8f3thapn.js} +7 -7
  96. package/dist/chunks/{schema-tgzhv03a.js → project-8h827zca.js} +11 -11
  97. package/dist/chunks/{schema-h896pcm5.js → project-909p1r3q.js} +6 -6
  98. package/dist/chunks/{schema-58bewgwg.js → project-919d85q8.js} +17 -17
  99. package/dist/chunks/{schema-6rf1xn29.js → project-91e8dqzw.js} +12 -12
  100. package/dist/chunks/{schema-4rt0waxz.js → project-91xe9zf9.js} +16 -16
  101. package/dist/chunks/{schema-4xeagmdc.js → project-92w5tfq9.js} +3 -3
  102. package/dist/chunks/{schema-9c3np669.js → project-9c3np669.js} +1 -1
  103. package/dist/chunks/{schema-scd6nj0g.js → project-9egeszzx.js} +20 -20
  104. package/dist/chunks/{schema-r8r0p3p5.js → project-9r3dwykc.js} +28 -28
  105. package/dist/chunks/{schema-qenep300.js → project-9rmgeemn.js} +39 -39
  106. package/dist/chunks/{schema-sztsy51r.js → project-9w2d8nma.js} +13 -13
  107. package/dist/chunks/{schema-vm903892.js → project-a0ns0bt7.js} +1 -1
  108. package/dist/chunks/{schema-v5dkyp31.js → project-a2ew8a62.js} +4 -4
  109. package/dist/chunks/{schema-aaet6srn.js → project-aaet6srn.js} +2 -2
  110. package/dist/chunks/{schema-xtb4zs1s.js → project-af4kcn4k.js} +16 -16
  111. package/dist/chunks/{schema-1wzaq9wx.js → project-amgstf24.js} +3 -3
  112. package/dist/chunks/{schema-0v53mg2y.js → project-an7cqtb7.js} +4 -4
  113. package/dist/chunks/{schema-2df3b3hs.js → project-azhv3eab.js} +25 -25
  114. package/dist/chunks/{schema-2j9z72bx.js → project-b23ptxzd.js} +4 -4
  115. package/dist/chunks/{schema-m5bv8msf.js → project-b4h8ce20.js} +15 -15
  116. package/dist/chunks/{schema-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{schema-yqb6sz7a.js → project-bhf5x28m.js} +2 -2
  118. package/dist/chunks/{schema-ppns27wk.js → project-bvzgpym2.js} +15 -15
  119. package/dist/chunks/{schema-8aw2er08.js → project-bya4tfsq.js} +24 -24
  120. package/dist/chunks/{schema-ty91eq5w.js → project-bywmx7r6.js} +5 -5
  121. package/dist/chunks/{schema-hcnq7x11.js → project-ce1f98sa.js} +9 -9
  122. package/dist/chunks/{schema-42way606.js → project-ce2afrs8.js} +7 -7
  123. package/dist/chunks/{schema-r2m716tb.js → project-cpneeje0.js} +9 -9
  124. package/dist/chunks/{schema-vvvs0jwh.js → project-cskcfgzm.js} +4 -4
  125. package/dist/chunks/{schema-4r0rs1wm.js → project-cvyvsn92.js} +26 -26
  126. package/dist/chunks/{schema-99pz0y8y.js → project-cwanq1ts.js} +20 -20
  127. package/dist/chunks/{schema-htmcw1qg.js → project-d94k0pgm.js} +11 -11
  128. package/dist/chunks/{schema-dj2t23y0.js → project-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{schema-yyrnn2g5.js → project-djqd3t6t.js} +29 -29
  130. package/dist/chunks/{schema-6008d0qp.js → project-dmw6w6dp.js} +175 -175
  131. package/dist/chunks/{schema-y71avatq.js → project-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{schema-3qq5da58.js → project-drbh6n2a.js} +80 -80
  133. package/dist/chunks/{schema-drwq78ky.js → project-drwq78ky.js} +1 -1
  134. package/dist/chunks/{schema-zqw47kg9.js → project-dw9e412h.js} +15 -15
  135. package/dist/chunks/{schema-rp39zwfx.js → project-e3csx9vp.js} +7 -7
  136. package/dist/chunks/{schema-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
  137. package/dist/chunks/{schema-bndc73cn.js → project-e5nv3ght.js} +5 -5
  138. package/dist/chunks/{schema-8d4156c8.js → project-ea5ew2x7.js} +23 -23
  139. package/dist/chunks/{schema-eaj1djv9.js → project-eaj1djv9.js} +1 -1
  140. package/dist/chunks/{schema-hyjskg14.js → project-eeez9nrk.js} +14 -14
  141. package/dist/chunks/{schema-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{schema-n61j5yzm.js → project-emfknypz.js} +5 -5
  143. package/dist/chunks/{schema-fg588aq2.js → project-ep5m281w.js} +14 -14
  144. package/dist/chunks/{schema-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{schema-820fwhp7.js → project-f38a36z7.js} +7 -7
  146. package/dist/chunks/project-f6087nw3.js +26 -0
  147. package/dist/chunks/{schema-xr485xf2.js → project-fd1vbwzp.js} +5 -5
  148. package/dist/chunks/{schema-gps939mq.js → project-fg4f3yfz.js} +43 -43
  149. package/dist/chunks/{schema-fkjmw100.js → project-fkjmw100.js} +2 -2
  150. package/dist/chunks/{schema-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{schema-1fg54p4f.js → project-g4agn56x.js} +2 -2
  152. package/dist/chunks/{schema-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{schema-4td6qmdq.js → project-gec2k11q.js} +9 -9
  154. package/dist/chunks/{schema-a578tmxk.js → project-gkmdmjc8.js} +24 -24
  155. package/dist/chunks/{schema-h0qctgs0.js → project-gm2mrtn0.js} +11 -11
  156. package/dist/chunks/{schema-2tfmgkzg.js → project-gnx4ytbv.js} +4 -4
  157. package/dist/chunks/{schema-bsywhvdw.js → project-gp51e444.js} +13 -13
  158. package/dist/chunks/{schema-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{schema-2072y70k.js → project-gx3406ah.js} +28 -28
  160. package/dist/chunks/{schema-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{schema-0fn2v7vk.js → project-h4jnxhkz.js} +6 -6
  162. package/dist/chunks/{schema-cpj0znwe.js → project-h6r3nrb9.js} +4 -4
  163. package/dist/chunks/{schema-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{schema-0r7yqxbf.js → project-hcz3zddy.js} +5 -5
  165. package/dist/chunks/{schema-hdnk95c8.js → project-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{schema-030jpyv0.js → project-hf679vsh.js} +10 -10
  167. package/dist/chunks/{schema-r8vbt15x.js → project-j310j1r9.js} +20 -20
  168. package/dist/chunks/{schema-j56e64zr.js → project-j56e64zr.js} +1 -1
  169. package/dist/chunks/{schema-50qbb3mm.js → project-j5ft5etd.js} +9 -9
  170. package/dist/chunks/{schema-mgbtsknw.js → project-j7pxtyw0.js} +31 -31
  171. package/dist/chunks/{schema-w9jmd2e2.js → project-j8x89yg9.js} +84 -84
  172. package/dist/chunks/{schema-6w1d93z6.js → project-jcw1vdbb.js} +9 -9
  173. package/dist/chunks/{schema-5b21016n.js → project-je2cd00w.js} +8 -8
  174. package/dist/chunks/{schema-c7fs63yh.js → project-jh9az3vg.js} +6 -6
  175. package/dist/chunks/{schema-09m97qzh.js → project-jmbnh86v.js} +48 -48
  176. package/dist/chunks/{schema-b3yf6gst.js → project-jq1rd4f8.js} +20 -20
  177. package/dist/chunks/{schema-r2fyx2gr.js → project-k4hrnwex.js} +29 -29
  178. package/dist/chunks/{schema-x4bypsmn.js → project-k9jbpmrm.js} +11 -11
  179. package/dist/chunks/{schema-hrbhtc9f.js → project-kamrabka.js} +31 -31
  180. package/dist/chunks/{schema-mecezrcf.js → project-kdst1v80.js} +21 -21
  181. package/dist/chunks/{schema-eye44qas.js → project-kgen349b.js} +9 -9
  182. package/dist/chunks/{schema-g190xswt.js → project-kk00bynn.js} +21 -21
  183. package/dist/chunks/{schema-mqzgvnq5.js → project-kn78z32t.js} +21 -21
  184. package/dist/chunks/{schema-m0jqrx5p.js → project-m0jqrx5p.js} +2 -2
  185. package/dist/chunks/{schema-410w8yr6.js → project-m24hhjzv.js} +20 -20
  186. package/dist/chunks/{schema-57b0vs49.js → project-m340qnag.js} +3 -3
  187. package/dist/chunks/{schema-6dk543bq.js → project-m6pqj4ta.js} +8 -8
  188. package/dist/chunks/{schema-3yr6111a.js → project-m97qx7xz.js} +25 -25
  189. package/dist/chunks/{schema-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{schema-8nmhcqgw.js → project-mnmcnwgd.js} +13 -13
  191. package/dist/chunks/{schema-ycnmbzhj.js → project-mz5jx2zm.js} +3 -3
  192. package/dist/chunks/{schema-p01rfyrx.js → project-mzpa3rg8.js} +2 -2
  193. package/dist/chunks/{schema-m9wy7qrr.js → project-n8c291r7.js} +6 -6
  194. package/dist/chunks/project-n95b3jav.js +18 -0
  195. package/dist/chunks/{schema-nq7qbqzc.js → project-nq7qbqzc.js} +2 -2
  196. package/dist/chunks/{schema-q3t37ft6.js → project-nvxqht09.js} +3 -3
  197. package/dist/chunks/{schema-zw2p42d9.js → project-nzfxy407.js} +5 -5
  198. package/dist/chunks/{schema-jc26sbfk.js → project-p5d14cgj.js} +6 -6
  199. package/dist/chunks/{schema-bdcpzjfh.js → project-p7ja2v5n.js} +1 -1
  200. package/dist/chunks/{schema-ztcmmyvq.js → project-perc706q.js} +11 -11
  201. package/dist/chunks/{schema-ddj5qfgg.js → project-phd5e4cp.js} +26 -26
  202. package/dist/chunks/{schema-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{schema-pknna89w.js → project-pknna89w.js} +1 -1
  204. package/dist/chunks/{schema-vy5pp12k.js → project-psz73s1d.js} +18 -18
  205. package/dist/chunks/{schema-k8m1efg7.js → project-q0k7eptx.js} +24 -24
  206. package/dist/chunks/{schema-h7e5g0tn.js → project-q5zafh14.js} +6 -6
  207. package/dist/chunks/{schema-5rzrtx0h.js → project-qa4ajh0m.js} +24 -24
  208. package/dist/chunks/{schema-5htpha5v.js → project-qekt2jqg.js} +13 -13
  209. package/dist/chunks/{schema-47vm6cas.js → project-qens5r2c.js} +12 -12
  210. package/dist/chunks/{schema-tac2mqbh.js → project-qk76jaa9.js} +4 -4
  211. package/dist/chunks/{schema-qsdy395h.js → project-qsdy395h.js} +1 -1
  212. package/dist/chunks/{schema-79qmf15m.js → project-r0je5mrb.js} +38 -38
  213. package/dist/chunks/{schema-rd1twtdz.js → project-r3akfy93.js} +11 -11
  214. package/dist/chunks/{schema-gnssr4kh.js → project-r5th2wk9.js} +11 -11
  215. package/dist/chunks/{schema-r9mregkx.js → project-r9mregkx.js} +2 -2
  216. package/dist/chunks/{schema-6hjx5zpb.js → project-r9w3djhf.js} +2 -2
  217. package/dist/chunks/{schema-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{schema-35agz59w.js → project-rp8jz6x1.js} +4 -4
  219. package/dist/chunks/{schema-3cemjer9.js → project-rpwkf085.js} +11 -11
  220. package/dist/chunks/{schema-fqtvmpfq.js → project-rvf0m9x6.js} +8 -8
  221. package/dist/chunks/{schema-w1ad28wa.js → project-s0agc963.js} +5 -5
  222. package/dist/chunks/{schema-y0pcwp9m.js → project-s0shxj5b.js} +45 -45
  223. package/dist/chunks/{schema-r2e4tzq6.js → project-s3xq2xqv.js} +25 -25
  224. package/dist/chunks/{schema-t6kmr1tg.js → project-s3znddnf.js} +13 -13
  225. package/dist/chunks/{schema-yrznvahk.js → project-s4enseaf.js} +2 -2
  226. package/dist/chunks/{schema-ngqd1g3c.js → project-sdc78qer.js} +4 -4
  227. package/dist/chunks/{schema-4sa93e2e.js → project-sm6kx0sx.js} +23 -23
  228. package/dist/chunks/{schema-jyvkdnw5.js → project-sr3w7f2q.js} +13 -13
  229. package/dist/chunks/{schema-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{schema-89znhe33.js → project-tcezcvh9.js} +4 -4
  231. package/dist/chunks/{schema-tdstcens.js → project-tdstcens.js} +1 -1
  232. package/dist/chunks/{schema-jca4demv.js → project-tqkrwgse.js} +2 -2
  233. package/dist/chunks/{schema-d4727nqf.js → project-tsgs9r3b.js} +14 -14
  234. package/dist/chunks/{schema-pt08jtz7.js → project-ttpgpe01.js} +5 -5
  235. package/dist/chunks/{schema-tvtrv512.js → project-tvtrv512.js} +1 -1
  236. package/dist/chunks/{schema-9qdsg55z.js → project-v09pjjmz.js} +20 -20
  237. package/dist/chunks/{schema-vtqhpasw.js → project-v6cmbkn7.js} +11 -11
  238. package/dist/chunks/{schema-wzw28g6j.js → project-v8e0nmhf.js} +20 -20
  239. package/dist/chunks/{schema-9esbgk1q.js → project-v8p7hepz.js} +4 -4
  240. package/dist/chunks/{schema-cd4vjczq.js → project-v8wsj8x1.js} +10 -10
  241. package/dist/chunks/{schema-veqvce7d.js → project-veqvce7d.js} +1 -1
  242. package/dist/chunks/{schema-ckfwh0ft.js → project-vyrd71eq.js} +11 -11
  243. package/dist/chunks/{schema-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{schema-t904akrn.js → project-w2mjwr1c.js} +11 -11
  245. package/dist/chunks/{schema-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{schema-0dz7dwft.js → project-wah84vk8.js} +3 -3
  247. package/dist/chunks/{schema-mrs0jc6e.js → project-wd8216ry.js} +24 -24
  248. package/dist/chunks/{schema-wd87259q.js → project-wd87259q.js} +1 -1
  249. package/dist/chunks/{schema-c3x1jprk.js → project-wehtpj37.js} +5 -5
  250. package/dist/chunks/{schema-eevfkcnk.js → project-wfdj3108.js} +13 -13
  251. package/dist/chunks/{schema-4jc5c4h4.js → project-wy8b5sm2.js} +1 -1
  252. package/dist/chunks/{schema-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{schema-m31hrvtp.js → project-x1xcpfha.js} +7 -7
  254. package/dist/chunks/{schema-rcdaxd8f.js → project-x9trd2t9.js} +25 -25
  255. package/dist/chunks/{schema-evg6vw2r.js → project-xeg7g0nc.js} +48 -48
  256. package/dist/chunks/{schema-fd75nkaf.js → project-xmxm48pn.js} +11 -11
  257. package/dist/chunks/{schema-p1aznbsd.js → project-xnvh8etj.js} +28 -28
  258. package/dist/chunks/{schema-vtna6zda.js → project-y0137adc.js} +14 -14
  259. package/dist/chunks/{schema-kwnfrnw8.js → project-y0x32n70.js} +42 -42
  260. package/dist/chunks/{schema-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{schema-jd2srmve.js → project-y1gfnvav.js} +3 -3
  262. package/dist/chunks/{schema-qdw6nraz.js → project-y30cx3k6.js} +21 -21
  263. package/dist/chunks/{schema-06z447d2.js → project-y4wnem0h.js} +11 -11
  264. package/dist/chunks/{schema-5377s7rv.js → project-yafpb3vq.js} +31 -31
  265. package/dist/chunks/{schema-z5wxwd7n.js → project-yb7dx6fn.js} +15 -15
  266. package/dist/chunks/{schema-zc3k5t70.js → project-yh2jwdmt.js} +13 -13
  267. package/dist/chunks/{schema-cws54ygj.js → project-ykx6fwe4.js} +10 -10
  268. package/dist/chunks/{schema-x31saxwp.js → project-yne04gbc.js} +16 -16
  269. package/dist/chunks/{schema-f2n192rq.js → project-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{schema-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{schema-0f9afca0.js → project-yt0fqk68.js} +5 -5
  272. package/dist/chunks/{schema-srr10nqc.js → project-ytaba3rm.js} +140 -140
  273. package/dist/chunks/{schema-58np9qmz.js → project-ytvs2gwk.js} +8 -8
  274. package/dist/chunks/{schema-mp38ktsp.js → project-yxv89v09.js} +24 -24
  275. package/dist/chunks/{schema-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{schema-e7hkndy5.js → project-z11y0772.js} +20 -20
  277. package/dist/chunks/{schema-kj973gv5.js → project-z34z7wrd.js} +4 -4
  278. package/dist/chunks/{schema-81aqn7eh.js → project-z3a5n6da.js} +17 -17
  279. package/dist/chunks/{schema-fy8yekx1.js → project-z4t88j96.js} +4 -4
  280. package/dist/chunks/{schema-hp0ybgxk.js → project-zb1vtzsk.js} +8 -8
  281. package/dist/chunks/{schema-nxf878eb.js → project-zb5r93d0.js} +27 -27
  282. package/dist/chunks/{schema-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{schema-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{schema-8gxqpgph.js → project-zvt5dnpc.js} +4 -4
  285. package/dist/chunks/{schema-p7rq11dp.js → project-zw2h9791.js} +23 -23
  286. package/dist/chunks/{schema-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +83 -83
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +122 -122
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +129 -129
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +124 -124
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +123 -123
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +123 -123
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  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 +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  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 +90 -90
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +92 -92
  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 +69 -69
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +93 -93
  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 +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +107 -107
  425. package/dist/form.js +83 -83
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +104 -104
  429. package/dist/git.js +6 -6
  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 +90 -90
  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 +355 -355
  454. package/dist/instruction-discovery.js +82 -82
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +126 -126
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +90 -90
  474. package/dist/model-resolver.js +95 -95
  475. package/dist/model.js +101 -101
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  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 +81 -81
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +101 -101
  487. package/dist/plugin/command.js +98 -98
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +1 -1
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +119 -119
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +121 -121
  519. package/dist/plugin/provider/openai.js +91 -91
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +121 -121
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +69 -69
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +138 -138
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +227 -227
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +100 -100
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +96 -96
  565. package/dist/rpc.js +85 -85
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +132 -132
  569. package/dist/session/context.js +150 -150
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +1 -1
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +151 -151
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +96 -96
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +117 -117
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +122 -122
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +171 -171
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +150 -150
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +214 -214
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +104 -104
  623. package/dist/skill.js +111 -111
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +125 -125
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +123 -123
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +119 -119
  635. package/dist/tool/plugin/question.js +104 -104
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +215 -215
  638. package/dist/tool/plugin/skill.js +112 -112
  639. package/dist/tool/plugin/subagent.js +217 -217
  640. package/dist/tool/plugin/webfetch.js +109 -109
  641. package/dist/tool/plugin/websearch.js +113 -113
  642. package/dist/tool/plugin/write.js +113 -113
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  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 +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  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 +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  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/variant.js +92 -92
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +86 -86
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +75 -75
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +95 -95
  687. package/package.json +8 -8
  688. package/dist/chunks/schema-dmc6ybme.js +0 -26
  689. package/dist/chunks/schema-hgd4btym.js +0 -18
  690. package/dist/chunks/schema-hxa7m5za.js +0 -4
  691. /package/dist/chunks/{schema-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{schema-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{schema-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{schema-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{schema-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{schema-24dcb14g.js → project-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{schema-2710q6r3.js → project-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{schema-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{schema-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{schema-359p4xyc.js → project-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{schema-3asan66x.js → project-3asan66x.js} +0 -0
  702. /package/dist/chunks/{schema-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{schema-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{schema-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{schema-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{schema-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{schema-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{schema-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{schema-53557ph1.js → project-53557ph1.js} +0 -0
  710. /package/dist/chunks/{schema-550bvhaj.js → project-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{schema-6prwharc.js → project-6prwharc.js} +0 -0
  712. /package/dist/chunks/{schema-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{schema-7m9af43g.js → project-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{schema-822emrt2.js → project-822emrt2.js} +0 -0
  715. /package/dist/chunks/{schema-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{schema-8n3pysct.js → project-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{schema-922hggd3.js → project-922hggd3.js} +0 -0
  718. /package/dist/chunks/{schema-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{schema-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{schema-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{schema-af5trqkr.js → project-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{schema-afrmfg78.js → project-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{schema-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{schema-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{schema-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{schema-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{schema-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{schema-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{schema-d9fn303g.js → project-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{schema-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{schema-dajrwvna.js → project-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{schema-dap0rakb.js → project-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{schema-df08tz66.js → project-df08tz66.js} +0 -0
  734. /package/dist/chunks/{schema-dy18nga0.js → project-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{schema-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{schema-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{schema-ec1grn59.js → project-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{schema-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{schema-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{schema-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{schema-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{schema-faypxj3z.js → project-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{schema-fd410y7t.js → project-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{schema-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{schema-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{schema-g86h250q.js → project-g86h250q.js} +0 -0
  747. /package/dist/chunks/{schema-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{schema-gftt206x.js → project-gftt206x.js} +0 -0
  749. /package/dist/chunks/{schema-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{schema-hk9envan.js → project-hk9envan.js} +0 -0
  751. /package/dist/chunks/{schema-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{schema-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{schema-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{schema-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{schema-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{schema-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{schema-mp448xyj.js → project-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{schema-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{schema-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{schema-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{schema-njntx4h6.js → project-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{schema-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{schema-q74kybfr.js → project-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{schema-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{schema-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{schema-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{schema-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{schema-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{schema-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{schema-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{schema-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{schema-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{schema-twg0f83k.js → project-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{schema-w803qqfp.js → project-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{schema-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{schema-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{schema-wtztk69x.js → project-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{schema-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{schema-x61499pn.js → project-x61499pn.js} +0 -0
  780. /package/dist/chunks/{schema-y44na4kk.js → project-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{schema-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{schema-y8f7s663.js → project-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{schema-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{schema-ym463w8f.js → project-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{schema-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./schema-57b0vs49.js";
4
+ } from "./project-m340qnag.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./schema-5c4hm403.js";
8
+ } from "./project-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./schema-3cemjer9.js";
11
+ load4
12
+ } from "./project-rpwkf085.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./schema-jca4demv.js";
15
+ } from "./project-tqkrwgse.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service74,
24
+ Service: () => Service62,
25
25
  SessionStore: () => exports_store,
26
- node: () => node78
26
+ node: () => node64
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service74 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service62 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service74, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
58
58
  const { db } = yield* Service82;
59
- return Service74.of({
59
+ return Service62.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node86] });
128
+ var node64 = makeGlobalNode({ service: Service62, layer, deps: [node86] });
129
129
 
130
- export { ListInput5, Service74, node78, exports_store };
130
+ export { ListInput5, Service62, node64, exports_store };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./schema-zr2ceqn5.js";
3
+ } from "./project-zr2ceqn5.js";
4
4
  import {
5
- Service44
6
- } from "./schema-5rzrtx0h.js";
5
+ Service67
6
+ } from "./project-qa4ajh0m.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
25
  var make6 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service44;
26
+ const watcher = yield* Service67;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service82
3
- } from "./schema-57b0vs49.js";
3
+ } from "./project-m340qnag.js";
4
4
  import {
5
5
  Service81
6
- } from "./schema-fy8yekx1.js";
6
+ } from "./project-z4t88j96.js";
7
7
  import {
8
- Service50
9
- } from "./schema-h896pcm5.js";
8
+ Service46
9
+ } from "./project-909p1r3q.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./schema-922hggd3.js";
12
+ } from "./project-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service36
16
- } from "./schema-vy5pp12k.js";
14
+ ID5,
15
+ Service56
16
+ } from "./project-psz73s1d.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./schema-ec1grn59.js";
19
+ } from "./project-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./schema-gftt206x.js";
22
+ } from "./project-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./schema-gmjjhz4f.js";
25
+ } from "./project-283sq9eb.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./schema-5c4hm403.js";
28
+ } from "./project-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./schema-9rqn6x4v.js";
31
+ } from "./project-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service50;
45
+ const instances = yield* Service46;
46
46
  const database = yield* Service82;
47
47
  const bus = yield* Service81;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service36;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service56;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service50;
77
+ const instances = yield* Service46;
78
78
  const bus = yield* Service81;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service36;
80
+ const snapshot = yield* Service56;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-y71avatq.js";
3
+ } from "./project-dpkg50ah.js";
4
4
  import {
5
5
  Service70,
6
- node73
7
- } from "./schema-eevfkcnk.js";
6
+ node72
7
+ } from "./project-wfdj3108.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service69,
17
- node: () => node72,
16
+ Service: () => Service13,
17
+ node: () => node15,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service69 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service13 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,7 +34,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service69, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
38
  const environment = yield* Service70;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service69.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node72 = makeLocationNode({ service: Service69, layer, deps: [node73] });
61
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node72] });
62
62
 
63
- export { Service69, readText2, syncTextBom2, node72, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  Service79,
6
6
  node83
7
- } from "./schema-sjf3tctt.js";
7
+ } from "./project-0c2xmx3r.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./schema-6h73sxmp.js";
13
+ } from "./project-2402vzrj.js";
14
14
  import {
15
- Service61,
16
- node64
17
- } from "./schema-cd4vjczq.js";
15
+ Service69,
16
+ node71
17
+ } from "./project-v8wsj8x1.js";
18
18
  import {
19
19
  __export
20
- } from "./schema-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service38,
33
+ Service: () => Service65,
34
34
  isError: () => isError2,
35
- node: () => node41,
35
+ node: () => node67,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service38 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service65 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service38, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service79;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service61;
110
- return Service38.of({
109
+ const kv = yield* Service69;
110
+ return Service65.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node41 = makeGlobalNode({
171
- service: Service38,
170
+ var node67 = makeGlobalNode({
171
+ service: Service65,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node64]
173
+ deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node71]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service38, isError2, validateBranch2, node41, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service65, isError2, validateBranch2, node67, exports_repository_cache };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin15,
9
+ Plugin: () => Plugin10,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin15 = define({
25
+ var Plugin10 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -36,4 +36,4 @@ var Plugin15 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { identity2, Plugin15, exports_identity };
39
+ export { identity2, Plugin10, exports_identity };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./schema-57b0vs49.js";
4
+ } from "./project-m340qnag.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./schema-3hepkmqq.js";
7
+ } from "./project-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service61,
17
- node: () => node64
16
+ Service: () => Service69,
17
+ node: () => node71
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service61 extends Context.Service()("@opencode/KV") {
22
+ class Service69 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service61, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
25
25
  const db = (yield* Service82).db;
26
- return Service61.of({
26
+ return Service69.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [node86] });
54
+ var node71 = makeGlobalNode({ service: Service69, layer, deps: [node86] });
55
55
 
56
- export { Service61, node64, exports_kv };
56
+ export { Service69, node71, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./schema-ym463w8f.js";
3
+ } from "./project-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Info16
6
- } from "./schema-g190xswt.js";
5
+ Info24
6
+ } from "./project-kk00bynn.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info10
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info23
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info16)
47
+ permission: Schema.optional(Info24)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info23 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info10, exports_agent3 };
74
+ export { Info23, exports_agent4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./schema-hjbc5kem.js";
3
+ } from "./project-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./schema-tazgh4e4.js";
3
+ } from "./project-tazgh4e4.js";
4
4
  import {
5
- ID4,
6
- Service36
7
- } from "./schema-vy5pp12k.js";
5
+ ID5,
6
+ Service56
7
+ } from "./project-psz73s1d.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./schema-q3t37ft6.js";
10
+ } from "./project-nvxqht09.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./schema-gmjjhz4f.js";
13
+ } from "./project-283sq9eb.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./schema-5c4hm403.js";
16
+ } from "./project-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service36;
84
+ const snapshot = yield* Service56;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID4.make(from),
91
- to: ID4.make(to),
90
+ from: ID5.make(from),
91
+ to: ID5.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./schema-emrn6kk6.js";
4
+ } from "./project-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./schema-ekdmd5z4.js";
3
+ } from "./project-0jsday3s.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./schema-twg0f83k.js";
6
+ } from "./project-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};