@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
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-2kdwgsh2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service70,
|
|
22
|
+
node73
|
|
23
|
+
} from "./mime-6r5c0w9g.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service69,
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service69,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node72,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service69 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service80;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service70;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node72 = makeLocationNode({
|
|
71
|
+
service: Service69,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node84,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node73]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service69, node72, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-afed7ext.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-2kdwgsh2.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service65,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node68,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service65 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID9.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service65.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node68 = makeLocationNode({
|
|
144
|
+
service: Service65,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service65, Service65.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID9, Error3, Service65, node68, noopLayer3, exports_snapshot2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service75
|
|
4
|
+
} from "./mime-1p7zzgff.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./mime-x5xe3x08.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service75;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service58);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-wvjy0rkm.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-b95dy7zp.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-ekv8efyj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node57
|
|
22
|
+
} from "./mime-sk4fpzkz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service20,
|
|
25
25
|
node24
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-8cawjpeg.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service6,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer5,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node8
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service6 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer5 = Layer.effect(
|
|
61
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service55;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service6.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node8 = makeLocationNode({
|
|
151
|
+
service: Service6,
|
|
152
152
|
layer: layer5,
|
|
153
|
-
deps: [node87, llmClient2, node24,
|
|
153
|
+
deps: [node87, llmClient2, node24, node57, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service6, isUntitled2, layer5, node8, exports_title };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-1q9kvn7y.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-2kdwgsh2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service54,
|
|
13
|
+
node56
|
|
14
|
+
} from "./mime-dy59ndr5.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service53,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node55,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service53 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service80;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service54;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service53.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node55 = makeLocationNode({ service: Service53, layer, deps: [FSUtil.node, node84, node56] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service53, resolvePath2, node55, exports_file_access };
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-2kdwgsh2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./mime-77a7k1x9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry4,
|
|
25
|
+
Event: () => Event13,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput5,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError7,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service66,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node69
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content3 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput5 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event13 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service66 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service67;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service66.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node69 = makeLocationNode({
|
|
144
|
+
service: Service66,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node70]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service66, node69, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-b95dy7zp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-afed7ext.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-2kdwgsh2.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-v1faaxn9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service59,
|
|
18
|
+
node61
|
|
19
|
+
} from "./mime-dtt66365.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node17
|
|
22
|
+
} from "./mime-ycy6en70.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./mime-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service5,
|
|
36
|
+
node: () => node6
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service59;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service5.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node6 = makeLocationNode({
|
|
106
|
+
service: Service5,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node61, FSUtil.node, node84, node86, node87, node17, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service5, node6, exports_location_watcher };
|