@opencode-ai/core 0.0.0-dev-19097 → 0.0.0-dev-19099

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 (769) 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 +82 -82
  8. package/dist/chunks/{file-t23z101x.js → session-00zc6prc.js} +2 -2
  9. package/dist/chunks/{file-w7pcjcgc.js → session-033qr46r.js} +9 -9
  10. package/dist/chunks/{file-34h2c5qc.js → session-046wb0sx.js} +8 -8
  11. package/dist/chunks/{file-pnb07w7m.js → session-06ztdyqf.js} +6 -6
  12. package/dist/chunks/{file-0e0xafbb.js → session-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{file-0ez61b8c.js → session-0ez61b8c.js} +2 -2
  14. package/dist/chunks/{file-wxv6nqad.js → session-0hxewv05.js} +27 -27
  15. package/dist/chunks/{file-vk57arp5.js → session-0k5h4jkn.js} +33 -33
  16. package/dist/chunks/{file-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{file-k8feg6vv.js → session-0rag4e4f.js} +4 -4
  18. package/dist/chunks/{file-0s9ayhjt.js → session-0s9ayhjt.js} +1 -1
  19. package/dist/chunks/{file-7qygs87w.js → session-0scqckt0.js} +29 -29
  20. package/dist/chunks/{file-6sjzp24x.js → session-0tyy99y6.js} +36 -36
  21. package/dist/chunks/{file-rs5embep.js → session-14f8jh9e.js} +15 -15
  22. package/dist/chunks/{file-14hmenm3.js → session-14hmenm3.js} +1 -1
  23. package/dist/chunks/{file-w9vya7g1.js → session-15gg0na4.js} +23 -23
  24. package/dist/chunks/{file-pka6fkme.js → session-1a3my7cd.js} +31 -31
  25. package/dist/chunks/{file-ctg8zr71.js → session-1bbscqjq.js} +15 -15
  26. package/dist/chunks/session-1bnacmtz.js +22 -0
  27. package/dist/chunks/{file-1ct4r87x.js → session-1ct4r87x.js} +1 -1
  28. package/dist/chunks/{file-msqakgxm.js → session-1h561g3c.js} +8 -8
  29. package/dist/chunks/{file-d17hrp67.js → session-1k5rte3c.js} +29 -29
  30. package/dist/chunks/{file-trbf7f13.js → session-1kvgqkc1.js} +26 -26
  31. package/dist/chunks/{file-9d0173er.js → session-1y50zexa.js} +9 -9
  32. package/dist/chunks/{file-21r38tys.js → session-21r38tys.js} +1 -1
  33. package/dist/chunks/{file-2402vzrj.js → session-2402vzrj.js} +1 -1
  34. package/dist/chunks/{file-2a5m3afh.js → session-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{file-xn93qykn.js → session-2e967tky.js} +16 -16
  36. package/dist/chunks/{file-2ht70gj7.js → session-2ht70gj7.js} +1 -1
  37. package/dist/chunks/{file-2jqmte8w.js → session-2jqmte8w.js} +2 -2
  38. package/dist/chunks/{file-0jwsre1p.js → session-2k8khapm.js} +5 -5
  39. package/dist/chunks/{file-pfzekb22.js → session-2s1by3x3.js} +25 -25
  40. package/dist/chunks/{file-e9caa62w.js → session-2skgqc7d.js} +3 -3
  41. package/dist/chunks/{file-r3pbnjm9.js → session-32fd39f2.js} +10 -10
  42. package/dist/chunks/{file-x6te443c.js → session-362503zv.js} +42 -42
  43. package/dist/chunks/{file-gss8xhg0.js → session-3ap01362.js} +30 -30
  44. package/dist/chunks/{file-8cvnnrjq.js → session-3b3xadwe.js} +16 -16
  45. package/dist/chunks/{file-gdvy8fx6.js → session-3fc6dm20.js} +4 -4
  46. package/dist/chunks/{file-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{file-2xxac57g.js → session-3nqgc3yx.js} +7 -7
  48. package/dist/chunks/{file-3qzbfqsy.js → session-3qzbfqsy.js} +2 -2
  49. package/dist/chunks/{file-qk91dsd0.js → session-3rmx93c4.js} +10 -10
  50. package/dist/chunks/{file-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{file-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{file-3wfq9j39.js → session-3wfq9j39.js} +2 -2
  53. package/dist/chunks/{file-630mrxzs.js → session-41v30afh.js} +6 -6
  54. package/dist/chunks/{file-454k5vzh.js → session-454k5vzh.js} +1 -1
  55. package/dist/chunks/{file-fjvydvzm.js → session-4gycnsfp.js} +6 -6
  56. package/dist/chunks/{file-jz1jqtks.js → session-4jzh0xe1.js} +8 -8
  57. package/dist/chunks/{file-d1n19zpc.js → session-4qmdx6xs.js} +34 -34
  58. package/dist/chunks/{file-4r2nyarf.js → session-4r2nyarf.js} +1 -1
  59. package/dist/chunks/{file-yqgv8gzc.js → session-4tgt7804.js} +6 -6
  60. package/dist/chunks/{file-4zzhap0t.js → session-4tjv1w0c.js} +20 -20
  61. package/dist/chunks/{file-4z6b0fg6.js → session-4z6b0fg6.js} +1 -1
  62. package/dist/chunks/{file-5daktx2q.js → session-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-8nv4cyba.js → session-5dfa1j4k.js} +46 -46
  64. package/dist/chunks/{file-4nrfgs5y.js → session-5ew1cpbm.js} +4 -4
  65. package/dist/chunks/{file-5fmxt4p5.js → session-5fmxt4p5.js} +1 -1
  66. package/dist/chunks/{file-w2cy7nem.js → session-5fq3meay.js} +10 -10
  67. package/dist/chunks/{file-5jvc5tg2.js → session-5jvc5tg2.js} +1 -1
  68. package/dist/chunks/{file-nb59rc1d.js → session-5pg6yw59.js} +15 -15
  69. package/dist/chunks/{file-4wm41xfy.js → session-5sd665qf.js} +9 -9
  70. package/dist/chunks/{file-5sg4xzjf.js → session-5sg4xzjf.js} +1 -1
  71. package/dist/chunks/{file-h39sbrp5.js → session-5xy06vd8.js} +7 -7
  72. package/dist/chunks/{file-fxcmktmy.js → session-5z37qfst.js} +13 -13
  73. package/dist/chunks/{file-7a9jwpx3.js → session-5zhf747r.js} +4 -4
  74. package/dist/chunks/session-619r8v3y.js +18 -0
  75. package/dist/chunks/{file-c0faa19c.js → session-6e958v7x.js} +6 -6
  76. package/dist/chunks/{file-awqyf91x.js → session-6h414ywr.js} +5 -5
  77. package/dist/chunks/{file-cmhmpn4v.js → session-6nem85hv.js} +11 -11
  78. package/dist/chunks/{file-6tf8tr4v.js → session-6tf8tr4v.js} +2 -2
  79. package/dist/chunks/{file-wndntwen.js → session-6whzccev.js} +10 -10
  80. package/dist/chunks/{file-keytvqp3.js → session-70zb4fhk.js} +18 -18
  81. package/dist/chunks/{file-711hfp6y.js → session-711hfp6y.js} +2 -2
  82. package/dist/chunks/{file-7b280chh.js → session-74zgpmwc.js} +6 -6
  83. package/dist/chunks/{file-8ryk0bb9.js → session-762r0j46.js} +5 -5
  84. package/dist/chunks/session-76h0ztym.js +243 -0
  85. package/dist/chunks/{file-er9yxp35.js → session-78xpxgdy.js} +156 -156
  86. package/dist/chunks/{file-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{file-qbdhhgha.js → session-7gv5bdgm.js} +8 -8
  88. package/dist/chunks/session-7zk4hah4.js +4 -0
  89. package/dist/chunks/{file-rbr603f4.js → session-83at72gv.js} +11 -11
  90. package/dist/chunks/{file-x7s30cxw.js → session-84kxd1n4.js} +11 -11
  91. package/dist/chunks/{file-86s3977f.js → session-86s3977f.js} +1 -1
  92. package/dist/chunks/{file-ktd0vvh7.js → session-87smybrf.js} +26 -26
  93. package/dist/chunks/{file-rt96k8tb.js → session-8j93e5xs.js} +20 -20
  94. package/dist/chunks/{file-7xhvt7yp.js → session-8n4fjbmr.js} +8 -8
  95. package/dist/chunks/{file-0ra6fv6k.js → session-8szhmwn7.js} +47 -47
  96. package/dist/chunks/{file-56jkv05n.js → session-92ttya6d.js} +9 -9
  97. package/dist/chunks/{file-93a8yfjt.js → session-93a8yfjt.js} +2 -2
  98. package/dist/chunks/{file-393yfw74.js → session-98grnphf.js} +20 -20
  99. package/dist/chunks/{file-52ba2sra.js → session-9pk3p303.js} +8 -8
  100. package/dist/chunks/{file-8yy07cq2.js → session-9q7d80ra.js} +14 -14
  101. package/dist/chunks/{file-9qm9egsn.js → session-9qm9egsn.js} +2 -2
  102. package/dist/chunks/{file-5yabaxsy.js → session-9y4a5m7y.js} +14 -14
  103. package/dist/chunks/{file-htpahddg.js → session-9y4cjape.js} +18 -18
  104. package/dist/chunks/{file-2ks0faxf.js → session-a78pknby.js} +20 -20
  105. package/dist/chunks/{file-aaet6srn.js → session-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-ajtjthsy.js → session-ajtjthsy.js} +2 -2
  107. package/dist/chunks/{file-b6gygkdw.js → session-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{file-b9wsbatv.js → session-b9wsbatv.js} +1 -1
  109. package/dist/chunks/{file-tqr9qcpa.js → session-bamjcx2k.js} +283 -283
  110. package/dist/chunks/{file-dq20fsr2.js → session-bgwx2zk1.js} +9 -9
  111. package/dist/chunks/{file-23d81xme.js → session-bm40x1qd.js} +22 -22
  112. package/dist/chunks/{file-3gt9pd4h.js → session-bzgcd8ct.js} +24 -24
  113. package/dist/chunks/{file-pm0tagmj.js → session-c7sdkgzs.js} +24 -24
  114. package/dist/chunks/{file-ddt2bs9e.js → session-ca7w653e.js} +4 -4
  115. package/dist/chunks/{file-m3y8433b.js → session-cqv4qzc3.js} +8 -8
  116. package/dist/chunks/{file-cq35m6me.js → session-d4fyz6jk.js} +2 -2
  117. package/dist/chunks/{file-warfykcc.js → session-d5nmy0ep.js} +16 -16
  118. package/dist/chunks/{file-d72308c8.js → session-d72308c8.js} +2 -2
  119. package/dist/chunks/{file-pmr4s4kc.js → session-dfe8djrf.js} +4 -4
  120. package/dist/chunks/{file-e7gxy7fd.js → session-djtdz80w.js} +4 -4
  121. package/dist/chunks/{file-jdv57epv.js → session-e4dgvvze.js} +53 -53
  122. package/dist/chunks/{file-e5b0qn1c.js → session-e5b0qn1c.js} +1 -1
  123. package/dist/chunks/{file-ss0awb04.js → session-e6hd9jay.js} +6 -6
  124. package/dist/chunks/{file-bnbv6b5n.js → session-e9snx1sv.js} +4 -4
  125. package/dist/chunks/{file-vdwwn6k7.js → session-eb5hvjq0.js} +9 -9
  126. package/dist/chunks/{file-wv9b9khx.js → session-ecx8qs62.js} +11 -11
  127. package/dist/chunks/{file-806j49yq.js → session-edrmdtr5.js} +7 -7
  128. package/dist/chunks/{file-5sev6q9t.js → session-efewvhem.js} +19 -19
  129. package/dist/chunks/{file-eg21w5vj.js → session-egw5w7de.js} +7 -7
  130. package/dist/chunks/{file-9tjsbxxt.js → session-ej1cjmmj.js} +4 -4
  131. package/dist/chunks/{file-5wbhqr4j.js → session-ek8ykwvv.js} +15 -15
  132. package/dist/chunks/{file-3mpy6pnz.js → session-em64c7fc.js} +11 -11
  133. package/dist/chunks/{file-2qvrqzxh.js → session-er9n0m1v.js} +24 -24
  134. package/dist/chunks/{file-mhj7q8tw.js → session-fca9s3tf.js} +19 -19
  135. package/dist/chunks/{file-gs14xg9r.js → session-fv2zgjwj.js} +9 -9
  136. package/dist/chunks/{file-savfhqcd.js → session-fwm5qdh2.js} +16 -16
  137. package/dist/chunks/{file-fxbjtjnd.js → session-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{file-fxypknc8.js → session-fxypknc8.js} +1 -1
  139. package/dist/chunks/{file-g41n1fn3.js → session-g41n1fn3.js} +1 -1
  140. package/dist/chunks/{file-ssq3ctr8.js → session-g963r9r4.js} +4 -4
  141. package/dist/chunks/{file-vb6d33pa.js → session-gacg7ezd.js} +10 -10
  142. package/dist/chunks/{file-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{file-4yrtw206.js → session-gy92dee3.js} +26 -26
  144. package/dist/chunks/{file-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{file-heyhwy2w.js → session-heyhwy2w.js} +1 -1
  146. package/dist/chunks/{file-gzqptw1h.js → session-hha4zry8.js} +20 -20
  147. package/dist/chunks/{file-hrvm11jt.js → session-hrvm11jt.js} +3 -3
  148. package/dist/chunks/{file-5bype6kp.js → session-hrwsywca.js} +32 -32
  149. package/dist/chunks/{file-kvsjn1dr.js → session-hw4pv20g.js} +2 -2
  150. package/dist/chunks/{file-bgt6msk1.js → session-j3apsvbv.js} +2 -2
  151. package/dist/chunks/{file-fngqvgwt.js → session-j3pby61b.js} +6 -6
  152. package/dist/chunks/{file-5qd3pb7m.js → session-j935v87r.js} +2 -2
  153. package/dist/chunks/{file-31wgk69v.js → session-jbx3xvkx.js} +3 -3
  154. package/dist/chunks/{file-ay8rbhkk.js → session-jn1w34ja.js} +20 -20
  155. package/dist/chunks/{file-gzd7t3bg.js → session-jrpeh8d2.js} +4 -4
  156. package/dist/chunks/{file-6w7e9vmm.js → session-jvfahvjt.js} +8 -8
  157. package/dist/chunks/{file-jwcy2c2z.js → session-jwcy2c2z.js} +1 -1
  158. package/dist/chunks/{file-xe98bsrz.js → session-jy1b6ewz.js} +11 -11
  159. package/dist/chunks/{file-htzwhb48.js → session-k4bj2yce.js} +30 -30
  160. package/dist/chunks/{file-k4bwy1x5.js → session-k4bwy1x5.js} +1 -1
  161. package/dist/chunks/{file-kg06axw8.js → session-kg06axw8.js} +1 -1
  162. package/dist/chunks/{file-a90asjze.js → session-khg7wmvg.js} +16 -16
  163. package/dist/chunks/{file-xj15198g.js → session-krd0bj29.js} +17 -17
  164. package/dist/chunks/{file-qegxstwz.js → session-kvrwf3pk.js} +14 -14
  165. package/dist/chunks/{file-mgz9ynfp.js → session-m35s3e48.js} +9 -9
  166. package/dist/chunks/{file-yvfkj8fv.js → session-m3fm0fm8.js} +5 -5
  167. package/dist/chunks/{file-jtxgx949.js → session-m6ref827.js} +27 -27
  168. package/dist/chunks/{file-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{file-mcxg6pmm.js → session-mcxg6pmm.js} +1 -1
  170. package/dist/chunks/{file-yyeephfg.js → session-mdbg29km.js} +9 -9
  171. package/dist/chunks/{file-yrfjzgmk.js → session-mh7ybtnt.js} +41 -41
  172. package/dist/chunks/{file-mhkvc446.js → session-mhkvc446.js} +1 -1
  173. package/dist/chunks/{file-9anj5k29.js → session-mjmwg246.js} +46 -46
  174. package/dist/chunks/{file-9cr7q51e.js → session-mjqa4ah0.js} +34 -34
  175. package/dist/chunks/{file-dmhyt8yz.js → session-mwjfjpe1.js} +9 -9
  176. package/dist/chunks/{file-dv4a4bvf.js → session-mx85t2yq.js} +24 -24
  177. package/dist/chunks/{file-dwh2jwen.js → session-mzwqtm94.js} +13 -13
  178. package/dist/chunks/{file-b4cqkbph.js → session-n2bs5rn6.js} +9 -9
  179. package/dist/chunks/{file-t8rvmjzx.js → session-n38rkygq.js} +20 -20
  180. package/dist/chunks/{file-z787d7xj.js → session-nax573hd.js} +20 -20
  181. package/dist/chunks/{file-nbrney8w.js → session-nn7rvrn2.js} +20 -20
  182. package/dist/chunks/{file-3gn7n68r.js → session-npp63b0x.js} +22 -22
  183. package/dist/chunks/{file-adphmdvg.js → session-nqsjc2sz.js} +37 -37
  184. package/dist/chunks/{file-t3kn21v8.js → session-ntdm8fkt.js} +17 -17
  185. package/dist/chunks/{file-3s09vvne.js → session-nth65dz9.js} +24 -24
  186. package/dist/chunks/{file-apz83yk1.js → session-nx6avvy5.js} +10 -10
  187. package/dist/chunks/{file-nxhj2y70.js → session-nxhj2y70.js} +4 -4
  188. package/dist/chunks/{file-44c9khjj.js → session-p6pnan0z.js} +17 -17
  189. package/dist/chunks/{file-rnpxyh9g.js → session-pgaghrd6.js} +4 -4
  190. package/dist/chunks/{file-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{file-pj7daft9.js → session-pkjas4h9.js} +15 -15
  192. package/dist/chunks/{file-pknna89w.js → session-pknna89w.js} +1 -1
  193. package/dist/chunks/{file-0dnzd248.js → session-ppkpjgys.js} +17 -17
  194. package/dist/chunks/{file-x5wcxb38.js → session-ps9kfsxp.js} +12 -12
  195. package/dist/chunks/{file-p0y053rc.js → session-pt70tw8e.js} +82 -82
  196. package/dist/chunks/{file-zg2n6y4t.js → session-pw559tdx.js} +27 -27
  197. package/dist/chunks/{file-sp5wnj6d.js → session-q13zt0rt.js} +6 -6
  198. package/dist/chunks/{file-5vw9vvj4.js → session-q1ap3bya.js} +41 -41
  199. package/dist/chunks/{file-c29f3tza.js → session-q6j65b7y.js} +82 -82
  200. package/dist/chunks/{file-r5aexrb8.js → session-qbwsjg4y.js} +56 -56
  201. package/dist/chunks/{file-gjcg6yxb.js → session-qf4fh2md.js} +8 -8
  202. package/dist/chunks/{file-7q8get4d.js → session-qm1p4vma.js} +15 -15
  203. package/dist/chunks/{file-d70vn4jc.js → session-qnmg9m6w.js} +19 -19
  204. package/dist/chunks/{file-qsdy395h.js → session-qsdy395h.js} +1 -1
  205. package/dist/chunks/{file-wmjd8bny.js → session-qtde2qpd.js} +33 -33
  206. package/dist/chunks/{file-4cd1d9ca.js → session-qxrtgzhn.js} +32 -32
  207. package/dist/chunks/{file-p4vn8k5j.js → session-qygjny4b.js} +8 -8
  208. package/dist/chunks/{file-sdr42knk.js → session-r1x0ce7m.js} +21 -21
  209. package/dist/chunks/{file-a5bfcrc3.js → session-r4rxbb2t.js} +15 -15
  210. package/dist/chunks/{file-r8dhm0tv.js → session-r8dhm0tv.js} +1 -1
  211. package/dist/chunks/{file-jzajgxa4.js → session-rbwftchb.js} +11 -11
  212. package/dist/chunks/{file-racpc5qj.js → session-rcrz2f46.js} +31 -31
  213. package/dist/chunks/{file-rmy3e5eg.js → session-rmy3e5eg.js} +1 -1
  214. package/dist/chunks/{file-rzsjt7my.js → session-rzsjt7my.js} +3 -3
  215. package/dist/chunks/{file-agwngab4.js → session-s0jf0z46.js} +11 -11
  216. package/dist/chunks/{file-h7qsvcff.js → session-s2yfzr0x.js} +2 -2
  217. package/dist/chunks/{file-s3eqpch7.js → session-s3eqpch7.js} +1 -1
  218. package/dist/chunks/{file-w3jym6ha.js → session-saak5ttd.js} +9 -9
  219. package/dist/chunks/{file-sba4qhjf.js → session-sba4qhjf.js} +1 -1
  220. package/dist/chunks/{file-famd3pv6.js → session-sh7bh2kf.js} +5 -5
  221. package/dist/chunks/{file-sy5x4sx3.js → session-spwgm08d.js} +3 -3
  222. package/dist/chunks/{file-3gcnb1p9.js → session-svrpwktq.js} +9 -9
  223. package/dist/chunks/{file-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{file-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{file-s9eewxz3.js → session-tckp1j5y.js} +3 -3
  226. package/dist/chunks/{file-h3y0pe43.js → session-te02k642.js} +33 -33
  227. package/dist/chunks/{file-kped6ekd.js → session-tgbem4ss.js} +20 -20
  228. package/dist/chunks/{file-thfv75je.js → session-thfv75je.js} +2 -2
  229. package/dist/chunks/{file-tjykrgmx.js → session-tjykrgmx.js} +1 -1
  230. package/dist/chunks/{file-wcs07xvw.js → session-tr2r56k3.js} +15 -15
  231. package/dist/chunks/{file-age2sz3e.js → session-tzwfg5hj.js} +11 -11
  232. package/dist/chunks/{file-acqtp7e5.js → session-v5m9qfmy.js} +13 -13
  233. package/dist/chunks/{file-t7tn68wt.js → session-v7p1qd80.js} +11 -11
  234. package/dist/chunks/{file-44v8yfq1.js → session-v8v7w6fv.js} +4 -4
  235. package/dist/chunks/{file-95knx934.js → session-vaak15ye.js} +16 -16
  236. package/dist/chunks/{file-csk50r35.js → session-vavk4pfm.js} +33 -33
  237. package/dist/chunks/{file-8vny5c8e.js → session-vfa7vgdt.js} +12 -12
  238. package/dist/chunks/{file-ghw4ap3q.js → session-vftcyset.js} +31 -31
  239. package/dist/chunks/{file-3pcz81vc.js → session-vnt7ze4s.js} +4 -4
  240. package/dist/chunks/{file-zxc2kv8n.js → session-vp0rf33z.js} +4 -4
  241. package/dist/chunks/{file-45a3e49b.js → session-vqnm39r0.js} +9 -9
  242. package/dist/chunks/{file-vsr56sgz.js → session-vsr56sgz.js} +1 -1
  243. package/dist/chunks/{file-37b314vz.js → session-vwvvp157.js} +9 -9
  244. package/dist/chunks/{file-w0v6yqj2.js → session-vxg864v9.js} +13 -13
  245. package/dist/chunks/{file-tt070hms.js → session-w1w9qes5.js} +1 -1
  246. package/dist/chunks/{file-tbeh7nm8.js → session-w3628pf0.js} +9 -9
  247. package/dist/chunks/{file-a00nymdn.js → session-w3jjk181.js} +9 -9
  248. package/dist/chunks/{file-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{file-wd87259q.js → session-wd87259q.js} +1 -1
  250. package/dist/chunks/{file-wgxn7ww3.js → session-wgxn7ww3.js} +2 -2
  251. package/dist/chunks/{file-amz8x7m9.js → session-wjvq9b7z.js} +24 -24
  252. package/dist/chunks/{file-pwsfrk47.js → session-wk20761v.js} +24 -24
  253. package/dist/chunks/{file-5nt6w6m1.js → session-wm6pwq74.js} +9 -9
  254. package/dist/chunks/{file-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{file-qjhp7fv4.js → session-xfrftg31.js} +30 -30
  256. package/dist/chunks/{file-mvbayggv.js → session-xgfwkkrf.js} +5 -5
  257. package/dist/chunks/{file-ge17c2r8.js → session-xk40txbb.js} +8 -8
  258. package/dist/chunks/{file-0jd66zyb.js → session-xky3aqr0.js} +56 -56
  259. package/dist/chunks/{file-m1k88j08.js → session-xp3tymbh.js} +14 -14
  260. package/dist/chunks/{file-xqsy6kp0.js → session-xqsy6kp0.js} +1 -1
  261. package/dist/chunks/{file-y8wzqhpp.js → session-xsvcmxep.js} +15 -15
  262. package/dist/chunks/{file-3skezffz.js → session-xvcttetg.js} +10 -10
  263. package/dist/chunks/{file-6svk08be.js → session-xvkrt86w.js} +24 -24
  264. package/dist/chunks/{file-mrvbr3wc.js → session-xzg7katx.js} +26 -26
  265. package/dist/chunks/{file-y01np14z.js → session-y01np14z.js} +3 -3
  266. package/dist/chunks/{file-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-8vfvt1k8.js → session-y430n1rx.js} +6 -6
  268. package/dist/chunks/{file-wr98cg9s.js → session-y6sxghsa.js} +56 -56
  269. package/dist/chunks/{file-bxb1xesv.js → session-y9j759kk.js} +4 -4
  270. package/dist/chunks/{file-yfbd16n1.js → session-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{file-9p3t057d.js → session-yjmhwj7v.js} +9 -9
  272. package/dist/chunks/{file-h44eeaqk.js → session-ym5x9jxc.js} +41 -41
  273. package/dist/chunks/{file-k12apaej.js → session-z00rzy17.js} +5 -5
  274. package/dist/chunks/{file-z1k01bn4.js → session-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{file-29x78va6.js → session-z63w68vq.js} +6 -6
  276. package/dist/chunks/{file-t1jgjt3q.js → session-zjqef28p.js} +5 -5
  277. package/dist/chunks/{file-zn2pq4p8.js → session-zn2pq4p8.js} +2 -2
  278. package/dist/chunks/{file-ctb8fb4q.js → session-zr7byz86.js} +31 -31
  279. package/dist/chunks/{file-hkv0byyz.js → session-zt4h1x9p.js} +9 -9
  280. package/dist/chunks/{file-v83v14r5.js → session-zt81hpm2.js} +10 -10
  281. package/dist/chunks/{file-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{file-sepmzhrx.js → session-zy5e4jbn.js} +18 -18
  283. package/dist/codemode/catalog.js +3 -3
  284. package/dist/codemode/instructions.js +5 -5
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +83 -83
  287. package/dist/config/discovery.js +77 -77
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +116 -116
  291. package/dist/config/plugin/command.js +207 -207
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +125 -125
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +134 -134
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +116 -116
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +82 -82
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +68 -68
  402. package/dist/file-mutation.js +87 -87
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +1 -1
  413. package/dist/filesystem/search.js +95 -95
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +11 -11
  416. package/dist/filesystem.js +96 -96
  417. package/dist/form.js +82 -82
  418. package/dist/formatter/builtins.js +2 -2
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +88 -88
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +3 -3
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +5 -5
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +83 -83
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +85 -85
  451. package/dist/job.js +75 -75
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +83 -83
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +84 -84
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +104 -104
  461. package/dist/mcp/instructions.js +120 -120
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +3 -3
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +2 -2
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +109 -109
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +84 -84
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +98 -98
  479. package/dist/plugin/command.js +95 -95
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +2 -2
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +77 -77
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +3 -3
  527. package/dist/plugin/skill.js +129 -129
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +333 -333
  530. package/dist/plugin/system-prompt.js +1 -1
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +109 -109
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +6 -6
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +6 -6
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +219 -219
  543. package/dist/project/schema.js +8 -8
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +85 -85
  546. package/dist/provider.js +1 -1
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +94 -94
  551. package/dist/reference/instructions.js +84 -84
  552. package/dist/reference.js +86 -86
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +89 -89
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +123 -123
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +214 -214
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +84 -84
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +75 -75
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +2 -2
  589. package/dist/session/runner/step.js +117 -117
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +3 -3
  592. package/dist/session/session.js +167 -167
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +201 -201
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +208 -208
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +207 -207
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +11 -11
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +106 -106
  614. package/dist/snapshot.js +86 -86
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +113 -113
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +116 -116
  625. package/dist/tool/plugin/question.js +95 -95
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +210 -210
  628. package/dist/tool/plugin/skill.js +105 -105
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +104 -104
  631. package/dist/tool/plugin/websearch.js +108 -108
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +13 -13
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +5 -5
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +5 -5
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +7 -7
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +80 -80
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +77 -77
  666. package/dist/workspace/driver.js +5 -5
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +78 -78
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +92 -92
  673. package/package.json +7 -7
  674. package/dist/chunks/file-4y7bcn0g.js +0 -4
  675. package/dist/chunks/file-n95b3jav.js +0 -18
  676. package/dist/chunks/file-trrz6gpv.js +0 -243
  677. package/dist/chunks/file-xraadc2q.js +0 -22
  678. /package/dist/chunks/{file-0fabt78z.js → session-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{file-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{file-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{file-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{file-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{file-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{file-2710q6r3.js → session-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{file-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{file-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{file-359p4xyc.js → session-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{file-3asan66x.js → session-3asan66x.js} +0 -0
  689. /package/dist/chunks/{file-3t738kvx.js → session-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{file-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{file-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{file-41nvscxy.js → session-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{file-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{file-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{file-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{file-53557ph1.js → session-53557ph1.js} +0 -0
  697. /package/dist/chunks/{file-550bvhaj.js → session-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{file-6prwharc.js → session-6prwharc.js} +0 -0
  699. /package/dist/chunks/{file-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  700. /package/dist/chunks/{file-7m9af43g.js → session-7m9af43g.js} +0 -0
  701. /package/dist/chunks/{file-822emrt2.js → session-822emrt2.js} +0 -0
  702. /package/dist/chunks/{file-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  703. /package/dist/chunks/{file-8n3pysct.js → session-8n3pysct.js} +0 -0
  704. /package/dist/chunks/{file-982e01ww.js → session-982e01ww.js} +0 -0
  705. /package/dist/chunks/{file-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  706. /package/dist/chunks/{file-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  707. /package/dist/chunks/{file-a1tpkmh4.js → session-a1tpkmh4.js} +0 -0
  708. /package/dist/chunks/{file-af5trqkr.js → session-af5trqkr.js} +0 -0
  709. /package/dist/chunks/{file-afrmfg78.js → session-afrmfg78.js} +0 -0
  710. /package/dist/chunks/{file-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  711. /package/dist/chunks/{file-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  712. /package/dist/chunks/{file-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  713. /package/dist/chunks/{file-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  714. /package/dist/chunks/{file-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  715. /package/dist/chunks/{file-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{file-d9fn303g.js → session-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{file-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{file-dajrwvna.js → session-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{file-dap0rakb.js → session-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{file-df08tz66.js → session-df08tz66.js} +0 -0
  721. /package/dist/chunks/{file-dy18nga0.js → session-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{file-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{file-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{file-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{file-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{file-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{file-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{file-faypxj3z.js → session-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{file-fd410y7t.js → session-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{file-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{file-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{file-g86h250q.js → session-g86h250q.js} +0 -0
  733. /package/dist/chunks/{file-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{file-hk9envan.js → session-hk9envan.js} +0 -0
  735. /package/dist/chunks/{file-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{file-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{file-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  738. /package/dist/chunks/{file-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  739. /package/dist/chunks/{file-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  740. /package/dist/chunks/{file-mntxs535.js → session-mntxs535.js} +0 -0
  741. /package/dist/chunks/{file-mp448xyj.js → session-mp448xyj.js} +0 -0
  742. /package/dist/chunks/{file-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  743. /package/dist/chunks/{file-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  744. /package/dist/chunks/{file-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  745. /package/dist/chunks/{file-njntx4h6.js → session-njntx4h6.js} +0 -0
  746. /package/dist/chunks/{file-p8qxwesx.js → session-p8qxwesx.js} +0 -0
  747. /package/dist/chunks/{file-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  748. /package/dist/chunks/{file-q74kybfr.js → session-q74kybfr.js} +0 -0
  749. /package/dist/chunks/{file-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  750. /package/dist/chunks/{file-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  751. /package/dist/chunks/{file-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  752. /package/dist/chunks/{file-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  753. /package/dist/chunks/{file-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  754. /package/dist/chunks/{file-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  755. /package/dist/chunks/{file-se0s1eqw.js → session-se0s1eqw.js} +0 -0
  756. /package/dist/chunks/{file-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
  757. /package/dist/chunks/{file-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  758. /package/dist/chunks/{file-twg0f83k.js → session-twg0f83k.js} +0 -0
  759. /package/dist/chunks/{file-w803qqfp.js → session-w803qqfp.js} +0 -0
  760. /package/dist/chunks/{file-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  761. /package/dist/chunks/{file-wtztk69x.js → session-wtztk69x.js} +0 -0
  762. /package/dist/chunks/{file-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  763. /package/dist/chunks/{file-x1b8g1yb.js → session-x1b8g1yb.js} +0 -0
  764. /package/dist/chunks/{file-x61499pn.js → session-x61499pn.js} +0 -0
  765. /package/dist/chunks/{file-y44na4kk.js → session-y44na4kk.js} +0 -0
  766. /package/dist/chunks/{file-y8cydn3q.js → session-y8cydn3q.js} +0 -0
  767. /package/dist/chunks/{file-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  768. /package/dist/chunks/{file-z9919s4g.js → session-z9919s4g.js} +0 -0
  769. /package/dist/chunks/{file-zbjnn3ac.js → session-zbjnn3ac.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./file-3pcz81vc.js";
4
+ } from "./session-vnt7ze4s.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./file-p8qxwesx.js";
8
+ } from "./session-p8qxwesx.js";
9
9
  import {
10
- Ref3,
11
- Service73,
12
- node76
13
- } from "./file-xj15198g.js";
10
+ Ref2,
11
+ Service71,
12
+ node74
13
+ } from "./session-krd0bj29.js";
14
14
  import {
15
15
  __export
16
- } from "./file-9rqn6x4v.js";
16
+ } from "./session-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service13,
22
+ Service: () => Service69,
23
23
  define: () => define2,
24
- node: () => node16
24
+ node: () => node72
25
25
  });
26
26
  import { define as define2 } from "@opencode-ai/schema/rpc";
27
27
  import { Event } from "@opencode-ai/schema/event";
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service13 extends Context.Service()("@opencode/Rpc") {
30
+ class Service69 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service13, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
43
43
  const bus = yield* Service79;
44
- const location = yield* Service73;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service71;
45
+ const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
48
48
  };
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
81
81
  const event = registered.event;
82
82
  const data = yield* encode(event.schema, args[1]);
83
83
  return yield* bus.publish(registered.definition, data, {
84
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
84
+ location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
85
  }).pipe(Effect.asVoid);
86
86
  })
87
87
  }
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service73, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service71, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service13.of({ register, call, client });
123
+ return Service69.of({ register, call, client });
124
124
  }));
125
- var node16 = makeLocationNode({ service: Service13, layer, deps: [node83, node76] });
125
+ var node72 = makeLocationNode({ service: Service69, layer, deps: [node83, node74] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
129
129
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
130
- location: optional2(Ref3)
130
+ location: optional2(Ref2)
131
131
  };
132
132
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
133
133
  var jsonSchemas = new WeakMap;
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
203
203
  ...payload,
204
204
  type: eventType(definition, name),
205
205
  data,
206
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
206
+ location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
207
207
  };
208
208
  });
209
209
 
210
- export { Service13, node16, exports_rpc, define2 };
210
+ export { Service69, node72, exports_rpc, define2 };
@@ -2,44 +2,44 @@ import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
4
  Info32
5
- } from "./file-4z6b0fg6.js";
5
+ } from "./session-4z6b0fg6.js";
6
6
  import {
7
7
  Info31
8
- } from "./file-3wfq9j39.js";
8
+ } from "./session-3wfq9j39.js";
9
9
  import {
10
10
  Service79,
11
11
  node83
12
- } from "./file-3pcz81vc.js";
12
+ } from "./session-vnt7ze4s.js";
13
13
  import {
14
14
  create3
15
- } from "./file-kg06axw8.js";
15
+ } from "./session-kg06axw8.js";
16
16
  import {
17
- ID11,
18
- Service67,
19
- node70
20
- } from "./file-qjhp7fv4.js";
17
+ ID14,
18
+ Service76,
19
+ node80
20
+ } from "./session-xfrftg31.js";
21
21
  import {
22
22
  __export
23
- } from "./file-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: () => Event13,
30
- Service: () => Service65,
31
- node: () => node68
29
+ Event: () => Event17,
30
+ Service: () => Service75,
31
+ node: () => node79
32
32
  });
33
33
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode-ai/schema/catalog";
36
- import { Event as Event13 } from "@opencode-ai/schema/catalog";
36
+ import { Event as Event17 } from "@opencode-ai/schema/catalog";
37
37
 
38
- class Service65 extends Context.Service()("@opencode/Catalog") {
38
+ class Service75 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service65, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service67;
42
+ const integrations = yield* Service76;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
128
128
  }),
129
129
  available: Effect.fn("Catalog.provider.available")(function* () {
130
130
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
131
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID11.make(provider.id))));
131
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID14.make(provider.id))));
132
132
  })
133
133
  },
134
134
  model: {
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
183
183
  })
184
184
  }
185
185
  };
186
- return Service65.of(result);
186
+ return Service75.of(result);
187
187
  }));
188
188
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
189
- var node68 = makeLocationNode({ service: Service65, layer, deps: [node83, node70] });
189
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node83, node80] });
190
190
 
191
- export { Service65, node68, exports_catalog2, Event13 };
191
+ export { Service75, node79, exports_catalog2, Event17 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-s9eewxz3.js";
3
+ } from "./session-tckp1j5y.js";
4
4
  import {
5
5
  Service79
6
- } from "./file-3pcz81vc.js";
6
+ } from "./session-vnt7ze4s.js";
7
7
  import {
8
- Service40
9
- } from "./file-sp5wnj6d.js";
8
+ Service36
9
+ } from "./session-q13zt0rt.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./file-p8qxwesx.js";
12
+ } from "./session-p8qxwesx.js";
13
13
  import {
14
- ID4,
15
- Service48
16
- } from "./file-ctb8fb4q.js";
14
+ ID5,
15
+ Service53
16
+ } from "./session-zr7byz86.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-mntxs535.js";
19
+ } from "./session-mntxs535.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./file-982e01ww.js";
22
+ } from "./session-982e01ww.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./file-45a3e49b.js";
25
+ } from "./session-vqnm39r0.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./file-hrvm11jt.js";
28
+ } from "./session-hrvm11jt.js";
29
29
  import {
30
30
  __export
31
- } from "./file-9rqn6x4v.js";
31
+ } from "./session-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service40;
45
+ const instances = yield* Service36;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service48;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service53;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service40;
77
+ const instances = yield* Service36;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service48;
80
+ const snapshot = yield* Service53;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./file-3pcz81vc.js";
4
+ } from "./session-vnt7ze4s.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-pj7daft9.js";
7
+ } from "./session-pkjas4h9.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-sk3qaz4a.js";
10
+ } from "./session-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./session-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError2,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service23,
22
+ Service: () => Service24,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
25
- layer: () => layer10,
26
- node: () => node26
24
+ configured: () => configured4,
25
+ layer: () => layer11,
26
+ node: () => node27
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode-ai/schema/pty";
35
35
  import { Global } from "@opencode-ai/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service23 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service24 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError2({ ptyID: id });
75
+ return yield* new NotFoundError3({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service23.of({
242
+ return Service24.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service23,
261
- layer: options === undefined ? layer10 : makeLayer(options),
258
+ var layer11 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service24,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
262
  deps: [node83, Global.node]
263
263
  });
264
- var node26 = configured3();
264
+ var node27 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError2, Service23, layer10, configured3, node26, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError3, Service24, layer11, configured4, node27, exports_persistent_pty, Handoff2 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./file-s9eewxz3.js";
4
+ } from "./session-tckp1j5y.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./file-3pcz81vc.js";
8
+ } from "./session-vnt7ze4s.js";
9
9
  import {
10
- Service45,
11
- node47
12
- } from "./file-rs5embep.js";
10
+ Service58,
11
+ node60
12
+ } from "./session-14f8jh9e.js";
13
13
  import {
14
- Service40,
15
- node42
16
- } from "./file-sp5wnj6d.js";
14
+ Service36,
15
+ node38
16
+ } from "./session-q13zt0rt.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-mntxs535.js";
19
+ } from "./session-mntxs535.js";
20
20
  import {
21
- make16
22
- } from "./file-e7gxy7fd.js";
21
+ make14
22
+ } from "./session-djtdz80w.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service36
26
- } from "./file-ddt2bs9e.js";
25
+ Service33
26
+ } from "./session-ca7w653e.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-45a3e49b.js";
29
+ } from "./session-vqnm39r0.js";
30
30
  import {
31
- Service52,
32
- node54
33
- } from "./file-savfhqcd.js";
31
+ Service56,
32
+ node58
33
+ } from "./session-fwm5qdh2.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-ssq3ctr8.js";
36
+ } from "./session-g963r9r4.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-keytvqp3.js";
39
+ } from "./session-70zb4fhk.js";
40
40
  import {
41
41
  __export
42
- } from "./file-9rqn6x4v.js";
42
+ } from "./session-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service35,
47
+ Service: () => Service32,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer16,
50
- node: () => node39,
49
+ layer: () => layer14,
50
+ node: () => node36,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
56
- class Service35 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service32 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer16 = Layer.effect(Service35, Effect.gen(function* () {
69
- const store = yield* Service52;
70
- const instances = yield* Service40;
68
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
69
+ const store = yield* Service56;
70
+ const instances = yield* Service36;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service45;
72
+ const jobs = yield* Service58;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service36.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service33.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make16({
91
+ const coordinator = yield* make14({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service35.of({
112
+ return Service32.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node39 = makeGlobalNode({
132
- service: Service35,
133
- layer: layer16,
134
- deps: [node54, node42, node83, node84, node47]
131
+ var node36 = makeGlobalNode({
132
+ service: Service32,
133
+ layer: layer14,
134
+ deps: [node58, node38, node83, node84, node60]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service35, Service35.of({
136
+ var noopLayer2 = Layer.succeed(Service32, Service32.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service35, terminal2, layer16, node39, noopLayer2, exports_execution };
145
+ export { Service32, terminal2, layer14, node36, noopLayer2, exports_execution };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-0e0xafbb.js";
3
+ } from "./session-0e0xafbb.js";
4
4
  import {
5
- Service64,
6
- node67
7
- } from "./file-7qygs87w.js";
5
+ Service51,
6
+ node53
7
+ } from "./session-0scqckt0.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service17,
17
+ Service: () => Service22,
18
18
  UnavailableError: () => UnavailableError2,
19
- layer: () => layer8,
20
- node: () => node20
19
+ layer: () => layer10,
20
+ node: () => node25
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode-ai/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service17 extends Context.Service()("@opencode/Generate") {
36
+ class Service22 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer8 = Layer.effect(Service17, Effect.gen(function* () {
38
+ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service64;
40
+ const resolver = yield* Service51;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -60,12 +60,12 @@ var layer8 = Layer.effect(Service17, Effect.gen(function* () {
60
60
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
61
61
  message: "Generation credentials are unavailable"
62
62
  })));
63
- return Service17.of({ text });
63
+ return Service22.of({ text });
64
64
  }));
65
- var node20 = makeLocationNode({
66
- service: Service17,
67
- layer: layer8,
68
- deps: [node67, llmClient2]
65
+ var node25 = makeLocationNode({
66
+ service: Service22,
67
+ layer: layer10,
68
+ deps: [node53, llmClient2]
69
69
  });
70
70
 
71
- export { ModelSelectionError2, UnavailableError2, Service17, layer8, node20, exports_generate };
71
+ export { ModelSelectionError2, UnavailableError2, Service22, layer10, node25, exports_generate };