@opencode/core 0.0.0-dev-20194 → 0.0.0-dev-20196
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 +81 -81
- 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/{reference-3e8yqhxk.js → file-mutation-00x9hzck.js} +10 -10
- package/dist/chunks/{reference-sc1tzy0m.js → file-mutation-06avesrm.js} +10 -10
- package/dist/chunks/{reference-pk3z8zwb.js → file-mutation-0bt5rkyv.js} +7 -7
- package/dist/chunks/{reference-ybhbtxjg.js → file-mutation-0dr0g8g1.js} +3 -3
- package/dist/chunks/{reference-ysh0bc3c.js → file-mutation-0jjvght6.js} +10 -10
- package/dist/chunks/{reference-qevex4z1.js → file-mutation-0k08rxc6.js} +31 -31
- package/dist/chunks/{reference-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-yqa20cga.js → file-mutation-0pkr918c.js} +22 -22
- package/dist/chunks/{reference-4azmnb77.js → file-mutation-0q60sf5x.js} +8 -8
- package/dist/chunks/{reference-y560y7p4.js → file-mutation-0tkcb012.js} +21 -21
- package/dist/chunks/{reference-gbtx73hb.js → file-mutation-166kng33.js} +8 -8
- package/dist/chunks/{reference-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{reference-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-py3kkmfq.js → file-mutation-1p07q0wb.js} +4 -4
- package/dist/chunks/{reference-hs32c6fx.js → file-mutation-1pc8b49c.js} +8 -8
- package/dist/chunks/{reference-hxg08g5j.js → file-mutation-1vcc0tqx.js} +15 -15
- package/dist/chunks/{reference-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{reference-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{reference-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-wd5k3756.js → file-mutation-2ka3r0xm.js} +21 -21
- package/dist/chunks/{reference-t2j5vcca.js → file-mutation-2tn83n21.js} +17 -17
- package/dist/chunks/{reference-5hqxtq21.js → file-mutation-2wdjbrvw.js} +25 -25
- package/dist/chunks/file-mutation-31ndy29r.js +655 -0
- package/dist/chunks/{reference-x5xe0bd0.js → file-mutation-33z6kxja.js} +33 -33
- package/dist/chunks/{reference-96p72y45.js → file-mutation-36wh3zdf.js} +11 -11
- package/dist/chunks/{reference-1jsptwm6.js → file-mutation-37ccqw5v.js} +6 -6
- package/dist/chunks/{reference-1f5yd8z2.js → file-mutation-39thqb0z.js} +77 -77
- package/dist/chunks/{reference-as35gwv2.js → file-mutation-3ag7ttm0.js} +13 -13
- package/dist/chunks/{reference-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-r4453y51.js → file-mutation-3hmc9p2p.js} +44 -44
- package/dist/chunks/{reference-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-8rw29dk0.js → file-mutation-45bn2qe8.js} +18 -18
- package/dist/chunks/{reference-qdbakdjh.js → file-mutation-49exe669.js} +5 -5
- package/dist/chunks/{reference-9m59q143.js → file-mutation-4d8ebea5.js} +17 -17
- package/dist/chunks/{reference-thddb0yg.js → file-mutation-4k2fjpjr.js} +20 -20
- package/dist/chunks/{reference-ngffvtk2.js → file-mutation-4pe60rv6.js} +16 -16
- package/dist/chunks/{reference-67f3c5a6.js → file-mutation-4ywmn05m.js} +5 -5
- package/dist/chunks/{reference-x5rq2qdm.js → file-mutation-55gwq3qn.js} +43 -43
- package/dist/chunks/{reference-ypp73q3k.js → file-mutation-56798xf4.js} +21 -21
- package/dist/chunks/{reference-xfkkasph.js → file-mutation-57b9ws8p.js} +7 -7
- package/dist/chunks/{reference-d9s573fh.js → file-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{reference-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-ba38qkz5.js → file-mutation-5q075wzn.js} +8 -8
- package/dist/chunks/{reference-ps6kahe0.js → file-mutation-5rd0r6f7.js} +3 -3
- package/dist/chunks/{reference-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-0f9b925g.js → file-mutation-5vth3xyp.js} +42 -42
- package/dist/chunks/{reference-rxyp0enr.js → file-mutation-5zpn8qhf.js} +161 -161
- package/dist/chunks/{reference-tgcnk5sw.js → file-mutation-607q5haz.js} +5 -5
- package/dist/chunks/{reference-vgr5e0ea.js → file-mutation-61w5k2bk.js} +5 -5
- package/dist/chunks/{reference-m655g54e.js → file-mutation-63vbqmwh.js} +5 -5
- package/dist/chunks/{reference-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{reference-c35p20hr.js → file-mutation-6by7ejxe.js} +18 -18
- package/dist/chunks/{reference-se4rjrwe.js → file-mutation-6m5gwycq.js} +9 -9
- package/dist/chunks/{reference-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-knx0mxy4.js → file-mutation-6qdk3m7n.js} +17 -17
- package/dist/chunks/{reference-bk2c8kx1.js → file-mutation-6y9tzzzt.js} +5 -5
- package/dist/chunks/{reference-eq1pz5kg.js → file-mutation-73tb2d7t.js} +3 -3
- package/dist/chunks/{reference-3yzf73xp.js → file-mutation-7629jcb2.js} +9 -9
- package/dist/chunks/{reference-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-3jq6wq7y.js → file-mutation-7he179h5.js} +5 -5
- package/dist/chunks/{reference-0gg825j3.js → file-mutation-7hrh0yhw.js} +3 -3
- package/dist/chunks/{reference-ma2yn7zc.js → file-mutation-7mzanbhg.js} +30 -30
- package/dist/chunks/{reference-yjvnj1zk.js → file-mutation-7ncrrmyf.js} +11 -11
- package/dist/chunks/{reference-y2r3h4fb.js → file-mutation-7q8hkdsk.js} +15 -15
- package/dist/chunks/{reference-sv8w0sp0.js → file-mutation-7tbm9b7t.js} +3 -3
- package/dist/chunks/{reference-mnkndwyg.js → file-mutation-80rcay5r.js} +8 -8
- package/dist/chunks/{reference-fxpk8e1k.js → file-mutation-82mxp87a.js} +41 -41
- package/dist/chunks/{reference-7vvdj7v1.js → file-mutation-8443s99e.js} +15 -15
- package/dist/chunks/{reference-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-6e87vakz.js → file-mutation-8ygpbkv1.js} +16 -16
- package/dist/chunks/{reference-11pm3r9v.js → file-mutation-908kwkj3.js} +12 -12
- package/dist/chunks/{reference-jexxy024.js → file-mutation-91m9hd8f.js} +3 -3
- package/dist/chunks/{reference-51f5btjf.js → file-mutation-93ygb5af.js} +6 -6
- package/dist/chunks/{reference-gfvb90ym.js → file-mutation-94ek1h2f.js} +2 -2
- package/dist/chunks/{reference-pntwmbjc.js → file-mutation-9ecw5ke1.js} +8 -8
- package/dist/chunks/{reference-wsrgfmp7.js → file-mutation-9r9g3gnb.js} +8 -8
- package/dist/chunks/{reference-xp3d2160.js → file-mutation-a1dcbnh1.js} +14 -14
- package/dist/chunks/{reference-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-zvteq2sz.js → file-mutation-annjwsdj.js} +37 -37
- package/dist/chunks/{reference-hmmwrfz7.js → file-mutation-arws8trd.js} +4 -4
- package/dist/chunks/{reference-4yner5sa.js → file-mutation-aztrj7be.js} +15 -15
- package/dist/chunks/{reference-a3r4dcrj.js → file-mutation-b07rpg7m.js} +2 -2
- package/dist/chunks/{reference-afq9djet.js → file-mutation-b0g280va.js} +20 -20
- package/dist/chunks/{reference-fydrzrkb.js → file-mutation-b0rtdght.js} +11 -11
- package/dist/chunks/{reference-4a6kxgsg.js → file-mutation-b2g6p7zb.js} +9 -9
- package/dist/chunks/{reference-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-f6rweyq9.js → file-mutation-b9frkjp9.js} +1 -1
- package/dist/chunks/{reference-faj6f0em.js → file-mutation-ba1mv5p0.js} +3 -3
- package/dist/chunks/{reference-vwfyqj1a.js → file-mutation-bfn9xngp.js} +18 -18
- package/dist/chunks/{reference-q6cph699.js → file-mutation-bhp9zwz7.js} +24 -24
- package/dist/chunks/{reference-ddg1q8r0.js → file-mutation-bjgnzx8v.js} +15 -15
- package/dist/chunks/{reference-q72jbytn.js → file-mutation-bmb3ej5t.js} +4 -4
- package/dist/chunks/{reference-5vyyh9tt.js → file-mutation-bqdk09cg.js} +37 -37
- package/dist/chunks/{reference-ws016w0z.js → file-mutation-bvb037bs.js} +3 -3
- package/dist/chunks/{reference-d7mqv6pa.js → file-mutation-bw35qwa5.js} +1 -1
- package/dist/chunks/{reference-ypd49sxc.js → file-mutation-bw4jwp7x.js} +11 -11
- package/dist/chunks/{reference-bqszwq89.js → file-mutation-c4y5a9cq.js} +8 -8
- package/dist/chunks/{reference-1zys84da.js → file-mutation-cbbagb43.js} +11 -11
- package/dist/chunks/{reference-f26ddygf.js → file-mutation-cekhgrsm.js} +81 -81
- package/dist/chunks/{reference-5jrh7n3y.js → file-mutation-chbxjcn8.js} +9 -9
- package/dist/chunks/{reference-54tcyq79.js → file-mutation-ckecvw8r.js} +2 -2
- package/dist/chunks/{reference-djszqvmq.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{reference-9qb76avw.js → file-mutation-d48vtfkp.js} +20 -20
- package/dist/chunks/{reference-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{reference-r9e31c0d.js → file-mutation-dv5spdm5.js} +29 -29
- package/dist/chunks/{reference-kgajg4t2.js → file-mutation-dw698h1a.js} +8 -8
- package/dist/chunks/{reference-v9cwmph0.js → file-mutation-dy8qwv32.js} +25 -25
- package/dist/chunks/{reference-v5hpcsb0.js → file-mutation-e6hmchc5.js} +5 -5
- package/dist/chunks/{reference-t550f9t1.js → file-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{reference-dv36yjgc.js → file-mutation-ec9ctddj.js} +5 -5
- package/dist/chunks/{reference-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
- package/dist/chunks/{reference-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-t4m9kaws.js → file-mutation-eq1jxjww.js} +48 -48
- package/dist/chunks/{reference-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-fmfggwz4.js → file-mutation-exq2ffnr.js} +11 -11
- package/dist/chunks/{reference-3eexfaf4.js → file-mutation-eyansxxn.js} +16 -16
- package/dist/chunks/{reference-pwehtxr6.js → file-mutation-ez89fygf.js} +21 -21
- package/dist/chunks/{reference-jvf3yq6v.js → file-mutation-f73rjn58.js} +4 -4
- package/dist/chunks/{reference-nezp3nh3.js → file-mutation-feek47bh.js} +30 -30
- package/dist/chunks/{reference-htqg6e4e.js → file-mutation-fgpb6470.js} +13 -13
- package/dist/chunks/{reference-g74mfj6n.js → file-mutation-fhs97t90.js} +9 -9
- package/dist/chunks/{reference-z98sedxz.js → file-mutation-fj17yqcr.js} +3 -3
- package/dist/chunks/{reference-14794zc1.js → file-mutation-fsmjrpwr.js} +6 -6
- package/dist/chunks/{reference-fqjhatxe.js → file-mutation-fss11zrv.js} +30 -30
- package/dist/chunks/{reference-yfz2gavf.js → file-mutation-fwg4bfmy.js} +5 -5
- package/dist/chunks/{reference-cyww2hg1.js → file-mutation-fyrmabcy.js} +8 -8
- package/dist/chunks/{reference-6hqe4q59.js → file-mutation-g4nge062.js} +13 -13
- package/dist/chunks/{reference-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-yyb7tjpc.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-vhfvd2jp.js → file-mutation-gz2b78z0.js} +22 -22
- package/dist/chunks/{reference-chweyq95.js → file-mutation-gzwr95fx.js} +6 -6
- package/dist/chunks/{reference-177cmxdg.js → file-mutation-h22dswsw.js} +19 -19
- package/dist/chunks/{reference-44zaxtg7.js → file-mutation-h2j90xdb.js} +23 -23
- package/dist/chunks/{reference-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-t4btr8yn.js → file-mutation-hbj37746.js} +20 -20
- package/dist/chunks/{reference-fh8xxmnr.js → file-mutation-hekxc47r.js} +12 -10
- package/dist/chunks/{reference-yw63brvc.js → file-mutation-hjtdmxqs.js} +13 -13
- package/dist/chunks/{reference-4xz89tjk.js → file-mutation-hkfg6fzm.js} +5 -5
- package/dist/chunks/{reference-rer9h1m0.js → file-mutation-hzxg5djm.js} +16 -16
- package/dist/chunks/{reference-thjmag0n.js → file-mutation-j0b1x3jn.js} +14 -14
- package/dist/chunks/{reference-0h711vda.js → file-mutation-j2978cmg.js} +46 -46
- package/dist/chunks/{reference-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-aqeafnz7.js → file-mutation-j64p557d.js} +14 -14
- package/dist/chunks/{reference-kb3wdknj.js → file-mutation-jarn1zxe.js} +6 -6
- package/dist/chunks/{reference-w6yg8354.js → file-mutation-jazhghcp.js} +11 -11
- package/dist/chunks/{reference-2t8jpbpj.js → file-mutation-jfyc1maa.js} +12 -12
- package/dist/chunks/{reference-yfxpx2t9.js → file-mutation-jj5netzx.js} +9 -9
- package/dist/chunks/{reference-xg0dkexn.js → file-mutation-jk58jcy1.js} +16 -16
- package/dist/chunks/{reference-yead9t7b.js → file-mutation-jk776ydv.js} +6 -6
- package/dist/chunks/{reference-8ha6ga5e.js → file-mutation-jsb3pxss.js} +8 -8
- package/dist/chunks/{reference-0m9cq689.js → file-mutation-jshgtcbt.js} +13 -13
- package/dist/chunks/{reference-a6fdbjg5.js → file-mutation-jsx6v7sj.js} +11 -11
- package/dist/chunks/{reference-z4470vjq.js → file-mutation-jvy91fcn.js} +26 -26
- package/dist/chunks/{reference-nrc70r1t.js → file-mutation-jxg9h7h6.js} +47 -47
- package/dist/chunks/{reference-24mjcg6m.js → file-mutation-k18pbb1y.js} +8 -8
- package/dist/chunks/{reference-hz0q9sdq.js → file-mutation-k1qrnqst.js} +8 -8
- package/dist/chunks/{reference-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{reference-fgbgrse6.js → file-mutation-ka6f9z9r.js} +5 -5
- package/dist/chunks/{reference-81bye27z.js → file-mutation-kc6k5esa.js} +24 -24
- package/dist/chunks/{reference-rr9dycgk.js → file-mutation-kwqt7trd.js} +7 -7
- package/dist/chunks/{reference-pmwpe40e.js → file-mutation-kzc3h1h3.js} +4 -4
- package/dist/chunks/{reference-q2s2wz1h.js → file-mutation-m1hk3fbq.js} +8 -8
- package/dist/chunks/{reference-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-b15rjjj6.js → file-mutation-m7h4c5p1.js} +21 -21
- package/dist/chunks/{reference-m77p9bps.js → file-mutation-m7qqma2k.js} +13 -13
- package/dist/chunks/{reference-xkxsh21d.js → file-mutation-m8xex9m9.js} +4 -4
- package/dist/chunks/{reference-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-avbsach8.js → file-mutation-madt145n.js} +20 -20
- package/dist/chunks/{reference-mjymc32g.js → file-mutation-magykp64.js} +4 -4
- package/dist/chunks/{reference-bg7sr6g1.js → file-mutation-mdw2h4tg.js} +5 -5
- package/dist/chunks/{reference-p9g6edyn.js → file-mutation-mepdzt2d.js} +9 -9
- package/dist/chunks/{reference-1ygqh575.js → file-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{reference-9j56qjm9.js → file-mutation-mh153f1p.js} +11 -11
- package/dist/chunks/{reference-wnys78fq.js → file-mutation-mksgfzgs.js} +3 -3
- package/dist/chunks/{reference-6fmnkfnr.js → file-mutation-mkwktbjz.js} +20 -20
- package/dist/chunks/{reference-yf72js65.js → file-mutation-mqwgf0bk.js} +11 -11
- package/dist/chunks/{reference-3s9dhbpg.js → file-mutation-mrj8mwf0.js} +28 -28
- package/dist/chunks/{reference-g4x6f0m8.js → file-mutation-n08rr4pq.js} +15 -15
- package/dist/chunks/{reference-wqkzg7sy.js → file-mutation-n24gc8vs.js} +11 -11
- package/dist/chunks/{reference-0jq9fyba.js → file-mutation-n37c4crj.js} +9 -9
- package/dist/chunks/{reference-fzts1kpm.js → file-mutation-n3hytwrq.js} +11 -11
- package/dist/chunks/{reference-nc0myf7t.js → file-mutation-n5anf3fb.js} +11 -11
- package/dist/chunks/{reference-5958cd08.js → file-mutation-n61sj0zv.js} +25 -25
- package/dist/chunks/{reference-5na37vb4.js → file-mutation-n7y60bnp.js} +24 -24
- package/dist/chunks/{reference-8pn44ehn.js → file-mutation-n92w27pw.js} +10 -10
- package/dist/chunks/{reference-0kfypxfq.js → file-mutation-na5yh9md.js} +18 -18
- package/dist/chunks/{reference-h3h6bw0z.js → file-mutation-nn2w30r8.js} +18 -18
- package/dist/chunks/{reference-cpy6gm2a.js → file-mutation-nqnxh7mc.js} +4 -4
- package/dist/chunks/{reference-2e6dphxw.js → file-mutation-nzdeb66t.js} +9 -9
- package/dist/chunks/{reference-h6r3nrb9.js → file-mutation-nzyhnfxz.js} +4 -4
- package/dist/chunks/{reference-t7y3dpm9.js → file-mutation-p4etetpf.js} +26 -26
- package/dist/chunks/{reference-4j4tgtq5.js → file-mutation-p6wxjpka.js} +4 -4
- package/dist/chunks/{reference-v8nsmxgn.js → file-mutation-pb1eahw5.js} +8 -8
- package/dist/chunks/{reference-bsqx64w4.js → file-mutation-pcxghkgz.js} +4 -4
- package/dist/chunks/{reference-vvfvm01x.js → file-mutation-pdn3apj7.js} +13 -13
- package/dist/chunks/{reference-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{reference-sqmzwr9m.js → file-mutation-px76j0pk.js} +9 -9
- package/dist/chunks/{reference-0z2rg4rm.js → file-mutation-pz7cr76j.js} +37 -37
- package/dist/chunks/{reference-s31h5w29.js → file-mutation-q241hggs.js} +19 -19
- package/dist/chunks/{reference-cab88dx5.js → file-mutation-q2y76nmn.js} +20 -20
- package/dist/chunks/{reference-jkcb4v42.js → file-mutation-q5ne48hz.js} +13 -13
- package/dist/chunks/{reference-nqw1h68k.js → file-mutation-q752a12t.js} +18 -18
- package/dist/chunks/{reference-td3sphkw.js → file-mutation-q9mp86yc.js} +13 -13
- package/dist/chunks/{reference-9qs04gms.js → file-mutation-qcc5r1n1.js} +19 -19
- package/dist/chunks/{reference-v1h7jmyp.js → file-mutation-qcdf9a5m.js} +1 -1
- package/dist/chunks/{reference-2k8khapm.js → file-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/file-mutation-qhp8asra.js +252 -0
- package/dist/chunks/{reference-pnde1qtn.js → file-mutation-qm67wygm.js} +4 -4
- package/dist/chunks/{reference-5sj81wm5.js → file-mutation-qr8csav2.js} +5 -5
- package/dist/chunks/{reference-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-8vsk6s2a.js → file-mutation-qvcq4vww.js} +21 -21
- package/dist/chunks/{reference-krnctd4r.js → file-mutation-r4jmx1pn.js} +14 -14
- package/dist/chunks/{reference-31ywrma3.js → file-mutation-r4m9e03x.js} +4 -4
- package/dist/chunks/file-mutation-rap9a73h.js +18 -0
- package/dist/chunks/{reference-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-eqy59tqm.js → file-mutation-rq2znn32.js} +29 -29
- package/dist/chunks/{reference-wbrq6ka8.js → file-mutation-rqnjnaqb.js} +4 -4
- package/dist/chunks/{reference-yws4pbzc.js → file-mutation-sbwvsvgv.js} +30 -30
- package/dist/chunks/{reference-e12g3w7z.js → file-mutation-skv4x9jf.js} +16 -16
- package/dist/chunks/{reference-8aaqm6qj.js → file-mutation-sm965ndy.js} +8 -8
- package/dist/chunks/{reference-sx1n432n.js → file-mutation-sx1n432n.js} +1 -1
- package/dist/chunks/{reference-8ryk0bb9.js → file-mutation-sznyev98.js} +5 -5
- package/dist/chunks/{reference-34rkz0x9.js → file-mutation-t6vsspdg.js} +4 -4
- package/dist/chunks/{reference-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-nx90x7kt.js → file-mutation-tcwxap8g.js} +16 -16
- package/dist/chunks/{reference-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{reference-pmjz3wtp.js → file-mutation-tknscx6b.js} +27 -27
- package/dist/chunks/{reference-jqcdp112.js → file-mutation-tmkkbmay.js} +26 -26
- package/dist/chunks/{reference-p37cw4rj.js → file-mutation-tpw6cwsb.js} +8 -8
- package/dist/chunks/{reference-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-qb1aeqnr.js → file-mutation-v0j3551j.js} +26 -26
- package/dist/chunks/{reference-n2bd736z.js → file-mutation-v0mz33x9.js} +95 -102
- package/dist/chunks/{reference-156a9j9s.js → file-mutation-v434jxdj.js} +20 -20
- package/dist/chunks/{reference-bdqrk2vk.js → file-mutation-va5qff5x.js} +4 -4
- package/dist/chunks/{reference-hkcbg3z4.js → file-mutation-vbr7z2an.js} +7 -7
- package/dist/chunks/{reference-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-h9pnpq88.js → file-mutation-vfjhn2wd.js} +4 -4
- package/dist/chunks/{reference-jm5a5pey.js → file-mutation-vq1w5bxf.js} +20 -20
- package/dist/chunks/{reference-mev7xm92.js → file-mutation-vwmcz341.js} +25 -25
- package/dist/chunks/{reference-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-tdkwvqdy.js → file-mutation-w16ewm88.js} +32 -32
- package/dist/chunks/{reference-7zg2wc6k.js → file-mutation-w1hpm58k.js} +42 -42
- package/dist/chunks/{reference-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-3b3jy36q.js → file-mutation-w579p95t.js} +13 -13
- package/dist/chunks/{reference-be7pa3qf.js → file-mutation-w5sez581.js} +8 -8
- package/dist/chunks/{reference-0b8npddv.js → file-mutation-w8ferkse.js} +10 -10
- package/dist/chunks/{reference-n11m6crk.js → file-mutation-was05px2.js} +23 -23
- package/dist/chunks/{reference-psazpmmj.js → file-mutation-wd3x2cqz.js} +2 -2
- package/dist/chunks/{reference-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{reference-3sph9hsg.js → file-mutation-wf80fvfx.js} +14 -14
- package/dist/chunks/{reference-ssrktsty.js → file-mutation-whrzd189.js} +20 -20
- package/dist/chunks/file-mutation-wjf1m7fj.js +26 -0
- package/dist/chunks/{reference-axd321tm.js → file-mutation-wmnz76n2.js} +2 -2
- package/dist/chunks/{reference-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-jxxs5s4h.js → file-mutation-x5pftk9r.js} +322 -326
- package/dist/chunks/{reference-bkyy3065.js → file-mutation-x9v2s4mt.js} +36 -36
- package/dist/chunks/{reference-t265p2pq.js → file-mutation-xatxs8ze.js} +4 -4
- package/dist/chunks/{reference-c4989wfm.js → file-mutation-xdcdg5gg.js} +15 -15
- package/dist/chunks/{reference-ww5pdtvn.js → file-mutation-xdyqf2ep.js} +26 -26
- package/dist/chunks/{reference-dmqcgk4z.js → file-mutation-xkntkrq7.js} +5 -5
- package/dist/chunks/{reference-fxb44a1q.js → file-mutation-xptjm771.js} +13 -13
- package/dist/chunks/{reference-qwkdrh69.js → file-mutation-xv48q100.js} +28 -28
- package/dist/chunks/{reference-b2a4mx33.js → file-mutation-xwm6bryg.js} +4 -4
- package/dist/chunks/{reference-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-ykprmxnv.js → file-mutation-yksbe7bm.js} +2 -2
- package/dist/chunks/{reference-bhvqvkry.js → file-mutation-yrgme7j0.js} +12 -12
- package/dist/chunks/{reference-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-bf7x6yrd.js → file-mutation-yt06qecn.js} +27 -27
- package/dist/chunks/{reference-bjtzbw4r.js → file-mutation-z07pqspn.js} +3 -3
- package/dist/chunks/{reference-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-3v9eaqqc.js → file-mutation-z6ze4cqf.js} +8 -8
- package/dist/chunks/{reference-b4tbyby1.js → file-mutation-zcnbza31.js} +28 -28
- package/dist/chunks/{reference-rq775frq.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-1qadeb1c.js → file-mutation-zwy3hb2f.js} +21 -21
- package/dist/chunks/{reference-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- 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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- 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 -360
- 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 +106 -106
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- 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 +100 -100
- package/dist/models-dev.js +99 -99
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- 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 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- 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 +122 -122
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +140 -144
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- 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 +216 -216
- 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 +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +114 -114
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +108 -108
- 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 +8 -8
- package/dist/types/session/compaction.d.ts +30 -55
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +1 -1
- 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 +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/reference-4wvg2h98.js +0 -252
- package/dist/chunks/reference-587j3zfx.js +0 -39
- package/dist/chunks/reference-5kveh0cp.js +0 -26
- package/dist/chunks/reference-dxj72tfx.js +0 -18
- package/dist/chunks/reference-s3adcg6q.js +0 -624
- package/dist/plugin/compaction.js +0 -136
- package/dist/types/plugin/compaction.d.ts +0 -3
- /package/dist/chunks/{reference-0mesazry.js → file-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{reference-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,121 +1,124 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-ba1mv5p0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-r4m9e03x.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-0dr0g8g1.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-z07pqspn.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-xwm6bryg.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-p6wxjpka.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-z6ze4cqf.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service74,
|
|
33
|
+
node78
|
|
34
|
+
} from "./file-mutation-j0b1x3jn.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service70,
|
|
37
|
+
node74
|
|
38
|
+
} from "./file-mutation-yt06qecn.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-mutation-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service31,
|
|
44
|
+
node35
|
|
45
|
+
} from "./file-mutation-mepdzt2d.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-mutation-mrj8mwf0.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
toSessionError2
|
|
51
|
+
} from "./file-mutation-xatxs8ze.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./reference-s3adcg6q.js";
|
|
53
|
+
make4
|
|
54
|
+
} from "./file-mutation-jk776ydv.js";
|
|
56
55
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
56
|
+
Service5,
|
|
57
|
+
node7
|
|
58
|
+
} from "./file-mutation-31ndy29r.js";
|
|
59
|
+
import {
|
|
60
|
+
Service26,
|
|
61
|
+
node30
|
|
62
|
+
} from "./file-mutation-39thqb0z.js";
|
|
60
63
|
import {
|
|
61
64
|
serialized2,
|
|
62
65
|
nextPromotable2,
|
|
63
66
|
promote2
|
|
64
|
-
} from "./
|
|
67
|
+
} from "./file-mutation-n7y60bnp.js";
|
|
65
68
|
import {
|
|
66
|
-
|
|
69
|
+
Service2,
|
|
67
70
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
71
|
+
node3
|
|
72
|
+
} from "./file-mutation-v0j3551j.js";
|
|
70
73
|
import {
|
|
71
74
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
75
|
+
Service57
|
|
76
|
+
} from "./file-mutation-f73rjn58.js";
|
|
74
77
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
78
|
+
node83
|
|
79
|
+
} from "./file-mutation-vwmcz341.js";
|
|
77
80
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
81
|
+
node50
|
|
82
|
+
} from "./file-mutation-908kwkj3.js";
|
|
80
83
|
import {
|
|
81
84
|
Outcome2,
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
85
|
+
make3
|
|
86
|
+
} from "./file-mutation-bfn9xngp.js";
|
|
84
87
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
88
|
+
Service33
|
|
89
|
+
} from "./file-mutation-rap9a73h.js";
|
|
87
90
|
import {
|
|
88
91
|
node23
|
|
89
|
-
} from "./
|
|
92
|
+
} from "./file-mutation-jshgtcbt.js";
|
|
90
93
|
import {
|
|
91
94
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
95
|
+
} from "./file-mutation-y44na4kk.js";
|
|
93
96
|
import {
|
|
94
97
|
__export
|
|
95
|
-
} from "./
|
|
98
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
96
99
|
|
|
97
100
|
// src/session/runner/llm.ts
|
|
98
101
|
var exports_llm = {};
|
|
99
102
|
__export(exports_llm, {
|
|
100
103
|
SessionRunnerLLM: () => exports_llm,
|
|
101
|
-
node: () =>
|
|
104
|
+
node: () => node2
|
|
102
105
|
});
|
|
103
106
|
import { Message } from "@opencode/ai";
|
|
104
107
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
105
108
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
109
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
110
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
109
112
|
const bus = yield* Service83;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
113
|
+
const lifecycle = yield* Service70;
|
|
114
|
+
const store = yield* Service74;
|
|
115
|
+
const context = yield* Service26;
|
|
116
|
+
const modelTransport = yield* Service31;
|
|
114
117
|
const db = (yield* Service84).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
118
|
-
const steps = yield*
|
|
118
|
+
const compaction = yield* Service5;
|
|
119
|
+
const plugins = yield* Service33;
|
|
120
|
+
const title = yield* Service2;
|
|
121
|
+
const steps = yield* make3;
|
|
119
122
|
const titles = yield* FiberMap.make();
|
|
120
123
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
121
124
|
const sessionID = input.sessionID;
|
|
@@ -165,32 +168,28 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
165
168
|
if (pending?.type === "move")
|
|
166
169
|
return DrainResult2.Moved({ continuation: continuing ? { step } : undefined });
|
|
167
170
|
if (pending?.type === "compaction") {
|
|
168
|
-
const session = yield* store.get(sessionID);
|
|
169
|
-
if (!session)
|
|
170
|
-
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
171
171
|
const compacted = yield* restore(Effect.gen(function* () {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
const history = yield* preview2(db, session.id, selected.instructions, provenance2(model) ?? "local");
|
|
178
|
-
return {
|
|
179
|
-
session: selected.session,
|
|
180
|
-
agent: selected.agent,
|
|
181
|
-
tools: selected.tools,
|
|
182
|
-
model,
|
|
183
|
-
initial: history.initial,
|
|
184
|
-
messages: history.messages,
|
|
185
|
-
instructionUpdate: history.instructionUpdate
|
|
186
|
-
};
|
|
187
|
-
}),
|
|
188
|
-
prepare: context.request.compaction,
|
|
189
|
-
messages: yield* store.context(sessionID),
|
|
172
|
+
const selected = yield* context.select(sessionID);
|
|
173
|
+
const model = yield* context.resolveModel(selected.session);
|
|
174
|
+
const history = yield* preview2(db, sessionID, selected.instructions, provenance2(model) ?? "local");
|
|
175
|
+
return yield* compaction.compact({
|
|
176
|
+
reason: "manual",
|
|
190
177
|
inputID: pending.id,
|
|
191
|
-
|
|
178
|
+
context: {
|
|
179
|
+
session: selected.session,
|
|
180
|
+
agent: selected.agent,
|
|
181
|
+
tools: selected.tools,
|
|
182
|
+
model,
|
|
183
|
+
initial: history.initial,
|
|
184
|
+
messages: history.messages
|
|
185
|
+
}
|
|
192
186
|
});
|
|
193
|
-
})
|
|
187
|
+
}).pipe(Effect.catch((error) => bus.publish(SessionEvent2.Compaction.Failed, {
|
|
188
|
+
sessionID,
|
|
189
|
+
reason: "manual",
|
|
190
|
+
inputID: pending.id,
|
|
191
|
+
error: toSessionError2(error)
|
|
192
|
+
})))).pipe(Effect.exit);
|
|
194
193
|
if (Exit.isFailure(compacted)) {
|
|
195
194
|
yield* bus.publish(SessionEvent2.Compaction.Failed, {
|
|
196
195
|
sessionID,
|
|
@@ -240,23 +239,17 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
240
239
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
240
|
const sessionID = first.session.id;
|
|
242
241
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
242
|
+
const retry = yield* make4(bus, sessionID);
|
|
244
243
|
let initial = first;
|
|
245
244
|
let recoverOverflow = true;
|
|
246
245
|
let recoverContinuation = true;
|
|
247
246
|
while (true) {
|
|
248
247
|
const loaded = initial ?? (yield* prepareContext(sessionID).pipe(Effect.flatMap(context.load)));
|
|
249
248
|
initial = undefined;
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
if (compaction.required({ messages: loaded.messages, resolved: loaded.model, context: loaded })) {
|
|
255
|
-
const result = yield* compaction.compact(compactionInput);
|
|
256
|
-
if (result.status !== "completed")
|
|
257
|
-
return yield* new StepFailedError2({ error: result.error });
|
|
258
|
-
if (result.recoveredOverflow)
|
|
259
|
-
recoverOverflow = false;
|
|
249
|
+
const compacted = yield* compaction.compact({ reason: "auto", context: loaded });
|
|
250
|
+
if (compacted.status === "failed")
|
|
251
|
+
return yield* new StepFailedError2({ error: compacted.error });
|
|
252
|
+
if (compacted.status === "completed") {
|
|
260
253
|
assistantMessageID = SessionMessage2.ID.create();
|
|
261
254
|
continue;
|
|
262
255
|
}
|
|
@@ -294,7 +287,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
294
287
|
retry: proposed
|
|
295
288
|
}),
|
|
296
289
|
recoverContinuation,
|
|
297
|
-
recoverOverflow: Effect.suspend(() => recoverOverflow
|
|
290
|
+
recoverOverflow: Effect.suspend(() => recoverOverflow ? compaction.compact({ reason: "overflow", context: loaded }).pipe(Effect.map((result) => result.status === "completed")) : Effect.succeed(false))
|
|
298
291
|
});
|
|
299
292
|
const completed = yield* Outcome2.$match(outcome, {
|
|
300
293
|
Completed: (outcome) => Effect.succeed(outcome.needsContinuation),
|
|
@@ -361,25 +354,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
361
354
|
}
|
|
362
355
|
}
|
|
363
356
|
});
|
|
364
|
-
return
|
|
357
|
+
return Service57.of({ drain });
|
|
365
358
|
}));
|
|
366
|
-
var
|
|
367
|
-
service:
|
|
359
|
+
var node2 = makeLocationNode({
|
|
360
|
+
service: Service57,
|
|
368
361
|
layer,
|
|
369
362
|
deps: [
|
|
370
363
|
node87,
|
|
371
|
-
|
|
364
|
+
node74,
|
|
372
365
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
366
|
+
node30,
|
|
367
|
+
node35,
|
|
368
|
+
node78,
|
|
369
|
+
node7,
|
|
377
370
|
node23,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
371
|
+
node3,
|
|
372
|
+
node83,
|
|
373
|
+
node50,
|
|
381
374
|
node88
|
|
382
375
|
]
|
|
383
376
|
});
|
|
384
377
|
|
|
385
|
-
export {
|
|
378
|
+
export { node2, exports_llm };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-r4m9e03x.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-3hmc9p2p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event12,
|
|
21
|
-
ID: () =>
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Info: () => Info19,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service50,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node54,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -38,9 +38,9 @@ import { Event as Event12 } from "@opencode/schema/skill";
|
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
42
|
var Info19 = Skill.Info;
|
|
43
|
-
var
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service50 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service50.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node54 = makeLocationNode({
|
|
112
|
+
service: Service50,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID5, Name2, available2, toModelOutput3, prepare3, Service50, node54, exports_skill5, Event12 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info8
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info8 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info8, exports_formatter3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin30
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin30 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin13 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin30, exports_mcp_codemode_defaults };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-607q5haz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service62,
|
|
16
|
+
node65
|
|
17
|
+
} from "./file-mutation-w8ferkse.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service44 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service62;
|
|
110
|
+
return Service44.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node47 = makeGlobalNode({
|
|
171
|
+
service: Service44,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node65]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node47, exports_repository_cache };
|