@opencode/core 0.0.0-dev-20276 → 0.0.0-dev-20279
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 +90 -90
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-19xkyn56.js → project-020j3mp2.js} +6 -6
- package/dist/chunks/{location-eaj1djv9.js → project-0gdmqesm.js} +8 -8
- package/dist/chunks/{location-2k8khapm.js → project-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-z4h05mhr.js → project-0k6psah5.js} +11 -11
- package/dist/chunks/{location-e7rgh627.js → project-0ngc5zw8.js} +27 -27
- package/dist/chunks/{location-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-kdpg6j2h.js → project-0skg418f.js} +305 -305
- package/dist/chunks/{location-r98e92ep.js → project-0v53mg2y.js} +4 -4
- package/dist/chunks/{location-yp2x3t23.js → project-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-fm2qvscf.js → project-1g7epwpd.js} +7 -7
- package/dist/chunks/{location-s30fyz93.js → project-1rn5pcm9.js} +4 -4
- package/dist/chunks/project-1x11rq2a.js +18 -0
- package/dist/chunks/{location-9m41ce2e.js → project-1ywpdfns.js} +6 -6
- package/dist/chunks/{location-xx3xskn4.js → project-21bdz9jr.js} +23 -23
- package/dist/chunks/{location-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{location-actspjgq.js → project-23p19ytx.js} +12 -12
- package/dist/chunks/{location-cpy6gm2a.js → project-23pqda6t.js} +6 -6
- package/dist/chunks/{location-y56fgtjc.js → project-28bwp3f2.js} +45 -45
- package/dist/chunks/{location-z63w68vq.js → project-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-2a6rn6yr.js → project-2a6rn6yr.js} +1 -1
- package/dist/chunks/{location-sjxg3jn5.js → project-2dxjdkbg.js} +42 -42
- package/dist/chunks/{location-d51j8nb8.js → project-2gdfcqvr.js} +4 -4
- package/dist/chunks/{location-7v98fvm1.js → project-2h2p30kb.js} +12 -12
- package/dist/chunks/{location-9kyxe6d2.js → project-2mba0a12.js} +17 -17
- package/dist/chunks/{location-c9sp74yg.js → project-2y6fdh01.js} +26 -26
- package/dist/chunks/{location-cmr86hnb.js → project-31hedsss.js} +23 -23
- package/dist/chunks/{location-r9a21ze6.js → project-33j2tcx5.js} +11 -11
- package/dist/chunks/{location-nc08s4b6.js → project-38bjr5b2.js} +6 -6
- package/dist/chunks/{location-m9dd4gnk.js → project-3azdke44.js} +7 -7
- package/dist/chunks/{location-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-8s1frede.js → project-3qaqdfsb.js} +16 -16
- package/dist/chunks/{location-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-9196f380.js → project-45dn1awv.js} +11 -11
- package/dist/chunks/{location-a2qe2ev9.js → project-4a0nv7mx.js} +8 -8
- package/dist/chunks/{location-kkg46zsd.js → project-4bccg1h0.js} +4 -4
- package/dist/chunks/{location-cpj0znwe.js → project-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-33x84ssc.js → project-4jpgjdvv.js} +7 -7
- package/dist/chunks/{location-f323rzvq.js → project-4nha8ag2.js} +16 -16
- package/dist/chunks/{location-z4eayw4n.js → project-4pm2v2am.js} +2 -2
- package/dist/chunks/{location-se36eqgj.js → project-4tyzgth8.js} +11 -11
- package/dist/chunks/{location-rr7rd4zm.js → project-4z34rk99.js} +30 -30
- package/dist/chunks/{location-qn4ba14w.js → project-510m7gjw.js} +5 -5
- package/dist/chunks/{location-w7bkmztz.js → project-51na1v3k.js} +9 -9
- package/dist/chunks/{location-eva5q63f.js → project-54daws1d.js} +16 -16
- package/dist/chunks/{location-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{location-56gdpj1q.js → project-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-57ez7d0k.js → project-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-gfq5dj1e.js → project-5avtv41a.js} +17 -17
- package/dist/chunks/{location-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{location-w6mz219s.js → project-5jd9ntrq.js} +57 -57
- package/dist/chunks/{location-zq6vnbzn.js → project-5qf8t1jq.js} +34 -34
- package/dist/chunks/{location-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-hc04de6s.js → project-5tavbbzk.js} +43 -43
- package/dist/chunks/{location-x3d5atbz.js → project-5tetfxpq.js} +25 -25
- package/dist/chunks/{location-tjca4006.js → project-624d5kfb.js} +38 -38
- package/dist/chunks/{location-qpygv4fp.js → project-649khmm7.js} +5 -5
- package/dist/chunks/{location-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{location-frhdz160.js → project-6cgdsgaz.js} +7 -7
- package/dist/chunks/{location-fs7gwttq.js → project-6ezrffkm.js} +4 -4
- package/dist/chunks/{location-ggqz94d5.js → project-6ggkqwkw.js} +28 -28
- package/dist/chunks/{location-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-2xwkyk0m.js → project-6xw3seg4.js} +5 -5
- package/dist/chunks/{location-xz21yfmd.js → project-722n21ms.js} +17 -17
- package/dist/chunks/{location-g7ptqdwz.js → project-7696tyxc.js} +15 -15
- package/dist/chunks/{location-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/project-7dm9wscz.js +252 -0
- package/dist/chunks/{location-yah15ztz.js → project-7h36bzy6.js} +18 -18
- package/dist/chunks/{location-8zh4h089.js → project-7pr2hkwv.js} +5 -5
- package/dist/chunks/{location-csytna75.js → project-7qyhwj8w.js} +33 -33
- package/dist/chunks/{location-c26hev1n.js → project-7rfhx83j.js} +22 -22
- package/dist/chunks/{location-5cmxdwv8.js → project-7w99qc9d.js} +3 -3
- package/dist/chunks/{location-462ftxvc.js → project-7wd9qwyc.js} +10 -10
- package/dist/chunks/{location-m5qgxshp.js → project-7ysffvaw.js} +22 -22
- package/dist/chunks/{location-sq2kpqez.js → project-7zd0nwwt.js} +23 -23
- package/dist/chunks/{location-2vq7jkms.js → project-806z90sq.js} +11 -11
- package/dist/chunks/{location-2xhakehx.js → project-8301s3d9.js} +43 -43
- package/dist/chunks/{location-7h0vcxh8.js → project-838saeqq.js} +4 -4
- package/dist/chunks/{location-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{location-553akxd4.js → project-85k7sv8x.js} +78 -78
- package/dist/chunks/{location-re7w4886.js → project-86ejvc8x.js} +167 -167
- package/dist/chunks/{location-vqet09zx.js → project-874npkh1.js} +11 -11
- package/dist/chunks/{location-ff3hhqst.js → project-87m7088e.js} +17 -17
- package/dist/chunks/{location-8a0sy633.js → project-8bqv1t9b.js} +24 -24
- package/dist/chunks/{location-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-5wfhmhr2.js → project-8e9zgs0b.js} +8 -8
- package/dist/chunks/{location-vpw9xy5b.js → project-8ew7c7re.js} +19 -19
- package/dist/chunks/{location-8ssk0f6f.js → project-8qb2kdky.js} +22 -22
- package/dist/chunks/{location-py3kkmfq.js → project-8sze2n9a.js} +6 -6
- package/dist/chunks/{location-3ewed21c.js → project-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-0057bkce.js → project-8x5hjfvz.js} +4 -4
- package/dist/chunks/{location-vjst3kcb.js → project-8znrmxmh.js} +35 -35
- package/dist/chunks/{location-gfvb90ym.js → project-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-ae1n2vcd.js → project-9g29qv69.js} +4 -4
- package/dist/chunks/{location-n4v0rfv1.js → project-9m8b7yry.js} +4 -4
- package/dist/chunks/{location-kxvx07my.js → project-a18yp3jg.js} +20 -20
- package/dist/chunks/{location-a4hewyqn.js → project-a55j0b8t.js} +11 -11
- package/dist/chunks/{location-18a36fer.js → project-a5qz9j9y.js} +15 -15
- package/dist/chunks/{location-v1ryjrvj.js → project-a6cp191g.js} +30 -30
- package/dist/chunks/{location-3c7r44jp.js → project-aa212rbv.js} +17 -17
- package/dist/chunks/{location-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mbcnae1e.js → project-abwsctdy.js} +48 -48
- package/dist/chunks/{location-espmheeq.js → project-afc78eap.js} +11 -11
- package/dist/chunks/{location-gmjq4p6e.js → project-afed7ext.js} +5 -5
- package/dist/chunks/{location-4sk9wqmx.js → project-ahjncwpe.js} +16 -16
- package/dist/chunks/{location-1c5qr0d4.js → project-amfycdq8.js} +26 -26
- package/dist/chunks/{location-jnz9m78q.js → project-an9w15zy.js} +32 -32
- package/dist/chunks/{location-0fx1c86e.js → project-aqtagypg.js} +8 -8
- package/dist/chunks/{location-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mfyfvt3e.js → project-bajb8z3h.js} +9 -9
- package/dist/chunks/{location-k50vre3t.js → project-bfgmmhz5.js} +27 -27
- package/dist/chunks/{location-ax5q5x3y.js → project-bj4xes31.js} +3 -3
- package/dist/chunks/{location-c3p8ecy6.js → project-c6k5mewg.js} +5 -5
- package/dist/chunks/{location-b09w9vsw.js → project-cajr751j.js} +84 -84
- package/dist/chunks/{location-gc90ewg5.js → project-cbh7m0p8.js} +31 -31
- package/dist/chunks/{location-fch6zz7r.js → project-cde73km7.js} +46 -46
- package/dist/chunks/{location-54tcyq79.js → project-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-hkxjwzsw.js → project-ckpfc465.js} +10 -10
- package/dist/chunks/{location-bbcw15hs.js → project-cn8ehpgs.js} +25 -25
- package/dist/chunks/{location-2q79s005.js → project-cpywhfwc.js} +3 -3
- package/dist/chunks/{location-qdy5jae5.js → project-cxp1vhfy.js} +3 -3
- package/dist/chunks/{location-nxhqveyz.js → project-d2aac7k2.js} +5 -5
- package/dist/chunks/{location-j14xwnx3.js → project-da3mhb28.js} +15 -15
- package/dist/chunks/{location-f98hm7nt.js → project-dbnk5sd2.js} +11 -11
- package/dist/chunks/{location-zpc9w55b.js → project-ddsjsg9e.js} +33 -33
- package/dist/chunks/{location-13ggeyh8.js → project-dhwr7h25.js} +11 -11
- package/dist/chunks/{location-5cqar878.js → project-dn1m44r2.js} +5 -5
- package/dist/chunks/{location-0pb2tsr6.js → project-dnsv9a53.js} +4 -4
- package/dist/chunks/{location-ssg653vt.js → project-dvp8fdzn.js} +23 -23
- package/dist/chunks/{location-dbr74085.js → project-dvvxabsh.js} +11 -11
- package/dist/chunks/{location-5yqvxvd9.js → project-dx5kkrrb.js} +5 -5
- package/dist/chunks/{location-4stzy43z.js → project-e04k8gjt.js} +11 -11
- package/dist/chunks/{location-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-mm5kxf07.js → project-e7710hd6.js} +8 -8
- package/dist/chunks/{location-b4smrmcv.js → project-e840xjs9.js} +4 -4
- package/dist/chunks/{location-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-r5z9vr3t.js → project-ejjsyt9b.js} +9 -9
- package/dist/chunks/{location-jtc1v7sa.js → project-err9m5fm.js} +29 -29
- package/dist/chunks/{location-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-ab4qw10a.js → project-fnv0ytv6.js} +20 -20
- package/dist/chunks/{location-x7993znb.js → project-g13hzveh.js} +6 -6
- package/dist/chunks/{location-1fw2a5v8.js → project-gce79w0q.js} +13 -13
- package/dist/chunks/{location-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-jy8sf8ka.js → project-gkm2k4qt.js} +35 -35
- package/dist/chunks/{location-wdz763xm.js → project-gsrpqv5m.js} +29 -29
- package/dist/chunks/{location-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-0ryd0fps.js → project-h4z1mxff.js} +5 -5
- package/dist/chunks/{location-xdx7acry.js → project-h5m7e0fe.js} +9 -9
- package/dist/chunks/{location-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-aakk90ee.js → project-hawf4j0h.js} +25 -25
- package/dist/chunks/{location-nd5ewv74.js → project-hbnmhsp4.js} +3 -3
- package/dist/chunks/{location-x9ssgtdb.js → project-hdchbct3.js} +20 -20
- package/dist/chunks/{location-5htrahb1.js → project-hmr3gw0k.js} +9 -9
- package/dist/chunks/{location-atzxk3q8.js → project-hp5m1mwc.js} +11 -11
- package/dist/chunks/{location-vxh2n5pk.js → project-hq704nat.js} +3 -3
- package/dist/chunks/{location-6mxndphv.js → project-hr4wmfer.js} +9 -9
- package/dist/chunks/{location-aaf8swx0.js → project-hvdhm99d.js} +5 -5
- package/dist/chunks/{location-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{location-615mg57g.js → project-jacbbyrq.js} +36 -36
- package/dist/chunks/{location-mxyfxq61.js → project-jdtdmam0.js} +3 -3
- package/dist/chunks/{location-xrc18w18.js → project-jhvm74wt.js} +16 -16
- package/dist/chunks/{location-qsjwzbna.js → project-jnd49krt.js} +22 -22
- package/dist/chunks/{location-afy572fx.js → project-jrm8529p.js} +4 -4
- package/dist/chunks/{location-fapqdhr6.js → project-jtj2kw93.js} +8 -8
- package/dist/chunks/{location-m6f3t844.js → project-k1qrnqst.js} +8 -8
- package/dist/chunks/{location-2cc3a0er.js → project-k2fhnaq7.js} +24 -24
- package/dist/chunks/{location-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{location-kzyk0qtv.js → project-k4cc7tdd.js} +33 -33
- package/dist/chunks/{location-4dgfv34j.js → project-kbfev964.js} +24 -24
- package/dist/chunks/{location-e5pqzwnt.js → project-kfmd8j3s.js} +6 -6
- package/dist/chunks/{location-y653rv1a.js → project-kh937tj1.js} +48 -48
- package/dist/chunks/{location-a44b6qvx.js → project-kwz1cqyn.js} +11 -11
- package/dist/chunks/{location-jc2h4ya1.js → project-kz21bzdc.js} +5 -5
- package/dist/chunks/{location-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-768gsh1v.js → project-mgmaefw5.js} +3 -3
- package/dist/chunks/{location-j22t5rnv.js → project-mjx95eda.js} +5 -5
- package/dist/chunks/{location-ydk8kw93.js → project-mm6wzher.js} +11 -11
- package/dist/chunks/{location-nwqf1d5h.js → project-mswv9656.js} +21 -21
- package/dist/chunks/{location-0h3pt5nx.js → project-mt7gpc5c.js} +20 -20
- package/dist/chunks/{location-xw0saaw0.js → project-mv7e59pt.js} +26 -26
- package/dist/chunks/{location-7yh4e7ss.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-dxkh69ct.js → project-mwmdr1jb.js} +34 -34
- package/dist/chunks/{location-yv63dtz0.js → project-n7ah8pfs.js} +62 -62
- package/dist/chunks/{location-bscb95cy.js → project-n8c291r7.js} +6 -6
- package/dist/chunks/{location-gtah93dy.js → project-n91pks0e.js} +15 -15
- package/dist/chunks/{location-wsvmp3ny.js → project-namtrpjt.js} +15 -15
- package/dist/chunks/{location-n6dqm6n8.js → project-ndhqym75.js} +8 -8
- package/dist/chunks/{location-zmzjstmk.js → project-nhh7wtmw.js} +17 -17
- package/dist/chunks/{location-x8ygcmws.js → project-nn5prrq6.js} +8 -8
- package/dist/chunks/{location-vmgq4x8b.js → project-nng2ktcm.js} +2 -2
- package/dist/chunks/{location-f113p6m0.js → project-nnqrtkwf.js} +37 -37
- package/dist/chunks/{location-pnv527nz.js → project-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-amb4vwg9.js → project-nrbhkkd4.js} +6 -6
- package/dist/chunks/{location-eqzyz2a8.js → project-nt4kgfyx.js} +1 -1
- package/dist/chunks/{location-kdk8byp1.js → project-p2v3pvra.js} +17 -17
- package/dist/chunks/{location-2wnt8bbg.js → project-p40w2ff8.js} +13 -13
- package/dist/chunks/{location-9tgtz3hc.js → project-p5gq5q8v.js} +16 -16
- package/dist/chunks/{location-n3vygs5b.js → project-p7gq9vf8.js} +9 -9
- package/dist/chunks/{location-mzba7wnk.js → project-phq84q0m.js} +20 -20
- package/dist/chunks/{location-8v6pyhej.js → project-phstrbs2.js} +8 -8
- package/dist/chunks/{location-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{location-65asqpss.js → project-prw92b8h.js} +14 -14
- package/dist/chunks/{location-xqecqxs5.js → project-q0b060vn.js} +12 -12
- package/dist/chunks/{location-94gfxd8b.js → project-q0rtx1xc.js} +10 -10
- package/dist/chunks/{location-vgvjrf8v.js → project-q4s4x04b.js} +24 -24
- package/dist/chunks/{location-ngc4nbq5.js → project-q8vgm9fw.js} +10 -10
- package/dist/chunks/{location-kt9mpxjt.js → project-qcc4ret3.js} +26 -26
- package/dist/chunks/{location-d4he2qe1.js → project-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-paw7gv03.js → project-qpc4hnpd.js} +14 -14
- package/dist/chunks/{location-rweezmpe.js → project-qpp51p0r.js} +19 -19
- package/dist/chunks/{location-n8wsbnmg.js → project-qs3pdb9f.js} +13 -13
- package/dist/chunks/{location-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{location-vw38ypps.js → project-qvj3hgsx.js} +11 -11
- package/dist/chunks/{location-12296md0.js → project-qw0n7g2y.js} +20 -20
- package/dist/chunks/{location-z42cn8j0.js → project-r31xzp04.js} +11 -11
- package/dist/chunks/{location-j5b3v8p4.js → project-r3jb2bst.js} +10 -10
- package/dist/chunks/{location-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-tgzah0tt.js → project-rjqy7xj7.js} +16 -16
- package/dist/chunks/{location-37e61ywe.js → project-rn5x2ykt.js} +17 -17
- package/dist/chunks/{location-7nh7q5qm.js → project-rndn3c47.js} +32 -32
- package/dist/chunks/{location-6gph9127.js → project-rrrssxf8.js} +3 -3
- package/dist/chunks/{location-978t30qm.js → project-rx563r8n.js} +17 -17
- package/dist/chunks/{location-yrznvahk.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{location-7dbmnfn4.js → project-sm965ndy.js} +8 -8
- package/dist/chunks/{location-0m5nw8df.js → project-ss45vysf.js} +13 -13
- package/dist/chunks/{location-y5v4pytj.js → project-ssk3tbab.js} +17 -17
- package/dist/chunks/{location-5rwbqegk.js → project-t7ngw8t1.js} +31 -31
- package/dist/chunks/{location-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-1ed2t66p.js → project-tazp3vs0.js} +4 -4
- package/dist/chunks/{location-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tw3t2x25.js → project-tdeqh5mc.js} +15 -15
- package/dist/chunks/{location-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{location-qsawcycn.js → project-tr33jf8f.js} +1 -1
- package/dist/chunks/{location-mygq0r12.js → project-ttn0x086.js} +12 -12
- package/dist/chunks/{location-vgzres6n.js → project-tttf012a.js} +9 -9
- package/dist/chunks/{location-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{location-745s8vaw.js → project-v75pes83.js} +10 -10
- package/dist/chunks/{location-hy3r2exk.js → project-vc2vvn2n.js} +24 -24
- package/dist/chunks/{location-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{location-f3ngv102.js → project-vsp1fds9.js} +21 -21
- package/dist/chunks/{location-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-5eb3a1ca.js → project-w8bax687.js} +12 -12
- package/dist/chunks/{location-pgk5vny9.js → project-wbnn775w.js} +7 -7
- package/dist/chunks/{location-psazpmmj.js → project-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{location-b8wj4r0t.js → project-whjd3rc2.js} +19 -19
- package/dist/chunks/{location-b0dgvpy7.js → project-wk5z6jzv.js} +9 -9
- package/dist/chunks/{location-f5brv8eq.js → project-wwhjw9xv.js} +5 -5
- package/dist/chunks/{location-vsm5skh5.js → project-x0nanjd3.js} +24 -24
- package/dist/chunks/{location-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-q826ync2.js → project-x827mkbf.js} +11 -11
- package/dist/chunks/{location-rmyddrcn.js → project-xb9fg6sg.js} +3 -3
- package/dist/chunks/{location-697fm79x.js → project-xf0nr9dv.js} +4 -4
- package/dist/chunks/{location-xfkkasph.js → project-xfkkasph.js} +1 -1
- package/dist/chunks/{location-gqayqhyj.js → project-xg1dkx3r.js} +2 -2
- package/dist/chunks/{location-t8kexe44.js → project-xgg5kjqw.js} +14 -14
- package/dist/chunks/{location-xkntkrq7.js → project-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-0bfcnrg1.js → project-xp3fh2h7.js} +1 -1
- package/dist/chunks/{location-s1hvx6t4.js → project-xrbfhxyn.js} +12 -12
- package/dist/chunks/{location-4ntyr3h2.js → project-xyb3cdv5.js} +10 -10
- package/dist/chunks/{location-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-rk7s9xkn.js → project-y5rf7nzv.js} +4 -4
- package/dist/chunks/{location-y71avatq.js → project-y71avatq.js} +1 -1
- package/dist/chunks/{location-80ebag5h.js → project-ycs6vwzp.js} +8 -8
- package/dist/chunks/{location-r7nsrefv.js → project-ydkjqnka.js} +8 -8
- package/dist/chunks/{location-31vv3vzb.js → project-yejc90cs.js} +11 -11
- package/dist/chunks/{location-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-wetczrvy.js → project-yxd16e7e.js} +17 -17
- package/dist/chunks/{location-bjtzbw4r.js → project-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-c78bbtc9.js → project-z3pw5915.js} +5 -5
- package/dist/chunks/{location-mp62f6px.js → project-z5mnxdh2.js} +9 -9
- package/dist/chunks/{location-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-jtb1j844.js → project-zt84kvnr.js} +16 -16
- package/dist/chunks/{location-t7n9q6bq.js → project-zvt5dnpc.js} +4 -4
- package/dist/chunks/{location-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- 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 +94 -94
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +119 -119
- 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 +2 -2
- 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 +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- 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 +125 -125
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- 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 +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-0kcwsw03.js +0 -252
- package/dist/chunks/location-f81tjggh.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./project-8qb2kdky.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-4pm2v2am.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./project-624d5kfb.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./project-vc2vvn2n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./project-nq7qbqzc.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-nrbhkkd4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin4
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin4 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service60;
|
|
43
|
+
const discovery = yield* Service12;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service61;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin16 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin16 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin16 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin16 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin16 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin4, exports_skill };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info24 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info24, SessionSchema2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-0ngc5zw8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./project-624d5kfb.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-1ywpdfns.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service60;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID11.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make9();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make9, OllamaPlugin2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-gsrpqv5m.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./project-0ngc5zw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-gsrpqv5m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info25,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-0ngc5zw8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info25.make({
|
|
98
|
+
...Info25.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-7w99qc9d.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-p7gq9vf8.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-0gdmqesm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-tazp3vs0.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-1rn5pcm9.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./project-624d5kfb.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./project-mswv9656.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./project-722n21ms.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service49
|
|
19
|
+
} from "./project-5jd9ntrq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service40,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-namtrpjt.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service79,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./project-gce79w0q.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./project-2dxjdkbg.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./project-85k7sv8x.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./project-9g29qv69.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./project-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin23,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
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."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin23 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service18;
|
|
123
|
+
const jobs = yield* Service69;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service53;
|
|
126
|
+
const access = yield* Service40;
|
|
127
|
+
const shell = yield* Service37;
|
|
128
|
+
const shellSelect = yield* Service79;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service49;
|
|
131
|
+
const config = yield* Service60;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin30 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name4,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin30 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name4,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input4,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin30 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name4,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name4];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin23, exports_shell2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./project-624d5kfb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
@@ -22,7 +22,7 @@ var defaults = {
|
|
|
22
22
|
var Plugin42 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|