@opencode/core 0.0.0-dev-20481 → 0.0.0-dev-20483
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 +75 -75
- package/dist/chunks/{git-41vfag0n.js → file-retention-010svtsv.js} +28 -28
- package/dist/chunks/{git-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0h87xbbz.js → file-retention-0pdpn3pq.js} +16 -16
- package/dist/chunks/{git-ygdna4kr.js → file-retention-0r3c1bmw.js} +5 -5
- package/dist/chunks/{git-p35g2vpz.js → file-retention-0r90g8yp.js} +21 -21
- package/dist/chunks/{git-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
- package/dist/chunks/file-retention-16e93gk9.js +507 -0
- package/dist/chunks/{git-vyt0kgkx.js → file-retention-1856z5gp.js} +36 -36
- package/dist/chunks/{git-3382x40z.js → file-retention-18k9cajk.js} +4 -4
- package/dist/chunks/{git-42a4b5x3.js → file-retention-19m1yqgd.js} +30 -30
- package/dist/chunks/{git-5sqh9w00.js → file-retention-19wbe0f4.js} +19 -19
- package/dist/chunks/file-retention-1bmzne1w.js +26 -0
- package/dist/chunks/{git-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-ccksxbyh.js → file-retention-1f27qpcc.js} +40 -40
- package/dist/chunks/{git-py47m9dw.js → file-retention-1pd86f1r.js} +10 -10
- package/dist/chunks/{git-s59ev0m2.js → file-retention-1q0jybjw.js} +27 -27
- package/dist/chunks/{git-nbbbwrsr.js → file-retention-1qa1mw2k.js} +51 -51
- package/dist/chunks/{git-v4wtaekh.js → file-retention-1tt22aw3.js} +32 -32
- package/dist/chunks/{git-k2f9j3q2.js → file-retention-1tz386xc.js} +22 -22
- package/dist/chunks/{git-mfqp6xfm.js → file-retention-1ygqh575.js} +6 -6
- package/dist/chunks/{git-pt1c4k6y.js → file-retention-1yxhyg8n.js} +12 -12
- package/dist/chunks/{git-hy3hxqkj.js → file-retention-22s53sjq.js} +10 -10
- package/dist/chunks/{git-srw1wyee.js → file-retention-23ydc1ae.js} +17 -17
- package/dist/chunks/{git-qy6g1rdh.js → file-retention-24etr8ym.js} +20 -20
- package/dist/chunks/{git-nte0bfvv.js → file-retention-24y4cr83.js} +26 -26
- package/dist/chunks/{git-386dse5s.js → file-retention-26a94np2.js} +45 -45
- package/dist/chunks/{git-11schykf.js → file-retention-299t90wb.js} +25 -25
- package/dist/chunks/{git-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-pkyzxqrp.js → file-retention-2b07cd18.js} +28 -28
- package/dist/chunks/{git-b45szw8n.js → file-retention-2dyhgb9n.js} +12 -12
- package/dist/chunks/{git-rzgz5kj8.js → file-retention-2e17eh3v.js} +4 -4
- package/dist/chunks/{git-wcrrxam5.js → file-retention-2fcdk11z.js} +60 -60
- package/dist/chunks/{git-c7x212x9.js → file-retention-2pvxx6w1.js} +5 -5
- package/dist/chunks/{git-9zybxyya.js → file-retention-2qasw89v.js} +5 -5
- package/dist/chunks/{git-zct2699j.js → file-retention-2s45n8cs.js} +3 -3
- package/dist/chunks/{git-cjthjsse.js → file-retention-2x8x7t3a.js} +35 -35
- package/dist/chunks/{git-h2b79v29.js → file-retention-3cegwx68.js} +2 -2
- package/dist/chunks/{git-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-j712c6ve.js → file-retention-3kbc11ry.js} +11 -11
- package/dist/chunks/{git-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-hs4apeen.js → file-retention-3v6j8f05.js} +10 -10
- package/dist/chunks/{git-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-rpf1qvc3.js → file-retention-44ak30pa.js} +4 -4
- package/dist/chunks/{git-my4zabxr.js → file-retention-48kw51zw.js} +3 -3
- package/dist/chunks/{git-e351gv9y.js → file-retention-4dhdfeb8.js} +12 -12
- package/dist/chunks/{git-2bzy33zx.js → file-retention-4kx9erc0.js} +18 -18
- package/dist/chunks/{git-2re9vmfy.js → file-retention-4mat50dd.js} +12 -12
- package/dist/chunks/{git-yn5e4dj4.js → file-retention-4mp36x47.js} +9 -9
- package/dist/chunks/{git-7dd52q06.js → file-retention-4sq4r2t8.js} +3 -3
- package/dist/chunks/{git-4ts7tf6z.js → file-retention-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-cbyyef9c.js → file-retention-4v3k5exv.js} +34 -34
- package/dist/chunks/{git-mjymc32g.js → file-retention-50mzsvk4.js} +4 -4
- package/dist/chunks/{git-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{git-8khbh05p.js → file-retention-5cj6t5k8.js} +8 -8
- package/dist/chunks/{git-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{git-kaf4gepk.js → file-retention-5fffgman.js} +60 -60
- package/dist/chunks/{git-9bbmhm4m.js → file-retention-5nsj1v3b.js} +4 -4
- package/dist/chunks/{git-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-hc976vhp.js → file-retention-62e165w1.js} +18 -18
- package/dist/chunks/{git-83cqqva6.js → file-retention-63b3jkh8.js} +22 -22
- package/dist/chunks/{git-v31r4dph.js → file-retention-63r88w2b.js} +11 -11
- package/dist/chunks/{git-dherjby8.js → file-retention-6479pxty.js} +5 -5
- package/dist/chunks/{git-eeb28w8k.js → file-retention-6517zxh1.js} +15 -15
- package/dist/chunks/{git-dcs9hbsv.js → file-retention-664q6xrj.js} +19 -19
- package/dist/chunks/{git-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{git-9nytgvc2.js → file-retention-672hp4zj.js} +8 -8
- package/dist/chunks/{git-r3hpgepr.js → file-retention-6akfc5px.js} +26 -26
- package/dist/chunks/{git-1bypmceh.js → file-retention-6g0d6zmv.js} +16 -16
- package/dist/chunks/{git-thf4zxr8.js → file-retention-6pxgffms.js} +5 -5
- package/dist/chunks/{git-j8rbgwqz.js → file-retention-6y6b3v79.js} +46 -46
- package/dist/chunks/{git-4xpgt2w9.js → file-retention-6yz0wx8n.js} +5 -5
- package/dist/chunks/{git-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-pbpv9gfz.js → file-retention-7kc72sy1.js} +18 -18
- package/dist/chunks/{git-jyt5y1qt.js → file-retention-7np80qm3.js} +2 -2
- package/dist/chunks/{git-mjagy123.js → file-retention-7r0r50e5.js} +5 -5
- package/dist/chunks/{git-yv9jqw96.js → file-retention-7t9r5z7t.js} +6 -6
- package/dist/chunks/{git-1dvck2a7.js → file-retention-84h8c373.js} +2 -2
- package/dist/chunks/{git-s26hbv8p.js → file-retention-86qzxe6p.js} +4 -4
- package/dist/chunks/{git-habzs87j.js → file-retention-89qfpw9h.js} +22 -22
- package/dist/chunks/{git-yvq0e8sz.js → file-retention-8a6ws7jr.js} +9 -9
- package/dist/chunks/{git-eaxsg860.js → file-retention-8bx78z2w.js} +15 -15
- package/dist/chunks/{git-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-trhjxf3d.js → file-retention-8gszwhhd.js} +7 -7
- package/dist/chunks/{git-b6reh3hn.js → file-retention-8p4jk4hz.js} +16 -16
- package/dist/chunks/{git-7p313m06.js → file-retention-8tx99sfv.js} +28 -28
- package/dist/chunks/{git-qthf81rg.js → file-retention-8xf2390s.js} +14 -14
- package/dist/chunks/{git-xb4hcye0.js → file-retention-91150f7p.js} +22 -22
- package/dist/chunks/{git-q4zhjj5d.js → file-retention-916ecn31.js} +20 -20
- package/dist/chunks/{git-1x0zm3dp.js → file-retention-99z2e8tf.js} +21 -21
- package/dist/chunks/{git-5azn87gq.js → file-retention-9cgh24rp.js} +29 -29
- package/dist/chunks/{git-fsfe74kd.js → file-retention-9ma816y3.js} +27 -27
- package/dist/chunks/{git-q2k9hrka.js → file-retention-9phb3768.js} +17 -17
- package/dist/chunks/file-retention-9sh4wc5j.js +18 -0
- package/dist/chunks/{git-shp8jhta.js → file-retention-9wpkv8d5.js} +1 -1
- package/dist/chunks/{git-p9yemd5w.js → file-retention-9ymnkqa3.js} +22 -22
- package/dist/chunks/{git-vj4f2rsj.js → file-retention-9z7evyec.js} +24 -24
- package/dist/chunks/{git-mvfsc1pv.js → file-retention-a1gpj94z.js} +3 -3
- package/dist/chunks/{git-r86bf0fn.js → file-retention-a2c5gk3p.js} +3 -3
- package/dist/chunks/{git-17xbj2z7.js → file-retention-a39dgx1a.js} +8 -8
- package/dist/chunks/{git-m6x68w8h.js → file-retention-a8fr1h6x.js} +184 -184
- package/dist/chunks/{git-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{git-k0m5db98.js → file-retention-b1059kqh.js} +26 -26
- package/dist/chunks/{git-zyk1yjk8.js → file-retention-b3f8fkhc.js} +5 -5
- package/dist/chunks/{git-dpe144tr.js → file-retention-b47w6h91.js} +13 -13
- package/dist/chunks/{git-cfsekr6v.js → file-retention-b4twkq7r.js} +6 -6
- package/dist/chunks/{git-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-8sme8jv8.js → file-retention-bkb94af5.js} +44 -44
- package/dist/chunks/{git-73pa4q01.js → file-retention-byxd618f.js} +24 -24
- package/dist/chunks/{git-4wx3j26j.js → file-retention-c4rc6qkb.js} +4 -4
- package/dist/chunks/{git-327sg516.js → file-retention-cb03yeca.js} +18 -18
- package/dist/chunks/{git-5v41a74b.js → file-retention-cc9f4jmy.js} +9 -9
- package/dist/chunks/{git-qpmwgr82.js → file-retention-ceb9zpqz.js} +9 -9
- package/dist/chunks/{git-16tfmg9n.js → file-retention-cmp6hdh9.js} +13 -13
- package/dist/chunks/{git-1ajx6rf5.js → file-retention-cmwkp3r5.js} +8 -8
- package/dist/chunks/{git-wssnkxc5.js → file-retention-cn1yc8yx.js} +36 -36
- package/dist/chunks/{git-ap4zckht.js → file-retention-cs1ase73.js} +18 -18
- package/dist/chunks/{git-cwa6csj7.js → file-retention-cwa6csj7.js} +2 -2
- package/dist/chunks/{git-dfrza52c.js → file-retention-cxpvh0dz.js} +11 -11
- package/dist/chunks/{git-9fyj3hys.js → file-retention-cy54bjc2.js} +8 -8
- package/dist/chunks/{git-r63za8pc.js → file-retention-d0z5e1mn.js} +32 -32
- package/dist/chunks/{git-ftnv5kfd.js → file-retention-d9y2dced.js} +32 -32
- package/dist/chunks/{git-pzsynw2j.js → file-retention-da5crynx.js} +8 -8
- package/dist/chunks/{git-x661k3y3.js → file-retention-db2wf4at.js} +4 -4
- package/dist/chunks/{git-r50xfagt.js → file-retention-dc2qckmf.js} +15 -15
- package/dist/chunks/{git-cr0y6bkk.js → file-retention-dgk23zpj.js} +28 -28
- package/dist/chunks/{git-zf3n64mb.js → file-retention-dj02fe1d.js} +34 -34
- package/dist/chunks/{git-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
- package/dist/chunks/{git-1zn329az.js → file-retention-dqdxhkv7.js} +9 -9
- package/dist/chunks/{git-brvreg6p.js → file-retention-dqetav0t.js} +3 -3
- package/dist/chunks/{git-9qd58nx3.js → file-retention-drvshtg5.js} +24 -24
- package/dist/chunks/{git-eseyeb0w.js → file-retention-dyrnqeff.js} +14 -14
- package/dist/chunks/{git-9750y225.js → file-retention-e4n08x2a.js} +6 -6
- package/dist/chunks/{git-apaqd6gh.js → file-retention-e7fybsm5.js} +1 -1
- package/dist/chunks/{git-sb1bm0qp.js → file-retention-e7rehdhe.js} +75 -75
- package/dist/chunks/{git-272ak889.js → file-retention-e9rrx8nb.js} +17 -17
- package/dist/chunks/{git-9t7a50xb.js → file-retention-eaj1djv9.js} +8 -8
- package/dist/chunks/{git-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-aa8qew8f.js → file-retention-ehy2g33m.js} +26 -26
- package/dist/chunks/{git-7r82taj5.js → file-retention-emjm3mg5.js} +20 -20
- package/dist/chunks/{git-f95rk2pr.js → file-retention-enpnrszd.js} +28 -28
- package/dist/chunks/{git-51f5btjf.js → file-retention-eqkxs06z.js} +6 -6
- package/dist/chunks/{git-g9tydsjn.js → file-retention-et5g45k6.js} +11 -11
- package/dist/chunks/{git-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-vgwj7znc.js → file-retention-evhxnv2q.js} +11 -11
- package/dist/chunks/{git-1pfhqsc3.js → file-retention-ez2gdk13.js} +17 -17
- package/dist/chunks/{git-zsr4wwhv.js → file-retention-f29mbr7f.js} +4 -4
- package/dist/chunks/{git-gvzxnjjj.js → file-retention-f3md509a.js} +18 -18
- package/dist/chunks/{git-71az546q.js → file-retention-f75zav2x.js} +2 -2
- package/dist/chunks/{git-qgn6gcr1.js → file-retention-fcrkznn8.js} +5 -5
- package/dist/chunks/{git-cgyy49aj.js → file-retention-fwyzff2k.js} +15 -15
- package/dist/chunks/{git-zvr8tn04.js → file-retention-g2y161wv.js} +8 -8
- package/dist/chunks/{git-g5w8qwbj.js → file-retention-g5w8qwbj.js} +1 -1
- package/dist/chunks/{git-92hpndrs.js → file-retention-g7b432k9.js} +9 -9
- package/dist/chunks/{git-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-dqs0vcbf.js → file-retention-gmyr53yh.js} +15 -15
- package/dist/chunks/{git-vjbsmafc.js → file-retention-gpvbq4ra.js} +24 -24
- package/dist/chunks/{git-s6tbk65m.js → file-retention-gr6b6mj1.js} +11 -11
- package/dist/chunks/{git-repk3emw.js → file-retention-gt8adb52.js} +11 -11
- package/dist/chunks/{git-xkmy9fvh.js → file-retention-gzfdgjtf.js} +15 -15
- package/dist/chunks/{git-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-470k3ke5.js → file-retention-h6wrxb9q.js} +28 -28
- package/dist/chunks/{git-3gjywyz4.js → file-retention-hb0k09dj.js} +11 -11
- package/dist/chunks/{git-8f060hg1.js → file-retention-htp67ewe.js} +11 -11
- package/dist/chunks/{git-dvc89yjx.js → file-retention-hz0q9sdq.js} +8 -8
- package/dist/chunks/{git-hq153nby.js → file-retention-j1516eyq.js} +24 -24
- package/dist/chunks/{git-r4qc49wz.js → file-retention-j4s13nb2.js} +13 -13
- package/dist/chunks/{git-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{git-p6tgyf45.js → file-retention-jc1gpg60.js} +5 -5
- package/dist/chunks/{git-wb7crd86.js → file-retention-jnk7qm89.js} +13 -13
- package/dist/chunks/{git-3gz5rark.js → file-retention-jqp48237.js} +35 -35
- package/dist/chunks/{git-9em85dm2.js → file-retention-jx0q4spf.js} +18 -18
- package/dist/chunks/{git-z9j6250x.js → file-retention-k5zhfa84.js} +33 -33
- package/dist/chunks/{git-9e5bzkjp.js → file-retention-kb9j3d72.js} +3 -3
- package/dist/chunks/file-retention-kdgzr6za.js +252 -0
- package/dist/chunks/{git-sxtvyy3t.js → file-retention-kgfzxw26.js} +10 -10
- package/dist/chunks/{git-qzx8p8d0.js → file-retention-khtp5qmv.js} +20 -20
- package/dist/chunks/{git-v252qd0j.js → file-retention-kn16ews1.js} +17 -17
- package/dist/chunks/{git-jrjafyr0.js → file-retention-knp96k5g.js} +14 -14
- package/dist/chunks/{git-d819pdvd.js → file-retention-kxvjk49k.js} +5 -5
- package/dist/chunks/{git-3wpc7sdy.js → file-retention-m2fmqjsg.js} +32 -32
- package/dist/chunks/{git-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-jf4axb2c.js → file-retention-mh3pfvhs.js} +3 -3
- package/dist/chunks/{git-m9v4343w.js → file-retention-msgz7vnx.js} +21 -21
- package/dist/chunks/{git-bydnjh3t.js → file-retention-n37c4crj.js} +9 -9
- package/dist/chunks/{git-w8cdx6rt.js → file-retention-n69ahfa0.js} +15 -15
- package/dist/chunks/{git-t669c2kt.js → file-retention-nc9ket9e.js} +7 -7
- package/dist/chunks/{git-62dyt405.js → file-retention-njg0144m.js} +11 -11
- package/dist/chunks/{git-qaeybh9m.js → file-retention-nmpbqy18.js} +6 -6
- package/dist/chunks/{git-m0ekd96m.js → file-retention-ntg2j34t.js} +6 -6
- package/dist/chunks/{git-cjerh2x3.js → file-retention-nvebafbr.js} +13 -13
- package/dist/chunks/{git-hvjr2bj8.js → file-retention-nx5d6twc.js} +46 -46
- package/dist/chunks/{git-bpkwba73.js → file-retention-p4qz04xc.js} +48 -48
- package/dist/chunks/{git-5hqve3aj.js → file-retention-pb2egvkv.js} +9 -9
- package/dist/chunks/{git-qvm0wtrp.js → file-retention-pf3jdx00.js} +5 -5
- package/dist/chunks/{git-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{git-gm6nnvxm.js → file-retention-pm3syzdj.js} +28 -28
- package/dist/chunks/{git-vyys1dp9.js → file-retention-py5x8axh.js} +8 -8
- package/dist/chunks/{git-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
- package/dist/chunks/{git-w4m5k0g7.js → file-retention-q3wbtnjt.js} +9 -9
- package/dist/chunks/{git-jvf3yq6v.js → file-retention-q5asdkn4.js} +4 -4
- package/dist/chunks/{git-ztzk91w7.js → file-retention-q6e5294y.js} +31 -31
- package/dist/chunks/{git-txs8yy3n.js → file-retention-q717ea4v.js} +3 -3
- package/dist/chunks/{git-bt3d1ymw.js → file-retention-qeajncbp.js} +18 -18
- package/dist/chunks/{git-mx9s3x0a.js → file-retention-qjz171mj.js} +14 -14
- package/dist/chunks/{git-4wrkd8nn.js → file-retention-qkpjj9ac.js} +11 -11
- package/dist/chunks/{git-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{git-4a6jpjer.js → file-retention-qsr9synt.js} +5 -5
- package/dist/chunks/{git-zw2wtcws.js → file-retention-qvp3ayyr.js} +4 -4
- package/dist/chunks/{git-yhakkn64.js → file-retention-qw26wqbf.js} +11 -11
- package/dist/chunks/{git-200bxkj7.js → file-retention-qwvc2n28.js} +28 -28
- package/dist/chunks/{git-a3txam13.js → file-retention-r4mw293q.js} +25 -25
- package/dist/chunks/{git-02rta1p5.js → file-retention-r5zhkawj.js} +4 -4
- package/dist/chunks/{git-pbcn5b8q.js → file-retention-r6km2j76.js} +20 -20
- package/dist/chunks/{git-8a37x1ax.js → file-retention-r8ngcrxq.js} +44 -44
- package/dist/chunks/{git-tkmwgdpd.js → file-retention-ratrq7cm.js} +7 -7
- package/dist/chunks/{git-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-xv72df90.js → file-retention-rfx500q8.js} +47 -47
- package/dist/chunks/{git-1acjjqhc.js → file-retention-rhraev7y.js} +4 -4
- package/dist/chunks/{git-ncnm8wen.js → file-retention-rk1r2hx8.js} +1 -1
- package/dist/chunks/{git-tcatf3b6.js → file-retention-rmzxb8wx.js} +43 -43
- package/dist/chunks/{git-drnf6xwf.js → file-retention-rqa1jxse.js} +2 -2
- package/dist/chunks/{git-6pjm6hxh.js → file-retention-rya9vxen.js} +40 -40
- package/dist/chunks/{git-qtxdpptr.js → file-retention-s78w3mx6.js} +32 -32
- package/dist/chunks/{git-4ckgtqrh.js → file-retention-s9xxw18e.js} +9 -9
- package/dist/chunks/{git-6gna983b.js → file-retention-t3dkts0r.js} +11 -11
- package/dist/chunks/{git-qgrdwknr.js → file-retention-taazwa2m.js} +16 -16
- package/dist/chunks/{git-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-j1j89z9y.js → file-retention-tctwkzpn.js} +315 -315
- package/dist/chunks/{git-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{git-0r7m21ea.js → file-retention-tezq3vq8.js} +35 -35
- package/dist/chunks/{git-bz7vn164.js → file-retention-tfwaqret.js} +8 -8
- package/dist/chunks/{git-4mwhzqns.js → file-retention-tj5rcesx.js} +34 -34
- package/dist/chunks/{git-p8k3f31h.js → file-retention-tnwsy8nb.js} +83 -83
- package/dist/chunks/{git-1gpb38yh.js → file-retention-twwzjqdf.js} +6 -6
- package/dist/chunks/{git-8ndffx4j.js → file-retention-v0es1rhs.js} +7 -7
- package/dist/chunks/{git-p558d1j2.js → file-retention-v1gfxk1h.js} +5 -5
- package/dist/chunks/{git-3q5fxme7.js → file-retention-v81vxjx2.js} +11 -11
- package/dist/chunks/{git-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{git-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-tg54efwz.js → file-retention-vzgh18wv.js} +5 -5
- package/dist/chunks/{git-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w1eejvng.js → file-retention-w1eejvng.js} +1 -1
- package/dist/chunks/{git-bbw36kky.js → file-retention-w2bejqka.js} +22 -22
- package/dist/chunks/{git-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-bh0zzf2s.js → file-retention-w3x9v1nk.js} +8 -8
- package/dist/chunks/{git-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{git-5zfwvp2h.js → file-retention-wnk9exdz.js} +6 -6
- package/dist/chunks/{git-apm8h6qx.js → file-retention-wvj3jknz.js} +95 -95
- package/dist/chunks/{git-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-vn72gsba.js → file-retention-xasyx0as.js} +4 -4
- package/dist/chunks/{git-j505r7f3.js → file-retention-xevbb3dk.js} +32 -32
- package/dist/chunks/{git-vzbxwz1d.js → file-retention-xh27xnk0.js} +11 -11
- package/dist/chunks/{git-dmqcgk4z.js → file-retention-xkntkrq7.js} +5 -5
- package/dist/chunks/{git-6dmpadww.js → file-retention-xqs03zex.js} +30 -30
- package/dist/chunks/{git-03xyy9gs.js → file-retention-xvrdsv0z.js} +8 -8
- package/dist/chunks/{git-zqb7t9wr.js → file-retention-xxz7chtq.js} +29 -29
- package/dist/chunks/{git-qxjc9qry.js → file-retention-xyafkbt0.js} +3 -3
- package/dist/chunks/{git-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-yemncvg3.js → file-retention-y1tbwvmr.js} +27 -27
- package/dist/chunks/{git-n1n7d1bc.js → file-retention-y43kper9.js} +29 -29
- package/dist/chunks/{git-c16f70nq.js → file-retention-yhws0ggv.js} +10 -10
- package/dist/chunks/{git-z8dbgj3m.js → file-retention-ymxbsbk4.js} +5 -5
- package/dist/chunks/{git-r44petzp.js → file-retention-ynx963a9.js} +12 -12
- package/dist/chunks/{git-s5met55r.js → file-retention-ypw91m64.js} +8 -8
- package/dist/chunks/{git-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-2hstpqf3.js → file-retention-yygvcae8.js} +5 -5
- package/dist/chunks/{git-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-vd216s12.js → file-retention-z421k0xb.js} +15 -15
- package/dist/chunks/{git-gck3dpx1.js → file-retention-zcf427st.js} +34 -34
- package/dist/chunks/{git-fr5pxeem.js → file-retention-zn9rd40w.js} +31 -31
- package/dist/chunks/{git-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +74 -74
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +74 -74
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- 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-service-map.js +84 -84
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- 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 +91 -91
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +327 -327
- 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/gateway.js +2 -2
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- 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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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 +114 -114
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- 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 +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +151 -151
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +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 +3 -3
- 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 +162 -162
- 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 +75 -75
- 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 +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +12 -12
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/git-fpbz0h82.js +0 -252
- package/dist/chunks/git-fz13pkzb.js +0 -507
- package/dist/chunks/git-qc068m1q.js +0 -18
- package/dist/chunks/git-rkn1pe94.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./file-retention-6g0d6zmv.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-byxd618f.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin3 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
if (location.vcs && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin3, exports_git };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./file-retention-6g0d6zmv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./file-retention-6y6b3v79.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service19
|
|
9
|
+
} from "./file-retention-gzfdgjtf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make11
|
|
12
|
+
} from "./file-retention-a1gpj94z.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service61;
|
|
36
|
+
const formatter = yield* Service19;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin12 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make11({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin36, exports_formatter };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./file-retention-drvshtg5.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./file-retention-xvrdsv0z.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-qvp3ayyr.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./file-retention-6y6b3v79.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin48
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin48 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service61;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin9 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID16.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID16.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin48, exports_agent2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gr6b6mj1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./file-retention-f3md509a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./file-retention-cn1yc8yx.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-db2wf4at.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-zn9rd40w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./file-retention-hz0q9sdq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-tctwkzpn.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-4v3k5exv.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-enpnrszd.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID10.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service82;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service16;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID10.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID9.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID9.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./file-retention-drvshtg5.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./file-retention-4v3k5exv.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./file-retention-6y6b3v79.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-48kw51zw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service58
|
|
18
|
+
} from "./file-retention-taazwa2m.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./file-retention-2fcdk11z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./file-retention-wvj3jknz.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./file-retention-63r88w2b.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin26,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "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 Input9 = 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
|
}),
|
|
@@ -72,12 +72,12 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
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 description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin26 = {
|
|
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* Service27;
|
|
93
|
+
const jobs = yield* Service58;
|
|
94
|
+
const agents = yield* Service79;
|
|
95
|
+
const config = yield* Service61;
|
|
96
|
+
const permission = yield* Service75;
|
|
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,11 +115,11 @@ var Plugin38 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output7,
|
|
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 })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin38 = {
|
|
|
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: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin38 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID16.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 !== name9 || !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[name9];
|
|
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(name9, 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 { name9, Input9, Output7, description4, Plugin26, exports_subagent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-2fcdk11z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./file-retention-r8ngcrxq.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./file-retention-d0z5e1mn.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service33,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service33 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service39;
|
|
68
|
+
return Service33.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: {
|
|
@@ -86,7 +86,7 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node36 = makeLocationNode({ service: Service33, layer: layer12, deps: [node42] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service33, layer12, node36, exports_instructions2 };
|