@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,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info23,
12
+ Info: () => Info17,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info23 = Schema.Struct({
64
+ var Info17 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info23 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info23, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info17, exports_provider2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
- Info4,
6
- ID3,
5
+ Info7,
6
+ ID5,
7
7
  Name2
8
- } from "./pty-c3grgfa4.js";
8
+ } from "./session-c2hx5j98.js";
9
9
  import {
10
- Service64
11
- } from "./pty-1vccm05t.js";
10
+ Service67
11
+ } from "./session-qmj71n9s.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./session-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill = {};
18
18
  __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin6,
21
+ Plugin: () => Plugin8,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill
24
24
  });
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin6 = define({
425
+ var Plugin8 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info4.make({
431
- id: ID3.make("opencode"),
430
+ editor.add(Info7.make({
431
+ id: ID5.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info4.make({
438
- id: ID3.make("report"),
437
+ editor.add(Info7.make({
438
+ id: ID5.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  slash: true,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service64;
467
+ const config = yield* Service67;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin6, exports_skill };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin8, exports_skill };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./pty-wqkncbjv.js";
5
+ } from "./session-yv13jgjp.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./pty-s198arwq.js";
8
+ } from "./session-mrk9dsc9.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./pty-1hvj6sc5.js";
11
+ } from "./session-6jdw5e61.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -16,7 +16,7 @@ import {
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./pty-gad8dwyr.js";
19
+ } from "./session-4vb24tt2.js";
20
20
 
21
21
  // src/session/to-session-error.ts
22
22
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service65
3
- } from "./pty-wcvnc3wq.js";
2
+ Service68
3
+ } from "./session-q4qmfb5s.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./pty-eaj1djv9.js";
6
+ } from "./session-t550f9t1.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./pty-922hggd3.js";
9
+ } from "./session-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service29
13
- } from "./pty-gbaa2wnh.js";
12
+ Service43
13
+ } from "./session-whqexn8d.js";
14
14
  import {
15
15
  Service76
16
- } from "./pty-0sw24r53.js";
16
+ } from "./session-kexrg209.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin30
25
+ Plugin: () => Plugin39
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin30 = define({
32
+ var Plugin39 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service29;
35
+ const discovery = yield* Service43;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service76;
42
- const watcher = yield* Service65;
42
+ const watcher = yield* Service68;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin30, exports_instruction };
117
+ export { Plugin39, exports_instruction };
@@ -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/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID16 = Session.ID;
5
- var Info30 = Session.Info;
4
+ var ID10 = Session.ID;
5
+ var Info13 = Session.Info;
6
6
 
7
- export { ID16, Info30, SessionSchema2 };
7
+ export { ID10, Info13, SessionSchema2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./pty-ec1grn59.js";
3
+ } from "./session-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./pty-f9adwtm7.js";
6
+ } from "./session-55eqwae1.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make9,
16
+ make: () => make10,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make9 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make9, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make10, exports_retry };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-kg06axw8.js";
3
+ } from "./session-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service7,
13
- node: () => node9
12
+ Service: () => Service10,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service10.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
52
52
 
53
- export { Service7, node9, exports_location_watcher_policy };
53
+ export { Service10, node13, exports_location_watcher_policy };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service43,
3
- node48
4
- } from "./pty-8n7wwas9.js";
2
+ Service38,
3
+ node42
4
+ } from "./session-c81tt5fe.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make21,
8
+ make19,
9
9
  diffByKey2
10
- } from "./pty-eaj1djv9.js";
10
+ } from "./session-t550f9t1.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./session-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions2 = {};
17
17
  __export(exports_instructions2, {
18
18
  ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service17,
20
- node: () => node22
19
+ Service: () => Service29,
20
+ node: () => node33
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service17 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service17, Effect.gen(function* () {
63
- const references = yield* Service43;
64
- return Service17.of({
62
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
63
+ const references = yield* Service38;
64
+ return Service29.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
72
- key: Key4.make("core/reference-guidance"),
71
+ return make19({
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node22 = makeLocationNode({ service: Service17, layer, deps: [node48] });
84
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node42] });
85
85
 
86
- export { Service17, node22, exports_instructions2 };
86
+ export { Service29, node33, exports_instructions2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./pty-y8cydn3q.js";
3
+ } from "./session-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info28,
8
+ Info: () => Info12,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info28 = SessionProviderContext.Info;
22
+ var Info12 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info28, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -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/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
- make21,
5
+ make19,
6
6
  diffByKey2
7
- } from "./pty-eaj1djv9.js";
7
+ } from "./session-t550f9t1.js";
8
8
  import {
9
- ID3,
9
+ ID5,
10
10
  Name2,
11
11
  available2,
12
- Service26,
13
- node30
14
- } from "./pty-c3grgfa4.js";
12
+ Service41,
13
+ node45
14
+ } from "./session-c2hx5j98.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./session-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
20
  var exports_instructions5 = {};
21
21
  __export(exports_instructions5, {
22
- Service: () => Service19,
22
+ Service: () => Service37,
23
23
  SkillInstructions: () => exports_instructions5,
24
- node: () => node24
24
+ node: () => node41
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID3,
29
+ id: ID5,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service19 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service37 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service19, Effect.gen(function* () {
66
- const skills = yield* Service26;
67
- return Service19.of({
65
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
66
+ const skills = yield* Service41;
67
+ return Service37.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make21({
74
- key: Key4.make("core/skill-guidance"),
73
+ return make19({
74
+ key: Key3.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node24 = makeLocationNode({ service: Service19, layer, deps: [node30] });
86
+ var node41 = makeLocationNode({ service: Service37, layer, deps: [node45] });
87
87
 
88
- export { Service19, node24, exports_instructions5 };
88
+ export { Service37, node41, exports_instructions5 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-ckrdk9yx.js";
4
+ } from "./session-2rhr2ygq.js";
5
5
  import {
6
- Key3,
7
- Service68,
8
- node73
9
- } from "./pty-f37g46dm.js";
6
+ Key4,
7
+ Service71,
8
+ node76
9
+ } from "./session-0m7vfb84.js";
10
10
  import {
11
11
  create3
12
- } from "./pty-kg06axw8.js";
12
+ } from "./session-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./pty-0dydqtd7.js";
16
+ } from "./session-h71edhv1.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event12,
33
+ Event: () => Event11,
34
34
  ID: () => ID6,
35
- Info: () => Info10,
35
+ Info: () => Info9,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service56,
43
- node: () => node60
42
+ Service: () => Service54,
43
+ node: () => node58
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,7 +61,7 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event12 } from "@opencode/schema/integration";
64
+ import { Event as Event11 } from "@opencode/schema/integration";
65
65
  var ID6 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info10 = Integration.Info;
73
+ var Info9 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service56 extends Context.Service()("@opencode/Integration") {
90
+ class Service54 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service56, Effect.gen(function* () {
96
- const credentials = yield* Service68;
95
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
96
+ const credentials = yield* Service71;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info10.make({
190
+ const project = (entry, connections) => Info9.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key3.make({ type: "key", key: exit.value })
274
+ value: Key4.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service56.of({
420
+ return Service54.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key3.make({ type: "key", key }) : undefined;
441
+ return key ? Key4.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key3.make({
474
+ value: Key4.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node60 = makeLocationNode({
569
- service: Service56,
568
+ var node58 = makeLocationNode({
569
+ service: Service54,
570
570
  layer,
571
- deps: [node73, node84, AppProcess.node]
571
+ deps: [node76, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service56, node60, exports_integration, Event12 };
574
+ export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info9, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service54, node58, exports_integration, Event11 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";