@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-bfm303mw.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./repository-2hqp8s59.js";
|
|
13
|
+
import {
|
|
10
14
|
Service78,
|
|
11
15
|
node82
|
|
12
|
-
} from "./
|
|
16
|
+
} from "./repository-zjddxd3j.js";
|
|
13
17
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service49,
|
|
19
|
-
node53
|
|
20
|
-
} from "./location-5fjen55d.js";
|
|
18
|
+
Service66,
|
|
19
|
+
node68
|
|
20
|
+
} from "./repository-5kembwtx.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
23
|
Service79,
|
|
24
24
|
node83
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-0d42ryz0.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./repository-ccqvcrpm.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service41,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node44
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,7 +91,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
96
|
var Options4 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -99,13 +99,13 @@ var Options4 = Schema.Struct({
|
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
102
|
+
var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service78;
|
|
104
|
+
const environment = yield* Service66;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const forms = yield* Service79;
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
107
|
+
const integration = yield* Service76;
|
|
108
|
+
const credentials = yield* Service77;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -133,7 +133,7 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,14 +142,14 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError5({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
@@ -257,7 +257,7 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -408,7 +408,7 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service41.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,12 +516,12 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
}
|
|
517
517
|
function configured4(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service41,
|
|
520
|
+
layer: layer15(options),
|
|
521
|
+
deps: [node82, node68, node87, node83, node80, node81]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node44 = configured4();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service41, Options4, layer15, configured4, node44, exports_mcp4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-bfm303mw.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./repository-2hqp8s59.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node71
|
|
13
|
+
} from "./repository-aqryd466.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./repository-zjddxd3j.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-c91ayza2.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-s0wrr388.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service70,
|
|
36
|
+
Event14,
|
|
37
|
+
node72
|
|
38
|
+
} from "./repository-p540ebbs.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service68,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node70,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service68 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service69;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service70;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -222,7 +222,7 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service68.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service68,
|
|
268
|
+
layer: layer21(options),
|
|
269
|
+
deps: [node71, node87, FSUtil.node, Global.node, node82, node81, node72]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node70 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service68, Test2, testLayer2, layer21, configured7, node70, exports_config };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-jkzkeyzq.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make18({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service9,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node11
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service9 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node11 = makeLocationNode({
|
|
19
|
+
service: Service9,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service9, node11, bound2, exports_instance2 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-bfm303mw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./repository-amrnnyta.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node72,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service70 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service80;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event14.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service70.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event14.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event14.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node72 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node84, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event14, inspect2, resolve3, node72, exports_wellknown };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-bfm303mw.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service11,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node13
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service11 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service11.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node13 = makeGlobalNode({ service: Service11, layer: layer7, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service11, layer7, node13, exports_sdk };
|