@opencode/core 0.0.0-dev-20613 → 0.0.0-dev-20614
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/{file-mutation-q61exdqj.js → rpc-04qhygnj.js} +4 -4
- package/dist/chunks/{file-mutation-b899gpc5.js → rpc-09g16h6t.js} +25 -25
- package/dist/chunks/{file-mutation-2k8khapm.js → rpc-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-mutation-820esq4r.js → rpc-0ncnx2my.js} +22 -22
- package/dist/chunks/{file-mutation-j16n443z.js → rpc-0ngd71wt.js} +11 -11
- package/dist/chunks/{file-mutation-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-33pc7s1j.js → rpc-0prrzmtk.js} +45 -45
- package/dist/chunks/{file-mutation-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-yg48j617.js → rpc-1060qac4.js} +4 -4
- package/dist/chunks/{file-mutation-zrq8kphx.js → rpc-166kng33.js} +8 -8
- package/dist/chunks/{file-mutation-1acjjqhc.js → rpc-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-c03ncta3.js → rpc-1aqpvs29.js} +32 -32
- package/dist/chunks/{file-mutation-hsewefds.js → rpc-1bjhhsef.js} +12 -12
- package/dist/chunks/{file-mutation-am816zc9.js → rpc-1cbpavv6.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-1dvck2a7.js → rpc-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-mutation-77vm9mkg.js → rpc-1m5xd0n6.js} +4 -4
- package/dist/chunks/{file-mutation-xxdk3vq8.js → rpc-1q3rafdy.js} +36 -36
- package/dist/chunks/{file-mutation-ce5fknq2.js → rpc-207ajt2h.js} +5 -5
- package/dist/chunks/{file-mutation-3x3by7pr.js → rpc-22pj3101.js} +13 -13
- package/dist/chunks/{file-mutation-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-p80jebcz.js → rpc-2abnsckw.js} +4 -4
- package/dist/chunks/{file-mutation-59nzr7fw.js → rpc-2dm8nds3.js} +14 -14
- package/dist/chunks/{file-mutation-stfzz5h9.js → rpc-2ew92v1r.js} +17 -17
- package/dist/chunks/{file-mutation-pqjr219e.js → rpc-2gnsthxx.js} +23 -23
- package/dist/chunks/rpc-2z7pspmn.js +26 -0
- package/dist/chunks/{file-mutation-rwvy7yhp.js → rpc-3045q0b3.js} +7 -7
- package/dist/chunks/{file-mutation-trt60g9v.js → rpc-34py1zyz.js} +11 -11
- package/dist/chunks/{file-mutation-4bfg69m5.js → rpc-3a4s300c.js} +2 -2
- package/dist/chunks/{file-mutation-wyfkmmh4.js → rpc-3akk2h64.js} +11 -11
- package/dist/chunks/{file-mutation-cg1xxbyb.js → rpc-3d418hrh.js} +42 -42
- package/dist/chunks/{file-mutation-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-mj7xzjqf.js → rpc-3hrqzrgp.js} +5 -5
- package/dist/chunks/{file-mutation-psde6m0w.js → rpc-3p2d7rey.js} +32 -32
- package/dist/chunks/{file-mutation-8gp600m4.js → rpc-3php8dd9.js} +31 -31
- package/dist/chunks/{file-mutation-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-2k9fjx65.js → rpc-47jkzegy.js} +5 -5
- package/dist/chunks/{file-mutation-kkp8zx71.js → rpc-4bm5ja14.js} +4 -4
- package/dist/chunks/{file-mutation-rgy7ctyq.js → rpc-4pwxaf10.js} +6 -6
- package/dist/chunks/{file-mutation-mc17spta.js → rpc-4rjamvcb.js} +17 -17
- package/dist/chunks/{file-mutation-reeps5ys.js → rpc-4rkxrr4b.js} +11 -11
- package/dist/chunks/{file-mutation-2ccvkpx1.js → rpc-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-mutation-th52y4cr.js → rpc-4ttaqta8.js} +6 -6
- package/dist/chunks/{file-mutation-gcg2ce4w.js → rpc-4x4mpqjg.js} +37 -37
- package/dist/chunks/{file-mutation-gv66gg0x.js → rpc-533t3k18.js} +6 -6
- package/dist/chunks/{file-mutation-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-spdt4scb.js → rpc-54nesnvt.js} +3 -3
- package/dist/chunks/{file-mutation-56gdpj1q.js → rpc-56gdpj1q.js} +2 -2
- package/dist/chunks/rpc-5ajg84dh.js +507 -0
- package/dist/chunks/{file-mutation-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-kyjacefg.js → rpc-5g6s6gv3.js} +28 -28
- package/dist/chunks/{file-mutation-cbgnwsbv.js → rpc-5kbbpd5m.js} +20 -20
- package/dist/chunks/{file-mutation-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-6f15q24d.js → rpc-5nz0gkqr.js} +8 -8
- package/dist/chunks/{file-mutation-e3qxr5gk.js → rpc-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-1555y6t7.js → rpc-5sz8h96m.js} +24 -24
- package/dist/chunks/{file-mutation-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-yz2qwk65.js → rpc-60p83n7v.js} +24 -24
- package/dist/chunks/{file-mutation-fj2fe1z2.js → rpc-65t34tvq.js} +4 -4
- package/dist/chunks/{file-mutation-jd3qxksf.js → rpc-67hqjgmd.js} +16 -16
- package/dist/chunks/{file-mutation-kvv1xtfr.js → rpc-6h8sc7np.js} +42 -42
- package/dist/chunks/{file-mutation-vvevwg1z.js → rpc-6tf0ydvz.js} +90 -90
- package/dist/chunks/{file-mutation-h9a17n0d.js → rpc-6vv667e0.js} +11 -11
- package/dist/chunks/{file-mutation-6xb47vfp.js → rpc-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-mutation-71az546q.js → rpc-71az546q.js} +2 -2
- package/dist/chunks/{file-mutation-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-28yfhwz7.js → rpc-7g3p7xqg.js} +19 -19
- package/dist/chunks/{file-mutation-6awh52j5.js → rpc-7m2qdy8r.js} +16 -16
- package/dist/chunks/{file-mutation-84txncab.js → rpc-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-zb6sgdts.js → rpc-890zyxch.js} +3 -3
- package/dist/chunks/{file-mutation-tcezcvh9.js → rpc-89znhe33.js} +4 -4
- package/dist/chunks/{file-mutation-svwmk5ch.js → rpc-8a5fnp9s.js} +34 -34
- package/dist/chunks/{file-mutation-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-nvtp25pr.js → rpc-8pbkcx2g.js} +13 -13
- package/dist/chunks/{file-mutation-ckhdz529.js → rpc-8sdwqvxv.js} +24 -24
- package/dist/chunks/{file-mutation-ts23464c.js → rpc-8sze2n9a.js} +8 -8
- package/dist/chunks/{file-mutation-zw1te067.js → rpc-8t8h1kbj.js} +20 -20
- package/dist/chunks/{file-mutation-dfx71smj.js → rpc-8xytev0b.js} +23 -23
- package/dist/chunks/rpc-8zpd4q88.js +253 -0
- package/dist/chunks/{file-mutation-9e5bzkjp.js → rpc-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-mutation-sa53hm79.js → rpc-9fwpadhv.js} +8 -8
- package/dist/chunks/{file-mutation-mecqpy2n.js → rpc-9k7vhctz.js} +9 -9
- package/dist/chunks/{file-mutation-tsyxe6gt.js → rpc-9kb1jp1e.js} +5 -5
- package/dist/chunks/{file-mutation-dpfsf5br.js → rpc-a1zzczhd.js} +9 -9
- package/dist/chunks/{file-mutation-knevfgda.js → rpc-a2rpfkac.js} +4 -4
- package/dist/chunks/{file-mutation-9h0gn9cc.js → rpc-a5k25c6v.js} +18 -18
- package/dist/chunks/{file-mutation-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-gj9znxmq.js → rpc-amzhydp5.js} +11 -11
- package/dist/chunks/{file-mutation-s5h4p73x.js → rpc-awrbzsy3.js} +8 -8
- package/dist/chunks/{file-mutation-wsxdwqek.js → rpc-b46f7b7m.js} +3 -3
- package/dist/chunks/{file-mutation-crx6d3v7.js → rpc-b4p0zyye.js} +6 -6
- package/dist/chunks/{file-mutation-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-h3gc8pws.js → rpc-b9rkfy69.js} +15 -15
- package/dist/chunks/{file-mutation-2w25s120.js → rpc-ba457dmc.js} +11 -11
- package/dist/chunks/{file-mutation-b7ge55kx.js → rpc-bgvt1315.js} +5 -5
- package/dist/chunks/{file-mutation-5tkrhxv3.js → rpc-bh4mgjf3.js} +4 -4
- package/dist/chunks/{file-mutation-hvsqzrqa.js → rpc-bkejr317.js} +9 -9
- package/dist/chunks/{file-mutation-gvvnr1gk.js → rpc-bq45k8q5.js} +3 -3
- package/dist/chunks/{file-mutation-1wmy5d9r.js → rpc-brj6tsnm.js} +24 -24
- package/dist/chunks/{file-mutation-mk8wm5aw.js → rpc-c7y386sp.js} +13 -13
- package/dist/chunks/{file-mutation-mx9vqzsb.js → rpc-c8bydgjz.js} +6 -6
- package/dist/chunks/{file-mutation-mq8ak108.js → rpc-c91zzexf.js} +11 -11
- package/dist/chunks/{file-mutation-87xdeyxt.js → rpc-c9k1me9f.js} +88 -88
- package/dist/chunks/{file-mutation-jkw9nnd0.js → rpc-cahzjz2e.js} +4 -4
- package/dist/chunks/{file-mutation-2pnhn36q.js → rpc-cavr175a.js} +21 -21
- package/dist/chunks/{file-mutation-1cs8m4t2.js → rpc-cazsvtfp.js} +11 -11
- package/dist/chunks/{file-mutation-6tf55av8.js → rpc-cc9k568f.js} +18 -18
- package/dist/chunks/{file-mutation-661jy2vh.js → rpc-chq8ys23.js} +24 -24
- package/dist/chunks/{file-mutation-vpy0bwhg.js → rpc-cskq1h98.js} +31 -31
- package/dist/chunks/{file-mutation-zc5g640q.js → rpc-cstv7mkv.js} +12 -12
- package/dist/chunks/{file-mutation-n8et2scw.js → rpc-d1pty5dr.js} +11 -11
- package/dist/chunks/{file-mutation-8npqmhxf.js → rpc-d2nh46vp.js} +12 -12
- package/dist/chunks/{file-mutation-f4jh16nv.js → rpc-d7111vdp.js} +9 -9
- package/dist/chunks/{file-mutation-x661k3y3.js → rpc-db2wf4at.js} +4 -4
- package/dist/chunks/{file-mutation-8bv871ss.js → rpc-dbspd11k.js} +9 -9
- package/dist/chunks/{file-mutation-sbcrysfm.js → rpc-dcra6fsx.js} +10 -10
- package/dist/chunks/{file-mutation-04g8e5pr.js → rpc-dhs4gavz.js} +1 -1
- package/dist/chunks/{file-mutation-2sejkfem.js → rpc-djszqvmq.js} +9 -9
- package/dist/chunks/{file-mutation-d2rn1z0s.js → rpc-dmmadak4.js} +30 -30
- package/dist/chunks/{file-mutation-e9tr4j2t.js → rpc-dp56tzpn.js} +14 -14
- package/dist/chunks/{file-mutation-dpkg50ah.js → rpc-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-mutation-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-zvt5dnpc.js → rpc-embw8kgh.js} +4 -4
- package/dist/chunks/{file-mutation-xvc9znd7.js → rpc-emj040m8.js} +22 -22
- package/dist/chunks/{file-mutation-b0gk7bse.js → rpc-epn4jpn5.js} +21 -21
- package/dist/chunks/{file-mutation-dg53hes0.js → rpc-eqt6bb3f.js} +9 -9
- package/dist/chunks/{file-mutation-nfa3hktv.js → rpc-et4sjga4.js} +3 -3
- package/dist/chunks/{file-mutation-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-02wcjj7e.js → rpc-ez2jm7g9.js} +19 -19
- package/dist/chunks/{file-mutation-7ynsymrs.js → rpc-ez9xjax4.js} +15 -15
- package/dist/chunks/{file-mutation-vz9sc8m2.js → rpc-f00eh3k7.js} +17 -17
- package/dist/chunks/{file-mutation-5dkn69vz.js → rpc-f29mbr7f.js} +4 -4
- package/dist/chunks/{file-mutation-gvdad6bz.js → rpc-f5j1xq8b.js} +46 -46
- package/dist/chunks/{file-mutation-9pafp8w8.js → rpc-fb7qthtr.js} +24 -24
- package/dist/chunks/{file-mutation-a66jrvr3.js → rpc-fgcxm0dp.js} +5 -5
- package/dist/chunks/{file-mutation-e638a1gw.js → rpc-fr4jfz3a.js} +177 -177
- package/dist/chunks/{file-mutation-hb6rb7bn.js → rpc-fvkm2g5h.js} +16 -16
- package/dist/chunks/{file-mutation-xfn237ea.js → rpc-g6tqb9ea.js} +8 -8
- package/dist/chunks/{file-mutation-h9wmft7n.js → rpc-gamycmfm.js} +18 -18
- package/dist/chunks/{file-mutation-2qr727t2.js → rpc-ganvav3g.js} +36 -36
- package/dist/chunks/{file-mutation-50509jqz.js → rpc-gbdg3f4q.js} +17 -17
- package/dist/chunks/{file-mutation-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-cct50mkk.js → rpc-gdz0nm16.js} +12 -12
- package/dist/chunks/{file-mutation-v9qjh7qv.js → rpc-gmm6ztwy.js} +13 -13
- package/dist/chunks/{file-mutation-y72vdz4v.js → rpc-gv3cf3j7.js} +5 -5
- package/dist/chunks/{file-mutation-218f2z9s.js → rpc-gvbrgmcd.js} +32 -32
- package/dist/chunks/{file-mutation-h2b79v29.js → rpc-h2b79v29.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-k3fwe1m1.js → rpc-ha1nyj3r.js} +17 -17
- package/dist/chunks/{file-mutation-h6004bm5.js → rpc-hf7v12ee.js} +25 -25
- package/dist/chunks/{file-mutation-njxwjya1.js → rpc-hwbjwdkm.js} +1 -1
- package/dist/chunks/{file-mutation-rey1fnbk.js → rpc-j33kjnzj.js} +16 -16
- package/dist/chunks/{file-mutation-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-r84a9mmt.js → rpc-j70nvw5e.js} +15 -15
- package/dist/chunks/{file-mutation-1nvf6535.js → rpc-jbefk323.js} +3 -3
- package/dist/chunks/{file-mutation-r3xyzp2p.js → rpc-jcahdafx.js} +15 -15
- package/dist/chunks/{file-mutation-4z9v8c1j.js → rpc-jcpqsrtw.js} +31 -31
- package/dist/chunks/{file-mutation-8az841hp.js → rpc-jmkwhzjg.js} +2 -2
- package/dist/chunks/{file-mutation-c1ccxcvh.js → rpc-jsd0es0t.js} +15 -15
- package/dist/chunks/{file-mutation-x690xafs.js → rpc-jv4phnjg.js} +36 -36
- package/dist/chunks/{file-mutation-gh5z95q3.js → rpc-k70p9jzb.js} +9 -9
- package/dist/chunks/{file-mutation-e8qyrgb1.js → rpc-kbqjp078.js} +5 -5
- package/dist/chunks/{file-mutation-q97xhhb3.js → rpc-kfv9zcp7.js} +7 -7
- package/dist/chunks/{file-mutation-23xej63c.js → rpc-kgvvfrqy.js} +7 -7
- package/dist/chunks/{file-mutation-j1exw291.js → rpc-kjb2hhrc.js} +32 -32
- package/dist/chunks/{file-mutation-7fjb48bx.js → rpc-krqgy3mh.js} +17 -17
- package/dist/chunks/{file-mutation-a71sm99w.js → rpc-kxh9v5xk.js} +32 -32
- package/dist/chunks/{file-mutation-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-3k5mtz14.js → rpc-m3r53n7w.js} +25 -25
- package/dist/chunks/{file-mutation-mrpfx1wa.js → rpc-m5dx7gp5.js} +20 -20
- package/dist/chunks/{file-mutation-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-6h1ernme.js → rpc-maqk305m.js} +11 -11
- package/dist/chunks/{file-mutation-wecqtg5s.js → rpc-mha52fg8.js} +5 -5
- package/dist/chunks/{file-mutation-jtkegxk4.js → rpc-mqdbt0fy.js} +13 -13
- package/dist/chunks/{file-mutation-5tqqzxgh.js → rpc-mvag4927.js} +6 -6
- package/dist/chunks/{file-mutation-vpqadsf2.js → rpc-mz7phrdz.js} +26 -26
- package/dist/chunks/{file-mutation-75ej4jpw.js → rpc-n6g6d2dh.js} +25 -25
- package/dist/chunks/{file-mutation-naagb8nt.js → rpc-n8vdb50h.js} +32 -32
- package/dist/chunks/{file-mutation-fyk5f08g.js → rpc-nfeyqsva.js} +30 -30
- package/dist/chunks/{file-mutation-zrsy8rcr.js → rpc-nffcmxy2.js} +3 -3
- package/dist/chunks/{file-mutation-sf58mb6r.js → rpc-nh782qgx.js} +17 -17
- package/dist/chunks/{file-mutation-57d1ra5g.js → rpc-nn9e7z2q.js} +17 -17
- package/dist/chunks/{file-mutation-b81hekbt.js → rpc-nnc3k97b.js} +26 -26
- package/dist/chunks/{file-mutation-xr5bsvjh.js → rpc-nsrpqm0g.js} +44 -44
- package/dist/chunks/{file-mutation-hwv85ce9.js → rpc-nyztfb2d.js} +5 -5
- package/dist/chunks/{file-mutation-w61hc5zg.js → rpc-p2pqxjme.js} +22 -22
- package/dist/chunks/{file-mutation-zj6wahms.js → rpc-p3apgj4x.js} +10 -10
- package/dist/chunks/{file-mutation-rq0cz1vq.js → rpc-p7jzk1rv.js} +11 -11
- package/dist/chunks/rpc-pf31ssb9.js +18 -0
- package/dist/chunks/{file-mutation-45xcksxr.js → rpc-pgp094pg.js} +21 -21
- package/dist/chunks/{file-mutation-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-zfs8ae4p.js → rpc-pkqb68ka.js} +4 -4
- package/dist/chunks/{file-mutation-nvxqht09.js → rpc-pt1ss6jy.js} +3 -3
- package/dist/chunks/{file-mutation-cvwp2h00.js → rpc-pz35sh5r.js} +19 -19
- package/dist/chunks/{file-mutation-nkbqs3g6.js → rpc-q0g1n7es.js} +8 -8
- package/dist/chunks/{file-mutation-0j77ygfz.js → rpc-q0xm7vwc.js} +6 -6
- package/dist/chunks/{file-mutation-r4hkhpy7.js → rpc-q4vm13ha.js} +8 -8
- package/dist/chunks/{file-mutation-35ja2k0w.js → rpc-qmgn8zg7.js} +2 -2
- package/dist/chunks/{file-mutation-6ysrkrkr.js → rpc-qmx1h8v8.js} +8 -8
- package/dist/chunks/{file-mutation-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-cnztrm4d.js → rpc-qrxmfht2.js} +3 -3
- package/dist/chunks/{file-mutation-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-kk8h1mek.js → rpc-qvb3nf84.js} +8 -8
- package/dist/chunks/{file-mutation-xyafkbt0.js → rpc-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-mutation-25f88z4a.js → rpc-r10837e4.js} +10 -10
- package/dist/chunks/{file-mutation-07y42gcd.js → rpc-r2dtq56c.js} +24 -24
- package/dist/chunks/{file-mutation-a1gpj94z.js → rpc-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-mutation-vzbxwz1d.js → rpc-r9y2scxt.js} +11 -11
- package/dist/chunks/{file-mutation-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-v78aj3nx.js → rpc-re7nxgv7.js} +10 -10
- package/dist/chunks/{file-mutation-s88dh0zy.js → rpc-rfmbkq71.js} +29 -29
- package/dist/chunks/{file-mutation-h5w29vws.js → rpc-rk1r2hx8.js} +1 -1
- package/dist/chunks/{file-mutation-pr0hvdxq.js → rpc-rqda8125.js} +18 -18
- package/dist/chunks/{file-mutation-g577d20j.js → rpc-rr08w51d.js} +48 -48
- package/dist/chunks/{file-mutation-egrnxctx.js → rpc-rw8bmwyh.js} +5 -5
- package/dist/chunks/{file-mutation-z35yy1yy.js → rpc-rzsd88wv.js} +7 -7
- package/dist/chunks/{file-mutation-b0hchee3.js → rpc-sbvpbnqx.js} +51 -51
- package/dist/chunks/{file-mutation-6yjaq157.js → rpc-sq2hf2ex.js} +6 -6
- package/dist/chunks/{file-mutation-p6tv4abw.js → rpc-sxcx047p.js} +24 -24
- package/dist/chunks/{file-mutation-nc1kns87.js → rpc-t11fnep0.js} +4 -4
- package/dist/chunks/{file-mutation-ratrq7cm.js → rpc-t2fc4mz5.js} +4 -4
- package/dist/chunks/{file-mutation-ankcjgrj.js → rpc-t8wbkswq.js} +69 -69
- package/dist/chunks/{file-mutation-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-hdgeq1g7.js → rpc-td5nyq6t.js} +47 -47
- package/dist/chunks/{file-mutation-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-fx5yzyf4.js → rpc-thw44fjv.js} +46 -46
- package/dist/chunks/{file-mutation-mabzq6p0.js → rpc-tnq8nysp.js} +16 -16
- package/dist/chunks/{file-mutation-br0tr5aq.js → rpc-tpw6cwsb.js} +8 -8
- package/dist/chunks/{file-mutation-v0es1rhs.js → rpc-v0es1rhs.js} +2 -2
- package/dist/chunks/{file-mutation-rj4pd13v.js → rpc-v5gcwjqe.js} +20 -20
- package/dist/chunks/{file-mutation-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-ys1dh2re.js → rpc-vfq38zp6.js} +11 -11
- package/dist/chunks/{file-mutation-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-q0raz0xt.js → rpc-w9vf9qqj.js} +9 -9
- package/dist/chunks/{file-mutation-y9xj6aq1.js → rpc-wcyz2dd7.js} +9 -9
- package/dist/chunks/{file-mutation-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-6yz0wx8n.js → rpc-wh6zw745.js} +5 -5
- package/dist/chunks/{file-mutation-ecv2nrx7.js → rpc-wjknr5ax.js} +10 -10
- package/dist/chunks/{file-mutation-709pec4s.js → rpc-wmh0e8qb.js} +35 -35
- package/dist/chunks/{file-mutation-8jbkjwmp.js → rpc-wmz5tzxy.js} +12 -12
- package/dist/chunks/{file-mutation-1v8zftd4.js → rpc-ws43kkxr.js} +43 -43
- package/dist/chunks/{file-mutation-s8d7rejh.js → rpc-wv396vej.js} +8 -8
- package/dist/chunks/{file-mutation-pd5dkj66.js → rpc-x2qsf20a.js} +10 -10
- package/dist/chunks/{file-mutation-y5sw2v8p.js → rpc-x464wtgm.js} +15 -15
- package/dist/chunks/{file-mutation-aw8nxmf0.js → rpc-x86jqt50.js} +20 -20
- package/dist/chunks/{file-mutation-h1249wnn.js → rpc-xagyt1w9.js} +25 -25
- package/dist/chunks/{file-mutation-m8e6htjm.js → rpc-xatn3nz0.js} +10 -10
- package/dist/chunks/{file-mutation-v9zpe6q8.js → rpc-xdfgrpdn.js} +11 -11
- package/dist/chunks/{file-mutation-w19d8598.js → rpc-xfkkasph.js} +5 -5
- package/dist/chunks/{file-mutation-mjrs5hnf.js → rpc-xfrtpcsx.js} +30 -30
- package/dist/chunks/{file-mutation-1adkzxce.js → rpc-xgj417n4.js} +29 -29
- package/dist/chunks/{file-mutation-xkntkrq7.js → rpc-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-1yqjwqhe.js → rpc-xm0xxx27.js} +16 -16
- package/dist/chunks/{file-mutation-ybef7sh4.js → rpc-xr0pdkzg.js} +24 -24
- package/dist/chunks/{file-mutation-8qvzptz7.js → rpc-xs53z2pm.js} +4 -4
- package/dist/chunks/{file-mutation-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-jebr833t.js → rpc-y20qkwyy.js} +30 -30
- package/dist/chunks/{file-mutation-prb5bsag.js → rpc-y2b68zde.js} +20 -20
- package/dist/chunks/{file-mutation-y56ehv6b.js → rpc-y56ehv6b.js} +2 -2
- package/dist/chunks/{file-mutation-51zktd4p.js → rpc-ydcpfrjz.js} +7 -7
- package/dist/chunks/{file-mutation-b0hy8ze2.js → rpc-ye9wgpct.js} +11 -11
- package/dist/chunks/{file-mutation-wx286pgp.js → rpc-yep9hrs7.js} +16 -16
- package/dist/chunks/{file-mutation-51c68e5c.js → rpc-yh215453.js} +11 -11
- package/dist/chunks/{file-mutation-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-5c5s8b62.js → rpc-z1y57tvr.js} +52 -52
- package/dist/chunks/{file-mutation-za3690yj.js → rpc-zpp3xwmp.js} +8 -8
- package/dist/chunks/{file-mutation-2fznsc3f.js → rpc-zqsp6zp7.js} +15 -15
- package/dist/chunks/{file-mutation-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-dfqatd0t.js → rpc-ztbftqy0.js} +11 -11
- package/dist/chunks/{file-mutation-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-mqx8z5pp.js → rpc-zxyzpaq8.js} +15 -15
- package/dist/chunks/{file-mutation-7yxxj0jq.js → rpc-zy0p2a7a.js} +20 -20
- package/dist/chunks/{file-mutation-241ryskx.js → rpc-zykqxywy.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +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 +363 -363
- 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/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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- 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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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/file-mutation-55zhmapd.js +0 -253
- package/dist/chunks/file-mutation-9qyxy0zz.js +0 -26
- package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
- package/dist/chunks/file-mutation-zx72hgwt.js +0 -507
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service77
|
|
7
|
+
} from "./rpc-3php8dd9.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-pt1ss6jy.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-kgvvfrqy.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service77;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID16.make(from),
|
|
91
|
+
to: ID16.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-890zyxch.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-2abnsckw.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service73,
|
|
15
|
+
node77
|
|
16
|
+
} from "./rpc-r2dtq56c.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service61,
|
|
22
|
+
node65
|
|
23
|
+
} from "./rpc-nfeyqsva.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./rpc-f29mbr7f.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load5
|
|
38
|
+
} from "./rpc-c91zzexf.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./rpc-rk1r2hx8.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service23,
|
|
47
|
+
node27
|
|
48
|
+
} from "./rpc-jcpqsrtw.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service50,
|
|
51
|
+
node52
|
|
52
|
+
} from "./rpc-c7y386sp.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./rpc-mha52fg8.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./rpc-rw8bmwyh.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./rpc-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./rpc-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service11,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node13,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service73;
|
|
176
176
|
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service61;
|
|
179
|
+
const models = yield* Service50;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service23;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID13.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service11.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node13 = makeLocationNode({
|
|
482
|
+
service: Service11,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node77, node87, node88, llmClient2, node65, node27, node52]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./rpc-n8vdb50h.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./rpc-60p83n7v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-22pj3101.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./rpc-x464wtgm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./rpc-z1y57tvr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./rpc-gamycmfm.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin13,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin13 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service57;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service70;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent6, Plugin13, exports_write };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service82,
|
|
9
|
-
node86
|
|
10
|
-
} from "./file-mutation-zc5g640q.js";
|
|
11
|
-
import {
|
|
12
8
|
Service80,
|
|
13
9
|
node84
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./rpc-cstv7mkv.js";
|
|
11
|
+
import {
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./rpc-dp56tzpn.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service77,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node81,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ 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 ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service77 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
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 Service77.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node81 = makeLocationNode({
|
|
144
|
+
service: Service77,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service77, Service77.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID16, Error5, Service77, node81, noopLayer3, exports_snapshot2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info19 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin45,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin45 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin45, exports_identity };
|