@opencode/core 0.0.0-dev-19568 → 0.0.0-dev-19570
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{filesystem-4f8bfcxm.js → bus-0bmcfma8.js} +11 -11
- package/dist/chunks/{filesystem-6zp4xm1r.js → bus-0ch8qyvr.js} +22 -22
- package/dist/chunks/{filesystem-nhj3pk2g.js → bus-0ft5728k.js} +15 -15
- package/dist/chunks/bus-0mesazry.js +4 -0
- package/dist/chunks/{filesystem-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-8akv9m9x.js → bus-0q85yanv.js} +14 -14
- package/dist/chunks/{filesystem-myekw2gp.js → bus-0rvzsnzh.js} +17 -17
- package/dist/chunks/{filesystem-5ctrep3m.js → bus-13f55rxq.js} +8 -8
- package/dist/chunks/{filesystem-kdsged9e.js → bus-14e5s19a.js} +9 -9
- package/dist/chunks/{filesystem-fyvhdr9h.js → bus-17xskt1m.js} +9 -9
- package/dist/chunks/{filesystem-ka7bdmkm.js → bus-1971h2ty.js} +38 -38
- package/dist/chunks/{filesystem-mhkvc446.js → bus-1bbkgx8g.js} +3 -3
- package/dist/chunks/{filesystem-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-ethbh4z7.js → bus-1dcmyt7q.js} +2 -2
- package/dist/chunks/{filesystem-m87kjwf8.js → bus-1ffj5hr7.js} +11 -11
- package/dist/chunks/{filesystem-6j4fq2cq.js → bus-1g2kwc9g.js} +11 -11
- package/dist/chunks/{filesystem-5rjrjdee.js → bus-1gcg2swa.js} +6 -6
- package/dist/chunks/{filesystem-0b51tgne.js → bus-1mhgpmmh.js} +25 -25
- package/dist/chunks/{filesystem-4fbncvv5.js → bus-1r2qyred.js} +6 -6
- package/dist/chunks/{filesystem-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-eb2yma87.js → bus-22rzttx5.js} +9 -9
- package/dist/chunks/{filesystem-vywwb7xw.js → bus-234dm2bj.js} +2 -2
- package/dist/chunks/{filesystem-xb7w47hd.js → bus-23saz1kp.js} +5 -5
- package/dist/chunks/{filesystem-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-vcybtvp5.js → bus-271p385v.js} +9 -9
- package/dist/chunks/{filesystem-wcy83pfm.js → bus-27fdv82p.js} +13 -13
- package/dist/chunks/{filesystem-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-erhcz2jb.js → bus-2ckzgqv3.js} +24 -24
- package/dist/chunks/{filesystem-pbky73a2.js → bus-2djskdmr.js} +3 -3
- package/dist/chunks/{filesystem-tdk2wfqj.js → bus-2f536cz1.js} +9 -9
- package/dist/chunks/{filesystem-fsma24dd.js → bus-2gp10rzn.js} +5 -5
- package/dist/chunks/{filesystem-607tc6va.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-jxn345vr.js → bus-2xyebys0.js} +17 -17
- package/dist/chunks/{filesystem-b1tz6w3s.js → bus-30mvjzmx.js} +30 -30
- package/dist/chunks/{filesystem-696tvegr.js → bus-30pqz63q.js} +32 -32
- package/dist/chunks/{filesystem-xrr0m7w9.js → bus-334mtn2p.js} +14 -14
- package/dist/chunks/bus-371w62z2.js +247 -0
- package/dist/chunks/{filesystem-jexxy024.js → bus-377tdzm5.js} +3 -3
- package/dist/chunks/{filesystem-ftyr94h4.js → bus-3bdnfhpy.js} +30 -30
- package/dist/chunks/{filesystem-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-haa1g6we.js → bus-3fv80nb4.js} +33 -33
- package/dist/chunks/{filesystem-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-rgrjgzhx.js → bus-462wv2j1.js} +20 -20
- package/dist/chunks/{filesystem-sf0gthgt.js → bus-4agbkdj3.js} +18 -18
- package/dist/chunks/{filesystem-64ddj6v7.js → bus-4b40vsya.js} +1 -1
- package/dist/chunks/{filesystem-4as8h3gg.js → bus-4dd5jxqt.js} +13 -13
- package/dist/chunks/{filesystem-bjbm878y.js → bus-4fgnkb88.js} +5 -5
- package/dist/chunks/{filesystem-3723sw29.js → bus-4g01fjsn.js} +5 -5
- package/dist/chunks/{filesystem-bs4q3tqg.js → bus-4jk0qxj4.js} +6 -6
- package/dist/chunks/bus-4kb6yah9.js +26 -0
- package/dist/chunks/{filesystem-f7ehr2sm.js → bus-4ph09amq.js} +9 -9
- package/dist/chunks/{filesystem-rxdk16p3.js → bus-4pk39vze.js} +20 -20
- package/dist/chunks/{filesystem-p0ydpdje.js → bus-4td4y4b3.js} +1 -1
- package/dist/chunks/{filesystem-tv2fxbte.js → bus-55sraxqh.js} +11 -8
- package/dist/chunks/{filesystem-33w4ejhs.js → bus-56gdpj1q.js} +6 -6
- package/dist/chunks/{filesystem-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-975yhv65.js → bus-5g77nda4.js} +24 -24
- package/dist/chunks/{filesystem-thcje0ms.js → bus-5hhq8srk.js} +18 -18
- package/dist/chunks/{filesystem-3bxse654.js → bus-5ph07jxe.js} +11 -11
- package/dist/chunks/{filesystem-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-4p7x74p9.js → bus-5ze6kv9s.js} +11 -11
- package/dist/chunks/{filesystem-ecfkvkmx.js → bus-5zr57rw5.js} +22 -22
- package/dist/chunks/{filesystem-9104srmq.js → bus-61r41eaq.js} +20 -20
- package/dist/chunks/{filesystem-298asx42.js → bus-641kt8g4.js} +25 -25
- package/dist/chunks/{filesystem-xb3nqwnp.js → bus-64wrsgp1.js} +61 -61
- package/dist/chunks/{filesystem-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-4skj9pjn.js → bus-67dz7xe6.js} +4 -4
- package/dist/chunks/{filesystem-rph3zd4r.js → bus-6anwy9fs.js} +4 -4
- package/dist/chunks/{filesystem-dn7swrv3.js → bus-6dc8cscg.js} +28 -28
- package/dist/chunks/{filesystem-p0hmzt3n.js → bus-6dkvr0nf.js} +7 -7
- package/dist/chunks/{filesystem-zdx06d9s.js → bus-6g49tt7n.js} +29 -29
- package/dist/chunks/{filesystem-h0vwgry8.js → bus-6jb52xp7.js} +11 -11
- package/dist/chunks/{filesystem-72jmdy6r.js → bus-6kt1brbc.js} +29 -29
- package/dist/chunks/{filesystem-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-ez02qrbp.js → bus-7d52b4ts.js} +1 -1
- package/dist/chunks/{filesystem-pecb0brz.js → bus-7gvwkz6m.js} +5 -5
- package/dist/chunks/{filesystem-xxj3pgp3.js → bus-7t19srph.js} +1 -1
- package/dist/chunks/{filesystem-b762qnyw.js → bus-7v8mrxea.js} +30 -30
- package/dist/chunks/{filesystem-5nrew705.js → bus-7x2gvtfy.js} +5 -5
- package/dist/chunks/{filesystem-81swgkk7.js → bus-81swgkk7.js} +2 -2
- package/dist/chunks/{filesystem-wqntmd11.js → bus-846kb21p.js} +6 -6
- package/dist/chunks/{filesystem-a2hw0sqp.js → bus-894aw507.js} +40 -40
- package/dist/chunks/{filesystem-89znhe33.js → bus-89znhe33.js} +1 -1
- package/dist/chunks/{filesystem-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-1xzg4q7f.js → bus-8de9g2wa.js} +8 -8
- package/dist/chunks/{filesystem-cerc8atz.js → bus-8gs75axt.js} +18 -18
- package/dist/chunks/{filesystem-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-703jyx7f.js → bus-8ppq07x6.js} +8 -8
- package/dist/chunks/{filesystem-x6h9ntm8.js → bus-8ptxwh5a.js} +30 -30
- package/dist/chunks/{filesystem-re9amv7g.js → bus-9gs77c9s.js} +157 -157
- package/dist/chunks/{filesystem-zb3fmyt6.js → bus-9nkb7wgy.js} +286 -286
- package/dist/chunks/{filesystem-6kkxyhkv.js → bus-9ya5zr4m.js} +4 -4
- package/dist/chunks/{filesystem-4v46yx8e.js → bus-9yzj8nsj.js} +7 -7
- package/dist/chunks/{filesystem-wbcpzrvz.js → bus-a0rbwe21.js} +4 -4
- package/dist/chunks/{filesystem-5c4hm403.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-fc5gyn3k.js → bus-a5fdd1f3.js} +9 -9
- package/dist/chunks/{filesystem-6gwpwpyd.js → bus-a7afs06d.js} +21 -21
- package/dist/chunks/{filesystem-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-k2qtg38n.js → bus-amrfq6w6.js} +32 -32
- package/dist/chunks/{filesystem-6gypj2re.js → bus-b51m2zsk.js} +25 -25
- package/dist/chunks/{filesystem-rnfn6xxq.js → bus-b52vn635.js} +25 -25
- package/dist/chunks/{filesystem-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-p5w9prz9.js → bus-bcerr2wv.js} +24 -24
- package/dist/chunks/{filesystem-xbv0k4ba.js → bus-bmfd5zff.js} +39 -39
- package/dist/chunks/{filesystem-evbgk2k8.js → bus-c78bbtc9.js} +5 -5
- package/dist/chunks/{filesystem-9j5jfgtr.js → bus-cby4dax6.js} +24 -24
- package/dist/chunks/{filesystem-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-5whwrpxa.js → bus-cftjh0pp.js} +11 -8
- package/dist/chunks/{filesystem-y45wrhxb.js → bus-cgns8hyh.js} +8 -8
- package/dist/chunks/{filesystem-gft05b0a.js → bus-ctzssw83.js} +8 -8
- package/dist/chunks/{filesystem-vd431jt0.js → bus-cxjxmgke.js} +10 -10
- package/dist/chunks/{filesystem-eb4y5yy0.js → bus-d01nnmxe.js} +39 -39
- package/dist/chunks/{filesystem-a3r4dcrj.js → bus-d16qd7aj.js} +2 -2
- package/dist/chunks/{filesystem-t000jqpf.js → bus-d171mqxg.js} +17 -17
- package/dist/chunks/{filesystem-d979a45b.js → bus-djx5tkqn.js} +3 -3
- package/dist/chunks/{filesystem-7nwp8zja.js → bus-dphstccg.js} +11 -11
- package/dist/chunks/{filesystem-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
- package/dist/chunks/{filesystem-qen1jmg8.js → bus-dxr9kpty.js} +33 -33
- package/dist/chunks/{filesystem-e5nv3ght.js → bus-e5nv3ght.js} +2 -2
- package/dist/chunks/{filesystem-xwwz9aqf.js → bus-ec8389mk.js} +4 -4
- package/dist/chunks/bus-ef5x83kb.js +15 -0
- package/dist/chunks/{filesystem-efttx8x1.js → bus-epdwxhd2.js} +3 -3
- package/dist/chunks/{filesystem-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-dzhcmde1.js → bus-ezae1qs8.js} +6 -6
- package/dist/chunks/{filesystem-hdnk95c8.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-y80z5qnm.js → bus-f9jtafww.js} +20 -20
- package/dist/chunks/{filesystem-pge2bfmc.js → bus-fgw8ghar.js} +11 -11
- package/dist/chunks/{filesystem-dq26kvy6.js → bus-fm1a330d.js} +18 -18
- package/dist/chunks/{filesystem-mrjzwcm0.js → bus-fpt1t5k9.js} +22 -22
- package/dist/chunks/{filesystem-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-cpcnfgyy.js → bus-g4jtkv0q.js} +30 -30
- package/dist/chunks/{filesystem-gea7vc3h.js → bus-g6ddfetr.js} +5 -5
- package/dist/chunks/{filesystem-yrr26vyh.js → bus-g7392d0a.js} +25 -25
- package/dist/chunks/{filesystem-yawef6kw.js → bus-g79e3arp.js} +4 -4
- package/dist/chunks/{filesystem-yvrn8c55.js → bus-g8vphm7h.js} +10 -10
- package/dist/chunks/{filesystem-t7nbeyr2.js → bus-gd4ngw4f.js} +13 -13
- package/dist/chunks/{filesystem-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-yrz8q0k0.js → bus-ger25q1p.js} +5 -5
- package/dist/chunks/{filesystem-nbvvbhgb.js → bus-ggnfx1zm.js} +78 -78
- package/dist/chunks/{filesystem-es5dr4fw.js → bus-ghhf1gy0.js} +8 -8
- package/dist/chunks/{filesystem-2b6sywcb.js → bus-gndjvj2z.js} +8 -8
- package/dist/chunks/{filesystem-c8266qxr.js → bus-gnrgb9v9.js} +8 -8
- package/dist/chunks/{filesystem-2bt6bea8.js → bus-gsx0ryk4.js} +9 -9
- package/dist/chunks/{filesystem-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-zqngs88h.js → bus-h08befas.js} +11 -11
- package/dist/chunks/{filesystem-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-k6z5z3xm.js → bus-hbd7vws1.js} +4 -4
- package/dist/chunks/{filesystem-2tfmgkzg.js → bus-hfdr1yjj.js} +4 -4
- package/dist/chunks/{filesystem-px514bpm.js → bus-hfxc90m1.js} +24 -24
- package/dist/chunks/{filesystem-ky7as88a.js → bus-hfzqgcyy.js} +16 -16
- package/dist/chunks/{filesystem-ecd1f3mq.js → bus-hj3k4jh9.js} +4 -4
- package/dist/chunks/{filesystem-p6j6tyky.js → bus-hk44n11j.js} +9 -9
- package/dist/chunks/{filesystem-631045jg.js → bus-hkyvkxds.js} +26 -26
- package/dist/chunks/{filesystem-8et7pj57.js → bus-hp2wwktp.js} +13 -13
- package/dist/chunks/bus-ht5y0zrb.js +18 -0
- package/dist/chunks/{filesystem-tryb73nk.js → bus-htxnrknq.js} +6 -6
- package/dist/chunks/{filesystem-zshj55xc.js → bus-j0n016qx.js} +25 -25
- package/dist/chunks/{filesystem-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-5q02cxx3.js → bus-j83byb14.js} +4 -4
- package/dist/chunks/{filesystem-tm94zk3c.js → bus-j8mgqwvx.js} +16 -16
- package/dist/chunks/{filesystem-0jsm5b6f.js → bus-jggyssmj.js} +13 -13
- package/dist/chunks/{filesystem-qjnxxf51.js → bus-jv01nqvq.js} +5 -5
- package/dist/chunks/{filesystem-50mzsvk4.js → bus-jw80jp6b.js} +4 -4
- package/dist/chunks/{filesystem-w7cks01r.js → bus-jybjc72p.js} +16 -16
- package/dist/chunks/{filesystem-rxjvbk8n.js → bus-k04vznwt.js} +1 -1
- package/dist/chunks/{filesystem-rr25vpab.js → bus-k1pnz2cv.js} +10 -10
- package/dist/chunks/{filesystem-6qxnajbz.js → bus-k4ckfpra.js} +24 -24
- package/dist/chunks/{filesystem-arpbwta6.js → bus-kbedzpe2.js} +24 -24
- package/dist/chunks/{filesystem-0ezsa6vy.js → bus-kbj8wr2s.js} +36 -36
- package/dist/chunks/{filesystem-v4hmzr0r.js → bus-kbmmzrfa.js} +8 -8
- package/dist/chunks/{filesystem-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{filesystem-7061gxvt.js → bus-kjtbq1wq.js} +24 -24
- package/dist/chunks/{filesystem-1q26ypmg.js → bus-kq4p5btq.js} +16 -16
- package/dist/chunks/{filesystem-rfp29srv.js → bus-krxgbyqk.js} +27 -27
- package/dist/chunks/{filesystem-vjstzn3j.js → bus-kskytfej.js} +13 -13
- package/dist/chunks/{filesystem-jjf0vtdq.js → bus-kv6faprq.js} +14 -14
- package/dist/chunks/{filesystem-y3xz725g.js → bus-m437k3d3.js} +25 -25
- package/dist/chunks/{filesystem-mtd6x72z.js → bus-m733rx17.js} +6 -6
- package/dist/chunks/{filesystem-t15xvjkv.js → bus-m8kaps5v.js} +17 -17
- package/dist/chunks/{filesystem-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-9c1k5ss1.js → bus-m9wy7qrr.js} +5 -5
- package/dist/chunks/{filesystem-s9q5j7ef.js → bus-mhct95dk.js} +8 -8
- package/dist/chunks/{filesystem-3e73f7fn.js → bus-mp5cac3t.js} +22 -22
- package/dist/chunks/{filesystem-x1cde7tm.js → bus-n21kq4ae.js} +11 -11
- package/dist/chunks/{filesystem-ypz4327q.js → bus-n6zxh35m.js} +4 -4
- package/dist/chunks/{filesystem-v7t6t3ee.js → bus-neh0hyzc.js} +26 -26
- package/dist/chunks/{filesystem-hjt4xg1x.js → bus-nhy5jxhy.js} +4 -4
- package/dist/chunks/{filesystem-wprd8xj9.js → bus-nja4g5ja.js} +15 -15
- package/dist/chunks/{filesystem-mmgf1rqt.js → bus-njsca4c1.js} +11 -11
- package/dist/chunks/{filesystem-57v6fmny.js → bus-nk8q2g86.js} +16 -16
- package/dist/chunks/{filesystem-fm98w790.js → bus-nnm0m2vm.js} +9 -9
- package/dist/chunks/{filesystem-fgsjaxv0.js → bus-nt8hxhfc.js} +3 -3
- package/dist/chunks/{filesystem-8aabwx5n.js → bus-ntzps28c.js} +20 -20
- package/dist/chunks/{filesystem-da6kr1wx.js → bus-nv5vn7qx.js} +2 -2
- package/dist/chunks/{filesystem-yqtqx2tb.js → bus-nvmga65c.js} +1 -1
- package/dist/chunks/{filesystem-xg954myy.js → bus-nxs71vds.js} +8 -8
- package/dist/chunks/{filesystem-t0x5rdq8.js → bus-p1wf2k30.js} +9 -9
- package/dist/chunks/{filesystem-z2708axn.js → bus-pd33rgkw.js} +25 -25
- package/dist/chunks/{filesystem-ga5yzwkb.js → bus-pekwdztj.js} +15 -15
- package/dist/chunks/{filesystem-bp0xbca5.js → bus-phre0exm.js} +41 -41
- package/dist/chunks/{filesystem-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-yzpfgjrz.js → bus-pk8w8bk6.js} +6 -6
- package/dist/chunks/{filesystem-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-75va9qk2.js → bus-prqh86n1.js} +11 -11
- package/dist/chunks/{filesystem-5762gc32.js → bus-ptn3epm2.js} +31 -31
- package/dist/chunks/{filesystem-fpnq3hwf.js → bus-pw6fdyzd.js} +13 -13
- package/dist/chunks/{filesystem-e7tx2v0e.js → bus-q6jxhr7p.js} +12 -12
- package/dist/chunks/{filesystem-tj8y1zy0.js → bus-qd28bed1.js} +15 -15
- package/dist/chunks/{filesystem-yx6mkdzk.js → bus-qpmbtp2f.js} +49 -49
- package/dist/chunks/{filesystem-kfs8rg3h.js → bus-qryfzg1h.js} +2 -2
- package/dist/chunks/{filesystem-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-9qpqmwv0.js → bus-qv39a0h3.js} +8 -8
- package/dist/chunks/{filesystem-e99qm4q4.js → bus-qynpn6w3.js} +9 -9
- package/dist/chunks/{filesystem-r9mregkx.js → bus-r9mregkx.js} +2 -2
- package/dist/chunks/{filesystem-tkmwgdpd.js → bus-ratrq7cm.js} +7 -7
- package/dist/chunks/{filesystem-5m7h1hre.js → bus-rncwbxby.js} +15 -15
- package/dist/chunks/{filesystem-epn31rr5.js → bus-rp9eysdn.js} +7 -7
- package/dist/chunks/{filesystem-y9mn02hf.js → bus-rrsck48p.js} +16 -16
- package/dist/chunks/{filesystem-rk9hj1v7.js → bus-rxx5xmz4.js} +51 -51
- package/dist/chunks/{filesystem-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
- package/dist/chunks/{filesystem-mzhavs24.js → bus-s9d6zh0h.js} +37 -37
- package/dist/chunks/{filesystem-nrtb1m71.js → bus-shjsgrxb.js} +13 -13
- package/dist/chunks/{filesystem-hfk3zaat.js → bus-sqh6nayk.js} +11 -11
- package/dist/chunks/{filesystem-rvzfv4w1.js → bus-ssx0akr1.js} +8 -8
- package/dist/chunks/{filesystem-0z4swx6k.js → bus-svmeqp0f.js} +12 -12
- package/dist/chunks/{filesystem-rgyfsfc5.js → bus-t1c45aet.js} +30 -30
- package/dist/chunks/{filesystem-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-0yf7gmgh.js → bus-tgnjgtxt.js} +3 -3
- package/dist/chunks/{filesystem-85c4hbm5.js → bus-th0k3b77.js} +19 -19
- package/dist/chunks/{filesystem-7krdaasy.js → bus-th5xa07d.js} +6 -6
- package/dist/chunks/{filesystem-ee5p72rr.js → bus-tmfmshf6.js} +3 -3
- package/dist/chunks/{filesystem-gb4851xq.js → bus-tns9284t.js} +30 -30
- package/dist/chunks/{filesystem-n8v6jt5n.js → bus-trqrstes.js} +18 -18
- package/dist/chunks/{filesystem-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-mz2wz6jn.js → bus-v00d0rf7.js} +21 -21
- package/dist/chunks/{filesystem-7bnzk546.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{filesystem-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-9d82za01.js → bus-vgrnjjxn.js} +20 -20
- package/dist/chunks/{filesystem-7rrn560x.js → bus-vhvgae7m.js} +8 -8
- package/dist/chunks/{filesystem-06dxphr1.js → bus-vj81g6vn.js} +4 -4
- package/dist/chunks/{filesystem-nyr44rzh.js → bus-vqq20hcc.js} +47 -47
- package/dist/chunks/{filesystem-9v1c99ce.js → bus-vqy652gj.js} +81 -81
- package/dist/chunks/{filesystem-n7ghmjtx.js → bus-vwddtshc.js} +7 -7
- package/dist/chunks/{filesystem-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-k1j6gk9a.js → bus-w3tyj9k1.js} +6 -6
- package/dist/chunks/{filesystem-1b5k9ny0.js → bus-w3wqnbwq.js} +10 -10
- package/dist/chunks/{filesystem-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-7pqa36gv.js → bus-w5f57rs9.js} +12 -12
- package/dist/chunks/{filesystem-4mwvkeyx.js → bus-wam37p85.js} +10 -10
- package/dist/chunks/{filesystem-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-xez80017.js → bus-wwkhhn1t.js} +16 -16
- package/dist/chunks/{filesystem-wcft5t0g.js → bus-wz2jsvc0.js} +20 -20
- package/dist/chunks/{filesystem-vz4k8wbp.js → bus-wzk3psm3.js} +4 -4
- package/dist/chunks/{filesystem-84r56gr5.js → bus-wzvxt2x2.js} +1 -1
- package/dist/chunks/{filesystem-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-vm9edkyf.js → bus-xdgxy0vz.js} +17 -17
- package/dist/chunks/{filesystem-27fbez5x.js → bus-xrpv7mmk.js} +9 -9
- package/dist/chunks/{filesystem-9s312kc4.js → bus-xtgghfpp.js} +9 -9
- package/dist/chunks/{filesystem-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-akfg16cj.js → bus-y8dsy1ds.js} +4 -4
- package/dist/chunks/{filesystem-8m5v51r2.js → bus-y95q8cn7.js} +40 -40
- package/dist/chunks/{filesystem-4f92c8s9.js → bus-ybkecxqz.js} +14 -14
- package/dist/chunks/{filesystem-e0tp7zzd.js → bus-yms94mzx.js} +20 -20
- package/dist/chunks/{filesystem-1acjjqhc.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-nm2epvtw.js → bus-ytjjq03a.js} +21 -21
- package/dist/chunks/{filesystem-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-zvt5dnpc.js → bus-zcrspsvn.js} +4 -4
- package/dist/chunks/{filesystem-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-3p9h8pr0.js → bus-zh3ex7ps.js} +10 -10
- package/dist/chunks/{filesystem-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-2ah6ycde.js → bus-zt4wyys7.js} +26 -26
- package/dist/chunks/{filesystem-w2w9rvzr.js → bus-zwreznzq.js} +45 -45
- package/dist/chunks/{filesystem-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +121 -119
- package/dist/config/plugin/command.js +213 -212
- package/dist/config/plugin/compaction.js +159 -157
- package/dist/config/plugin/compatibility.js +137 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -119
- package/dist/config/plugin/image.js +119 -117
- package/dist/config/plugin/instruction.js +89 -87
- package/dist/config/plugin/location-watcher.js +119 -117
- package/dist/config/plugin/mcp.js +130 -128
- package/dist/config/plugin/policy.js +118 -116
- package/dist/config/plugin/provider.js +117 -115
- package/dist/config/plugin/reference.js +121 -119
- package/dist/config/plugin/shell.js +119 -118
- package/dist/config/plugin/skill-file.js +101 -99
- package/dist/config/plugin/skill.js +140 -138
- package/dist/config/plugin/snapshot.js +119 -117
- package/dist/config/plugin/source.js +121 -119
- package/dist/config/plugin/tool-output.js +121 -119
- package/dist/config/plugin/websearch.js +115 -113
- package/dist/config/plugin/worktree.js +122 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -364
- 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 +92 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -90
- 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 +69 -69
- package/dist/file-access.js +103 -101
- package/dist/file-mutation.js +93 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -102
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +6 -4
- 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 +7 -7
- 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 +356 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -130
- package/dist/location-mutation.js +103 -101
- package/dist/location-service-map.js +85 -83
- package/dist/location-services.js +353 -352
- package/dist/location.js +80 -78
- package/dist/mcp/client.js +90 -88
- package/dist/mcp/index.js +101 -99
- package/dist/mcp/instructions.js +124 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -101
- package/dist/plugin/command.js +100 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -83
- package/dist/plugin/vcs/hg.js +85 -83
- package/dist/plugin/warming.js +116 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -77
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -94
- package/dist/reference/instructions.js +88 -86
- package/dist/reference.js +90 -88
- package/dist/repository-cache.js +80 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -95
- package/dist/rpc.js +85 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -129
- package/dist/session/context.js +151 -149
- package/dist/session/diff.js +87 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -216
- package/dist/session/execution.js +126 -124
- package/dist/session/generate.js +152 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -90
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -112
- package/dist/session/runner/step.js +123 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -171
- package/dist/session/shell.js +134 -133
- package/dist/session/skill.js +102 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -149
- package/dist/session/to-session-error.js +111 -109
- package/dist/session/transfer.js +210 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -212
- 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 +15 -15
- package/dist/shell.js +134 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -104
- package/dist/skill.js +111 -109
- package/dist/snapshot.js +90 -88
- 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 +125 -123
- package/dist/tool/plugin/edit.js +119 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -120
- package/dist/tool/plugin/grep.js +123 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -117
- package/dist/tool/plugin/question.js +104 -102
- package/dist/tool/plugin/read.js +124 -123
- package/dist/tool/plugin/shell.js +214 -213
- package/dist/tool/plugin/skill.js +110 -108
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/webfetch.js +109 -107
- package/dist/tool/plugin/websearch.js +111 -109
- package/dist/tool/plugin/write.js +121 -119
- package/dist/tool/read-filesystem.js +95 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/util/git-executable.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +9 -0
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -8
- package/dist/worktree/refresh.js +345 -344
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -93
- package/package.json +8 -8
- package/dist/chunks/filesystem-6kdq0pjd.js +0 -4
- package/dist/chunks/filesystem-q509s3k3.js +0 -18
- package/dist/chunks/filesystem-rh7ezj45.js +0 -26
- package/dist/chunks/filesystem-v8z7968n.js +0 -247
- /package/dist/chunks/{filesystem-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-paphc93g.js → bus-paphc93g.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./bus-a7afs06d.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-1dcmyt7q.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service53
|
|
10
|
+
} from "./bus-y95q8cn7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service38,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-5zr57rw5.js";
|
|
15
15
|
import {
|
|
16
16
|
Service17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-ggnfx1zm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make6
|
|
20
|
+
} from "./bus-271p385v.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin26
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin26 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service53;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin44 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
59
|
+
const shell = yield* Service38;
|
|
60
60
|
const sessions = yield* Service17;
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
61
|
+
const agents = yield* Service72;
|
|
62
|
+
const subagents = yield* make6;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin44 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin26, exports_command };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./bus-y95q8cn7.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./bus-v00d0rf7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./bus-xdgxy0vz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service69
|
|
19
|
+
} from "./bus-rxx5xmz4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service68,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-nja4g5ja.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service38,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-5zr57rw5.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError4,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service31
|
|
37
|
+
} from "./bus-1971h2ty.js";
|
|
38
38
|
import {
|
|
39
39
|
Service17
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-ggnfx1zm.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-y8dsy1ds.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./bus-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin4,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin4 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
121
|
const sessions = yield* Service17;
|
|
122
|
-
const jobs = yield*
|
|
122
|
+
const jobs = yield* Service46;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service60;
|
|
125
|
+
const access = yield* Service68;
|
|
126
|
+
const shell = yield* Service31;
|
|
127
|
+
const shellSelect = yield* Service38;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service69;
|
|
130
|
+
const config = yield* Service53;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin2 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin2 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info8
|
|
9
|
-
} from "./filesystem-7rrn560x.js";
|
|
6
|
+
} from "./bus-jw80jp6b.js";
|
|
10
7
|
import {
|
|
11
8
|
Info13
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./bus-vhvgae7m.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./bus-c78bbtc9.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./bus-ratrq7cm.js";
|
|
16
|
+
import {
|
|
17
|
+
Info19
|
|
18
|
+
} from "./bus-7gvwkz6m.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./bus-jv01nqvq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info10
|
|
27
|
+
} from "./bus-phre0exm.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./bus-67dz7xe6.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./bus-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-tazgh4e4.js";
|
|
13
|
+
import {
|
|
14
|
+
gitExecutable2
|
|
15
|
+
} from "./bus-ef5x83kb.js";
|
|
13
16
|
import {
|
|
14
17
|
__export
|
|
15
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
19
|
|
|
17
20
|
// src/git.ts
|
|
18
21
|
var exports_git3 = {};
|
|
@@ -200,7 +203,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
200
203
|
...args
|
|
201
204
|
];
|
|
202
205
|
const repositoryOperation = Effect.fnUntraced(function* (operationName, repository, args, options) {
|
|
203
|
-
const result = yield* proc.run(ChildProcess.make(
|
|
206
|
+
const result = yield* proc.run(ChildProcess.make(gitExecutable2, repositoryArgs(repository, args), {
|
|
204
207
|
cwd: repository.worktree,
|
|
205
208
|
env: options?.env,
|
|
206
209
|
extendEnv: true
|
|
@@ -276,7 +279,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
276
279
|
const ignored = Effect.fn("Git.index.ignored")(function* (input) {
|
|
277
280
|
if (!input.paths.length)
|
|
278
281
|
return new Set;
|
|
279
|
-
const result = yield* proc.run(ChildProcess.make(
|
|
282
|
+
const result = yield* proc.run(ChildProcess.make(gitExecutable2, repositoryArgs(input.repository, ["check-ignore", "--no-index", "--stdin", "-z"]), {
|
|
280
283
|
cwd: input.repository.worktree,
|
|
281
284
|
extendEnv: true
|
|
282
285
|
}), { stdin: input.paths.join("\x00") + "\x00" }).pipe(Effect.mapError((cause) => new OperationError3({
|
|
@@ -384,7 +387,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
384
387
|
})));
|
|
385
388
|
}), { discard: true })));
|
|
386
389
|
const worktreeRun = Effect.fnUntraced(function* (operation, repository, args, worktreeDirectory, cwd = repository.worktree) {
|
|
387
|
-
const result = yield* proc.run(ChildProcess.make(
|
|
390
|
+
const result = yield* proc.run(ChildProcess.make(gitExecutable2, args, { cwd, extendEnv: true, stdin: "ignore" })).pipe(Effect.mapError((cause) => new WorktreeError2({ operation, directory: worktreeDirectory, message: cause.message, cause })));
|
|
388
391
|
if (result.exitCode === 0)
|
|
389
392
|
return result.stdout.toString("utf8");
|
|
390
393
|
const message = result.stderr.toString("utf8").trim() || result.stdout.toString("utf8").trim() || "Git failed";
|
|
@@ -437,7 +440,7 @@ function run(cwd, proc, args) {
|
|
|
437
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
438
441
|
}
|
|
439
442
|
function execute(cwd, proc, args) {
|
|
440
|
-
return proc.run(ChildProcess.make(
|
|
443
|
+
return proc.run(ChildProcess.make(gitExecutable2, args, {
|
|
441
444
|
cwd,
|
|
442
445
|
extendEnv: true,
|
|
443
446
|
stdin: "ignore"
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./bus-0ch8qyvr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service54;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-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: () => Plugin37,
|
|
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 Plugin37 = 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 Plugin19 = 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, Plugin37, exports_exa };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-w5f57rs9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./bus-y95q8cn7.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-6dkvr0nf.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service53;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make10();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make10, LMStudioPlugin2 };
|