@opencode-ai/core 0.0.0-dev-19270 → 0.0.0-dev-19272

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{event-logger-7xhsmzca.js → file-00reg2c2.js} +27 -27
  9. package/dist/chunks/{event-logger-k1nec7fn.js → file-027zpkb9.js} +46 -46
  10. package/dist/chunks/{event-logger-qyb7zzb8.js → file-0cz8qjvn.js} +24 -24
  11. package/dist/chunks/{event-logger-0e0xafbb.js → file-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{event-logger-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{event-logger-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{event-logger-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{event-logger-veabk5tt.js → file-0xd2d7hb.js} +5 -5
  16. package/dist/chunks/{event-logger-hr77wr0b.js → file-10ac5mb1.js} +4 -4
  17. package/dist/chunks/{event-logger-2a1acymz.js → file-15q8ja5w.js} +8 -8
  18. package/dist/chunks/{event-logger-a2j7myrd.js → file-16067esn.js} +13 -13
  19. package/dist/chunks/{event-logger-8rw9y0s2.js → file-18y9d6e3.js} +8 -8
  20. package/dist/chunks/{event-logger-1ct4r87x.js → file-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{event-logger-gst1f9je.js → file-1n6f46vg.js} +18 -18
  22. package/dist/chunks/{event-logger-gc58jpbv.js → file-1sh6j74x.js} +28 -28
  23. package/dist/chunks/{event-logger-v6xtkx9s.js → file-1twb386n.js} +19 -19
  24. package/dist/chunks/{event-logger-fs5fb795.js → file-1v2sb74s.js} +22 -22
  25. package/dist/chunks/{event-logger-57r6w3m4.js → file-1ywdb1gs.js} +14 -14
  26. package/dist/chunks/{event-logger-y8vkqrwp.js → file-1z0n5a5e.js} +1 -1
  27. package/dist/chunks/{event-logger-2qz6kd7g.js → file-1zmz9phy.js} +53 -53
  28. package/dist/chunks/{event-logger-tkqc8vjc.js → file-1zyg6qvf.js} +13 -13
  29. package/dist/chunks/{event-logger-8vb8v520.js → file-20gp0hkm.js} +5 -5
  30. package/dist/chunks/{event-logger-qa6veray.js → file-20m0c9gs.js} +39 -39
  31. package/dist/chunks/{event-logger-21r38tys.js → file-21r38tys.js} +1 -1
  32. package/dist/chunks/{event-logger-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{event-logger-7t0f4jwm.js → file-2d967x0d.js} +8 -8
  34. package/dist/chunks/{event-logger-649hrv18.js → file-2e59x59w.js} +22 -22
  35. package/dist/chunks/{event-logger-f7688yv9.js → file-2f3p36qg.js} +61 -61
  36. package/dist/chunks/{event-logger-2ht70gj7.js → file-2ht70gj7.js} +1 -1
  37. package/dist/chunks/{event-logger-aqhd25s6.js → file-2hxs042s.js} +11 -11
  38. package/dist/chunks/{event-logger-90nbqzba.js → file-2j2hxhmw.js} +8 -8
  39. package/dist/chunks/{event-logger-76ad13z7.js → file-2mzaxh2c.js} +24 -24
  40. package/dist/chunks/{event-logger-s13wvnd8.js → file-31fepvhr.js} +23 -23
  41. package/dist/chunks/{event-logger-04z34cyb.js → file-3bm961pq.js} +32 -32
  42. package/dist/chunks/{event-logger-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  43. package/dist/chunks/file-3jby5n97.js +247 -0
  44. package/dist/chunks/{event-logger-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{event-logger-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{event-logger-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{event-logger-8h5aq4xt.js → file-3wqg4ya9.js} +9 -9
  48. package/dist/chunks/{event-logger-nw9wwv0v.js → file-41783rkf.js} +17 -17
  49. package/dist/chunks/{event-logger-xjde6dvc.js → file-42dkd7sx.js} +9 -9
  50. package/dist/chunks/{event-logger-6vmh5z3m.js → file-439v5pv6.js} +10 -10
  51. package/dist/chunks/{event-logger-454k5vzh.js → file-454k5vzh.js} +1 -1
  52. package/dist/chunks/{event-logger-e82z9tr0.js → file-47gsdddb.js} +4 -4
  53. package/dist/chunks/{event-logger-2pcfmef0.js → file-4b2p4jhk.js} +25 -25
  54. package/dist/chunks/{event-logger-2vaatpma.js → file-4meew9ge.js} +22 -22
  55. package/dist/chunks/{event-logger-qa8hzp96.js → file-4q810h8d.js} +15 -15
  56. package/dist/chunks/{event-logger-4r2nyarf.js → file-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{event-logger-n38qs1ar.js → file-4x0nmcjx.js} +9 -9
  58. package/dist/chunks/{event-logger-zsaee4xm.js → file-4xq8pne6.js} +15 -15
  59. package/dist/chunks/{event-logger-651zrabc.js → file-4xzxjr5n.js} +4 -4
  60. package/dist/chunks/{event-logger-gcgemm0f.js → file-55n3z1fp.js} +25 -25
  61. package/dist/chunks/{event-logger-5daktx2q.js → file-5daktx2q.js} +1 -1
  62. package/dist/chunks/{event-logger-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
  63. package/dist/chunks/{event-logger-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
  64. package/dist/chunks/{event-logger-53aqztz0.js → file-5qw53pm7.js} +8 -8
  65. package/dist/chunks/{event-logger-tr5wmrcs.js → file-5raq1rfw.js} +2 -2
  66. package/dist/chunks/{event-logger-48dkwq03.js → file-5sz2f1pr.js} +3 -3
  67. package/dist/chunks/{event-logger-5a88k8qy.js → file-63qhkrdy.js} +6 -6
  68. package/dist/chunks/{event-logger-vv6k0gts.js → file-68fqgny1.js} +11 -11
  69. package/dist/chunks/{event-logger-e6dy5ms0.js → file-6cv54pwj.js} +13 -13
  70. package/dist/chunks/{event-logger-dh6cd1pj.js → file-6et5ytx9.js} +13 -13
  71. package/dist/chunks/{event-logger-2402vzrj.js → file-6h73sxmp.js} +5 -5
  72. package/dist/chunks/{event-logger-b27vhd2z.js → file-6hh8tjw2.js} +4 -4
  73. package/dist/chunks/{event-logger-mgnds49j.js → file-6jzsnms4.js} +10 -10
  74. package/dist/chunks/{event-logger-sbpbyj5x.js → file-6n4t6cts.js} +9 -9
  75. package/dist/chunks/{event-logger-9019yept.js → file-6qmx0jzx.js} +8 -8
  76. package/dist/chunks/{event-logger-77mw2pve.js → file-6s48shje.js} +3 -3
  77. package/dist/chunks/{event-logger-x69bxbzw.js → file-700rn1pz.js} +70 -70
  78. package/dist/chunks/{event-logger-711hfp6y.js → file-711hfp6y.js} +2 -2
  79. package/dist/chunks/{event-logger-jr5yayyw.js → file-714e9pdw.js} +23 -23
  80. package/dist/chunks/{event-logger-72nftnjy.js → file-72nftnjy.js} +2 -2
  81. package/dist/chunks/{event-logger-97f5v037.js → file-75yf2d83.js} +8 -8
  82. package/dist/chunks/{event-logger-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{event-logger-vnheh1tn.js → file-7cd45grp.js} +5 -5
  84. package/dist/chunks/{event-logger-5p68f9j8.js → file-7dpy3wbt.js} +33 -33
  85. package/dist/chunks/{event-logger-4mxskjcf.js → file-7n0kdm8r.js} +24 -24
  86. package/dist/chunks/{event-logger-dxwyf2vj.js → file-7n49nt1a.js} +46 -46
  87. package/dist/chunks/{event-logger-ap16wxb8.js → file-7s38b6sy.js} +35 -35
  88. package/dist/chunks/{event-logger-ksr7895y.js → file-7t8zkc5k.js} +13 -13
  89. package/dist/chunks/{event-logger-71r7jc4s.js → file-7v18zwys.js} +5 -5
  90. package/dist/chunks/{event-logger-fjvydvzm.js → file-7w3s9kd0.js} +4 -4
  91. package/dist/chunks/file-7zk4hah4.js +4 -0
  92. package/dist/chunks/{event-logger-kp4k4qeh.js → file-80pk0g76.js} +51 -51
  93. package/dist/chunks/{event-logger-azc58fv1.js → file-86qb2ahz.js} +93 -93
  94. package/dist/chunks/{event-logger-1zkycv9w.js → file-8987rwtd.js} +16 -16
  95. package/dist/chunks/{event-logger-qykqfys3.js → file-89kcqtpa.js} +1 -1
  96. package/dist/chunks/{event-logger-y5yt17rr.js → file-8jfkartp.js} +7 -7
  97. package/dist/chunks/{event-logger-s5dw67k6.js → file-8mx8wt4z.js} +23 -23
  98. package/dist/chunks/{event-logger-fdc960w3.js → file-8xyq3q5x.js} +11 -11
  99. package/dist/chunks/{event-logger-y7w38hka.js → file-90hty9ag.js} +8 -8
  100. package/dist/chunks/{event-logger-y2cqme3r.js → file-93a8yfjt.js} +5 -5
  101. package/dist/chunks/{event-logger-t7nk3an2.js → file-96mf783c.js} +16 -16
  102. package/dist/chunks/{event-logger-2kpxjnwm.js → file-995kfgp5.js} +61 -61
  103. package/dist/chunks/{event-logger-r1cq807p.js → file-9eaw7gz6.js} +11 -11
  104. package/dist/chunks/{event-logger-pswbxvaq.js → file-9qj19fry.js} +20 -20
  105. package/dist/chunks/{event-logger-9mxqc105.js → file-9tdr4743.js} +11 -11
  106. package/dist/chunks/{event-logger-kqrs6ffg.js → file-9tjsbxxt.js} +4 -4
  107. package/dist/chunks/{event-logger-p7s9z1vk.js → file-a0tz1fcg.js} +8 -8
  108. package/dist/chunks/{event-logger-px8jrnt8.js → file-a2t3hdqf.js} +22 -22
  109. package/dist/chunks/{event-logger-n8z0dz7q.js → file-a3m9jqrh.js} +41 -41
  110. package/dist/chunks/{event-logger-b1f53xvx.js → file-a760ba0t.js} +40 -40
  111. package/dist/chunks/{event-logger-arkp87cx.js → file-aa4w0yyg.js} +9 -9
  112. package/dist/chunks/{event-logger-aaet6srn.js → file-aaet6srn.js} +2 -2
  113. package/dist/chunks/{event-logger-cx47s3kk.js → file-abx9dtfn.js} +15 -15
  114. package/dist/chunks/{event-logger-cfsc9srb.js → file-acd73yp7.js} +2 -2
  115. package/dist/chunks/{event-logger-gqv6n70q.js → file-avp4f6gq.js} +22 -22
  116. package/dist/chunks/{event-logger-n1160xf3.js → file-avr9ncqd.js} +3 -3
  117. package/dist/chunks/{event-logger-0n3157te.js → file-aw7atsc2.js} +30 -30
  118. package/dist/chunks/{event-logger-azbx08pf.js → file-azbx08pf.js} +2 -2
  119. package/dist/chunks/{event-logger-smw8fna6.js → file-azhj5vsd.js} +4 -4
  120. package/dist/chunks/{event-logger-h74nk91f.js → file-b2heckpg.js} +9 -9
  121. package/dist/chunks/{event-logger-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{event-logger-b9wsbatv.js → file-b9wsbatv.js} +1 -1
  123. package/dist/chunks/{event-logger-8bz46mre.js → file-baqyzacq.js} +15 -15
  124. package/dist/chunks/{event-logger-g8tbs1mx.js → file-bd8895yt.js} +9 -9
  125. package/dist/chunks/{event-logger-02744596.js → file-bfqnwd64.js} +22 -22
  126. package/dist/chunks/{event-logger-m9pzte34.js → file-bvefb309.js} +29 -29
  127. package/dist/chunks/{event-logger-04ndcpas.js → file-c4j9y4rn.js} +6 -6
  128. package/dist/chunks/{event-logger-sag13hgn.js → file-c614c79v.js} +33 -33
  129. package/dist/chunks/{event-logger-xxm60j6r.js → file-ch51bjm6.js} +32 -32
  130. package/dist/chunks/{event-logger-eh0017dt.js → file-ch7tgcz2.js} +6 -6
  131. package/dist/chunks/{event-logger-qkdc4gh9.js → file-d01fwvvs.js} +32 -32
  132. package/dist/chunks/{event-logger-b49m8fgq.js → file-d1r6xp0s.js} +1 -1
  133. package/dist/chunks/{event-logger-y71avatq.js → file-dpkg50ah.js} +4 -4
  134. package/dist/chunks/file-dxj72tfx.js +18 -0
  135. package/dist/chunks/{event-logger-9356vnjg.js → file-ec12g7es.js} +10 -10
  136. package/dist/chunks/{event-logger-4ev3xkgk.js → file-edp744gf.js} +19 -19
  137. package/dist/chunks/{event-logger-bsxj805k.js → file-egdvntj9.js} +4 -4
  138. package/dist/chunks/{event-logger-2agsgd55.js → file-egvbpfah.js} +20 -20
  139. package/dist/chunks/{event-logger-5pmg8y2k.js → file-em4jqsae.js} +9 -9
  140. package/dist/chunks/{event-logger-pg0k6zd9.js → file-eqadegh7.js} +17 -17
  141. package/dist/chunks/{event-logger-04w48dza.js → file-es7k2nge.js} +18 -18
  142. package/dist/chunks/{event-logger-33a3999f.js → file-ev2rrb4j.js} +13 -13
  143. package/dist/chunks/{event-logger-qepd9qkj.js → file-f153bnw9.js} +32 -32
  144. package/dist/chunks/{event-logger-famd3pv6.js → file-famd3pv6.js} +2 -2
  145. package/dist/chunks/{event-logger-3egsw9h3.js → file-fhmwnx54.js} +16 -16
  146. package/dist/chunks/{event-logger-ny14xqs8.js → file-fqqeed3e.js} +3 -3
  147. package/dist/chunks/{event-logger-eh5astyw.js → file-fv5yxb1g.js} +15 -15
  148. package/dist/chunks/{event-logger-gaqvsmtp.js → file-fvkqsvkf.js} +13 -13
  149. package/dist/chunks/{event-logger-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{event-logger-fxypknc8.js → file-fxypknc8.js} +1 -1
  151. package/dist/chunks/{event-logger-hrvm11jt.js → file-g2dy4bvs.js} +3 -3
  152. package/dist/chunks/{event-logger-d72308c8.js → file-g2gt0w0k.js} +2 -2
  153. package/dist/chunks/{event-logger-6410wk0j.js → file-g8e12k89.js} +28 -28
  154. package/dist/chunks/{event-logger-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{event-logger-gdvy8fx6.js → file-gdvy8fx6.js} +1 -1
  156. package/dist/chunks/{event-logger-psmm2yth.js → file-genak0r7.js} +27 -27
  157. package/dist/chunks/{event-logger-n3jkd22a.js → file-gst7axd9.js} +4 -4
  158. package/dist/chunks/{event-logger-j6kh1gxc.js → file-gt6yvprt.js} +30 -30
  159. package/dist/chunks/{event-logger-ap61c4m7.js → file-gtx234ja.js} +11 -11
  160. package/dist/chunks/{event-logger-482fjgf8.js → file-h0epfjdv.js} +12 -12
  161. package/dist/chunks/{event-logger-zg8qpx08.js → file-h1jrq5re.js} +22 -22
  162. package/dist/chunks/{event-logger-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{event-logger-q9qp0n80.js → file-hdm5hsgj.js} +11 -11
  164. package/dist/chunks/{event-logger-heyhwy2w.js → file-heyhwy2w.js} +1 -1
  165. package/dist/chunks/{event-logger-52ahense.js → file-hr8t3zyz.js} +26 -26
  166. package/dist/chunks/{event-logger-6d7py5pp.js → file-hs6n7c7c.js} +6 -6
  167. package/dist/chunks/{event-logger-6yqvxqw6.js → file-htgpf65e.js} +4 -4
  168. package/dist/chunks/{event-logger-kvsjn1dr.js → file-hw4pv20g.js} +2 -2
  169. package/dist/chunks/{event-logger-0nsz8vzd.js → file-ja84rtcf.js} +9 -9
  170. package/dist/chunks/{event-logger-crmsxg30.js → file-jpjp7rjs.js} +37 -37
  171. package/dist/chunks/{event-logger-8vmp5gpy.js → file-jq3nctfs.js} +1 -1
  172. package/dist/chunks/{event-logger-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
  173. package/dist/chunks/{event-logger-8cpspsbc.js → file-k7hkxkr1.js} +46 -46
  174. package/dist/chunks/{event-logger-emyx9er5.js → file-kb18vgps.js} +5 -5
  175. package/dist/chunks/{event-logger-z4j8hfk3.js → file-kdvt95pv.js} +1 -1
  176. package/dist/chunks/{event-logger-5pea024z.js → file-ke5ewz7h.js} +35 -35
  177. package/dist/chunks/{event-logger-wxdqhjpe.js → file-kejcdhme.js} +32 -32
  178. package/dist/chunks/{event-logger-kg06axw8.js → file-kg06axw8.js} +1 -1
  179. package/dist/chunks/{event-logger-c2c2v0dr.js → file-kg4h0fdk.js} +7 -7
  180. package/dist/chunks/{event-logger-epfc0kkn.js → file-kh7gnveq.js} +48 -48
  181. package/dist/chunks/{event-logger-ewakerm7.js → file-kkak2gjn.js} +35 -35
  182. package/dist/chunks/{event-logger-j56a44mc.js → file-kp5z882f.js} +12 -12
  183. package/dist/chunks/{event-logger-e18fk74z.js → file-ky9h9abj.js} +29 -29
  184. package/dist/chunks/{event-logger-me1tkt4h.js → file-m6vwhxae.js} +13 -13
  185. package/dist/chunks/{event-logger-r8cjn694.js → file-m7zcd501.js} +15 -15
  186. package/dist/chunks/{event-logger-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{event-logger-kk00bynn.js → file-magykp64.js} +21 -21
  188. package/dist/chunks/{event-logger-jc1k2998.js → file-mfdhqe4j.js} +17 -17
  189. package/dist/chunks/{event-logger-33w4ejhs.js → file-mfqp6xfm.js} +9 -9
  190. package/dist/chunks/{event-logger-mn2bwfrj.js → file-mjypb2e5.js} +11 -11
  191. package/dist/chunks/{event-logger-nff8s0dr.js → file-mpxyhn9d.js} +9 -9
  192. package/dist/chunks/{event-logger-znjwsc62.js → file-mzfb76av.js} +4 -4
  193. package/dist/chunks/{event-logger-m7kk9p21.js → file-nj9fmwgy.js} +6 -6
  194. package/dist/chunks/{event-logger-ytej5dzn.js → file-nq9f4j49.js} +11 -11
  195. package/dist/chunks/{event-logger-hkymyjrq.js → file-nrewnjs6.js} +26 -26
  196. package/dist/chunks/{event-logger-95y1s46n.js → file-nsjxktg3.js} +32 -32
  197. package/dist/chunks/{event-logger-g0p24pj3.js → file-p3n0cezx.js} +4 -4
  198. package/dist/chunks/file-p46ta686.js +462 -0
  199. package/dist/chunks/{event-logger-9rx0ctva.js → file-p7g53rbe.js} +16 -16
  200. package/dist/chunks/{event-logger-wg9v2026.js → file-p7sv0kv1.js} +2 -2
  201. package/dist/chunks/{event-logger-j935v87r.js → file-paphc93g.js} +2 -2
  202. package/dist/chunks/{event-logger-qa3r735v.js → file-pawcwqnj.js} +25 -25
  203. package/dist/chunks/{event-logger-5ebw3s4g.js → file-pfq1ksym.js} +5 -5
  204. package/dist/chunks/{event-logger-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{event-logger-pknna89w.js → file-pknna89w.js} +1 -1
  206. package/dist/chunks/{event-logger-1n116cmy.js → file-pt34y05q.js} +9 -9
  207. package/dist/chunks/{event-logger-ehbr65jm.js → file-q2qmez4x.js} +41 -41
  208. package/dist/chunks/{event-logger-7dqw4kz8.js → file-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{event-logger-f16f7hh4.js → file-qkckfa6e.js} +32 -32
  210. package/dist/chunks/{event-logger-hkgsrpyg.js → file-qq8am05g.js} +6 -6
  211. package/dist/chunks/{event-logger-z709tr9t.js → file-qqk5wyw8.js} +9 -9
  212. package/dist/chunks/{event-logger-yjfqme9d.js → file-qs32hcek.js} +1 -1
  213. package/dist/chunks/{event-logger-qsdy395h.js → file-qsdy395h.js} +1 -1
  214. package/dist/chunks/{event-logger-9qm9egsn.js → file-qvbcabdc.js} +2 -2
  215. package/dist/chunks/file-qzmfez1f.js +22 -0
  216. package/dist/chunks/{event-logger-7yqjxrmz.js → file-r33ff4dw.js} +4 -4
  217. package/dist/chunks/{event-logger-mhkvc446.js → file-r5x6zcsm.js} +3 -3
  218. package/dist/chunks/{event-logger-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
  219. package/dist/chunks/{event-logger-f2n192rq.js → file-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{event-logger-r98e92ep.js → file-r98e92ep.js} +1 -1
  221. package/dist/chunks/{event-logger-fn21nrem.js → file-rbkeg46f.js} +18 -18
  222. package/dist/chunks/{event-logger-w803vjcr.js → file-rbnbtzf4.js} +21 -21
  223. package/dist/chunks/{event-logger-g6xkk4cs.js → file-rdqyyj99.js} +16 -16
  224. package/dist/chunks/{event-logger-dykj04b8.js → file-rg6ph823.js} +1 -1
  225. package/dist/chunks/{event-logger-8r3fgy27.js → file-rra91dx6.js} +5 -5
  226. package/dist/chunks/{event-logger-vgzs21vf.js → file-rx882sts.js} +10 -10
  227. package/dist/chunks/{event-logger-3dzkh6c7.js → file-rxez074z.js} +8 -8
  228. package/dist/chunks/{event-logger-c367n02b.js → file-s0611vc9.js} +21 -21
  229. package/dist/chunks/{event-logger-bt2q55qx.js → file-s8f0jrtd.js} +7 -7
  230. package/dist/chunks/{event-logger-sba4qhjf.js → file-sba4qhjf.js} +1 -1
  231. package/dist/chunks/{event-logger-qzmr9e0e.js → file-sbybs2v2.js} +10 -10
  232. package/dist/chunks/{event-logger-7z5zeem4.js → file-sc6hcnnz.js} +24 -24
  233. package/dist/chunks/{event-logger-avkcn1hw.js → file-sc8za2qh.js} +23 -23
  234. package/dist/chunks/{event-logger-mhpjr403.js → file-shn0ywqn.js} +37 -37
  235. package/dist/chunks/{event-logger-3wwadp1k.js → file-sjtsqb9r.js} +27 -27
  236. package/dist/chunks/{event-logger-3mqcfnym.js → file-sst1nn41.js} +6 -6
  237. package/dist/chunks/{event-logger-7zsp3549.js → file-t1qabjyn.js} +1 -1
  238. package/dist/chunks/{event-logger-1874dbcy.js → file-t7fxkjbz.js} +33 -33
  239. package/dist/chunks/{event-logger-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{event-logger-xbqx2yay.js → file-tb8dpv5p.js} +26 -26
  241. package/dist/chunks/{event-logger-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{event-logger-6exqp8n9.js → file-tdr9t4mh.js} +42 -42
  243. package/dist/chunks/{event-logger-dv0c27f7.js → file-thfztt2m.js} +46 -46
  244. package/dist/chunks/{event-logger-tjykrgmx.js → file-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{event-logger-nvxrz732.js → file-tk2rvp0q.js} +9 -9
  246. package/dist/chunks/{event-logger-pj7ws487.js → file-v6y89d02.js} +10 -10
  247. package/dist/chunks/{event-logger-zc6sjq0c.js → file-v9zxr500.js} +17 -17
  248. package/dist/chunks/{event-logger-7z350t8f.js → file-vbj99q9w.js} +4 -4
  249. package/dist/chunks/{event-logger-rar2k6k0.js → file-vbr8k7xx.js} +17 -17
  250. package/dist/chunks/{event-logger-v108a9gw.js → file-vf86qhjs.js} +19 -19
  251. package/dist/chunks/{event-logger-00rs7zn3.js → file-vg48r056.js} +8 -8
  252. package/dist/chunks/{event-logger-wnk3h3cv.js → file-vhda22q0.js} +30 -30
  253. package/dist/chunks/{event-logger-9e01map7.js → file-vmw8ntz2.js} +15 -15
  254. package/dist/chunks/{event-logger-73jkfec7.js → file-vrffs025.js} +9 -9
  255. package/dist/chunks/{event-logger-0n6ygqf2.js → file-vtvdbtra.js} +29 -29
  256. package/dist/chunks/{event-logger-eex93kgw.js → file-vvxk4g51.js} +89 -89
  257. package/dist/chunks/{event-logger-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{event-logger-wd87259q.js → file-wd87259q.js} +1 -1
  259. package/dist/chunks/{event-logger-z1ernczf.js → file-wgc2mr3y.js} +2 -2
  260. package/dist/chunks/{event-logger-73w840wv.js → file-wysnsbqm.js} +11 -11
  261. package/dist/chunks/{event-logger-78wbf0ts.js → file-x17e5jjd.js} +4 -4
  262. package/dist/chunks/{event-logger-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{event-logger-zrj0g0v3.js → file-x42cedzz.js} +15 -15
  264. package/dist/chunks/{event-logger-jf1fjy84.js → file-xmqh3v6j.js} +36 -36
  265. package/dist/chunks/{event-logger-mhqhjkck.js → file-xt79nmzr.js} +11 -11
  266. package/dist/chunks/{event-logger-wce688xf.js → file-xzzxrhge.js} +6 -6
  267. package/dist/chunks/{event-logger-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{event-logger-55xejxnm.js → file-y2jxh97m.js} +14 -14
  269. package/dist/chunks/{event-logger-bgf77dmf.js → file-y7f18nsc.js} +16 -16
  270. package/dist/chunks/{event-logger-er616wda.js → file-y9kct8vd.js} +8 -8
  271. package/dist/chunks/{event-logger-8hk1zmm4.js → file-yaamn39p.js} +11 -11
  272. package/dist/chunks/{event-logger-ajtjthsy.js → file-yg7sb877.js} +2 -2
  273. package/dist/chunks/{event-logger-473ehccc.js → file-yjagf5z6.js} +20 -20
  274. package/dist/chunks/{event-logger-tbyfaj9q.js → file-yjcamwv1.js} +11 -11
  275. package/dist/chunks/{event-logger-84er94dy.js → file-ytg3twhn.js} +14 -14
  276. package/dist/chunks/{event-logger-3883t5g1.js → file-yvfkj8fv.js} +5 -5
  277. package/dist/chunks/{event-logger-xp6539m8.js → file-yxptnz34.js} +33 -33
  278. package/dist/chunks/{event-logger-z1k01bn4.js → file-z1k01bn4.js} +2 -2
  279. package/dist/chunks/{event-logger-dv733n1z.js → file-z3ksxrt6.js} +11 -11
  280. package/dist/chunks/{event-logger-mf9n5a9p.js → file-z44vkrmb.js} +4 -4
  281. package/dist/chunks/{event-logger-29x78va6.js → file-z63w68vq.js} +6 -6
  282. package/dist/chunks/{event-logger-mq0j9q5v.js → file-zdenmwdn.js} +171 -171
  283. package/dist/chunks/{event-logger-3xk8ds7b.js → file-zk5c2nev.js} +22 -22
  284. package/dist/chunks/{event-logger-fgxghpax.js → file-zpfprgc4.js} +17 -17
  285. package/dist/chunks/{event-logger-gz6j7rd2.js → file-zqx2gt1x.js} +20 -20
  286. package/dist/chunks/{event-logger-wnn95480.js → file-zrqqs77b.js} +5 -5
  287. package/dist/chunks/{event-logger-qwn86fs0.js → file-zrt4f2sp.js} +12 -12
  288. package/dist/chunks/{event-logger-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +338 -338
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +115 -115
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +100 -100
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +2 -2
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +1 -1
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +78 -78
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +339 -339
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/event-logger-f4j0pa50.js +0 -4
  687. package/dist/chunks/event-logger-jvadnytq.js +0 -462
  688. package/dist/chunks/event-logger-nn0r0h9n.js +0 -247
  689. package/dist/chunks/event-logger-p2h6zvwc.js +0 -18
  690. package/dist/chunks/event-logger-tr4emeve.js +0 -22
  691. /package/dist/chunks/{event-logger-0fabt78z.js → file-0fabt78z.js} +0 -0
  692. /package/dist/chunks/{event-logger-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{event-logger-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{event-logger-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{event-logger-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{event-logger-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{event-logger-2710q6r3.js → file-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{event-logger-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{event-logger-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{event-logger-359p4xyc.js → file-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{event-logger-3asan66x.js → file-3asan66x.js} +0 -0
  702. /package/dist/chunks/{event-logger-3t738kvx.js → file-3t738kvx.js} +0 -0
  703. /package/dist/chunks/{event-logger-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{event-logger-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{event-logger-41nvscxy.js → file-41nvscxy.js} +0 -0
  706. /package/dist/chunks/{event-logger-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{event-logger-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{event-logger-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{event-logger-53557ph1.js → file-53557ph1.js} +0 -0
  710. /package/dist/chunks/{event-logger-550bvhaj.js → file-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{event-logger-6prwharc.js → file-6prwharc.js} +0 -0
  712. /package/dist/chunks/{event-logger-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{event-logger-7m9af43g.js → file-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{event-logger-822emrt2.js → file-822emrt2.js} +0 -0
  715. /package/dist/chunks/{event-logger-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{event-logger-8n3pysct.js → file-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{event-logger-982e01ww.js → file-982e01ww.js} +0 -0
  718. /package/dist/chunks/{event-logger-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{event-logger-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{event-logger-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
  721. /package/dist/chunks/{event-logger-af5trqkr.js → file-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{event-logger-afrmfg78.js → file-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{event-logger-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{event-logger-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{event-logger-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{event-logger-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{event-logger-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{event-logger-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{event-logger-d9fn303g.js → file-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{event-logger-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{event-logger-dajrwvna.js → file-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{event-logger-dap0rakb.js → file-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{event-logger-df08tz66.js → file-df08tz66.js} +0 -0
  734. /package/dist/chunks/{event-logger-dy18nga0.js → file-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{event-logger-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{event-logger-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{event-logger-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{event-logger-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{event-logger-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{event-logger-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{event-logger-faypxj3z.js → file-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{event-logger-fd410y7t.js → file-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{event-logger-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{event-logger-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{event-logger-g86h250q.js → file-g86h250q.js} +0 -0
  746. /package/dist/chunks/{event-logger-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{event-logger-hk9envan.js → file-hk9envan.js} +0 -0
  748. /package/dist/chunks/{event-logger-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{event-logger-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{event-logger-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{event-logger-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{event-logger-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{event-logger-mntxs535.js → file-mntxs535.js} +0 -0
  754. /package/dist/chunks/{event-logger-mp448xyj.js → file-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{event-logger-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{event-logger-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{event-logger-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{event-logger-njntx4h6.js → file-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{event-logger-p8qxwesx.js → file-p8qxwesx.js} +0 -0
  760. /package/dist/chunks/{event-logger-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{event-logger-q74kybfr.js → file-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{event-logger-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{event-logger-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{event-logger-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{event-logger-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{event-logger-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{event-logger-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{event-logger-se0s1eqw.js → file-se0s1eqw.js} +0 -0
  769. /package/dist/chunks/{event-logger-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{event-logger-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{event-logger-twg0f83k.js → file-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{event-logger-w803qqfp.js → file-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{event-logger-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{event-logger-wtztk69x.js → file-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{event-logger-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{event-logger-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
  777. /package/dist/chunks/{event-logger-x61499pn.js → file-x61499pn.js} +0 -0
  778. /package/dist/chunks/{event-logger-y44na4kk.js → file-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{event-logger-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{event-logger-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{event-logger-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID17,
2
+ ID10,
3
3
  Family2
4
- } from "./event-logger-55xejxnm.js";
4
+ } from "./file-y2jxh97m.js";
5
5
  import {
6
- Service67
7
- } from "./event-logger-k1nec7fn.js";
6
+ Service55
7
+ } from "./file-027zpkb9.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./event-logger-bt2q55qx.js";
10
+ } from "./file-s8f0jrtd.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service67;
39
+ const config = yield* Service55;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID17.make(item.key);
66
+ model.modelID = ID10.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make4();
128
+ var LMStudioPlugin2 = make9();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make4, LMStudioPlugin2 };
145
+ export { make9, LMStudioPlugin2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./event-logger-3egsw9h3.js";
2
+ Service76,
3
+ node81
4
+ } from "./file-fhmwnx54.js";
5
5
  import {
6
6
  create3
7
- } from "./event-logger-kg06axw8.js";
7
+ } from "./file-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./event-logger-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event16,
18
- ID: () => ID13,
19
- Info: () => Info28,
17
+ Event: () => Event18,
18
+ ID: () => ID14,
19
+ Info: () => Info29,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service70,
22
22
  defaultID: () => defaultID2,
23
- node: () => node79
23
+ node: () => node75
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode-ai/schema/agent";
29
29
  import { Global } from "@opencode-ai/util/global";
30
- import { Event as Event16 } from "@opencode-ai/schema/agent";
30
+ import { Event as Event18 } from "@opencode-ai/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID13 = Agent.ID;
33
+ var ID14 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID13.make("build");
35
+ var defaultID2 = ID14.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info28 = Agent.Info;
37
+ var Info29 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service70 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
42
- const bus = yield* Service79;
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
+ const bus = yield* Service76;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info28.default(id);
60
+ const defaults = Info29.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID13.make("build")));
82
+ const build = selectable(data.agents.get(ID14.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service70.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID13.make(id));
99
+ return state.get().agents.get(ID14.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID13.make(id);
104
+ const selected = ID14.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node79 = makeLocationNode({ service: Service74, layer, deps: [node84, Global.node] });
119
+ var node75 = makeLocationNode({ service: Service70, layer, deps: [node81, Global.node] });
120
120
 
121
- export { ID13, Name3, defaultID2, Color2, Info28, Service74, node79, exports_agent4, Event16 };
121
+ export { ID14, Name3, defaultID2, Color2, Info29, Service70, node75, exports_agent4, Event18 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service56
3
- } from "./event-logger-f7688yv9.js";
2
+ Service67
3
+ } from "./file-2f3p36qg.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./event-logger-a1tpkmh4.js";
7
+ } from "./file-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./event-logger-3v8g72cx.js";
10
+ } from "./file-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./event-logger-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input6,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input10,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin7,
22
+ Plugin: () => Plugin42,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name6
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name6 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name10 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input6 = Schema.Struct({
41
+ var Input10 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input6.fields.format,
51
+ format: Input10.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin7 = {
95
+ var Plugin42 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service56;
99
+ const permission = yield* Service67;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name6,
101
+ name: name10,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input6,
103
+ description: description5,
104
+ input: Input10,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin7 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name6,
112
+ action: name10,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin7, extractTextFromHTML2, exports_webfetch };
170
+ export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin42, extractTextFromHTML2, exports_webfetch };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./event-logger-3egsw9h3.js";
2
+ Service76,
3
+ node81
4
+ } from "./file-fhmwnx54.js";
5
5
  import {
6
- Service71,
7
- node76
8
- } from "./event-logger-fgxghpax.js";
6
+ Service74,
7
+ node79
8
+ } from "./file-zpfprgc4.js";
9
9
  import {
10
- ID10
11
- } from "./event-logger-f4j0pa50.js";
10
+ ID2
11
+ } from "./file-7zk4hah4.js";
12
12
  import {
13
- Service66,
13
+ Service57,
14
14
  login2,
15
- node71
16
- } from "./event-logger-dh6cd1pj.js";
15
+ node61
16
+ } from "./file-6et5ytx9.js";
17
17
  import {
18
18
  lazy2
19
- } from "./event-logger-88xbtdfr.js";
19
+ } from "./file-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./event-logger-9rqn6x4v.js";
22
+ } from "./file-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event12,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info14,
31
- NotFoundError: () => NotFoundError8,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service65,
33
+ Service: () => Service17,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node70
35
+ node: () => node20
36
36
  });
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode-ai/schema/pty";
40
- import { Event as Event12 } from "@opencode-ai/schema/pty";
40
+ import { Event as Event4 } from "@opencode-ai/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info14 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID10
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID10
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service65 extends Context.Service()("@opencode/Pty") {
58
+ class Service17 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service65, Effect.gen(function* () {
61
- const bus = yield* Service79;
62
- const location = yield* Service71;
63
- const shell = yield* Service66;
60
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
61
+ const bus = yield* Service76;
62
+ const location = yield* Service74;
63
+ const shell = yield* Service57;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError8({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID10.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service65.of({ list, get, create, update, remove, write, attach });
271
+ return Service17.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node70 = makeLocationNode({
274
- service: Service65,
273
+ var node20 = makeLocationNode({
274
+ service: Service17,
275
275
  layer,
276
- deps: [node84, node76, node71]
276
+ deps: [node81, node79, node61]
277
277
  });
278
278
 
279
- export { Info14, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service65, node70, exports_pty, Event12 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node20, exports_pty, Event4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./event-logger-p8qxwesx.js";
3
+ } from "./file-p8qxwesx.js";
4
4
  import {
5
- Service71
6
- } from "./event-logger-fgxghpax.js";
5
+ Service74
6
+ } from "./file-zpfprgc4.js";
7
7
  import {
8
- Service50
9
- } from "./event-logger-04w48dza.js";
8
+ Service66
9
+ } from "./file-es7k2nge.js";
10
10
  import {
11
- Service5
12
- } from "./event-logger-3xk8ds7b.js";
11
+ Service10
12
+ } from "./file-zk5c2nev.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./event-logger-2a5m3afh.js";
15
+ } from "./file-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service4
27
- } from "./event-logger-jc1k2998.js";
26
+ Service11
27
+ } from "./file-mfdhqe4j.js";
28
28
  import {
29
29
  __export
30
- } from "./event-logger-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin11,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin38,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent5
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode-ai/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode-ai/util/fs-util";
45
- var name10 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin11 = {
58
+ var Plugin38 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service4;
62
- const access = yield* Service50;
63
- const sessionInstructions = yield* Service5;
61
+ const reader = yield* Service11;
62
+ const access = yield* Service66;
63
+ const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service71;
65
+ const location = yield* Service74;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin11 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent5 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name10, Input10, Plugin11, toModelContent5, exports_read };
182
+ export { name6, Input6, Plugin38, toModelContent4, exports_read };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service28,
10
- node: () => node31
9
+ Service: () => Service39,
10
+ node: () => node43
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode-ai/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
15
15
 
16
- class Service28 extends Context.Service()("@opencode/Instance") {
16
+ class Service39 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node31 = LayerNode.unbound(Service28, Node.tags.values.global);
18
+ var node43 = LayerNode.unbound(Service39, Node.tags.values.global);
19
19
 
20
- export { Service28, node31, exports_service2 };
20
+ export { Service39, node43, exports_service2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./event-logger-bsxj805k.js";
4
+ } from "./file-egdvntj9.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode-ai/ai";