@opencode/core 0.0.0-dev-19404 → 0.0.0-dev-19405
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-ms6rwfbv.js → reference-069ez2pk.js} +31 -31
- package/dist/chunks/{file-4qbtf2xm.js → reference-0akhmw49.js} +3 -3
- package/dist/chunks/{file-v3smhzc7.js → reference-0dwg38z7.js} +20 -20
- package/dist/chunks/{file-awz7xhfp.js → reference-0n9gyfew.js} +4 -4
- package/dist/chunks/{file-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-gj4x8zz6.js → reference-0pr2t355.js} +13 -13
- package/dist/chunks/{file-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-ypy1tgyh.js → reference-13j5h6zk.js} +7 -7
- package/dist/chunks/{file-egqspz5t.js → reference-189pdvy9.js} +12 -12
- package/dist/chunks/{file-xacpwbjs.js → reference-1bmfk1j7.js} +4 -4
- package/dist/chunks/{file-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-8kpa3sfw.js → reference-1efffvwy.js} +28 -28
- package/dist/chunks/{file-1eyaby9q.js → reference-1eyaby9q.js} +2 -2
- package/dist/chunks/{file-397qe2v7.js → reference-1f0ahqzp.js} +16 -16
- package/dist/chunks/{file-ashvqh0k.js → reference-1jjc8ex5.js} +8 -8
- package/dist/chunks/{file-esdnemd6.js → reference-1wxb385z.js} +1 -1
- package/dist/chunks/{file-t9qhnrv6.js → reference-21bd5msc.js} +6 -6
- package/dist/chunks/{file-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{file-eykg37vx.js → reference-234ap6ss.js} +11 -11
- package/dist/chunks/{file-6h73sxmp.js → reference-2402vzrj.js} +5 -5
- package/dist/chunks/{file-3fj0ehej.js → reference-29sw5btw.js} +43 -43
- package/dist/chunks/{file-29x78va6.js → reference-29x78va6.js} +2 -2
- package/dist/chunks/{file-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-3w2b2yj4.js → reference-2f0bjgcj.js} +5 -5
- package/dist/chunks/{file-dft13gwa.js → reference-2k5ec76m.js} +43 -43
- package/dist/chunks/{file-7dqw4kz8.js → reference-2k8khapm.js} +5 -5
- package/dist/chunks/{file-75v5avbv.js → reference-2x1tygz9.js} +9 -9
- package/dist/chunks/{file-wh05710z.js → reference-37b2kds0.js} +41 -41
- package/dist/chunks/{file-rn18s34v.js → reference-38j1eg2k.js} +6 -6
- package/dist/chunks/{file-hq8zt1th.js → reference-3c1tgrea.js} +6 -6
- package/dist/chunks/{file-5aejmzs0.js → reference-3eqkaq2z.js} +21 -21
- package/dist/chunks/{file-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-fk561ek3.js → reference-3g767a7k.js} +19 -19
- package/dist/chunks/{file-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-d5n4bh35.js → reference-3j6hn5pg.js} +26 -26
- package/dist/chunks/{file-an7cqtb7.js → reference-3j8sdtpz.js} +4 -4
- package/dist/chunks/{file-b3wkxfg9.js → reference-3jp54z3r.js} +1 -1
- package/dist/chunks/{file-3kff94q5.js → reference-3kmcaztr.js} +11 -11
- package/dist/chunks/{file-qacd23e2.js → reference-3qcr26pr.js} +4 -4
- package/dist/chunks/{file-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-70xczmxz.js → reference-48ghgnyj.js} +9 -9
- package/dist/chunks/{file-5djf14hj.js → reference-4bap03mh.js} +33 -33
- package/dist/chunks/{file-9aqzzx1f.js → reference-4fse7aks.js} +16 -16
- package/dist/chunks/{file-e9cer28w.js → reference-4grg7b1w.js} +4 -4
- package/dist/chunks/{file-dn4sgk77.js → reference-4j04egcw.js} +47 -47
- package/dist/chunks/{file-rs226bz6.js → reference-4mkcvr19.js} +5 -5
- package/dist/chunks/{file-t33aqq77.js → reference-4nvekdmf.js} +8 -8
- package/dist/chunks/{file-s7vx81dz.js → reference-4s15yhyb.js} +7 -7
- package/dist/chunks/{file-zgye80qh.js → reference-4vptvh4s.js} +33 -33
- package/dist/chunks/{file-1z0pzthf.js → reference-4zrw1ey2.js} +2 -2
- package/dist/chunks/{file-p1nm93x7.js → reference-510m7gjw.js} +5 -5
- package/dist/chunks/{file-w6vgwbtw.js → reference-52zvc43d.js} +47 -47
- package/dist/chunks/{file-56gdpj1q.js → reference-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{file-j1ywwsrp.js → reference-5jgk54rp.js} +60 -60
- package/dist/chunks/{file-fjmrr6sh.js → reference-5kptn8c0.js} +9 -9
- package/dist/chunks/{file-9k2v62xn.js → reference-5nsrms9d.js} +1 -1
- package/dist/chunks/{file-rz3jkdqg.js → reference-5rswhkvm.js} +17 -17
- package/dist/chunks/{file-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-206fxkvm.js → reference-5t7ms9mx.js} +19 -19
- package/dist/chunks/{file-e7n26ax2.js → reference-610kgvj3.js} +8 -8
- package/dist/chunks/{file-9nmemh1m.js → reference-65ttwmv3.js} +18 -18
- package/dist/chunks/{file-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{file-h074tf43.js → reference-675rgbk8.js} +37 -37
- package/dist/chunks/{file-zn15gz72.js → reference-6dg7rqxz.js} +17 -17
- package/dist/chunks/{file-7a03d1b8.js → reference-6gzrz82e.js} +22 -22
- package/dist/chunks/{file-xx0dsh07.js → reference-6k7a189h.js} +34 -34
- package/dist/chunks/{file-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-arncpnzb.js → reference-6wsb51zt.js} +18 -18
- package/dist/chunks/{file-s40t4n9p.js → reference-6y0x6mhe.js} +32 -32
- package/dist/chunks/{file-71q4at8m.js → reference-71q4at8m.js} +1 -1
- package/dist/chunks/{file-jvdqbckk.js → reference-7b2pfzf8.js} +13 -13
- package/dist/chunks/{file-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-ec8389mk.js → reference-7e2yy7bx.js} +4 -4
- package/dist/chunks/{file-yt0fqk68.js → reference-7gvwkz6m.js} +5 -5
- package/dist/chunks/{file-xncegbyh.js → reference-7mnn3rdt.js} +6 -6
- package/dist/chunks/{file-k2cps1w2.js → reference-7my7c7z0.js} +8 -8
- package/dist/chunks/{file-pvp2wc9z.js → reference-7mydebfb.js} +11 -11
- package/dist/chunks/{file-ntp00jbn.js → reference-7qfmb4s4.js} +47 -47
- package/dist/chunks/{file-7ebn0nc0.js → reference-7yqjxrmz.js} +4 -4
- package/dist/chunks/{file-vypqtakx.js → reference-83x6p9kd.js} +1 -1
- package/dist/chunks/{file-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-3yjg5mh2.js → reference-8jmaqybk.js} +3 -3
- package/dist/chunks/{file-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-nrj82zgb.js → reference-8pqq62t9.js} +28 -28
- package/dist/chunks/{file-52az7e5h.js → reference-8q01rjya.js} +18 -18
- package/dist/chunks/{file-664j63h8.js → reference-8q0rcqtv.js} +17 -17
- package/dist/chunks/{file-bd7mw0dj.js → reference-8rpas02w.js} +20 -20
- package/dist/chunks/{file-bbddt0rr.js → reference-92yzrxcq.js} +22 -22
- package/dist/chunks/{file-fydnx5fx.js → reference-9d1kp679.js} +43 -43
- package/dist/chunks/{file-n4tr9e7x.js → reference-9dpegb11.js} +14 -14
- package/dist/chunks/{file-ce5fknq2.js → reference-9eh6sf6d.js} +5 -5
- package/dist/chunks/reference-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-jhtsdbae.js → reference-a1p8sqe6.js} +21 -21
- package/dist/chunks/{file-pnfpsavj.js → reference-a291bara.js} +5 -5
- package/dist/chunks/{file-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{file-e7c5hh0v.js → reference-adaj7ksj.js} +7 -7
- package/dist/chunks/{file-xxewcce8.js → reference-ap8njz3k.js} +11 -11
- package/dist/chunks/{file-qaeybh9m.js → reference-as4zy6vm.js} +6 -6
- package/dist/chunks/{file-844ef7ks.js → reference-asmz7wyz.js} +8 -8
- package/dist/chunks/{file-4e25g0td.js → reference-aw218f2w.js} +14 -14
- package/dist/chunks/{file-gj7pn1ka.js → reference-aykdxbsk.js} +11 -11
- package/dist/chunks/{file-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-1enyjv7v.js → reference-bkaavq67.js} +13 -13
- package/dist/chunks/{file-0bc9xa41.js → reference-bq8xzrzg.js} +9 -9
- package/dist/chunks/{file-84tssp1s.js → reference-c7ecgrk6.js} +6 -6
- package/dist/chunks/{file-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-88sz8qcd.js → reference-csf2jhsg.js} +4 -4
- package/dist/chunks/{file-kkmk6wev.js → reference-cvaa60g2.js} +11 -11
- package/dist/chunks/{file-6bg31a94.js → reference-d6fzg897.js} +6 -6
- package/dist/chunks/{file-jh9jg79a.js → reference-dxt7hne3.js} +8 -8
- package/dist/chunks/{file-tsdrwk88.js → reference-e1nwe2td.js} +8 -8
- package/dist/chunks/{file-fkszgfvj.js → reference-e46ah9gc.js} +11 -11
- package/dist/chunks/{file-37y0x4sa.js → reference-e7g2pv1c.js} +13 -13
- package/dist/chunks/{file-d1xvm4af.js → reference-e7kd7gj5.js} +15 -15
- package/dist/chunks/{file-nhy5jxhy.js → reference-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-03wwe30p.js → reference-efq5tq4f.js} +18 -18
- package/dist/chunks/{file-0kzzmtkd.js → reference-ej085sj0.js} +18 -18
- package/dist/chunks/{file-mrw4weg4.js → reference-en74w496.js} +5 -5
- package/dist/chunks/{file-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-jxj1g7d6.js → reference-ewnjgq7q.js} +5 -5
- package/dist/chunks/{file-2r4xr41j.js → reference-ezmrpqv5.js} +20 -20
- package/dist/chunks/{file-fzsrmebp.js → reference-f1my3kj4.js} +20 -20
- package/dist/chunks/{file-yp2x3t23.js → reference-f2n192rq.js} +4 -4
- package/dist/chunks/{file-f828m53h.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{file-0tqgm7xh.js → reference-fd0t6sve.js} +36 -36
- package/dist/chunks/{file-rddqvwx7.js → reference-fhjrrdjb.js} +23 -23
- package/dist/chunks/{file-z6mn07nx.js → reference-fj264fv9.js} +85 -85
- package/dist/chunks/{file-6cr0vect.js → reference-fmxx1bts.js} +24 -24
- package/dist/chunks/{file-3n1sj9mp.js → reference-ftm00p2b.js} +1 -1
- package/dist/chunks/{file-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mcma3e2p.js → reference-g6zhr88b.js} +6 -6
- package/dist/chunks/{file-zts5fb25.js → reference-g8xxs4tx.js} +11 -11
- package/dist/chunks/{file-t550f9t1.js → reference-gbt6w4kb.js} +6 -6
- package/dist/chunks/{file-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-n3ehebhz.js → reference-gf18h3v3.js} +12 -12
- package/dist/chunks/{file-xp2ajnz8.js → reference-gjdkj7gs.js} +21 -21
- package/dist/chunks/{file-ff8vf18q.js → reference-gkmh43rj.js} +7 -7
- package/dist/chunks/{file-6jnybvqn.js → reference-gsx0ryk4.js} +9 -9
- package/dist/chunks/{file-3trbxeqx.js → reference-gt0cxfk7.js} +1 -1
- package/dist/chunks/{file-verq85zk.js → reference-gv45jpg5.js} +4 -4
- package/dist/chunks/{file-z2rxccdg.js → reference-gvqge573.js} +9 -9
- package/dist/chunks/{file-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-xe3tttza.js → reference-h8zt85z5.js} +10 -10
- package/dist/chunks/{file-n6c8w82a.js → reference-hbhmt5dn.js} +5 -5
- package/dist/chunks/{file-a28msnrx.js → reference-hhczrqr1.js} +4 -4
- package/dist/chunks/{file-4rpd5z62.js → reference-hj92pwq6.js} +2 -2
- package/dist/chunks/{file-87deq66t.js → reference-hkjf8z9r.js} +6 -6
- package/dist/chunks/{file-embw8kgh.js → reference-hn57h045.js} +4 -4
- package/dist/chunks/{file-0ee4sq7j.js → reference-hp02hwp4.js} +13 -13
- package/dist/chunks/{file-qrh3ph5y.js → reference-hx12r247.js} +42 -42
- package/dist/chunks/{file-m4w483hc.js → reference-j0w83stm.js} +4 -4
- package/dist/chunks/{file-wxg97684.js → reference-j16zphk7.js} +26 -26
- package/dist/chunks/{file-b3ab3ctg.js → reference-j1tww2gp.js} +6 -6
- package/dist/chunks/{file-gzbkpp9m.js → reference-j5208yae.js} +4 -4
- package/dist/chunks/{file-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{file-q043d12m.js → reference-j5v2xxap.js} +11 -11
- package/dist/chunks/{file-nmpjh5tr.js → reference-j5vg7gm1.js} +18 -18
- package/dist/chunks/{file-prqr7atv.js → reference-j6bm1nn6.js} +13 -13
- package/dist/chunks/{file-b4ssmz4r.js → reference-ja4wy4ee.js} +6 -6
- package/dist/chunks/{file-v6eynfa8.js → reference-jahnfg6b.js} +21 -21
- package/dist/chunks/{file-fq1h1v14.js → reference-jhetwysa.js} +3 -3
- package/dist/chunks/{file-2ff89mrc.js → reference-jtefztwj.js} +4 -4
- package/dist/chunks/{file-agz6ccty.js → reference-jzxr77q3.js} +31 -31
- package/dist/chunks/{file-frghq38s.js → reference-k1endqwm.js} +12 -12
- package/dist/chunks/{file-3yknbgq7.js → reference-k6szry07.js} +19 -19
- package/dist/chunks/{file-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{file-edx7kkbf.js → reference-kgyjz9fy.js} +24 -24
- package/dist/chunks/{file-y2vrj84a.js → reference-kjz5gbca.js} +10 -10
- package/dist/chunks/{file-0vbmec47.js → reference-knhghh0v.js} +30 -30
- package/dist/chunks/{file-xr2q0tqq.js → reference-kr2c45mn.js} +14 -14
- package/dist/chunks/{file-dx6t03ys.js → reference-m4wh40kd.js} +2 -2
- package/dist/chunks/reference-m71yds50.js +247 -0
- package/dist/chunks/{file-x015srt1.js → reference-m9qjv7qq.js} +25 -25
- package/dist/chunks/{file-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-n92g5px8.js → reference-mfwv2709.js} +15 -15
- package/dist/chunks/{file-195b9hkp.js → reference-mgw48z1b.js} +28 -28
- package/dist/chunks/{file-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-5trk58xb.js → reference-n3wdcy6w.js} +8 -8
- package/dist/chunks/{file-rctdwqm8.js → reference-nbwvt5pv.js} +10 -10
- package/dist/chunks/{file-bv5t9bgg.js → reference-nns6kj95.js} +10 -10
- package/dist/chunks/{file-dgbe4bt1.js → reference-pcfbqvzv.js} +18 -18
- package/dist/chunks/{file-g713qgch.js → reference-pfq1v9kt.js} +24 -24
- package/dist/chunks/{file-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{file-5cvqq58e.js → reference-q342wcsq.js} +3 -3
- package/dist/chunks/{file-3nte7245.js → reference-q9b7wkyy.js} +14 -14
- package/dist/chunks/{file-2rbw2ja1.js → reference-qajrngy3.js} +22 -22
- package/dist/chunks/{file-hbznxe04.js → reference-qas58w1m.js} +17 -17
- package/dist/chunks/{file-9bj2cvf7.js → reference-qcvy1hs9.js} +9 -9
- package/dist/chunks/{file-qefhz522.js → reference-qfhza6js.js} +11 -11
- package/dist/chunks/{file-rbb6h0rd.js → reference-qjp4a40e.js} +11 -11
- package/dist/chunks/{file-9v3118pd.js → reference-qjwymapa.js} +26 -26
- package/dist/chunks/{file-htj0b10m.js → reference-qnyc9adz.js} +23 -23
- package/dist/chunks/{file-ew6y6y1a.js → reference-qs0ddh18.js} +25 -25
- package/dist/chunks/{file-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{file-c807y6n2.js → reference-r4avt07e.js} +26 -26
- package/dist/chunks/{file-7yh4e7ss.js → reference-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-8x96bj0m.js → reference-ratrq7cm.js} +7 -7
- package/dist/chunks/{file-agmzfzv5.js → reference-redrjz5k.js} +18 -18
- package/dist/chunks/{file-qt2wzkfv.js → reference-rszxffrt.js} +143 -143
- package/dist/chunks/{file-1vd4786e.js → reference-rtphz2v8.js} +9 -9
- package/dist/chunks/{file-03zt5v0h.js → reference-rvnq7e84.js} +8 -8
- package/dist/chunks/{file-s4enseaf.js → reference-s4enseaf.js} +2 -2
- package/dist/chunks/{file-416qpt5q.js → reference-sfddxscf.js} +36 -36
- package/dist/chunks/{file-wkwfxgj3.js → reference-sgfkh1bp.js} +4 -4
- package/dist/chunks/{file-yc3z3e63.js → reference-sgpd7ym3.js} +13 -13
- package/dist/chunks/{file-bxsmgxt8.js → reference-sjqcgh4k.js} +11 -11
- package/dist/chunks/{file-vftfn4tg.js → reference-smq0r06k.js} +67 -67
- package/dist/chunks/{file-rb7pkpgx.js → reference-spphehv3.js} +12 -12
- package/dist/chunks/{file-h2gyv3sg.js → reference-t8mcaem5.js} +1 -1
- package/dist/chunks/{file-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{file-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
- package/dist/chunks/{file-kcvfr73y.js → reference-tkhm1f4n.js} +46 -46
- package/dist/chunks/{file-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{file-p7r5e3re.js → reference-v4hps1eq.js} +27 -27
- package/dist/chunks/{file-wc01vwq2.js → reference-v61v6jk6.js} +17 -17
- package/dist/chunks/{file-gshc2tst.js → reference-v7j335k4.js} +32 -32
- package/dist/chunks/{file-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{file-denqxv8d.js → reference-verxd6cc.js} +4 -4
- package/dist/chunks/{file-t4fssz5f.js → reference-vh99d6cz.js} +8 -8
- package/dist/chunks/{file-k4t1n3ds.js → reference-vq6pkt6q.js} +5 -5
- package/dist/chunks/{file-dtbk98nz.js → reference-vqz1dqct.js} +27 -27
- package/dist/chunks/{file-vq3dh784.js → reference-vvhxhpdd.js} +23 -23
- package/dist/chunks/{file-j2j5pzjs.js → reference-vxdjbxqe.js} +3 -3
- package/dist/chunks/{file-szgy4byf.js → reference-vyy6cxw9.js} +4 -4
- package/dist/chunks/{file-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-9yb9755z.js → reference-w0n7a3yn.js} +11 -11
- package/dist/chunks/{file-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-91p1v22t.js → reference-w3x9v1nk.js} +8 -8
- package/dist/chunks/{file-kk4kf303.js → reference-w44x3hm1.js} +11 -11
- package/dist/chunks/{file-v9n7g2jp.js → reference-w671fmtf.js} +46 -46
- package/dist/chunks/{file-56j57pys.js → reference-w94h77jp.js} +13 -13
- package/dist/chunks/{file-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{file-ja6srv6s.js → reference-wfbvyrr3.js} +31 -31
- package/dist/chunks/{file-bf99w40p.js → reference-wmbw81qg.js} +89 -89
- package/dist/chunks/{file-4ycmfby4.js → reference-wtjt4ngy.js} +39 -39
- package/dist/chunks/{file-e6g776ht.js → reference-x0x84apk.js} +18 -18
- package/dist/chunks/{file-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-5z7h86dp.js → reference-x3xe09d9.js} +5 -5
- package/dist/chunks/{file-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-67mjd9te.js → reference-x7kn3ctb.js} +9 -9
- package/dist/chunks/{file-79rym0vx.js → reference-xakp9rv9.js} +15 -15
- package/dist/chunks/{file-9vqmh8rd.js → reference-xb3xm0py.js} +21 -21
- package/dist/chunks/{file-ngx16gc5.js → reference-xbjve9g7.js} +12 -12
- package/dist/chunks/{file-vsp1fds9.js → reference-xdk9p2qn.js} +4 -4
- package/dist/chunks/{file-0p4j4cv0.js → reference-xhmq8qgk.js} +9 -9
- package/dist/chunks/{file-81swgkk7.js → reference-xxhb4jr7.js} +9 -9
- package/dist/chunks/{file-qj43ta48.js → reference-y0mcqq9w.js} +30 -30
- package/dist/chunks/{file-11tcp5y8.js → reference-y0n2m4xg.js} +4 -4
- package/dist/chunks/{file-2cmcktmr.js → reference-y19r4g5g.js} +10 -10
- package/dist/chunks/{file-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-60chw6ns.js → reference-y4xp3h88.js} +276 -276
- package/dist/chunks/{file-jwcy2c2z.js → reference-y71avatq.js} +4 -4
- package/dist/chunks/{file-9hhkemsn.js → reference-y98pmm57.js} +15 -15
- package/dist/chunks/{file-b91bsk4k.js → reference-yfxdtzm1.js} +28 -28
- package/dist/chunks/{file-1tx98gn3.js → reference-yjb32c3k.js} +11 -11
- package/dist/chunks/{file-8s0m5yrh.js → reference-yp7f5kew.js} +17 -17
- package/dist/chunks/{file-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-g5twr0sp.js → reference-yvmq8qxx.js} +12 -12
- package/dist/chunks/{file-8pnwjqbd.js → reference-yx9d5yhn.js} +23 -23
- package/dist/chunks/{file-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-vzab2f08.js → reference-z146wf5t.js} +34 -34
- package/dist/chunks/{file-gj9xpvv3.js → reference-z1f4gy9p.js} +4 -4
- package/dist/chunks/{file-1vpsedet.js → reference-z6nz13dk.js} +6 -6
- package/dist/chunks/{file-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-he3a9kdv.js → reference-zh4avhke.js} +29 -29
- package/dist/chunks/{file-b8ek1188.js → reference-zjnwhdhy.js} +28 -28
- package/dist/chunks/{file-3nmb6yg0.js → reference-zky2ysba.js} +33 -33
- package/dist/chunks/{file-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-n2egqj3k.js → reference-zsy896rw.js} +10 -10
- package/dist/chunks/{file-f98vsa4d.js → reference-zvg6wpm3.js} +25 -25
- package/dist/chunks/{file-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-vabb23s0.js → reference-zxwpk2nb.js} +1 -1
- package/dist/chunks/{file-xnn90w67.js → reference-zzd7tndm.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +112 -112
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- 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 +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +92 -92
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +110 -110
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +81 -81
- 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 +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +82 -82
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/file-ht5y0zrb.js +0 -18
- package/dist/chunks/file-ngb1kbyf.js +0 -247
- /package/dist/chunks/{file-0mesazry.js → reference-0mesazry.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-j935v87r.js → reference-j935v87r.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./reference-ej085sj0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-gbt6w4kb.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event15,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service67,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer22,
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event15 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer22 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event15.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make19({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service67.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service67,
|
|
110
|
+
layer: layer22(options),
|
|
111
|
+
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node71 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event15, Options9, Service67, layer22, configured9, node71, exports_instruction_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service57,
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service57 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service57.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node61 = makeLocationNode({ service: Service57, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service57, node61, exports_hooks };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./reference-37b2kds0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./reference-7qfmb4s4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin18,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service63;
|
|
28
|
+
const mcp = yield* Service33;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin18, register2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./reference-yvmq8qxx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./reference-37b2kds0.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-adaj7ksj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service63;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID16.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make8();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-c7ecgrk6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID16,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info31,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-yvmq8qxx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID17.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID16.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID16.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info31.make({
|
|
92
|
+
...Info31.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID16.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-xdk9p2qn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./reference-g8xxs4tx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info18
|
|
12
|
+
} from "./reference-2f0bjgcj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./reference-ratrq7cm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info19
|
|
18
|
+
} from "./reference-7gvwkz6m.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info17
|
|
24
|
+
} from "./reference-510m7gjw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info14
|
|
27
|
+
} from "./reference-29sw5btw.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-sgfkh1bp.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./reference-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-tkhm1f4n.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./reference-e7kd7gj5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./reference-3c1tgrea.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9zdhvgqs.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-dxt7hne3.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-v7j335k4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./reference-fj264fv9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service41;
|
|
36
|
+
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./reference-f1my3kj4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service72
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-d6fzg897.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./reference-37b2kds0.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./reference-yfxdtzm1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./reference-gsx0ryk4.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-z6nz13dk.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-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: () => Plugin14
|
|
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 Plugin14 = 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* Service63;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service72;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service64;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin8 = 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
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin8 = define({
|
|
|
117
117
|
};
|
|
118
118
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
119
119
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
120
|
-
source:
|
|
120
|
+
source: Source3.key(source),
|
|
121
121
|
cause
|
|
122
122
|
}).pipe(Effect.as([]))));
|
|
123
123
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -146,7 +146,7 @@ var Plugin8 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source3.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin8 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source3.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin8 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin14, exports_skill };
|