@opencode/core 0.0.0-dev-20578 → 0.0.0-dev-20579
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 +3 -3
- package/dist/bus.js +73 -73
- package/dist/chunks/{plugin-76g71pff.js → models-dev-00z7knq4.js} +48 -48
- package/dist/chunks/{plugin-0d0dy0b8.js → models-dev-02pnmv3p.js} +19 -19
- package/dist/chunks/{plugin-34bd8zqa.js → models-dev-04sffrgv.js} +15 -15
- package/dist/chunks/{plugin-m4wv7hmr.js → models-dev-065f5jqd.js} +17 -17
- package/dist/chunks/{plugin-4hmze3tg.js → models-dev-0fh6f5vp.js} +9 -9
- package/dist/chunks/{plugin-xkt82cda.js → models-dev-0hkfhkek.js} +29 -29
- package/dist/chunks/{plugin-3r80836k.js → models-dev-0hv6rsw5.js} +26 -26
- package/dist/chunks/{plugin-0paq2nw3.js → models-dev-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-my4zabxr.js → models-dev-143qq2q9.js} +3 -3
- package/dist/chunks/{plugin-aryyw1nk.js → models-dev-15nepkqg.js} +8 -8
- package/dist/chunks/{plugin-bxq680aw.js → models-dev-16rafmdt.js} +38 -38
- package/dist/chunks/{plugin-1dazxqgg.js → models-dev-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-1dvck2a7.js → models-dev-1dvck2a7.js} +2 -2
- package/dist/chunks/{plugin-28z24pfh.js → models-dev-1ffrhb6a.js} +32 -32
- package/dist/chunks/{plugin-sqhwqkv8.js → models-dev-21sd2q2p.js} +15 -15
- package/dist/chunks/{plugin-c1vsqjm1.js → models-dev-23r766dh.js} +39 -39
- package/dist/chunks/{plugin-acqz3eas.js → models-dev-28pkm0f9.js} +19 -19
- package/dist/chunks/{plugin-2a5m3afh.js → models-dev-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-0jwsre1p.js → models-dev-2k8khapm.js} +5 -5
- package/dist/chunks/{plugin-8s4zq5p9.js → models-dev-30846h32.js} +8 -8
- package/dist/chunks/{plugin-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-51nd9ekg.js → models-dev-3gk6d5bg.js} +33 -33
- package/dist/chunks/{plugin-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-69hdsgk8.js → models-dev-3pt1f740.js} +38 -38
- package/dist/chunks/{plugin-3ary6tpn.js → models-dev-3r0f49pj.js} +10 -10
- package/dist/chunks/{plugin-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-09djgkn9.js → models-dev-3wjay3ka.js} +23 -23
- package/dist/chunks/{plugin-ak7e9zsb.js → models-dev-3zqzd8hk.js} +43 -43
- package/dist/chunks/{plugin-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-3d32k6hr.js → models-dev-414z3zsn.js} +14 -14
- package/dist/chunks/{plugin-2p0jthwz.js → models-dev-44b5mvgm.js} +15 -15
- package/dist/chunks/{plugin-aphb00ew.js → models-dev-4556yem3.js} +2 -2
- package/dist/chunks/{plugin-djz46489.js → models-dev-47zss2vy.js} +18 -18
- package/dist/chunks/{plugin-d10hb995.js → models-dev-4bx1eqaf.js} +23 -23
- package/dist/chunks/{plugin-pfybfzrt.js → models-dev-4d76t1fx.js} +19 -19
- package/dist/chunks/{plugin-kem2dng2.js → models-dev-4j1v512x.js} +33 -33
- package/dist/chunks/{plugin-2ccvkpx1.js → models-dev-4ts7tf6z.js} +2 -2
- package/dist/chunks/{plugin-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-1ygqh575.js → models-dev-56gdpj1q.js} +9 -9
- package/dist/chunks/{plugin-xfkkasph.js → models-dev-57b9ws8p.js} +7 -7
- package/dist/chunks/{plugin-k618byr3.js → models-dev-5bmhz7h8.js} +22 -22
- package/dist/chunks/{plugin-xt0fd68y.js → models-dev-5bsdf67q.js} +20 -20
- package/dist/chunks/{plugin-e6tayz2r.js → models-dev-5c4z4tyd.js} +49 -49
- package/dist/chunks/{plugin-5daktx2q.js → models-dev-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-b7fettsd.js → models-dev-5dsr6e61.js} +6 -6
- package/dist/chunks/{plugin-yt1qgzdm.js → models-dev-5fsrq7yk.js} +13 -13
- package/dist/chunks/{plugin-8cqakzrt.js → models-dev-5g2350sa.js} +16 -16
- package/dist/chunks/{plugin-e3qxr5gk.js → models-dev-5qd3pb7m.js} +2 -2
- package/dist/chunks/{plugin-5t3nmthw.js → models-dev-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-c1gr2zd3.js → models-dev-5xmyk187.js} +3 -3
- package/dist/chunks/{plugin-v9gryrmc.js → models-dev-66376qmm.js} +69 -69
- package/dist/chunks/{plugin-669tq793.js → models-dev-669tq793.js} +1 -1
- package/dist/chunks/{plugin-r9f8m4wv.js → models-dev-67bex8mg.js} +16 -16
- package/dist/chunks/{plugin-30hx8gy4.js → models-dev-67g972p8.js} +11 -11
- package/dist/chunks/{plugin-xqsx1vwf.js → models-dev-69ae2gc0.js} +35 -35
- package/dist/chunks/{plugin-nxnchq8r.js → models-dev-6b584fx1.js} +14 -14
- package/dist/chunks/{plugin-dyrgthp5.js → models-dev-6fgkgcg0.js} +20 -20
- package/dist/chunks/{plugin-pcfe7wwq.js → models-dev-6g7n6n48.js} +5 -5
- package/dist/chunks/{plugin-afc78eap.js → models-dev-6q44kjsg.js} +4 -4
- package/dist/chunks/{plugin-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-j2zjmsnh.js → models-dev-6xkzja4k.js} +6 -6
- package/dist/chunks/{plugin-x88jpnpr.js → models-dev-707t01nb.js} +21 -21
- package/dist/chunks/{plugin-90wqxygs.js → models-dev-70z09tsz.js} +11 -11
- package/dist/chunks/{plugin-71az546q.js → models-dev-71az546q.js} +2 -2
- package/dist/chunks/{plugin-q5fbr5p5.js → models-dev-72a3060e.js} +5 -5
- package/dist/chunks/{plugin-y630p9sc.js → models-dev-75t52x5s.js} +27 -27
- package/dist/chunks/{plugin-vx4r8km3.js → models-dev-777x33ga.js} +41 -41
- package/dist/chunks/{plugin-9przwesc.js → models-dev-77pm2nty.js} +33 -33
- package/dist/chunks/{plugin-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-6zy4stt8.js → models-dev-7qxz1a4h.js} +6 -6
- package/dist/chunks/{plugin-43r5tmwz.js → models-dev-7re3496y.js} +173 -173
- package/dist/chunks/{plugin-yr715y08.js → models-dev-82rhge12.js} +9 -9
- package/dist/chunks/{plugin-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{plugin-mmq86yx8.js → models-dev-89v4egbf.js} +26 -26
- package/dist/chunks/{plugin-tefzd8kx.js → models-dev-8ct0y6hk.js} +26 -26
- package/dist/chunks/{plugin-8d7r5vzw.js → models-dev-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-7y3n75t2.js → models-dev-8hkfkb27.js} +11 -11
- package/dist/chunks/{plugin-t03g005h.js → models-dev-8r052h48.js} +11 -11
- package/dist/chunks/{plugin-8etvpd78.js → models-dev-8tfctm8b.js} +1 -1
- package/dist/chunks/{plugin-84fx5zbw.js → models-dev-8wxr6w3c.js} +14 -14
- package/dist/chunks/{plugin-0a04tq27.js → models-dev-94ak9ask.js} +1 -1
- package/dist/chunks/{plugin-3g98wrjp.js → models-dev-9841pv10.js} +19 -19
- package/dist/chunks/{plugin-9e5bzkjp.js → models-dev-9e5bzkjp.js} +3 -3
- package/dist/chunks/{plugin-8mq6ch7h.js → models-dev-9ecvsxx5.js} +25 -25
- package/dist/chunks/{plugin-fq3v9e4w.js → models-dev-9fr4q37e.js} +23 -23
- package/dist/chunks/{plugin-sxzvkvgj.js → models-dev-9gea571p.js} +6 -6
- package/dist/chunks/{plugin-5h261f6e.js → models-dev-9h1qtdky.js} +47 -47
- package/dist/chunks/{plugin-4bcaa4pk.js → models-dev-9nccr2nz.js} +24 -24
- package/dist/chunks/{plugin-drnf6xwf.js → models-dev-9pa8tak9.js} +2 -2
- package/dist/chunks/{plugin-qkn17avs.js → models-dev-9qx683h5.js} +9 -9
- package/dist/chunks/{plugin-947pvy6h.js → models-dev-9xjshrng.js} +3 -3
- package/dist/chunks/{plugin-2dcw1sfe.js → models-dev-a527gmk9.js} +7 -7
- package/dist/chunks/{plugin-2pnhn36q.js → models-dev-a8bn8zg0.js} +21 -21
- package/dist/chunks/{plugin-aaet6srn.js → models-dev-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-znfvst1a.js → models-dev-ah58gg7p.js} +5 -5
- package/dist/chunks/{plugin-371g5ft3.js → models-dev-amsd198e.js} +24 -24
- package/dist/chunks/{plugin-qr25pfvb.js → models-dev-as7cf5zz.js} +4 -4
- package/dist/chunks/{plugin-24creq0d.js → models-dev-at1jtn93.js} +12 -12
- package/dist/chunks/{plugin-qq2xhrb8.js → models-dev-b0w1x349.js} +57 -57
- package/dist/chunks/{plugin-8q4vwcbd.js → models-dev-b1tb8gws.js} +35 -35
- package/dist/chunks/{plugin-b6gygkdw.js → models-dev-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-nzh5psd4.js → models-dev-b76kedzd.js} +11 -11
- package/dist/chunks/{plugin-4fsvs0r5.js → models-dev-b832nfdp.js} +21 -21
- package/dist/chunks/{plugin-a3c7ahw6.js → models-dev-bp8fbaqn.js} +4 -4
- package/dist/chunks/{plugin-h4cyradc.js → models-dev-bw2wjxzg.js} +10 -10
- package/dist/chunks/{plugin-qne3fa44.js → models-dev-bx0gyb4h.js} +5 -5
- package/dist/chunks/{plugin-by5v678g.js → models-dev-by5v678g.js} +1 -1
- package/dist/chunks/{plugin-mdvte9fh.js → models-dev-c26tg910.js} +12 -12
- package/dist/chunks/{plugin-mccvx0ph.js → models-dev-c43encnq.js} +12 -12
- package/dist/chunks/{plugin-ygkw9vpb.js → models-dev-c9m7c5t2.js} +15 -15
- package/dist/chunks/{plugin-ydrgdh5s.js → models-dev-cd2ckykk.js} +29 -29
- package/dist/chunks/{plugin-7t4975xj.js → models-dev-cdxjqe9v.js} +8 -8
- package/dist/chunks/{plugin-e9txt9vy.js → models-dev-cerphmjy.js} +5 -5
- package/dist/chunks/{plugin-nnjbqqpn.js → models-dev-cgz3dhkc.js} +10 -10
- package/dist/chunks/{plugin-t01ewf6t.js → models-dev-chkwe70y.js} +9 -9
- package/dist/chunks/{plugin-ds421k4t.js → models-dev-ct9q0q83.js} +11 -11
- package/dist/chunks/{plugin-cpneeje0.js → models-dev-cwa6csj7.js} +9 -9
- package/dist/chunks/{plugin-9c1yxwsv.js → models-dev-cyef1244.js} +13 -13
- package/dist/chunks/{plugin-4r3ynae4.js → models-dev-d9p3jxc1.js} +50 -50
- package/dist/chunks/{plugin-z5rqpkns.js → models-dev-dpepwdxp.js} +35 -35
- package/dist/chunks/{plugin-wp1hpspq.js → models-dev-dzd6gt19.js} +8 -8
- package/dist/chunks/{plugin-tc91rda6.js → models-dev-e1b8dpn9.js} +6 -6
- package/dist/chunks/{plugin-w1ad28wa.js → models-dev-e7710hd6.js} +5 -5
- package/dist/chunks/{plugin-da0rp3w3.js → models-dev-e7ydkzjj.js} +7 -7
- package/dist/chunks/{plugin-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-h8ft0m90.js → models-dev-enm6tv2q.js} +20 -20
- package/dist/chunks/{plugin-etq0c3wd.js → models-dev-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-69mqpp93.js → models-dev-etz1tp3f.js} +22 -22
- package/dist/chunks/{plugin-c7jwjaks.js → models-dev-f69hr2t8.js} +23 -23
- package/dist/chunks/{plugin-06x8he3q.js → models-dev-f73rjn58.js} +4 -4
- package/dist/chunks/{plugin-35ng7dkh.js → models-dev-fepbnb8j.js} +5 -5
- package/dist/chunks/{plugin-b27vhd2z.js → models-dev-fqb2p7cx.js} +4 -4
- package/dist/chunks/{plugin-zg6rd06s.js → models-dev-fszy1g6v.js} +9 -9
- package/dist/chunks/{plugin-zdpsxmh8.js → models-dev-fyfa4fhw.js} +44 -44
- package/dist/chunks/{plugin-hz0mzm96.js → models-dev-g1r3wepg.js} +67 -67
- package/dist/chunks/{plugin-f8147smy.js → models-dev-g6xefnek.js} +5 -5
- package/dist/chunks/{plugin-kjdm35cs.js → models-dev-g6yfr6ja.js} +5 -5
- package/dist/chunks/{plugin-kqzb879x.js → models-dev-g80ve2xz.js} +22 -22
- package/dist/chunks/{plugin-n11bbmz5.js → models-dev-g9r9zbx9.js} +4 -4
- package/dist/chunks/{plugin-5kyzh40n.js → models-dev-gaky33x9.js} +5 -5
- package/dist/chunks/{plugin-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-3rt7qeq2.js → models-dev-gvhmaxka.js} +44 -44
- package/dist/chunks/{plugin-agw9xp4d.js → models-dev-h08prmky.js} +18 -18
- package/dist/chunks/{plugin-h2b79v29.js → models-dev-h2b79v29.js} +2 -2
- package/dist/chunks/{plugin-qdbakdjh.js → models-dev-h4z1mxff.js} +5 -5
- package/dist/chunks/{plugin-41japfwg.js → models-dev-h6pyrv6e.js} +15 -15
- package/dist/chunks/{plugin-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-7qgmcsxr.js → models-dev-h6vzd6py.js} +23 -23
- package/dist/chunks/{plugin-qj750ez4.js → models-dev-hapxt7b6.js} +4 -4
- package/dist/chunks/{plugin-w7m571bh.js → models-dev-hcstjrnh.js} +32 -32
- package/dist/chunks/{plugin-6g7e4dd5.js → models-dev-hg3614cy.js} +7 -7
- package/dist/chunks/{plugin-v9b8r7m3.js → models-dev-hmgc5cz7.js} +12 -12
- package/dist/chunks/{plugin-7raxn3d9.js → models-dev-hw0q1v6w.js} +13 -13
- package/dist/chunks/{plugin-1hxtq9m9.js → models-dev-hzbfr2zb.js} +26 -26
- package/dist/chunks/{plugin-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-1m06e57m.js → models-dev-j69age7f.js} +10 -10
- package/dist/chunks/{plugin-62kmmg0k.js → models-dev-j8vmxrd4.js} +3 -3
- package/dist/chunks/{plugin-cepe0qf7.js → models-dev-jagm7tt7.js} +45 -45
- package/dist/chunks/models-dev-k0b2y79r.js +253 -0
- package/dist/chunks/{plugin-8c8v92hd.js → models-dev-k64rxz1r.js} +19 -19
- package/dist/chunks/{plugin-yrh23yf8.js → models-dev-k9qdemdz.js} +17 -17
- package/dist/chunks/{plugin-39sy8z68.js → models-dev-kb426ejq.js} +13 -13
- package/dist/chunks/{plugin-yfh8cgan.js → models-dev-kg03ydgp.js} +9 -9
- package/dist/chunks/{plugin-yrqbh8b0.js → models-dev-kjm0dggs.js} +23 -23
- package/dist/chunks/{plugin-w05x0cfw.js → models-dev-ktw141zw.js} +9 -9
- package/dist/chunks/{plugin-cfz5gkc0.js → models-dev-kyr28d2w.js} +11 -11
- package/dist/chunks/{plugin-ksr3qje0.js → models-dev-kz287eh6.js} +4 -4
- package/dist/chunks/{plugin-m3fdjcah.js → models-dev-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-5anybvrp.js → models-dev-m69jc7nt.js} +15 -15
- package/dist/chunks/{plugin-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-qygbw77c.js → models-dev-mha52fg8.js} +5 -5
- package/dist/chunks/{plugin-kb6vbnxp.js → models-dev-mhgx8wws.js} +4 -4
- package/dist/chunks/{plugin-w808e159.js → models-dev-n0vcjzwx.js} +21 -21
- package/dist/chunks/{plugin-gfwqja43.js → models-dev-n8h5s4z5.js} +5 -5
- package/dist/chunks/{plugin-ext61gvm.js → models-dev-nbr98sng.js} +18 -18
- package/dist/chunks/{plugin-h5w29vws.js → models-dev-ncnm8wen.js} +1 -1
- package/dist/chunks/{plugin-9szwjyee.js → models-dev-nm4299rz.js} +8 -8
- package/dist/chunks/{plugin-khhk3gee.js → models-dev-nvxt8qcf.js} +9 -9
- package/dist/chunks/{plugin-9tnt1thx.js → models-dev-nzcmq5s7.js} +15 -15
- package/dist/chunks/{plugin-04d3ggy7.js → models-dev-p3bfjnb3.js} +18 -18
- package/dist/chunks/{plugin-5p2w852e.js → models-dev-p4ebz0q2.js} +6 -6
- package/dist/chunks/{plugin-2p5y98w0.js → models-dev-p5c89f54.js} +6 -6
- package/dist/chunks/{plugin-0grfgy22.js → models-dev-p6g1xawz.js} +20 -20
- package/dist/chunks/{plugin-5yzzbxa7.js → models-dev-pa8pe2x7.js} +8 -8
- package/dist/chunks/{plugin-rk6z8b2s.js → models-dev-pd7n37kn.js} +31 -31
- package/dist/chunks/{plugin-jav2p7n3.js → models-dev-pfsrde56.js} +3 -3
- package/dist/chunks/{plugin-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-hqe3s9vz.js → models-dev-pkx2dq04.js} +320 -320
- package/dist/chunks/{plugin-2m5wdzz9.js → models-dev-pm50wqr4.js} +4 -4
- package/dist/chunks/{plugin-0j77ygfz.js → models-dev-q0xm7vwc.js} +6 -6
- package/dist/chunks/{plugin-61rwkfw7.js → models-dev-q18332b7.js} +13 -13
- package/dist/chunks/{plugin-k0r5d45h.js → models-dev-q93trqjw.js} +5 -5
- package/dist/chunks/{plugin-aqs4ydsz.js → models-dev-q97fzf0b.js} +26 -26
- package/dist/chunks/{plugin-9jww82ap.js → models-dev-qdtb2r9y.js} +75 -75
- package/dist/chunks/{plugin-mk89bcdm.js → models-dev-qesb4fb2.js} +10 -10
- package/dist/chunks/{plugin-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-qj2xshqj.js → models-dev-qt130byj.js} +24 -24
- package/dist/chunks/{plugin-fdf2r7px.js → models-dev-qvh9eqkc.js} +19 -19
- package/dist/chunks/{plugin-zz5k72w4.js → models-dev-qvna2bbv.js} +25 -25
- package/dist/chunks/{plugin-eq1pz5kg.js → models-dev-r5x6zcsm.js} +3 -3
- package/dist/chunks/{plugin-yp2x3t23.js → models-dev-r8xr0va3.js} +4 -4
- package/dist/chunks/{plugin-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-t550f9t1.js → models-dev-rhjbct0v.js} +4 -4
- package/dist/chunks/{plugin-xw9z83sh.js → models-dev-rkp0d28g.js} +46 -46
- package/dist/chunks/{plugin-cwwytgmc.js → models-dev-rt73gy88.js} +4 -4
- package/dist/chunks/{plugin-68vrpgj2.js → models-dev-rtwceye3.js} +23 -23
- package/dist/chunks/{plugin-vynkv33f.js → models-dev-s6yyz18a.js} +13 -13
- package/dist/chunks/{plugin-5g4drkc8.js → models-dev-scwth786.js} +13 -13
- package/dist/chunks/{plugin-sw2ky0ak.js → models-dev-sk11m9ar.js} +27 -27
- package/dist/chunks/{plugin-3n0emgyf.js → models-dev-snkpwrj1.js} +25 -25
- package/dist/chunks/{plugin-ydkmjtsm.js → models-dev-sp7ve3f0.js} +11 -11
- package/dist/chunks/{plugin-k70p9jzb.js → models-dev-srq8z0b0.js} +9 -9
- package/dist/chunks/{plugin-5q82qb79.js → models-dev-sxmaz3jq.js} +26 -26
- package/dist/chunks/{plugin-q9nhy42k.js → models-dev-t0nr6jrg.js} +26 -26
- package/dist/chunks/{plugin-fz79dkc7.js → models-dev-t8a4yqen.js} +8 -8
- package/dist/chunks/{plugin-nqa2gsff.js → models-dev-t8kkt2nv.js} +11 -11
- package/dist/chunks/{plugin-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-js9gsb9m.js → models-dev-tfyyarmg.js} +14 -14
- package/dist/chunks/{plugin-8dsxej7q.js → models-dev-tj0wg4nv.js} +5 -5
- package/dist/chunks/{plugin-sr4k8heh.js → models-dev-tsnhj991.js} +11 -11
- package/dist/chunks/{plugin-3x5wnmsa.js → models-dev-tv1qkmca.js} +20 -25
- package/dist/chunks/{plugin-2ex9tkzb.js → models-dev-tvdvkfya.js} +39 -39
- package/dist/chunks/{plugin-6arwdhpr.js → models-dev-tx4w3zvw.js} +24 -24
- package/dist/chunks/{plugin-06fncbhs.js → models-dev-v0t6dd4w.js} +14 -14
- package/dist/chunks/{plugin-ktyrkyt5.js → models-dev-v85q2xfv.js} +13 -13
- package/dist/chunks/{plugin-qce0q5sw.js → models-dev-ve78naxq.js} +8 -8
- package/dist/chunks/{plugin-hcd320rf.js → models-dev-veajjj4z.js} +8 -8
- package/dist/chunks/{plugin-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-kk5na4ms.js → models-dev-vjtea3hn.js} +3 -3
- package/dist/chunks/{plugin-hahjxtze.js → models-dev-vwgad00t.js} +10 -10
- package/dist/chunks/{plugin-ef7p9trg.js → models-dev-vxrd0dht.js} +9 -9
- package/dist/chunks/{plugin-vzcthcp8.js → models-dev-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-gahzhxn8.js → models-dev-vzstn3vw.js} +26 -26
- package/dist/chunks/{plugin-1x0vprbs.js → models-dev-w222d1b2.js} +17 -17
- package/dist/chunks/{plugin-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-j730n9rv.js → models-dev-w8mfq855.js} +17 -17
- package/dist/chunks/{plugin-8sze2n9a.js → models-dev-w92k2e0p.js} +4 -4
- package/dist/chunks/{plugin-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-9s85hpde.js → models-dev-we3tv5d1.js} +3 -3
- package/dist/chunks/{plugin-eahhehpg.js → models-dev-wj76ss2k.js} +4 -4
- package/dist/chunks/{plugin-pfpr1sg6.js → models-dev-wkcrcmm0.js} +16 -16
- package/dist/chunks/{plugin-fnwaevmq.js → models-dev-wp6ep95q.js} +38 -38
- package/dist/chunks/{plugin-q41hpyd6.js → models-dev-wt5nmafz.js} +35 -35
- package/dist/chunks/{plugin-vvr3dw31.js → models-dev-x2qjtq82.js} +10 -10
- package/dist/chunks/{plugin-x661k3y3.js → models-dev-x661k3y3.js} +1 -1
- package/dist/chunks/models-dev-x7z75zrq.js +26 -0
- package/dist/chunks/{plugin-t5n9kkmz.js → models-dev-xdtzmxbg.js} +6 -6
- package/dist/chunks/{plugin-z4ev155g.js → models-dev-xh27xnk0.js} +11 -11
- package/dist/chunks/{plugin-xkntkrq7.js → models-dev-xkntkrq7.js} +2 -2
- package/dist/chunks/{plugin-ay3mx084.js → models-dev-xsqksm9t.js} +11 -11
- package/dist/chunks/{plugin-svf1j9mj.js → models-dev-xx57t6qj.js} +26 -26
- package/dist/chunks/{plugin-1eznydrh.js → models-dev-xx8ravma.js} +14 -14
- package/dist/chunks/{plugin-qxjc9qry.js → models-dev-xyafkbt0.js} +3 -3
- package/dist/chunks/{plugin-pnkbpv6t.js → models-dev-y16p1w2y.js} +9 -9
- package/dist/chunks/{plugin-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-81vaem42.js → models-dev-y5p3mzqv.js} +11 -11
- package/dist/chunks/{plugin-nxm207yx.js → models-dev-y71avatq.js} +4 -4
- package/dist/chunks/{plugin-5egfvsg2.js → models-dev-ydrjdpcc.js} +22 -22
- package/dist/chunks/{plugin-jgj04qff.js → models-dev-ydx2zdq6.js} +20 -20
- package/dist/chunks/{plugin-ty9x2hpf.js → models-dev-yf0pn2h0.js} +22 -22
- package/dist/chunks/{plugin-nj1j17x6.js → models-dev-yf10kn3d.js} +8 -8
- package/dist/chunks/{plugin-s607qcgc.js → models-dev-ygrc3zp9.js} +19 -19
- package/dist/chunks/{plugin-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-e5nrtag5.js → models-dev-z2e87qev.js} +28 -28
- package/dist/chunks/{plugin-y7nnagj6.js → models-dev-z7hhbxsd.js} +32 -32
- package/dist/chunks/{plugin-e4g6rnfs.js → models-dev-zfa7ynd8.js} +15 -15
- package/dist/chunks/{plugin-dx92dk9v.js → models-dev-zff80ehc.js} +16 -16
- package/dist/chunks/{plugin-fwdyap71.js → models-dev-zghtsczn.js} +8 -8
- package/dist/chunks/{plugin-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-5dkn69vz.js → models-dev-zsr4wwhv.js} +4 -4
- package/dist/chunks/{plugin-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- 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 +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +123 -123
- 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 +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- 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 +213 -213
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +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 +126 -126
- 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 +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/plugin-g93t3hq1.js +0 -26
- package/dist/chunks/plugin-h92akkf0.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → models-dev-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → models-dev-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → models-dev-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → models-dev-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → models-dev-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-kb426ejq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./models-dev-tfyyarmg.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service65,
|
|
14
|
+
node68
|
|
15
|
+
} from "./models-dev-6b584fx1.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service65;
|
|
41
|
+
const location = yield* Service77;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node85, FSUtil.node,
|
|
101
|
+
deps: [node85, FSUtil.node, node81, node68]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin41 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin15 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin41, exports_mcp_codemode_defaults };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-vjtea3hn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./models-dev-9gea571p.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-zsr4wwhv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-8r052h48.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-rtwceye3.js";
|
|
19
19
|
import {
|
|
20
20
|
Service25
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-66376qmm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service59;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info8,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info8 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info8, exports_provider2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service79,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service79 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service79.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node83, exports_git3 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
3
|
+
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-kb426ejq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-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: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node7
|
|
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 Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.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 node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-vjtea3hn.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info17,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service64,
|
|
21
|
+
node: () => node67
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID7.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service64.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID7, Info17, ListInput4, AddInput2, Service64, node67, exports_saved };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-kb426ejq.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./models-dev-tfyyarmg.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node75,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./models-dev-0hkfhkek.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID9,
|
|
36
36
|
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service70,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node74,
|
|
45
45
|
parse: () => parse5
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
48
48
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
|
-
import { Event as
|
|
52
|
-
var
|
|
51
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
52
|
+
var ID9 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,12 +67,12 @@ var Cost2 = Model.Cost;
|
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
68
|
var Info20 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service70 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
74
|
-
const bus = yield*
|
|
75
|
-
const location = yield*
|
|
72
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service71;
|
|
74
|
+
const bus = yield* Service81;
|
|
75
|
+
const location = yield* Service77;
|
|
76
76
|
let input;
|
|
77
77
|
const state = create3({
|
|
78
78
|
name: "model",
|
|
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
206
206
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
|
-
yield* bus.subscribe(
|
|
210
|
-
return
|
|
209
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
+
return Service70.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node75, node85, node81] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -237,9 +237,9 @@ function compatibility2(input) {
|
|
|
237
237
|
function parse5(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID10.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID9.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID9, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service70, node74, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-6q44kjsg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin5 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin36, exports_tavily };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./models-dev-0hkfhkek.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID10.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID10.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-cd2ckykk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./models-dev-jagm7tt7.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-5dsr6e61.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 make11(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* Service47;
|
|
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 make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID9.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 make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make11();
|
|
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 { make11, LMStudioPlugin2 };
|