@opencode/core 0.0.0-beta-19422 → 0.0.0-beta-19425

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{pty-sw07yjb5.js → session-06fvmmd0.js} +10 -10
  9. package/dist/chunks/{pty-kvnd5f0t.js → session-0dv45mvz.js} +6 -6
  10. package/dist/chunks/{pty-3ythc6yv.js → session-0gr7cw0d.js} +4 -4
  11. package/dist/chunks/{pty-dda9r64d.js → session-0gtzx53a.js} +25 -25
  12. package/dist/chunks/{pty-jypjtz10.js → session-0h54jqbs.js} +8 -8
  13. package/dist/chunks/{pty-1p5bxmfk.js → session-0kj83nck.js} +17 -17
  14. package/dist/chunks/{pty-f37g46dm.js → session-0m7vfb84.js} +22 -22
  15. package/dist/chunks/{pty-4kwjx591.js → session-0mdhvajk.js} +14 -14
  16. package/dist/chunks/session-0mesazry.js +4 -0
  17. package/dist/chunks/{pty-qads99dt.js → session-0n5jyp29.js} +10 -10
  18. package/dist/chunks/{pty-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{pty-0q0f95c6.js → session-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{pty-1cept2jt.js → session-0xht7a7s.js} +33 -33
  21. package/dist/chunks/{pty-4p6varyr.js → session-0xkbtkx7.js} +22 -22
  22. package/dist/chunks/{pty-1syfdjz1.js → session-176apxs0.js} +33 -33
  23. package/dist/chunks/{pty-hhcdszkw.js → session-1a77s8hw.js} +30 -30
  24. package/dist/chunks/session-1arzf4bb.js +247 -0
  25. package/dist/chunks/{pty-710w2ech.js → session-1cymb9s6.js} +1 -1
  26. package/dist/chunks/{pty-1dazxqgg.js → session-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{pty-1eyaby9q.js → session-1eyaby9q.js} +2 -2
  28. package/dist/chunks/{pty-47rhjnbj.js → session-1g3yfqh6.js} +8 -8
  29. package/dist/chunks/{pty-jjcsnrt3.js → session-1t30x2t7.js} +33 -33
  30. package/dist/chunks/session-1th8xg3v.js +22 -0
  31. package/dist/chunks/{pty-qhgcdxv6.js → session-1wt2f527.js} +21 -21
  32. package/dist/chunks/session-1x11rq2a.js +18 -0
  33. package/dist/chunks/{pty-xay24vqs.js → session-1xmvwtn6.js} +8 -8
  34. package/dist/chunks/{pty-1ygqh575.js → session-1ygqh575.js} +2 -2
  35. package/dist/chunks/{pty-21r38tys.js → session-21r38tys.js} +1 -1
  36. package/dist/chunks/{pty-x0vzmp4x.js → session-2336b01z.js} +8 -8
  37. package/dist/chunks/{pty-2402vzrj.js → session-2402vzrj.js} +1 -1
  38. package/dist/chunks/{pty-s8s1e1cz.js → session-24wrpst7.js} +19 -19
  39. package/dist/chunks/{pty-ry3m58dy.js → session-27mnk0h4.js} +11 -11
  40. package/dist/chunks/{pty-z63w68vq.js → session-29x78va6.js} +6 -6
  41. package/dist/chunks/{pty-2a5m3afh.js → session-2a5m3afh.js} +1 -1
  42. package/dist/chunks/{pty-esam66tc.js → session-2e8h1nq9.js} +10 -10
  43. package/dist/chunks/{pty-nttnax9e.js → session-2kqs66d1.js} +14 -14
  44. package/dist/chunks/{pty-pqk2nt5r.js → session-2m10wfgt.js} +9 -9
  45. package/dist/chunks/{pty-f40p4esb.js → session-2ndj2fjy.js} +24 -24
  46. package/dist/chunks/{pty-ckrdk9yx.js → session-2rhr2ygq.js} +4 -4
  47. package/dist/chunks/{pty-9b10rcng.js → session-2x54eczk.js} +22 -22
  48. package/dist/chunks/{pty-v84jj1d3.js → session-2x8t3tmf.js} +24 -24
  49. package/dist/chunks/{pty-whr1jkby.js → session-30aw97wj.js} +11 -11
  50. package/dist/chunks/{pty-520ygn4x.js → session-36emn59z.js} +4 -4
  51. package/dist/chunks/{pty-yn742g3f.js → session-3b1rxp0z.js} +17 -17
  52. package/dist/chunks/{pty-4vfmzcq2.js → session-3bbtaayz.js} +4 -4
  53. package/dist/chunks/{pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  54. package/dist/chunks/{pty-z0wxwbgt.js → session-3frf7vvv.js} +64 -64
  55. package/dist/chunks/{pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  56. package/dist/chunks/{pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  57. package/dist/chunks/{pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  58. package/dist/chunks/{pty-3806s53b.js → session-404wn8gm.js} +36 -36
  59. package/dist/chunks/{pty-6kpj1tx7.js → session-47710csw.js} +17 -17
  60. package/dist/chunks/{pty-jwqvw401.js → session-4b07h8t1.js} +3 -3
  61. package/dist/chunks/{pty-7axzvjgy.js → session-4ge8nekn.js} +25 -25
  62. package/dist/chunks/{pty-gad8dwyr.js → session-4vb24tt2.js} +13 -13
  63. package/dist/chunks/{pty-d1khqved.js → session-510m7gjw.js} +5 -5
  64. package/dist/chunks/{pty-80kf8gxa.js → session-51c1tqe6.js} +15 -15
  65. package/dist/chunks/{pty-f9adwtm7.js → session-55eqwae1.js} +4 -4
  66. package/dist/chunks/{pty-v4gcmn1h.js → session-589b09yf.js} +13 -13
  67. package/dist/chunks/{pty-5daktx2q.js → session-5daktx2q.js} +1 -1
  68. package/dist/chunks/{pty-2f04pwep.js → session-5epte933.js} +3 -3
  69. package/dist/chunks/{pty-jwjk5r35.js → session-5hf67ebq.js} +6 -6
  70. package/dist/chunks/{pty-a5gt7g2r.js → session-5kptn8c0.js} +9 -9
  71. package/dist/chunks/{pty-jfpr744w.js → session-5q8ppbqx.js} +17 -17
  72. package/dist/chunks/{pty-5t3nmthw.js → session-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{pty-w1k39n5e.js → session-64kphnzf.js} +4 -4
  74. package/dist/chunks/{pty-669tq793.js → session-669tq793.js} +1 -1
  75. package/dist/chunks/{pty-gswf14xw.js → session-66eqad1y.js} +19 -19
  76. package/dist/chunks/{pty-1hvj6sc5.js → session-6jdw5e61.js} +26 -26
  77. package/dist/chunks/{pty-6msgmcgs.js → session-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{pty-5wtnxghh.js → session-6shgrq3w.js} +6 -6
  79. package/dist/chunks/{pty-71q4at8m.js → session-71q4at8m.js} +1 -1
  80. package/dist/chunks/{pty-8xttkpaf.js → session-71t2waba.js} +11 -11
  81. package/dist/chunks/{pty-g0eh8qf4.js → session-76hbgxjh.js} +17 -17
  82. package/dist/chunks/{pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{pty-rj7dx2h5.js → session-7gdbjhbz.js} +7 -7
  84. package/dist/chunks/{pty-09ms4exh.js → session-7wqptg6e.js} +23 -23
  85. package/dist/chunks/{pty-yhp80jsc.js → session-7xpqpv24.js} +13 -13
  86. package/dist/chunks/{pty-z3pg8v1h.js → session-7xt0qprm.js} +11 -11
  87. package/dist/chunks/{pty-fvanntqq.js → session-7yqjxrmz.js} +4 -4
  88. package/dist/chunks/{pty-pbc3mjh9.js → session-818vekah.js} +43 -43
  89. package/dist/chunks/{pty-0gvt7rgj.js → session-81fd0mdd.js} +5 -5
  90. package/dist/chunks/{pty-81swgkk7.js → session-81swgkk7.js} +2 -2
  91. package/dist/chunks/{pty-zdxpjn9v.js → session-8cc4j76s.js} +49 -49
  92. package/dist/chunks/{pty-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{pty-gs60z27v.js → session-8m6gnkp5.js} +11 -11
  94. package/dist/chunks/{pty-dj2t23y0.js → session-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{pty-25xantg0.js → session-8psk29xq.js} +20 -20
  96. package/dist/chunks/{pty-a9ab9jmj.js → session-8wewseh8.js} +5 -5
  97. package/dist/chunks/{pty-wfjxtpcj.js → session-90zrybg8.js} +26 -26
  98. package/dist/chunks/{pty-8adgct9d.js → session-92nmhnek.js} +5 -5
  99. package/dist/chunks/{pty-dc76j9wz.js → session-9e0x2wcp.js} +8 -8
  100. package/dist/chunks/{pty-fnaehh3j.js → session-9e4wy05j.js} +46 -46
  101. package/dist/chunks/{pty-0zs7y9px.js → session-9eb3wz9r.js} +19 -19
  102. package/dist/chunks/{pty-stse86ng.js → session-9vtdctaf.js} +11 -11
  103. package/dist/chunks/{pty-4g19d5n9.js → session-9ws8yar2.js} +7 -7
  104. package/dist/chunks/{pty-ayp837g2.js → session-9wyjv60d.js} +23 -23
  105. package/dist/chunks/{pty-5xtr5t3c.js → session-9y1jrj46.js} +13 -13
  106. package/dist/chunks/{pty-0996nyz8.js → session-9zswys26.js} +9 -9
  107. package/dist/chunks/{pty-5c4hm403.js → session-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{pty-bmn9pzgf.js → session-a2904060.js} +10 -10
  109. package/dist/chunks/{pty-aaet6srn.js → session-aaet6srn.js} +2 -2
  110. package/dist/chunks/{pty-5bdfnctw.js → session-affk22f8.js} +3 -3
  111. package/dist/chunks/{pty-kh3ehkc0.js → session-afhcszrx.js} +4 -4
  112. package/dist/chunks/{pty-qbmqvd4g.js → session-ajmw35hk.js} +13 -13
  113. package/dist/chunks/{pty-y09ge0g8.js → session-ambv0yzm.js} +11 -11
  114. package/dist/chunks/{pty-zxgnc9zk.js → session-apxya9sc.js} +1 -1
  115. package/dist/chunks/{pty-ead3g9p8.js → session-avm8jn6n.js} +5 -5
  116. package/dist/chunks/{pty-b6gygkdw.js → session-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{pty-2tfmgkzg.js → session-bajakh74.js} +4 -4
  118. package/dist/chunks/{pty-cff1m34y.js → session-bb52t9d7.js} +9 -9
  119. package/dist/chunks/{pty-t3kscp9x.js → session-bfabdmec.js} +34 -34
  120. package/dist/chunks/{pty-bkj6dszq.js → session-bh16nsf6.js} +16 -16
  121. package/dist/chunks/{pty-xhcbj5xc.js → session-bs6a109m.js} +8 -8
  122. package/dist/chunks/{pty-c3grgfa4.js → session-c2hx5j98.js} +24 -24
  123. package/dist/chunks/{pty-ks2km4ey.js → session-c36s3ygp.js} +25 -25
  124. package/dist/chunks/{pty-8n7wwas9.js → session-c81tt5fe.js} +26 -26
  125. package/dist/chunks/{pty-wagd5xb7.js → session-cf40j1cs.js} +30 -30
  126. package/dist/chunks/{pty-m0jqrx5p.js → session-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{pty-pvmn2x7n.js → session-cjmarv1e.js} +11 -11
  128. package/dist/chunks/{pty-kpg3dnpr.js → session-cmanyspp.js} +18 -18
  129. package/dist/chunks/{pty-3ez202fs.js → session-cwafj3y4.js} +83 -83
  130. package/dist/chunks/{pty-8n66hw90.js → session-d51j4xkr.js} +35 -35
  131. package/dist/chunks/{pty-4hs31730.js → session-d8k9asg8.js} +7 -7
  132. package/dist/chunks/{pty-b0anzbtp.js → session-dbjj2wmf.js} +11 -11
  133. package/dist/chunks/{pty-0egdkte1.js → session-dd76z7vq.js} +76 -76
  134. package/dist/chunks/{pty-k5wm7z2v.js → session-dgwq2ccw.js} +9 -9
  135. package/dist/chunks/{pty-v29tykb6.js → session-dwa0egmn.js} +20 -20
  136. package/dist/chunks/{pty-ek89c1t4.js → session-ef2q00f8.js} +13 -13
  137. package/dist/chunks/{pty-t97t2t7r.js → session-egqspz5t.js} +11 -11
  138. package/dist/chunks/{pty-srpeewqc.js → session-eq4db09p.js} +9 -9
  139. package/dist/chunks/{pty-edbbhmy9.js → session-eqb8236f.js} +4 -4
  140. package/dist/chunks/{pty-etq0c3wd.js → session-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{pty-74b9qssb.js → session-exp16947.js} +16 -16
  142. package/dist/chunks/{pty-3yjn18yr.js → session-ezmfj9ng.js} +26 -26
  143. package/dist/chunks/{pty-egz44y69.js → session-f0hrc18z.js} +12 -12
  144. package/dist/chunks/{pty-697x4nhd.js → session-f6vgcx0b.js} +9 -9
  145. package/dist/chunks/{pty-hdnk95c8.js → session-f828m53h.js} +2 -2
  146. package/dist/chunks/{pty-e1vr1ezn.js → session-fb74jx65.js} +8 -8
  147. package/dist/chunks/{pty-074gn8c1.js → session-fc2xadkf.js} +2 -2
  148. package/dist/chunks/{pty-7dqw4kz8.js → session-fcrkznn8.js} +5 -5
  149. package/dist/chunks/{pty-k0nnq3t9.js → session-fdzkgkhq.js} +6 -6
  150. package/dist/chunks/{pty-tn0aqsam.js → session-fpmq6gma.js} +5 -5
  151. package/dist/chunks/{pty-fxbjtjnd.js → session-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{pty-evwc8rkj.js → session-fywpn3hc.js} +15 -15
  153. package/dist/chunks/{pty-7xwree33.js → session-g8thy8kf.js} +14 -14
  154. package/dist/chunks/{pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{pty-z7by1xyg.js → session-ghjb8wjy.js} +28 -28
  156. package/dist/chunks/{pty-cq2rc4ba.js → session-gp1yc2vx.js} +12 -12
  157. package/dist/chunks/{pty-sfwr2w0j.js → session-gr17ge66.js} +9 -9
  158. package/dist/chunks/{pty-rfnzy394.js → session-gx1zhcta.js} +1 -1
  159. package/dist/chunks/{pty-h03wrkyp.js → session-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{pty-0dydqtd7.js → session-h71edhv1.js} +14 -14
  162. package/dist/chunks/{pty-fhs97t90.js → session-h7ygw6q4.js} +9 -9
  163. package/dist/chunks/{pty-fmkfbeq2.js → session-hjqkmj69.js} +24 -24
  164. package/dist/chunks/{pty-0s7p0jdy.js → session-hkag3qcj.js} +32 -32
  165. package/dist/chunks/{pty-xz4tz1py.js → session-hqgk47xk.js} +294 -294
  166. package/dist/chunks/{pty-0a1gtahz.js → session-hqj3byhc.js} +37 -37
  167. package/dist/chunks/{pty-p5270nfw.js → session-hx517nds.js} +5 -5
  168. package/dist/chunks/{pty-jdnfkhzv.js → session-hz8s5seb.js} +24 -24
  169. package/dist/chunks/{pty-j56e64zr.js → session-j56e64zr.js} +1 -1
  170. package/dist/chunks/{pty-paphc93g.js → session-j935v87r.js} +2 -2
  171. package/dist/chunks/{pty-kbm5dhv8.js → session-j977y527.js} +13 -13
  172. package/dist/chunks/{pty-wk58jv74.js → session-jefma2gq.js} +3 -3
  173. package/dist/chunks/{pty-0bps82y7.js → session-jkp0d30b.js} +6 -6
  174. package/dist/chunks/{pty-ffx4mq6v.js → session-jzrgsw26.js} +1 -1
  175. package/dist/chunks/{pty-1j4evvde.js → session-k1jfvvyj.js} +23 -23
  176. package/dist/chunks/{pty-0sw24r53.js → session-kexrg209.js} +2 -2
  177. package/dist/chunks/{pty-kg06axw8.js → session-kg06axw8.js} +1 -1
  178. package/dist/chunks/{pty-kh47ysn5.js → session-kgnc8187.js} +8 -8
  179. package/dist/chunks/{pty-esy06pf9.js → session-kky04sdr.js} +46 -46
  180. package/dist/chunks/{pty-vnnhbf40.js → session-kyktj0vd.js} +6 -6
  181. package/dist/chunks/{pty-69az8s64.js → session-m2xac560.js} +16 -16
  182. package/dist/chunks/{pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{pty-ka7qgscn.js → session-mfrbqxdx.js} +3 -3
  184. package/dist/chunks/{pty-1bbkgx8g.js → session-mhkvc446.js} +3 -3
  185. package/dist/chunks/{pty-mkcjrzeh.js → session-mkcjrzeh.js} +1 -1
  186. package/dist/chunks/{pty-s198arwq.js → session-mrk9dsc9.js} +53 -53
  187. package/dist/chunks/{pty-806j49yq.js → session-mtq6xxnx.js} +7 -7
  188. package/dist/chunks/{pty-8qk9tw02.js → session-mvjmwjnc.js} +1 -1
  189. package/dist/chunks/{pty-4x28bm1w.js → session-mxp9f0td.js} +15 -15
  190. package/dist/chunks/{pty-8c67r9ne.js → session-mzfkyws7.js} +11 -11
  191. package/dist/chunks/{pty-gj9xpvv3.js → session-nhvhf6q8.js} +6 -6
  192. package/dist/chunks/{pty-nhy5jxhy.js → session-nhy5jxhy.js} +1 -1
  193. package/dist/chunks/{pty-2vgzs72b.js → session-nrk5vjbf.js} +5 -5
  194. package/dist/chunks/{pty-9qzqnsj5.js → session-ntc8r37z.js} +9 -9
  195. package/dist/chunks/{pty-98hm5tys.js → session-p7110nph.js} +40 -40
  196. package/dist/chunks/{pty-qvmkbn54.js → session-p919hr1r.js} +4 -4
  197. package/dist/chunks/{pty-4bx7125q.js → session-pf77qbgw.js} +20 -20
  198. package/dist/chunks/{pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{pty-pknna89w.js → session-pknna89w.js} +1 -1
  200. package/dist/chunks/{pty-s7xtjryh.js → session-psmvpj1j.js} +1 -1
  201. package/dist/chunks/{pty-0mak23yj.js → session-pz4qpcgn.js} +24 -24
  202. package/dist/chunks/{pty-wcvnc3wq.js → session-q4qmfb5s.js} +20 -20
  203. package/dist/chunks/{pty-118zhgj2.js → session-qddfardm.js} +43 -43
  204. package/dist/chunks/{pty-c2wghy26.js → session-qf2tgcz3.js} +8 -8
  205. package/dist/chunks/{pty-jct9c584.js → session-qf47xdkj.js} +16 -16
  206. package/dist/chunks/{pty-1vccm05t.js → session-qmj71n9s.js} +31 -31
  207. package/dist/chunks/{pty-r98e92ep.js → session-qq11w61w.js} +4 -4
  208. package/dist/chunks/{pty-p5czsp41.js → session-qs001aqx.js} +11 -11
  209. package/dist/chunks/{pty-qsdy395h.js → session-qsdy395h.js} +1 -1
  210. package/dist/chunks/{pty-5en82wpx.js → session-qsrq04qc.js} +7 -7
  211. package/dist/chunks/{pty-pjdb2e90.js → session-qtccjbm5.js} +35 -35
  212. package/dist/chunks/{pty-qvdq40c0.js → session-qzdhcmx2.js} +4 -4
  213. package/dist/chunks/{pty-mkar22rr.js → session-r34z8d8g.js} +26 -26
  214. package/dist/chunks/{pty-wp4jr60n.js → session-r4vtr45a.js} +3 -3
  215. package/dist/chunks/{pty-mzz8vzet.js → session-r8fqp7rr.js} +14 -14
  216. package/dist/chunks/{pty-p0cja4mf.js → session-rqthegtk.js} +5 -5
  217. package/dist/chunks/{pty-0q0rgwg5.js → session-rw1zftdw.js} +11 -11
  218. package/dist/chunks/{pty-twcs6fsf.js → session-s3c648ry.js} +7 -7
  219. package/dist/chunks/{pty-yrznvahk.js → session-s4enseaf.js} +2 -2
  220. package/dist/chunks/{pty-q94b1st6.js → session-s5n2yxvq.js} +12 -12
  221. package/dist/chunks/{pty-10a65abh.js → session-srryb7k1.js} +4 -4
  222. package/dist/chunks/{pty-sfvqjyek.js → session-sskfc2dq.js} +6 -6
  223. package/dist/chunks/{pty-p72z5xx6.js → session-st4t0jjg.js} +2 -2
  224. package/dist/chunks/{pty-eaj1djv9.js → session-t550f9t1.js} +8 -8
  225. package/dist/chunks/{pty-dhmh7aw6.js → session-t7n9q6bq.js} +4 -4
  226. package/dist/chunks/{pty-s5xwk3mk.js → session-t9mf9v54.js} +18 -18
  227. package/dist/chunks/{pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{pty-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{pty-tdstcens.js → session-tdstcens.js} +1 -1
  230. package/dist/chunks/{pty-wbck336m.js → session-tdvm9c75.js} +9 -9
  231. package/dist/chunks/{pty-seak0fhn.js → session-tg98jm76.js} +11 -11
  232. package/dist/chunks/{pty-gv6a8nnw.js → session-th5km1p3.js} +5 -5
  233. package/dist/chunks/{pty-yjq2qjwg.js → session-tj0ks8ss.js} +25 -25
  234. package/dist/chunks/{pty-40t0jw83.js → session-tqvthptf.js} +140 -140
  235. package/dist/chunks/{pty-1yd1r7d9.js → session-ts4zsnre.js} +9 -9
  236. package/dist/chunks/{pty-vyy6b7xa.js → session-tvrwx77d.js} +9 -9
  237. package/dist/chunks/{pty-tvtrv512.js → session-tvtrv512.js} +1 -1
  238. package/dist/chunks/{pty-0cgfpp4r.js → session-tz95agzd.js} +10 -10
  239. package/dist/chunks/{pty-qppnhhc2.js → session-v8nag2v6.js} +15 -15
  240. package/dist/chunks/{pty-t9e6e84n.js → session-veh8sxva.js} +1 -1
  241. package/dist/chunks/{pty-veqvce7d.js → session-veqvce7d.js} +1 -1
  242. package/dist/chunks/{pty-21rtx38p.js → session-vp1kc9tg.js} +31 -31
  243. package/dist/chunks/{pty-89av3hdm.js → session-vrn0vqyt.js} +16 -16
  244. package/dist/chunks/{pty-24p38q2n.js → session-vz1ebbta.js} +4 -4
  245. package/dist/chunks/{pty-vzcthcp8.js → session-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{pty-7j3yyt51.js → session-w1we6j2a.js} +16 -16
  247. package/dist/chunks/{pty-zt549x9j.js → session-w2rat8pw.js} +11 -11
  248. package/dist/chunks/{pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{pty-0jqc4bxs.js → session-w7kjp9n7.js} +6 -6
  250. package/dist/chunks/{pty-6f93rc7r.js → session-w8h6fvwh.js} +2 -2
  251. package/dist/chunks/{pty-36mqef8b.js → session-w90shq8f.js} +11 -11
  252. package/dist/chunks/{pty-3t5j4r89.js → session-w95ses07.js} +3 -3
  253. package/dist/chunks/{pty-t7pp6j4t.js → session-wcqbbax1.js} +39 -39
  254. package/dist/chunks/{pty-wd87259q.js → session-wd87259q.js} +1 -1
  255. package/dist/chunks/{pty-gbaa2wnh.js → session-whqexn8d.js} +26 -26
  256. package/dist/chunks/{pty-qajrhsjs.js → session-wmshdsxh.js} +13 -13
  257. package/dist/chunks/{pty-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{pty-dv1qgsyq.js → session-x3et2xth.js} +8 -8
  259. package/dist/chunks/{pty-x43y2vfs.js → session-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{pty-gc1qnngx.js → session-x64q5xrw.js} +1 -1
  261. package/dist/chunks/{pty-zd1mjem4.js → session-xcmbsh61.js} +6 -6
  262. package/dist/chunks/{pty-8hmgw1ak.js → session-xdk9p2qn.js} +21 -21
  263. package/dist/chunks/{pty-g5pz3fvh.js → session-xn0w88w4.js} +26 -26
  264. package/dist/chunks/{pty-ydpc6wdy.js → session-xndsfq0x.js} +10 -10
  265. package/dist/chunks/{pty-71amxv98.js → session-xp2r8q8g.js} +35 -35
  266. package/dist/chunks/{pty-ntqw7r1f.js → session-xppd0a26.js} +10 -10
  267. package/dist/chunks/{pty-46x4mgr1.js → session-y0n2m4xg.js} +4 -4
  268. package/dist/chunks/{pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{pty-yme990fg.js → session-y2c71091.js} +18 -18
  270. package/dist/chunks/{pty-e6shh598.js → session-y33aegj2.js} +25 -25
  271. package/dist/chunks/{pty-c4rpq3bt.js → session-y3tqayaa.js} +3 -3
  272. package/dist/chunks/{pty-y71avatq.js → session-y71avatq.js} +1 -1
  273. package/dist/chunks/{pty-jtpgvawt.js → session-ycqr9afh.js} +16 -16
  274. package/dist/chunks/{pty-3re90bff.js → session-yea4vw09.js} +26 -26
  275. package/dist/chunks/{pty-bdqrk2vk.js → session-ym15bmrz.js} +7 -7
  276. package/dist/chunks/{pty-1acjjqhc.js → session-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{pty-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{pty-wqkncbjv.js → session-yv13jgjp.js} +9 -9
  279. package/dist/chunks/{pty-f8pbz4jd.js → session-z01w8x7h.js} +20 -20
  280. package/dist/chunks/{pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{pty-fa0cr6zp.js → session-z3jm413r.js} +3 -3
  282. package/dist/chunks/{pty-tnznc2wb.js → session-z9mv7d21.js} +24 -24
  283. package/dist/chunks/{pty-md7n9knh.js → session-z9srfysf.js} +25 -25
  284. package/dist/chunks/{pty-9qn3qky1.js → session-z9vy4r52.js} +8 -8
  285. package/dist/chunks/{pty-1pqaee8n.js → session-ze1aghwe.js} +11 -11
  286. package/dist/chunks/{pty-zeh9ct20.js → session-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{pty-1hptgsqz.js → session-zhcy8gzh.js} +11 -11
  288. package/dist/chunks/{pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{pty-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +113 -113
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +115 -115
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +88 -88
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +11 -11
  425. package/dist/filesystem.js +98 -98
  426. package/dist/form.js +78 -78
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +91 -91
  430. package/dist/git.js +3 -3
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +82 -82
  460. package/dist/job.js +75 -75
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +130 -130
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +76 -76
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  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 +76 -76
  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 +117 -117
  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 +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +110 -110
  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 +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +75 -75
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +215 -215
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +84 -84
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +83 -83
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +209 -209
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +9 -9
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +119 -119
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +210 -210
  642. package/dist/tool/plugin/webfetch.js +99 -99
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +94 -94
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +11 -11
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +75 -75
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/pty-f4wpvzrh.js +0 -247
  689. package/dist/chunks/pty-fy0kqqt2.js +0 -22
  690. package/dist/chunks/pty-h47he10w.js +0 -4
  691. package/dist/chunks/pty-q509s3k3.js +0 -18
  692. /package/dist/chunks/{pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{pty-2710q6r3.js → session-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{pty-359p4xyc.js → session-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{pty-3asan66x.js → session-3asan66x.js} +0 -0
  702. /package/dist/chunks/{pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{pty-3w5fmr99.js → session-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{pty-53557ph1.js → session-53557ph1.js} +0 -0
  710. /package/dist/chunks/{pty-550bvhaj.js → session-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{pty-6prwharc.js → session-6prwharc.js} +0 -0
  712. /package/dist/chunks/{pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{pty-7m9af43g.js → session-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{pty-822emrt2.js → session-822emrt2.js} +0 -0
  715. /package/dist/chunks/{pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{pty-8n3pysct.js → session-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{pty-922hggd3.js → session-922hggd3.js} +0 -0
  718. /package/dist/chunks/{pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{pty-af5trqkr.js → session-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{pty-afrmfg78.js → session-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{pty-d9fn303g.js → session-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{pty-dajrwvna.js → session-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{pty-dap0rakb.js → session-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{pty-df08tz66.js → session-df08tz66.js} +0 -0
  734. /package/dist/chunks/{pty-dy18nga0.js → session-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{pty-ec1grn59.js → session-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{pty-faypxj3z.js → session-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{pty-fd410y7t.js → session-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{pty-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{pty-g86h250q.js → session-g86h250q.js} +0 -0
  747. /package/dist/chunks/{pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{pty-gftt206x.js → session-gftt206x.js} +0 -0
  749. /package/dist/chunks/{pty-hjbc5kem.js → session-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{pty-hk9envan.js → session-hk9envan.js} +0 -0
  751. /package/dist/chunks/{pty-hrnqkpcd.js → session-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{pty-mp448xyj.js → session-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{pty-njntx4h6.js → session-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{pty-q74kybfr.js → session-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{pty-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{pty-twg0f83k.js → session-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{pty-w803qqfp.js → session-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{pty-wtztk69x.js → session-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{pty-x61499pn.js → session-x61499pn.js} +0 -0
  778. /package/dist/chunks/{pty-y44na4kk.js → session-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{pty-y8cydn3q.js → session-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{pty-ym463w8f.js → session-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{pty-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-gs60z27v.js";
3
+ } from "./session-8m6gnkp5.js";
4
4
  import {
5
- ID12,
5
+ ID15,
6
6
  isAISDK2
7
- } from "./pty-9qn3qky1.js";
7
+ } from "./session-z9vy4r52.js";
8
8
  import {
9
9
  iife2
10
- } from "./pty-1kg9ymc8.js";
10
+ } from "./session-1kg9ymc8.js";
11
11
  import {
12
12
  configuredSettings2
13
- } from "./pty-4g19d5n9.js";
13
+ } from "./session-9ws8yar2.js";
14
14
 
15
15
  // src/plugin/provider/cloudflare-workers-ai.ts
16
16
  import os from "os";
17
17
  import { Effect } from "effect";
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Form } from "@opencode/schema/form";
20
- var providerID = ID12.make("cloudflare-workers-ai");
20
+ var providerID = ID15.make("cloudflare-workers-ai");
21
21
  var CloudflareWorkersAIPlugin2 = define({
22
22
  id: "opencode.provider.cloudflare.workers.ai",
23
23
  effect: Effect.fn(function* (ctx) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-ym463w8f.js";
3
+ } from "./session-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/alibaba.ts
6
6
  var AlibabaPlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./pty-5t3nmthw.js";
3
+ } from "./session-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service23,
11
+ Service: () => Service36,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer12,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node28
15
+ node: () => node40
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service23 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service23.of({ bind, close, closeAll });
359
+ return Service36.of({ bind, close, closeAll });
360
360
  }));
361
- var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node28 = makeGlobalNode({ service: Service23, layer: layer12, deps: [webSocketConstructor2] });
364
+ var node40 = makeGlobalNode({ service: Service36, layer: layer16, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service23, makeLayer2, layer12, node28, exports_model_transport };
366
+ export { Service36, makeLayer2, layer16, node40, exports_model_transport };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-jwqvw401.js";
4
+ } from "./session-4b07h8t1.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make21,
8
+ make19,
9
9
  combine2
10
- } from "./pty-eaj1djv9.js";
10
+ } from "./session-t550f9t1.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./pty-5c4hm403.js";
13
+ } from "./session-a1bz86dw.js";
14
14
  import {
15
15
  __export
16
- } from "./pty-9rqn6x4v.js";
16
+ } from "./session-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service24,
25
+ Service: () => Service30,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node29,
29
+ node: () => node34,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service24 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service30 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
65
- key: Key4.make(`api/${entry.key}`),
64
+ var source = (entry) => make19({
65
+ key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service24, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
79
79
  const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service24.of({ list, put, remove, load });
111
+ return Service30.of({ list, put, remove, load });
112
112
  }));
113
- var node29 = makeLocationNode({ service: Service24, layer, deps: [node85] });
113
+ var node34 = makeLocationNode({ service: Service30, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node29, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node34, exports_instruction_entry };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./pty-emrn6kk6.js";
5
+ } from "./session-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Service76
3
- } from "./pty-0sw24r53.js";
3
+ } from "./session-kexrg209.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./pty-tazgh4e4.js";
13
+ } from "./session-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-74b9qssb.js";
16
+ } from "./session-exp16947.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin3,
24
+ Plugin: () => Plugin5,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin3 = define({
33
+ var Plugin5 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service76;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin3, exports_hg };
191
+ export { Plugin5, exports_hg };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info26
5
- } from "./pty-9qn3qky1.js";
4
+ Info28
5
+ } from "./session-z9vy4r52.js";
6
6
  import {
7
- Info25
8
- } from "./pty-esam66tc.js";
7
+ Info26
8
+ } from "./session-2e8h1nq9.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./pty-ckrdk9yx.js";
12
+ } from "./session-2rhr2ygq.js";
13
13
  import {
14
14
  create3
15
- } from "./pty-kg06axw8.js";
15
+ } from "./session-kg06axw8.js";
16
16
  import {
17
17
  ID6,
18
- Service56,
19
- node60
20
- } from "./pty-1hvj6sc5.js";
18
+ Service54,
19
+ node58
20
+ } from "./session-6jdw5e61.js";
21
21
  import {
22
22
  __export
23
- } from "./pty-9rqn6x4v.js";
23
+ } from "./session-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event11,
30
- Service: () => Service55,
31
- node: () => node59
29
+ Event: () => Event10,
30
+ Service: () => Service51,
31
+ node: () => node54
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event11 } from "@opencode/schema/catalog";
36
+ import { Event as Event10 } from "@opencode/schema/catalog";
37
37
 
38
- class Service55 extends Context.Service()("@opencode/Catalog") {
38
+ class Service51 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service55, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service56;
42
+ const integrations = yield* Service54;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info26.empty(providerID),
76
+ provider: Info28.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info26.empty(providerID),
94
+ provider: Info28.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info25.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info26.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service55.of(result);
188
+ return Service51.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node59 = makeLocationNode({ service: Service55, layer, deps: [node84, node60] });
191
+ var node54 = makeLocationNode({ service: Service51, layer, deps: [node84, node58] });
192
192
 
193
- export { Service55, node59, exports_catalog2, Event11 };
193
+ export { Service51, node54, exports_catalog2, Event10 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./pty-y71avatq.js";
3
+ } from "./session-y71avatq.js";
4
4
  import {
5
- Service59,
6
- node63
7
- } from "./pty-qhgcdxv6.js";
5
+ Service63,
6
+ node67
7
+ } from "./session-1wt2f527.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./session-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: () => Service30,
17
- node: () => node34,
16
+ Service: () => Service13,
17
+ node: () => node16,
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 Service30 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,8 +34,8 @@ 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(Service30, Effect.gen(function* () {
38
- const environment = yield* Service59;
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
+ const environment = yield* Service63;
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);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service30, 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 Service30.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node34 = makeLocationNode({ service: Service30, layer, deps: [node63] });
61
+ var node16 = makeLocationNode({ service: Service13, layer, deps: [node67] });
62
62
 
63
- export { Service30, readText2, syncTextBom2, node34, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service64
4
- } from "./pty-1vccm05t.js";
3
+ Service67
4
+ } from "./session-qmj71n9s.js";
5
5
  import {
6
6
  observe2
7
- } from "./pty-qsdy395h.js";
7
+ } from "./session-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin26
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin30
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin26 = define({
20
+ var Plugin30 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service64;
23
+ const config = yield* Service67;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin26 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin26, exports_websearch };
35
+ export { Plugin30, exports_websearch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -8,7 +8,7 @@ __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
10
  Entry: () => Entry4,
11
- Info: () => Info18,
11
+ Info: () => Info22,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info22 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info18, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info22, exports_lsp };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-ckrdk9yx.js";
4
+ } from "./session-2rhr2ygq.js";
5
5
  import {
6
6
  Service76,
7
7
  node81
8
- } from "./pty-0sw24r53.js";
8
+ } from "./session-kexrg209.js";
9
9
  import {
10
- Service59,
11
- node63
12
- } from "./pty-qhgcdxv6.js";
10
+ Service63,
11
+ node67
12
+ } from "./session-1wt2f527.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./pty-gd4qta3r.js";
15
+ } from "./session-gd4qta3r.js";
16
16
  import {
17
- Service63,
17
+ Service62,
18
18
  args2,
19
- node68
20
- } from "./pty-qajrhsjs.js";
19
+ node66
20
+ } from "./session-wmshdsxh.js";
21
21
  import {
22
- Service75,
23
- node80
24
- } from "./pty-dc76j9wz.js";
22
+ Service61,
23
+ node65
24
+ } from "./session-9e0x2wcp.js";
25
25
  import {
26
- Service41,
27
- node46
28
- } from "./pty-jypjtz10.js";
26
+ Service40,
27
+ node44
28
+ } from "./session-0h54jqbs.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./pty-2f04pwep.js";
31
+ } from "./session-5epte933.js";
32
32
  import {
33
33
  latest2,
34
- Service64,
35
- node69
36
- } from "./pty-1vccm05t.js";
34
+ Service67,
35
+ node72
36
+ } from "./session-qmj71n9s.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./pty-cq2rc4ba.js";
40
+ } from "./session-gp1yc2vx.js";
41
41
  import {
42
42
  __export
43
- } from "./pty-9rqn6x4v.js";
43
+ } from "./session-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service40,
51
+ Service: () => Service39,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node45
54
+ node: () => node43
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service40 extends Context.Service()("@opencode/Shell") {
73
+ class Service39 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service40, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
91
  const location = yield* Service76;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service63;
94
- const environment = yield* Service59;
95
- const hooks = yield* Service75;
96
- const environments = yield* Service41;
97
- const config = yield* Service64;
93
+ const shell = yield* Service62;
94
+ const environment = yield* Service63;
95
+ const hooks = yield* Service61;
96
+ const environments = yield* Service40;
97
+ const config = yield* Service67;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError4({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service40.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service39.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node45 = makeLocationNode({
320
- service: Service40,
319
+ var node43 = makeLocationNode({
320
+ service: Service39,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
324
  node81,
325
325
  Global.node,
326
- node68,
327
- node63,
328
- node80,
329
- node46,
330
- node69,
326
+ node66,
327
+ node67,
328
+ node65,
329
+ node44,
330
+ node72,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service40, cleanup2, node45, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service39, cleanup2, node43, exports_shell4 };