@opencode/core 0.0.0-dev-20081 → 0.0.0-dev-20082
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{provider-jk28b3wq.js → mime-00kjgt8x.js} +32 -32
- package/dist/chunks/{provider-nq2bdnnt.js → mime-038cbjbn.js} +14 -14
- package/dist/chunks/{provider-yfsnday6.js → mime-05ay0q20.js} +38 -38
- package/dist/chunks/{provider-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-yjptyezs.js → mime-0r7yqxbf.js} +5 -5
- package/dist/chunks/{provider-3rtxz4nr.js → mime-0tzy42a9.js} +8 -8
- package/dist/chunks/{provider-mp0zvkr9.js → mime-153c4z9z.js} +17 -17
- package/dist/chunks/{provider-6ey51n48.js → mime-16q9e8vm.js} +7 -7
- package/dist/chunks/{provider-nwprk3pz.js → mime-170hdxs4.js} +4 -4
- package/dist/chunks/{provider-x7whjj4n.js → mime-182s9w42.js} +308 -308
- package/dist/chunks/{provider-dwhz4sb6.js → mime-1a12bnb5.js} +3 -3
- package/dist/chunks/{provider-r8xr0va3.js → mime-1acjjqhc.js} +4 -4
- package/dist/chunks/{provider-wppc7r2t.js → mime-1bpqmtaz.js} +14 -14
- package/dist/chunks/{provider-a25v8pqq.js → mime-1d35eqgr.js} +5 -5
- package/dist/chunks/{provider-brdwt0ds.js → mime-1dah21z9.js} +35 -35
- package/dist/chunks/{provider-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-626ykbw3.js → mime-1ef46ta4.js} +11 -11
- package/dist/chunks/{provider-6zn87t6x.js → mime-1fypxrxq.js} +43 -43
- package/dist/chunks/{provider-w4arg62q.js → mime-1nzs1dt7.js} +6 -6
- package/dist/chunks/{provider-rgtdre32.js → mime-1p7zzgff.js} +16 -16
- package/dist/chunks/{provider-ht5dkjxb.js → mime-1q9kvn7y.js} +8 -8
- package/dist/chunks/{provider-0x5b3vy1.js → mime-1rzq4h8b.js} +6 -6
- package/dist/chunks/{provider-1ygqh575.js → mime-1ygqh575.js} +2 -2
- package/dist/chunks/{provider-rtbgwnjd.js → mime-209t9eg4.js} +13 -13
- package/dist/chunks/{provider-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{provider-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-483kse91.js → mime-26nae1tf.js} +9 -9
- package/dist/chunks/{provider-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{provider-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-z4ygwn82.js → mime-2bekqz3a.js} +12 -12
- package/dist/chunks/{provider-v0tcgb28.js → mime-2gw68b84.js} +18 -18
- package/dist/chunks/{provider-qgn6gcr1.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{provider-qm204dz4.js → mime-2kdwgsh2.js} +2 -2
- package/dist/chunks/{provider-cz2kfr7d.js → mime-2mfz3bef.js} +3 -3
- package/dist/chunks/{provider-wntb1c0g.js → mime-2s2q4h4d.js} +6 -6
- package/dist/chunks/{provider-g182t41k.js → mime-2s5q0hbn.js} +50 -50
- package/dist/chunks/{provider-4m2hcyae.js → mime-2vm2mn6r.js} +31 -31
- package/dist/chunks/{provider-f73rjn58.js → mime-2vs2nh1n.js} +4 -4
- package/dist/chunks/{provider-pcfctzn4.js → mime-2xnfx9dh.js} +17 -17
- package/dist/chunks/{provider-t6rqekt4.js → mime-30vqxvem.js} +6 -6
- package/dist/chunks/{provider-5fwmp4v5.js → mime-35kmpahp.js} +4 -4
- package/dist/chunks/{provider-583e1kgc.js → mime-37mgqk6f.js} +19 -19
- package/dist/chunks/{provider-1dg03anb.js → mime-39jcvt2n.js} +2 -2
- package/dist/chunks/{provider-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-cfx7m4ef.js → mime-3t50tqxz.js} +10 -10
- package/dist/chunks/{provider-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-9xvq3m7s.js → mime-3w0fmcng.js} +5 -5
- package/dist/chunks/{provider-y5dj3dxk.js → mime-3wrtxrr4.js} +6 -6
- package/dist/chunks/{provider-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-zs9c6f6y.js → mime-41km3kz5.js} +20 -20
- package/dist/chunks/{provider-wxv20f1z.js → mime-44d35g97.js} +23 -23
- package/dist/chunks/{provider-c74pjr4b.js → mime-4b4ywecx.js} +10 -10
- package/dist/chunks/{provider-11shpjhc.js → mime-4crc4jdm.js} +3 -3
- package/dist/chunks/{provider-kfcyjpg8.js → mime-4fvze959.js} +43 -43
- package/dist/chunks/{provider-7289fqfg.js → mime-54g84kz9.js} +9 -9
- package/dist/chunks/{provider-rzz71nkp.js → mime-55b8r06m.js} +65 -65
- package/dist/chunks/{provider-drwq78ky.js → mime-57b9ws8p.js} +5 -5
- package/dist/chunks/{provider-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{provider-1p8x96d2.js → mime-5bev5725.js} +11 -11
- package/dist/chunks/{provider-6w0yw6t0.js → mime-5cmajn7h.js} +7 -7
- package/dist/chunks/{provider-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-5ekn9679.js → mime-5ekn9679.js} +1 -1
- package/dist/chunks/{provider-7v81x33d.js → mime-5fb55ywp.js} +9 -9
- package/dist/chunks/{provider-f8wkwma2.js → mime-5s4prcyn.js} +27 -27
- package/dist/chunks/{provider-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-444r4drm.js → mime-5w36kk3z.js} +21 -21
- package/dist/chunks/{provider-p37cw4rj.js → mime-5yzzbxa7.js} +8 -8
- package/dist/chunks/{provider-v8ew62n7.js → mime-646tc8py.js} +4 -4
- package/dist/chunks/{provider-3dv8501d.js → mime-6540dvt1.js} +7 -7
- package/dist/chunks/{provider-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{provider-fdms3n6w.js → mime-6hjx5zpb.js} +9 -9
- package/dist/chunks/{provider-c0se6qj2.js → mime-6j8bnvkm.js} +2 -2
- package/dist/chunks/{provider-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-kcvawfm7.js → mime-6r5c0w9g.js} +26 -26
- package/dist/chunks/{provider-sz6yn7q3.js → mime-6rfetefd.js} +3 -3
- package/dist/chunks/{provider-2jhntd1c.js → mime-77a7k1x9.js} +27 -27
- package/dist/chunks/{provider-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-1w85egtv.js → mime-7p4zv7at.js} +15 -14
- package/dist/chunks/{provider-9z7dfynh.js → mime-7r6qf5r7.js} +16 -16
- package/dist/chunks/{provider-msf09fhm.js → mime-7tycp833.js} +9 -9
- package/dist/chunks/{provider-zjnvhswx.js → mime-7wny7pda.js} +11 -11
- package/dist/chunks/{provider-nxhte90z.js → mime-82e83hjb.js} +13 -13
- package/dist/chunks/{provider-m38g9vj0.js → mime-83m6sd17.js} +4 -4
- package/dist/chunks/{provider-d858xzj7.js → mime-86qzxe6p.js} +4 -4
- package/dist/chunks/{provider-ykkx6rx5.js → mime-887dxsd3.js} +28 -28
- package/dist/chunks/{provider-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{provider-3eghbq6c.js → mime-8ac1j38b.js} +20 -20
- package/dist/chunks/{provider-hmjryk6b.js → mime-8cawjpeg.js} +74 -74
- package/dist/chunks/{provider-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-atzrj6z4.js → mime-8wpn150k.js} +5 -5
- package/dist/chunks/{provider-94ek1h2f.js → mime-94ek1h2f.js} +2 -2
- package/dist/chunks/{provider-cjwqz1xn.js → mime-94qf5r5e.js} +11 -11
- package/dist/chunks/{provider-jg5jybkd.js → mime-9522f170.js} +9 -9
- package/dist/chunks/{provider-njfpvtym.js → mime-95demef3.js} +18 -18
- package/dist/chunks/{provider-zed4mej1.js → mime-96hjzxkc.js} +14 -14
- package/dist/chunks/{provider-mt4r3ktz.js → mime-97sgz6yw.js} +17 -17
- package/dist/chunks/{provider-9tfb63c1.js → mime-a1bdy4ck.js} +11 -11
- package/dist/chunks/{provider-dc7b9519.js → mime-a7hf18pz.js} +12 -12
- package/dist/chunks/{provider-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-dg2cj1yd.js → mime-ae0nwvy8.js} +4 -4
- package/dist/chunks/{provider-b7j7903f.js → mime-afed7ext.js} +5 -5
- package/dist/chunks/{provider-9cfx1f1g.js → mime-ajt4fata.js} +5 -5
- package/dist/chunks/{provider-f0ce8fyc.js → mime-amgtyp96.js} +17 -17
- package/dist/chunks/{provider-8bxtdccr.js → mime-anq3081s.js} +10 -10
- package/dist/chunks/{provider-886a4kvd.js → mime-b2vtx10y.js} +27 -27
- package/dist/chunks/{provider-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-21981gj5.js → mime-b95dy7zp.js} +4 -4
- package/dist/chunks/{provider-nd8t3rxx.js → mime-bbjzvta2.js} +13 -13
- package/dist/chunks/{provider-983tcqe7.js → mime-bc3t5yes.js} +24 -24
- package/dist/chunks/mime-bdqechhr.js +26 -0
- package/dist/chunks/{provider-ppb0jbcv.js → mime-bg87x2pg.js} +13 -13
- package/dist/chunks/{provider-ybhbtxjg.js → mime-bpcm8v83.js} +9 -9
- package/dist/chunks/{provider-f0g62jwn.js → mime-bshz36e2.js} +37 -37
- package/dist/chunks/{provider-aekkhrjq.js → mime-btb741xx.js} +4 -4
- package/dist/chunks/{provider-s736366c.js → mime-c1ckp43n.js} +7 -7
- package/dist/chunks/{provider-t18fb8m5.js → mime-c8cch34d.js} +10 -10
- package/dist/chunks/{provider-a56n2bgv.js → mime-cf1secj6.js} +21 -21
- package/dist/chunks/{provider-mnbh32fx.js → mime-cjwramev.js} +6 -6
- package/dist/chunks/{provider-ckecvw8r.js → mime-ckecvw8r.js} +2 -2
- package/dist/chunks/{provider-pgahk4v0.js → mime-d1r7fz6b.js} +11 -11
- package/dist/chunks/{provider-p44d8wdy.js → mime-d2aac7k2.js} +5 -5
- package/dist/chunks/{provider-25wm0g8j.js → mime-d44j1b50.js} +8 -8
- package/dist/chunks/{provider-8wry8wmy.js → mime-d866bxqg.js} +11 -11
- package/dist/chunks/{provider-mpjm327k.js → mime-de35ch4m.js} +11 -11
- package/dist/chunks/{provider-pmr4s4kc.js → mime-dfe8djrf.js} +4 -4
- package/dist/chunks/{provider-nxf437fc.js → mime-dp1ryh00.js} +16 -16
- package/dist/chunks/{provider-289htsz9.js → mime-dqm8k5gs.js} +33 -33
- package/dist/chunks/{provider-5f8r53dv.js → mime-ds0wtj4e.js} +1 -1
- package/dist/chunks/{provider-z1x1gfhs.js → mime-dtt66365.js} +24 -24
- package/dist/chunks/{provider-1n7vwgcr.js → mime-dy59ndr5.js} +52 -52
- package/dist/chunks/{provider-48e6h404.js → mime-e0ps24dg.js} +24 -24
- package/dist/chunks/{provider-z2d9ad0a.js → mime-e18zzkty.js} +5 -5
- package/dist/chunks/{provider-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{provider-1tmaqf5z.js → mime-e8yv0hf3.js} +4 -4
- package/dist/chunks/{provider-9e3vcssh.js → mime-ec87kc5z.js} +4 -4
- package/dist/chunks/{provider-t9cmg2g5.js → mime-ed1snsbs.js} +28 -28
- package/dist/chunks/{provider-1pgwehn0.js → mime-eefhezaq.js} +130 -130
- package/dist/chunks/{provider-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-qaqqfk1g.js → mime-ekv8efyj.js} +11 -11
- package/dist/chunks/{provider-bw7ephcx.js → mime-emzh0g24.js} +22 -22
- package/dist/chunks/{provider-mhkvc446.js → mime-eq1pz5kg.js} +3 -3
- package/dist/chunks/{provider-erw5rpbs.js → mime-erw5rpbs.js} +2 -2
- package/dist/chunks/{provider-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-ydh4z9kh.js → mime-evbat1kq.js} +30 -30
- package/dist/chunks/{provider-2j5dfjra.js → mime-ey8kmd5x.js} +18 -18
- package/dist/chunks/{provider-k53npxr2.js → mime-ezyw3hyt.js} +1 -1
- package/dist/chunks/{provider-djyzjjqa.js → mime-f0p6wgfs.js} +15 -15
- package/dist/chunks/{provider-gqvaak2s.js → mime-f1q6nvme.js} +1 -1
- package/dist/chunks/{provider-dxr1feyg.js → mime-f2dxdeh3.js} +14 -14
- package/dist/chunks/{provider-c08eebd0.js → mime-fcmgfk6f.js} +22 -22
- package/dist/chunks/{provider-z9rwy7fx.js → mime-fee1sgdn.js} +22 -22
- package/dist/chunks/{provider-hbyhqfhs.js → mime-fhz5gfgy.js} +5 -5
- package/dist/chunks/{provider-jw3ammcf.js → mime-fp67s591.js} +16 -16
- package/dist/chunks/{provider-jexxy024.js → mime-fpnx24t4.js} +3 -3
- package/dist/chunks/{provider-1e9cjvdj.js → mime-fs57cj69.js} +7 -7
- package/dist/chunks/{provider-m28tfe1w.js → mime-g2y161wv.js} +8 -8
- package/dist/chunks/{provider-tesvfhj5.js → mime-g51zwe1j.js} +15 -15
- package/dist/chunks/{provider-csqp4m5b.js → mime-ga3gdcep.js} +8 -8
- package/dist/chunks/{provider-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-r1b6zck5.js → mime-gqegm53c.js} +11 -11
- package/dist/chunks/{provider-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{provider-vmax8pys.js → mime-gxvazm9p.js} +11 -11
- package/dist/chunks/{provider-gfbdweg3.js → mime-h0cakgky.js} +5 -5
- package/dist/chunks/{provider-h6r3nrb9.js → mime-h6r3nrb9.js} +1 -1
- package/dist/chunks/{provider-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-0nb8tj3r.js → mime-h877p9eh.js} +8 -8
- package/dist/chunks/{provider-yq2cczkq.js → mime-hdzt82x2.js} +9 -9
- package/dist/chunks/mime-hr9dp009.js +4 -0
- package/dist/chunks/{provider-jbfcvfnq.js → mime-hvjvz7ze.js} +10 -10
- package/dist/chunks/{provider-ax84d1xf.js → mime-j36xhj14.js} +30 -30
- package/dist/chunks/{provider-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-rb0gn87w.js → mime-j9j6vs9t.js} +24 -24
- package/dist/chunks/{provider-8y2fx2dx.js → mime-jpf1a9kn.js} +46 -46
- package/dist/chunks/{provider-n46pycax.js → mime-jpxt7vtw.js} +5 -5
- package/dist/chunks/{provider-hz0q9sdq.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{provider-6kbcyghs.js → mime-k28tmd1k.js} +2 -2
- package/dist/chunks/{provider-k3c624dm.js → mime-k3c624dm.js} +3 -3
- package/dist/chunks/{provider-xjg1npdn.js → mime-k4q19yth.js} +13 -13
- package/dist/chunks/{provider-9m3e72t0.js → mime-k70wg4vh.js} +1 -1
- package/dist/chunks/{provider-1g7epwpd.js → mime-k8962brh.js} +4 -4
- package/dist/chunks/{provider-xf0nr9dv.js → mime-kb6gw2zp.js} +4 -4
- package/dist/chunks/{provider-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-ex7nm40d.js → mime-m5mm7eg1.js} +7 -7
- package/dist/chunks/{provider-ah363fah.js → mime-m6q70yxa.js} +25 -25
- package/dist/chunks/{provider-6cbkac1a.js → mime-m72tqvbf.js} +17 -17
- package/dist/chunks/{provider-sw9z901w.js → mime-m7x0jkmn.js} +3 -3
- package/dist/chunks/{provider-qvk0gew2.js → mime-m9pdr671.js} +32 -32
- package/dist/chunks/{provider-6r79s7vx.js → mime-m9rvph0x.js} +8 -8
- package/dist/chunks/{provider-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-gp0s93m5.js → mime-mb1qbq9t.js} +26 -26
- package/dist/chunks/{provider-57qh049z.js → mime-mbpz5yq0.js} +11 -11
- package/dist/chunks/{provider-3qmd0ebz.js → mime-mdr8ar5f.js} +12 -12
- package/dist/chunks/{provider-zcqg046m.js → mime-mgmaefw5.js} +6 -6
- package/dist/chunks/{provider-qhvf1q99.js → mime-mtxqaypk.js} +88 -88
- package/dist/chunks/{provider-mvksx64m.js → mime-n1ka8r9d.js} +4 -4
- package/dist/chunks/{provider-anj6srtj.js → mime-nd3qgbwe.js} +10 -10
- package/dist/chunks/{provider-vg2ry8eg.js → mime-ndz9h71m.js} +3 -3
- package/dist/chunks/{provider-b2att0km.js → mime-ny1bawyf.js} +17 -17
- package/dist/chunks/{provider-znn6tx0t.js → mime-p3vh2ta0.js} +21 -21
- package/dist/chunks/{provider-qkjm0tr9.js → mime-p43tgfkg.js} +34 -34
- package/dist/chunks/{provider-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{provider-kkagwda7.js → mime-q2kneea3.js} +11 -11
- package/dist/chunks/{provider-a3r4dcrj.js → mime-q970vn6j.js} +2 -2
- package/dist/chunks/{provider-wx7bb5kt.js → mime-q9s0hka4.js} +4 -4
- package/dist/chunks/{provider-qg0jgkcp.js → mime-qg0jgkcp.js} +2 -2
- package/dist/chunks/{provider-t19n1wc4.js → mime-qm1jf1xc.js} +25 -25
- package/dist/chunks/{provider-2sejkfem.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{provider-n9srjkx5.js → mime-qms6mpje.js} +20 -20
- package/dist/chunks/{provider-y7x142mt.js → mime-qs001aqx.js} +11 -11
- package/dist/chunks/{provider-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-xz41y20a.js → mime-qvzr2hby.js} +43 -43
- package/dist/chunks/{provider-q38jyk3g.js → mime-qxatxkvx.js} +9 -9
- package/dist/chunks/{provider-0dtxedqk.js → mime-r3q38ah7.js} +10 -10
- package/dist/chunks/{provider-ngqyks8r.js → mime-rb662jkw.js} +12 -12
- package/dist/chunks/{provider-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-rmk2c50f.js → mime-rf80fxgj.js} +5 -5
- package/dist/chunks/{provider-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{provider-f8y27661.js → mime-sk4fpzkz.js} +16 -16
- package/dist/chunks/{provider-8tn24nrr.js → mime-skqqy3tc.js} +7 -7
- package/dist/chunks/{provider-9gea571p.js → mime-sxzvkvgj.js} +6 -6
- package/dist/chunks/{provider-csrebfve.js → mime-t2cfyv1x.js} +11 -11
- package/dist/chunks/{provider-rhjbct0v.js → mime-t550f9t1.js} +4 -4
- package/dist/chunks/{provider-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{provider-tgsp8mvr.js → mime-tggd67fe.js} +13 -13
- package/dist/chunks/{provider-7nrrz4vd.js → mime-tgwh4g45.js} +3 -3
- package/dist/chunks/{provider-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-ff7nd16b.js → mime-twqbsrwr.js} +17 -17
- package/dist/chunks/mime-v1faaxn9.js +18 -0
- package/dist/chunks/{provider-tkkrdc9c.js → mime-v553wp33.js} +48 -48
- package/dist/chunks/{provider-r3rxn5pd.js → mime-v6v677s0.js} +24 -24
- package/dist/chunks/{provider-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-9jtm8sj6.js → mime-vfwfag5t.js} +24 -24
- package/dist/chunks/{provider-gvv1stch.js → mime-vh73hc5m.js} +31 -31
- package/dist/chunks/{provider-vtxr0yy2.js → mime-vtxr0yy2.js} +2 -2
- package/dist/chunks/{provider-cavfk19g.js → mime-vw5a0rfv.js} +2 -2
- package/dist/chunks/{provider-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-6pc27hjz.js → mime-w92k2e0p.js} +4 -4
- package/dist/chunks/{provider-9e8epedj.js → mime-wbtxmsag.js} +12 -12
- package/dist/chunks/{provider-wd3x2cqz.js → mime-wd3x2cqz.js} +2 -2
- package/dist/chunks/{provider-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{provider-f5mwwqd1.js → mime-ws8b7tts.js} +11 -11
- package/dist/chunks/{provider-f5krr7qf.js → mime-ws8rf1n9.js} +18 -18
- package/dist/chunks/{provider-6gcfy764.js → mime-wskervgn.js} +14 -14
- package/dist/chunks/{provider-cx0f5p4g.js → mime-wvjy0rkm.js} +3 -3
- package/dist/chunks/{provider-kbt7gmx1.js → mime-ww3mp7jv.js} +3 -3
- package/dist/chunks/{provider-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-73f5j550.js → mime-x2hpphy2.js} +3 -3
- package/dist/chunks/{provider-zh0v86tx.js → mime-x5n162sr.js} +13 -13
- package/dist/chunks/{provider-esj47bpe.js → mime-x5xe3x08.js} +40 -40
- package/dist/chunks/{provider-41bwr5r8.js → mime-x6yn2080.js} +24 -24
- package/dist/chunks/{provider-b658d458.js → mime-x9eqy100.js} +11 -11
- package/dist/chunks/{provider-gwnkz9kd.js → mime-xaqyyngn.js} +8 -8
- package/dist/chunks/{provider-a8bn8zg0.js → mime-xdk9p2qn.js} +21 -21
- package/dist/chunks/mime-xgn2qchc.js +252 -0
- package/dist/chunks/{provider-pgs636hh.js → mime-xgnbgapz.js} +1 -1
- package/dist/chunks/{provider-pe68j9z1.js → mime-xjtpc5ew.js} +21 -21
- package/dist/chunks/{provider-avk2ac34.js → mime-xmj1c5tj.js} +18 -18
- package/dist/chunks/{provider-046r0309.js → mime-xswfpnnj.js} +6 -6
- package/dist/chunks/{provider-et9e7fw3.js → mime-xw1kh6e4.js} +23 -23
- package/dist/chunks/{provider-mtv0dtrw.js → mime-xxc26qrd.js} +15 -15
- package/dist/chunks/{provider-9zzqfxsg.js → mime-xy6tzccz.js} +1 -1
- package/dist/chunks/{provider-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-nve209ha.js → mime-y5xqhydv.js} +29 -29
- package/dist/chunks/{provider-7pqtqgjh.js → mime-y6n4fsc2.js} +24 -24
- package/dist/chunks/{provider-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{provider-72j1trj5.js → mime-ycy6en70.js} +20 -20
- package/dist/chunks/{provider-9mdnhvbk.js → mime-ydsngzkh.js} +1 -1
- package/dist/chunks/{provider-z006jn0q.js → mime-ye8z0dg9.js} +9 -9
- package/dist/chunks/{provider-c8b4sgfz.js → mime-yew08yk0.js} +41 -41
- package/dist/chunks/{provider-thynrszz.js → mime-yk00c7b3.js} +3 -3
- package/dist/chunks/{provider-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-z07pqspn.js → mime-z07pqspn.js} +3 -3
- package/dist/chunks/{provider-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-sya0r9rt.js → mime-z8c0yagb.js} +23 -23
- package/dist/chunks/{provider-r3pam6y0.js → mime-z90jk03v.js} +22 -22
- package/dist/chunks/{provider-s1neazx1.js → mime-zefpc43y.js} +16 -16
- package/dist/chunks/{provider-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{provider-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-0xezjjjn.js → mime-zrq8kphx.js} +8 -8
- package/dist/chunks/{provider-8fwstqvg.js → mime-zsmwpmw6.js} +12 -12
- package/dist/chunks/{provider-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/provider-0mesazry.js +0 -4
- package/dist/chunks/provider-5syzq0vf.js +0 -26
- package/dist/chunks/provider-gyce5qg1.js +0 -18
- package/dist/chunks/provider-x77c26sk.js +0 -252
- /package/dist/chunks/{provider-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node63
|
|
5
|
+
} from "./mime-de35ch4m.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-ae0nwvy8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./mime-zrq8kphx.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-dy59ndr5.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-94qf5r5e.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./mime-qm1jf1xc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node29
|
|
26
|
+
} from "./mime-d866bxqg.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-57b9ws8p.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-ezyw3hyt.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./mime-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service25,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer9,
|
|
45
|
+
node: () => node28,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer9 = Layer.effect(Service25, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service64;
|
|
163
|
+
const transport = yield* Service26;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -258,17 +258,17 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service25.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [
|
|
268
|
+
var node28 = makeLocationNode({
|
|
269
|
+
service: Service25,
|
|
270
|
+
layer: layer9,
|
|
271
|
+
deps: [node67, node29, node63]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer9, node28, exports_model_request };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-wvjy0rkm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-b95dy7zp.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-ae0nwvy8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./mime-ekv8efyj.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-ezyw3hyt.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-j36xhj14.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./mime-q9s0hka4.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./mime-2s2q4h4d.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./mime-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./mime-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./mime-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service7,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node9,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service7.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node9 = makeLocationNode({
|
|
619
|
+
service: Service7,
|
|
620
620
|
layer: layer6,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node9, exports_compaction3 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./mime-x5xe3x08.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service69
|
|
13
|
+
} from "./mime-xjtpc5ew.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./mime-ny1bawyf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./mime-dy59ndr5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service53,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-xxc26qrd.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service73,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-ws8rf1n9.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service31
|
|
37
|
+
} from "./mime-qvzr2hby.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./mime-mtxqaypk.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-83m6sd17.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin38 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service18;
|
|
122
|
+
const jobs = yield* Service44;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service69;
|
|
125
|
+
const access = yield* Service53;
|
|
126
|
+
const shell = yield* Service31;
|
|
127
|
+
const shellSelect = yield* Service73;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service54;
|
|
130
|
+
const config = yield* Service58;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin24 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin24 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin24 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-g51zwe1j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./mime-x5xe3x08.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-xswfpnnj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -26,7 +26,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service58;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service13,
|
|
10
|
+
node: () => node15
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service13, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service13.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node15 = makeGlobalNode({ service: Service13, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service13, node15, exports_managed_policy };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-2kdwgsh2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./mime-x5xe3x08.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service17
|
|
12
|
+
} from "./mime-zefpc43y.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin25
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin25 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service58;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service17;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin46 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin25, exports_worktree };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_command4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin47,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin47 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin30 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin47, exports_opencode };
|