@opencode/core 0.0.0-dev-20332 → 0.0.0-dev-20335
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-v47bnj70.js → repository-0d42ryz0.js} +5 -5
- package/dist/chunks/{location-q4t44wz3.js → repository-0d66s06f.js} +20 -20
- package/dist/chunks/{location-s8d7rejh.js → repository-0gdmqesm.js} +4 -4
- package/dist/chunks/{location-3taabba9.js → repository-0k2n229t.js} +30 -30
- package/dist/chunks/{location-ccmvvhm9.js → repository-0mcex0vm.js} +46 -46
- package/dist/chunks/{location-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-2dk0h958.js → repository-0zxndn7z.js} +17 -17
- package/dist/chunks/{location-3d6pamsn.js → repository-14deg24w.js} +11 -11
- package/dist/chunks/{location-n4q62pja.js → repository-15rs1j4r.js} +16 -16
- package/dist/chunks/{location-k57g4mqh.js → repository-16vz77rp.js} +14 -14
- package/dist/chunks/{location-e9gcwejs.js → repository-177x5hfm.js} +22 -22
- package/dist/chunks/{location-ryry5wbd.js → repository-1bbp1d6c.js} +1 -1
- package/dist/chunks/{location-xx2ckhja.js → repository-1c5jrzvp.js} +16 -16
- package/dist/chunks/{location-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-4e8vs6eh.js → repository-1gfgk62c.js} +8 -8
- package/dist/chunks/{location-1k7nw2np.js → repository-1nhg81ky.js} +17 -17
- package/dist/chunks/{location-d956t663.js → repository-1sev21en.js} +4 -4
- package/dist/chunks/{location-jwpvd8r9.js → repository-1wb0x8n3.js} +8 -8
- package/dist/chunks/{location-f00515wj.js → repository-1wwpvd1c.js} +19 -19
- package/dist/chunks/{location-e19eaq7y.js → repository-1xpch1h6.js} +9 -9
- package/dist/chunks/{location-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{location-ky6yw5g0.js → repository-25kp255n.js} +12 -12
- package/dist/chunks/{location-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-7jp52wrn.js → repository-2hqp8s59.js} +12 -12
- package/dist/chunks/{location-f1bvh024.js → repository-2jb0f4sx.js} +4 -4
- package/dist/chunks/{location-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{location-768gsh1v.js → repository-2p8k3371.js} +3 -3
- package/dist/chunks/{location-rk1r2hx8.js → repository-3556dn8t.js} +1 -1
- package/dist/chunks/{location-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-s5wrztbh.js → repository-3gxz2t13.js} +37 -37
- package/dist/chunks/{location-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-02e6a1xr.js → repository-3hwhnchq.js} +10 -10
- package/dist/chunks/{location-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-0j8kvx79.js → repository-3v0sd91a.js} +22 -22
- package/dist/chunks/{location-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-05fwr9d3.js → repository-44cd2caf.js} +35 -35
- package/dist/chunks/{location-mytbjss0.js → repository-4652gtcq.js} +26 -26
- package/dist/chunks/{location-nt4ws43p.js → repository-4crnhx2x.js} +10 -10
- package/dist/chunks/{location-95cvvvyw.js → repository-4enn4tzn.js} +9 -9
- package/dist/chunks/{location-dh3xf11m.js → repository-4j4dq07s.js} +8 -8
- package/dist/chunks/{location-cbh6g861.js → repository-4j6xyef2.js} +19 -19
- package/dist/chunks/{location-zfhqhftv.js → repository-4szb5sg6.js} +8 -8
- package/dist/chunks/{location-2yjkx9rh.js → repository-4z2cpt3j.js} +14 -14
- package/dist/chunks/{location-f29mbr7f.js → repository-4z58m4b4.js} +4 -4
- package/dist/chunks/{location-s22kpthy.js → repository-50d9sfsv.js} +18 -18
- package/dist/chunks/{location-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{location-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-1s5awsvd.js → repository-588n7640.js} +9 -9
- package/dist/chunks/{location-1bfsfmvc.js → repository-5amwhyk8.js} +6 -6
- package/dist/chunks/{location-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{location-1v2cpr56.js → repository-5hcyjm69.js} +8 -8
- package/dist/chunks/{location-5fjen55d.js → repository-5kembwtx.js} +24 -24
- package/dist/chunks/{location-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-1me2azay.js → repository-5t80mpw4.js} +19 -19
- package/dist/chunks/{location-gx3evx6p.js → repository-5vh6m982.js} +22 -22
- package/dist/chunks/{location-50mzsvk4.js → repository-5wtwrezn.js} +21 -21
- package/dist/chunks/{location-hh3smdyr.js → repository-5xq3t6w1.js} +83 -83
- package/dist/chunks/{location-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{location-2a9ws08k.js → repository-6agef5e8.js} +2 -2
- package/dist/chunks/{location-sv9zqnbr.js → repository-6asekhfp.js} +25 -25
- package/dist/chunks/{location-dgchpn2c.js → repository-6cdq8sz3.js} +49 -49
- package/dist/chunks/{location-872key08.js → repository-6cnesaz1.js} +34 -34
- package/dist/chunks/{location-jjxrrmfz.js → repository-6g6nehze.js} +30 -30
- package/dist/chunks/{location-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-nbx7psha.js → repository-6qgczjnx.js} +48 -48
- package/dist/chunks/{location-2y8jjtjh.js → repository-7awdj4ds.js} +8 -8
- package/dist/chunks/{location-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-r3ewmwtm.js → repository-7gdfpyqw.js} +8 -8
- package/dist/chunks/{location-2rhe9xp4.js → repository-7mksp0wg.js} +18 -18
- package/dist/chunks/{location-9h352b91.js → repository-7rkyr6sz.js} +10 -10
- package/dist/chunks/{location-65y5gv5n.js → repository-7wcp0dp1.js} +9 -9
- package/dist/chunks/{location-3f0ygkn9.js → repository-7x182g3c.js} +13 -13
- package/dist/chunks/{location-ma15yhyh.js → repository-7xyrrtj6.js} +5 -5
- package/dist/chunks/{location-1bbkgx8g.js → repository-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-6anwy9fs.js → repository-7yqjxrmz.js} +6 -6
- package/dist/chunks/{location-a2ew8a62.js → repository-806j49yq.js} +4 -4
- package/dist/chunks/{location-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{location-sq9hdhx4.js → repository-86m3yb96.js} +25 -25
- package/dist/chunks/{location-xxk5ry2v.js → repository-87deq66t.js} +6 -6
- package/dist/chunks/{location-a0j7zc8d.js → repository-8b0rfz7c.js} +1 -1
- package/dist/chunks/{location-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-asr5c240.js → repository-8gtajd2c.js} +35 -35
- package/dist/chunks/{location-nbzsj80d.js → repository-8hgfhrm0.js} +11 -11
- package/dist/chunks/{location-gq4sc612.js → repository-8q2kdvn6.js} +22 -22
- package/dist/chunks/{location-86qzxe6p.js → repository-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-d5s762pw.js → repository-91869f37.js} +27 -27
- package/dist/chunks/{location-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-y5bmmmc5.js → repository-95w30yp9.js} +20 -20
- package/dist/chunks/{location-4zx2nvpt.js → repository-9cvjrp9p.js} +4 -4
- package/dist/chunks/{location-tcc6ccqd.js → repository-9y6gpmex.js} +15 -15
- package/dist/chunks/{location-4tyy50z7.js → repository-9yegeevc.js} +18 -18
- package/dist/chunks/{location-fdms3n6w.js → repository-a3ftg8j6.js} +9 -9
- package/dist/chunks/{location-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{location-nsj03r65.js → repository-adpk0erv.js} +71 -71
- package/dist/chunks/{location-na0xys1v.js → repository-ah7atdab.js} +12 -12
- package/dist/chunks/{location-yataeycs.js → repository-ah8v3g6t.js} +11 -11
- package/dist/chunks/{location-7et7x3nj.js → repository-amrnnyta.js} +10 -10
- package/dist/chunks/{location-aaryx3hz.js → repository-an4zz5am.js} +14 -14
- package/dist/chunks/{location-e003b4c3.js → repository-aqryd466.js} +24 -24
- package/dist/chunks/{location-g60qj5yf.js → repository-arn5xykm.js} +2 -2
- package/dist/chunks/repository-b02qhphd.js +252 -0
- package/dist/chunks/{location-vd7rzxqf.js → repository-b4p19tx4.js} +5 -5
- package/dist/chunks/{location-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-kx2dxvka.js → repository-b78x4hqs.js} +14 -14
- package/dist/chunks/{location-zaj0f5yc.js → repository-bfm303mw.js} +4 -4
- package/dist/chunks/{location-t3th97kz.js → repository-bjcxr48j.js} +28 -28
- package/dist/chunks/{location-eab37ged.js → repository-bjpa3xan.js} +17 -17
- package/dist/chunks/{location-1z0tyxgk.js → repository-bkgqdper.js} +19 -19
- package/dist/chunks/{location-kytmjyy3.js → repository-bnhgcfss.js} +24 -24
- package/dist/chunks/{location-tvyjc43w.js → repository-bnzngw4e.js} +42 -42
- package/dist/chunks/{location-g86wtp00.js → repository-bwnx15mf.js} +55 -55
- package/dist/chunks/{location-gjwgx2c5.js → repository-c765mh8b.js} +9 -9
- package/dist/chunks/{location-3sy0yjgf.js → repository-c91ayza2.js} +24 -24
- package/dist/chunks/{location-yy0n8m79.js → repository-ccmf13nx.js} +15 -15
- package/dist/chunks/{location-mdngnccz.js → repository-ccqvcrpm.js} +18 -18
- package/dist/chunks/{location-54tcyq79.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-4wm3hfb6.js → repository-cp1npnye.js} +23 -23
- package/dist/chunks/{location-wm5q5x5p.js → repository-cp7v009q.js} +3 -3
- package/dist/chunks/{location-m32f1x6e.js → repository-cw8972wq.js} +13 -13
- package/dist/chunks/{location-wtebr0tv.js → repository-d3bs9tdw.js} +9 -9
- package/dist/chunks/{location-tg37w3py.js → repository-dkbdvgew.js} +5 -5
- package/dist/chunks/{location-dnxkq42g.js → repository-dnxkq42g.js} +1 -1
- package/dist/chunks/{location-z3pw5915.js → repository-dqmwfghx.js} +5 -5
- package/dist/chunks/{location-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-8zefm95q.js → repository-eft2fq7z.js} +29 -29
- package/dist/chunks/{location-fsq7s6yz.js → repository-efz4qfm7.js} +9 -9
- package/dist/chunks/{location-7hg2a0kf.js → repository-eg45xm7b.js} +18 -18
- package/dist/chunks/{location-gv420m70.js → repository-ehmk2s93.js} +10 -10
- package/dist/chunks/{location-6zx481ey.js → repository-ej670j8y.js} +7 -7
- package/dist/chunks/{location-ttqh24zm.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{location-et1vwb50.js → repository-enhmk9nd.js} +313 -313
- package/dist/chunks/{location-t6z4h4ef.js → repository-epd18y3s.js} +3 -3
- package/dist/chunks/{location-9gjvh9w7.js → repository-epnzmdpm.js} +14 -14
- package/dist/chunks/{location-4v7ngy20.js → repository-espax8zg.js} +4 -4
- package/dist/chunks/{location-2c22wpxs.js → repository-esvq6ems.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-4etn4a9t.js → repository-f136476x.js} +16 -16
- package/dist/chunks/{location-a9mb7h9k.js → repository-f19qfh98.js} +7 -7
- package/dist/chunks/{location-qcn3qcd0.js → repository-f6hq4jm4.js} +42 -42
- package/dist/chunks/{location-d4tjmbxj.js → repository-fdkzaggf.js} +16 -16
- package/dist/chunks/{location-k75d9tpj.js → repository-fp6c7zsr.js} +30 -30
- package/dist/chunks/{location-qcewvjcq.js → repository-frwzdz0p.js} +2 -2
- package/dist/chunks/{location-ze5v0a14.js → repository-gc135ar8.js} +8 -8
- package/dist/chunks/{location-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-1pz63znb.js → repository-ge62tnff.js} +18 -18
- package/dist/chunks/{location-359gy9a3.js → repository-gjcmh5na.js} +30 -30
- package/dist/chunks/{location-jwwfgh84.js → repository-gmq1kaeg.js} +12 -12
- package/dist/chunks/{location-72fr57kk.js → repository-grmhakfb.js} +22 -22
- package/dist/chunks/{location-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-ams685p7.js → repository-gwzjmqr0.js} +3 -3
- package/dist/chunks/{location-23sxaqwc.js → repository-gzbkpp9m.js} +6 -6
- package/dist/chunks/{location-b68jqyy9.js → repository-h6qw6arq.js} +17 -17
- package/dist/chunks/{location-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-wbkyxrgf.js → repository-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-221tqkqe.js → repository-hfdq9xfh.js} +38 -38
- package/dist/chunks/{location-kc0d3shj.js → repository-hm1b0gbb.js} +28 -28
- package/dist/chunks/{location-k31jet3a.js → repository-hstvm2rm.js} +21 -21
- package/dist/chunks/{location-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{location-1858jtnb.js → repository-j77nvagq.js} +20 -20
- package/dist/chunks/{location-1jwd9cqs.js → repository-jevn6b1b.js} +18 -18
- package/dist/chunks/{location-ypahm2w0.js → repository-jfz7kgha.js} +10 -10
- package/dist/chunks/{location-zt2wse74.js → repository-jkzkeyzq.js} +3 -3
- package/dist/chunks/{location-74cpa34g.js → repository-jpa7cehe.js} +16 -16
- package/dist/chunks/repository-jqh9b0xq.js +18 -0
- package/dist/chunks/{location-33fcxst2.js → repository-jrpxshtx.js} +30 -30
- package/dist/chunks/{location-g52yw51c.js → repository-jrvxvghc.js} +15 -15
- package/dist/chunks/{location-vmwz11wz.js → repository-k2mvq2xf.js} +3 -3
- package/dist/chunks/{location-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{location-s083egkz.js → repository-k8ard8cz.js} +80 -80
- package/dist/chunks/{location-bnzwt7hj.js → repository-kbrbwa51.js} +1 -1
- package/dist/chunks/{location-wx12zf4r.js → repository-kgf2e1tk.js} +6 -6
- package/dist/chunks/{location-42f0htzm.js → repository-kye418mf.js} +12 -12
- package/dist/chunks/{location-7w64dbzf.js → repository-kz2hxhwe.js} +16 -16
- package/dist/chunks/{location-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-dchp67v4.js → repository-m7153hwt.js} +30 -30
- package/dist/chunks/{location-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-cy820888.js → repository-mj08mqq8.js} +7 -7
- package/dist/chunks/{location-913tdmgz.js → repository-msvxw073.js} +46 -46
- package/dist/chunks/{location-k1qrnqst.js → repository-mxr1v1s0.js} +8 -8
- package/dist/chunks/{location-g9nkqj1a.js → repository-my042x6s.js} +22 -22
- package/dist/chunks/{location-wr5k3gxd.js → repository-mzrbxmyd.js} +11 -11
- package/dist/chunks/{location-ewjxmwng.js → repository-n0snsaj8.js} +13 -13
- package/dist/chunks/{location-g11yarsy.js → repository-n1p8stbd.js} +11 -11
- package/dist/chunks/{location-zt4c6sfd.js → repository-n26pg8f3.js} +12 -12
- package/dist/chunks/{location-vsgdn61q.js → repository-n9kzwy15.js} +8 -8
- package/dist/chunks/{location-jpqr5ghe.js → repository-ng5pw36k.js} +8 -8
- package/dist/chunks/{location-631cxsgm.js → repository-njp7nbsm.js} +7 -7
- package/dist/chunks/{location-nng2ktcm.js → repository-nng2ktcm.js} +2 -2
- package/dist/chunks/{location-7b3n6txb.js → repository-npkye8kr.js} +135 -135
- package/dist/chunks/{location-j3s2z371.js → repository-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-1pcjwpaa.js → repository-nrsb7t6v.js} +37 -37
- package/dist/chunks/{location-bf6j3zq6.js → repository-nsdxmg59.js} +41 -41
- package/dist/chunks/{location-7gvwkz6m.js → repository-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-2gh0pne0.js → repository-p3t27j1r.js} +13 -13
- package/dist/chunks/{location-p37cw4rj.js → repository-p42hj8p8.js} +8 -8
- package/dist/chunks/{location-0550q54d.js → repository-p540ebbs.js} +18 -18
- package/dist/chunks/{location-p5gnfa3n.js → repository-ph4v5nv3.js} +10 -10
- package/dist/chunks/{location-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{location-py3kkmfq.js → repository-py3kkmfq.js} +2 -2
- package/dist/chunks/{location-gecshvrx.js → repository-qesg53n6.js} +18 -18
- package/dist/chunks/{location-96rcg50q.js → repository-qnqdsnqy.js} +17 -17
- package/dist/chunks/{location-p5vt4w12.js → repository-qpedwap1.js} +20 -20
- package/dist/chunks/{location-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{location-4t90qbzd.js → repository-qx2z80z2.js} +6 -6
- package/dist/chunks/{location-nkbr3xyj.js → repository-qy7g33vm.js} +5 -5
- package/dist/chunks/{location-bf0ztrs3.js → repository-r98e92ep.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-aad20b43.js → repository-rgzws67g.js} +21 -21
- package/dist/chunks/{location-0xr4jven.js → repository-rr68r3wr.js} +4 -4
- package/dist/chunks/{location-meh18akk.js → repository-rscpm148.js} +9 -9
- package/dist/chunks/{location-pnkgaxte.js → repository-s0wrr388.js} +5 -5
- package/dist/chunks/{location-3cteaq89.js → repository-s3525we2.js} +11 -11
- package/dist/chunks/{location-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{location-2d5t5e6c.js → repository-s7ftbfps.js} +6 -6
- package/dist/chunks/{location-zyxd3cry.js → repository-s7ts0s5b.js} +32 -32
- package/dist/chunks/{location-3pswvgk6.js → repository-smb3a1vy.js} +13 -13
- package/dist/chunks/{location-ed9n86pt.js → repository-spzctr33.js} +30 -30
- package/dist/chunks/{location-c8q14vds.js → repository-sr1f61nh.js} +23 -23
- package/dist/chunks/{location-c0c4g6cm.js → repository-ss8nxy6a.js} +33 -33
- package/dist/chunks/{location-n51wg4q9.js → repository-swxh916n.js} +9 -9
- package/dist/chunks/{location-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mzywpf3p.js → repository-tazp3vs0.js} +4 -4
- package/dist/chunks/{location-shrpy2d8.js → repository-tcay1cqt.js} +6 -6
- package/dist/chunks/{location-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-snvbww7e.js → repository-td8xq64f.js} +29 -29
- package/dist/chunks/{location-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{location-hv4bgzk9.js → repository-tft3ktne.js} +10 -10
- package/dist/chunks/{location-ahsxsgn9.js → repository-tjp7nbbc.js} +1 -1
- package/dist/chunks/{location-mcvtpcr6.js → repository-tjtpwfd8.js} +11 -11
- package/dist/chunks/{location-svzh0x98.js → repository-tvqfpfee.js} +6 -6
- package/dist/chunks/{location-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{location-gc4fb455.js → repository-tx92n959.js} +4 -4
- package/dist/chunks/{location-3frysrkz.js → repository-tygebkv4.js} +18 -18
- package/dist/chunks/{location-w9gb1mzf.js → repository-v72s44yw.js} +11 -11
- package/dist/chunks/{location-smb7m2tf.js → repository-vctgtqyk.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{location-z42abtxa.js → repository-vmzvv6jk.js} +11 -11
- package/dist/chunks/{location-gmjq4p6e.js → repository-vy4zg7qh.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-hcr9xn5j.js → repository-w01ghv19.js} +14 -14
- package/dist/chunks/{location-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{location-0a9efqg1.js → repository-wfnh7d6s.js} +11 -11
- package/dist/chunks/{location-nfjrmqy5.js → repository-wpy48h4a.js} +11 -11
- package/dist/chunks/{location-wvjbag1w.js → repository-wr7z7pm1.js} +12 -12
- package/dist/chunks/{location-zefk2w7j.js → repository-wwwg9xe9.js} +15 -15
- package/dist/chunks/{location-qe750zdm.js → repository-wzwyn12v.js} +8 -8
- package/dist/chunks/{location-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-32ymn5e1.js → repository-x3drdvdf.js} +9 -9
- package/dist/chunks/{location-45ev0h4b.js → repository-x5sf7ath.js} +1 -1
- package/dist/chunks/{location-q78ntncr.js → repository-xew1cczc.js} +23 -23
- package/dist/chunks/{location-xfkkasph.js → repository-xfkkasph.js} +1 -1
- package/dist/chunks/{location-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-prse58hf.js → repository-xs9p6a56.js} +3 -3
- package/dist/chunks/repository-xxzmwayv.js +26 -0
- package/dist/chunks/{location-84j8m7e3.js → repository-y0arntg5.js} +7 -7
- package/dist/chunks/{location-k7myrtme.js → repository-y16p1w2y.js} +9 -9
- package/dist/chunks/{location-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{location-cc748a61.js → repository-yarqv08n.js} +3 -3
- package/dist/chunks/{location-ap0c1ha6.js → repository-ymz6mr5d.js} +30 -30
- package/dist/chunks/{location-j1ep2ape.js → repository-ynaczmmt.js} +18 -18
- package/dist/chunks/{location-r8xr0va3.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-fw3ksk4v.js → repository-yqs7fwh1.js} +6 -6
- package/dist/chunks/{location-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-r4vt6ek9.js → repository-ytsv5nsm.js} +26 -26
- package/dist/chunks/{location-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-bvxa250g.js → repository-z21br254.js} +11 -11
- package/dist/chunks/{location-405thefk.js → repository-zbttfwdc.js} +9 -9
- package/dist/chunks/{location-b2jxfxck.js → repository-zcxn7avd.js} +27 -27
- package/dist/chunks/{location-qdbakdjh.js → repository-zd30eb5w.js} +5 -5
- package/dist/chunks/{location-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-a3b6bg5k.js → repository-zjddxd3j.js} +12 -12
- package/dist/chunks/{location-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-grxcxy9j.js → repository-zvjhkatg.js} +8 -8
- package/dist/chunks/{location-zwxq93tf.js → repository-zx9zy5mt.js} +19 -19
- package/dist/chunks/{location-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +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 +215 -215
- package/dist/config/plugin/compaction.js +159 -159
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +72 -72
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- 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-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- 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 +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +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 +122 -122
- 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 +93 -93
- 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 +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 +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 +163 -163
- 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 +354 -354
- 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 +6 -6
- 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 +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- 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 +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 +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-57v02fd6.js +0 -26
- package/dist/chunks/location-m8n3k53h.js +0 -252
- package/dist/chunks/location-rap9a73h.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-7w99qc9d.js → repository-7w99qc9d.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-ej670j8y.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-kbrbwa51.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-zx9zy5mt.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info26
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-eg45xm7b.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin48 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin14 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin48, exports_mcp_codemode_defaults };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-jkzkeyzq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./repository-tcay1cqt.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-4z58m4b4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-wpy48h4a.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-eft2fq7z.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service30
|
|
21
|
+
} from "./repository-5xq3t6w1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service48;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service30;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-mzrbxmyd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-bfm303mw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-2hqp8s59.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-ccqvcrpm.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-zx9zy5mt.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info17
|
|
7
|
+
} from "./repository-5wtwrezn.js";
|
|
8
|
+
import {
|
|
9
|
+
Info16
|
|
10
|
+
} from "./repository-8hgfhrm0.js";
|
|
8
11
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
12
|
+
Info23
|
|
13
|
+
} from "./repository-dqmwfghx.js";
|
|
11
14
|
import {
|
|
12
15
|
Info21
|
|
13
|
-
} from "./
|
|
16
|
+
} from "./repository-806j49yq.js";
|
|
14
17
|
import {
|
|
15
18
|
Info18
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Info17
|
|
19
|
-
} from "./location-23sxaqwc.js";
|
|
19
|
+
} from "./repository-gzbkpp9m.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info22
|
|
25
|
+
} from "./repository-7yqjxrmz.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info15
|
|
28
|
+
} from "./repository-nxhqveyz.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info20
|
|
34
|
+
} from "./repository-hcz3zddy.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./repository-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info19
|
|
40
|
+
} from "./repository-r98e92ep.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info14,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info14 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info12 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info21)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info19).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info12 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info16), plan: Schema.optional(Info16) }), [Schema.Record(Schema.String, Info16)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info16),
|
|
119
|
+
build: Schema.optional(Info16),
|
|
120
|
+
general: Schema.optional(Info16),
|
|
121
|
+
explore: Schema.optional(Info16),
|
|
122
|
+
title: Schema.optional(Info16),
|
|
123
|
+
summary: Schema.optional(Info16),
|
|
124
|
+
compaction: Schema.optional(Info16)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info16)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info20)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info15, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info18).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info22).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info17),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info23).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info12 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info14, exports_config2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./repository-zjddxd3j.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make18,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-0gdmqesm.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service33,
|
|
19
|
+
node: () => node37
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service78;
|
|
29
|
+
return Service33.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make18({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make18({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node82] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service33, node37, exports_builtins };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-jkzkeyzq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-bfm303mw.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-4z58m4b4.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load4
|
|
29
|
+
} from "./repository-wpy48h4a.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-3556dn8t.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service34,
|
|
38
|
+
node38
|
|
39
|
+
} from "./repository-eft2fq7z.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-b4p19tx4.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-dkbdvgew.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./repository-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./repository-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
58
58
|
__export(exports_compaction2, {
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service8,
|
|
60
60
|
SessionCompaction: () => exports_compaction2,
|
|
61
61
|
buildPrompt: () => buildPrompt2,
|
|
62
62
|
estimateContext: () => estimateContext2,
|
|
63
63
|
estimatePrompt: () => estimatePrompt2,
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
64
|
+
layer: () => layer6,
|
|
65
|
+
node: () => node10,
|
|
66
66
|
recentUserMessages: () => recentUserMessages2
|
|
67
67
|
});
|
|
68
68
|
import {
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
} from "@opencode/ai";
|
|
79
79
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
80
80
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
81
|
-
class
|
|
81
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
82
82
|
}
|
|
83
83
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
84
84
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
157
157
|
};
|
|
158
158
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
159
159
|
var LEGACY_HEADING = "## Additional Context";
|
|
160
|
-
var
|
|
160
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const llm = yield* LLMClient.Service;
|
|
163
163
|
const db = (yield* Service84).db;
|
|
164
|
-
const requests = yield*
|
|
164
|
+
const requests = yield* Service34;
|
|
165
165
|
const state = create3({
|
|
166
166
|
name: "session-compaction",
|
|
167
167
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -249,7 +249,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
249
249
|
const send = (request) => {
|
|
250
250
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
251
251
|
return Effect.gen(function* () {
|
|
252
|
-
const history = yield*
|
|
252
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
253
253
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
254
254
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
255
255
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -452,16 +452,16 @@ ${text}`;
|
|
|
452
452
|
}, { metadata: outcome.metadata });
|
|
453
453
|
return { status: "completed" };
|
|
454
454
|
});
|
|
455
|
-
return
|
|
455
|
+
return Service8.of({
|
|
456
456
|
transform: state.transform,
|
|
457
457
|
reload: state.reload,
|
|
458
458
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
459
459
|
});
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
462
|
-
service:
|
|
463
|
-
layer:
|
|
464
|
-
deps: [node87, node88, llmClient2,
|
|
461
|
+
var node10 = makeLocationNode({
|
|
462
|
+
service: Service8,
|
|
463
|
+
layer: layer6,
|
|
464
|
+
deps: [node87, node88, llmClient2, node38]
|
|
465
465
|
});
|
|
466
466
|
var previousCompaction = (messages) => {
|
|
467
467
|
const [first] = messages;
|
|
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
|
|
|
666
666
|
return 0;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
export {
|
|
669
|
+
export { Service8, buildPrompt2, layer6, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-zx9zy5mt.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-s7ftbfps.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin43,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin43 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin7 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin43, exports_exa };
|