@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./file-mutation-x9v2s4mt.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service54
|
|
13
|
+
} from "./file-mutation-qvcq4vww.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./file-mutation-6qdk3m7n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service72
|
|
19
|
+
} from "./file-mutation-3hmc9p2p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-n08rr4pq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service49,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-q752a12t.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./file-mutation-w1hpm58k.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./file-mutation-cekhgrsm.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-mutation-bmb3ej5t.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin40,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin40 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service24;
|
|
123
|
+
const jobs = yield* Service61;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service54;
|
|
126
|
+
const access = yield* Service19;
|
|
127
|
+
const shell = yield* Service37;
|
|
128
|
+
const shellSelect = yield* Service49;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service72;
|
|
131
|
+
const config = yield* Service40;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin49 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name4,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin49 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name4,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input4,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin49 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name4,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name4];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin40, exports_shell2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-3hmc9p2p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service36,
|
|
12
|
+
node39
|
|
13
|
+
} from "./file-mutation-j2978cmg.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-4k2fjpjr.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service29,
|
|
27
27
|
layer: () => layer11,
|
|
28
28
|
node: () => node33
|
|
29
29
|
});
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service29 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer11 = Layer.effect(
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service29, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service36;
|
|
68
|
+
return Service29.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node33 = makeLocationNode({ service:
|
|
99
|
+
var node33 = makeLocationNode({ service: Service29, layer: layer11, deps: [node39] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service29, layer11, node33, exports_instructions3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-xdyqf2ep.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./file-mutation-x9v2s4mt.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-gzwr95fx.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service40;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./file-mutation-rq2znn32.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID7.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./file-mutation-zwy3hb2f.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./file-mutation-xdyqf2ep.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service40
|
|
12
|
+
} from "./file-mutation-x9v2s4mt.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-91m9hd8f.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service61
|
|
18
|
+
} from "./file-mutation-6qdk3m7n.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./file-mutation-3hmc9p2p.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service24
|
|
25
|
+
} from "./file-mutation-cekhgrsm.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./file-mutation-7ncrrmyf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
40
|
Output: () => Output4,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin42,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name6 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -77,7 +77,7 @@ var Output4 = Schema.Struct({
|
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin42 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service24;
|
|
93
|
+
const jobs = yield* Service61;
|
|
94
|
+
const agents = yield* Service76;
|
|
95
|
+
const config = yield* Service40;
|
|
96
|
+
const permission = yield* Service72;
|
|
97
|
+
const models = yield* Service64;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,10 +115,10 @@ var Plugin44 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input6,
|
|
122
122
|
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -139,7 +139,7 @@ var Plugin44 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name6,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin44 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID14.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name6 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name6];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name6, Input6, Output4, description3, Plugin42, exports_subagent };
|