@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
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service59,
|
|
7
|
+
node63
|
|
8
|
+
} from "./reference-675rgbk8.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-8jmaqybk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service40,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node43,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service40 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -66,9 +66,9 @@ var resolved2 = (model, options) => ({
|
|
|
66
66
|
compaction: options.compaction,
|
|
67
67
|
websocket: options.websocket ?? true
|
|
68
68
|
});
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const resolver = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
70
|
+
const resolver = yield* Service59;
|
|
71
|
+
return Service40.of({
|
|
72
72
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
73
73
|
if (!session.model) {
|
|
74
74
|
const resolved = yield* resolver.resolve();
|
|
@@ -86,6 +86,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
86
86
|
})
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
|
-
var
|
|
89
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node63] });
|
|
90
90
|
|
|
91
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
91
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service40, resolved2, node43, exports_model };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./reference-e7kd7gj5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./reference-ej085sj0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./reference-6dg7rqxz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./reference-3c1tgrea.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./reference-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./reference-hn57h045.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-ja4wy4ee.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service55,
|
|
32
32
|
node59
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-aw218f2w.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-4grg7b1w.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./reference-3j6hn5pg.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./reference-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service37,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer15,
|
|
50
|
+
node: () => node41,
|
|
51
51
|
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service55;
|
|
70
|
+
const instances = yield* Service41;
|
|
71
|
+
const bus = yield* Service79;
|
|
72
|
+
const jobs = yield* Service69;
|
|
73
|
+
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,13 +82,13 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make15({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service37.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [node59,
|
|
131
|
+
var node41 = makeGlobalNode({
|
|
132
|
+
service: Service37,
|
|
133
|
+
layer: layer15,
|
|
134
|
+
deps: [node59, node44, node84, node85, node73]
|
|
135
135
|
});
|
|
136
|
-
var noopLayer3 = Layer.succeed(
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service37, Service37.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service37, terminal2, layer15, node41, noopLayer3, exports_execution };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./reference-j16zphk7.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-c7ecgrk6.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service61;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./reference-ej085sj0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./reference-fd0t6sve.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-zzd7tndm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
ID: () => ID10,
|
|
35
35
|
Info: () => Info13,
|
|
36
36
|
Integration: () => exports_integration,
|
|
@@ -39,8 +39,8 @@ __export(exports_integration, {
|
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service61,
|
|
43
|
+
node: () => node65
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/integration";
|
|
65
65
|
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service61 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service66;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service61.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node65 = makeLocationNode({
|
|
569
|
+
service: Service61,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node70, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info13, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2,
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info13, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service61, node65, exports_integration, Event11 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-j5v2xxap.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID17
|
|
6
|
+
} from "./reference-c7ecgrk6.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-adaj7ksj.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID17.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info16, exports_formatter3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node81,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make23(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node81 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer24, configured11, node81, exports_app };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node78
|
|
10
|
+
} from "./reference-kjz5gbca.js";
|
|
11
11
|
import {
|
|
12
12
|
Service72,
|
|
13
13
|
node76
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-d6fzg897.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service36,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,11 +43,11 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service36 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service72;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node40 = makeLocationNode({
|
|
139
|
+
service: Service36,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node78, Global.node, node76]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer2 = Layer.succeed(
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -158,4 +158,4 @@ function failure(operation, cause) {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export { ID5, Error3,
|
|
161
|
+
export { ID5, Error3, Service36, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-j5v2xxap.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./reference-ej085sj0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./reference-fd0t6sve.js";
|
|
11
11
|
import {
|
|
12
12
|
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-j16zphk7.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID17,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-c7ecgrk6.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service79;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID17.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -221,9 +221,9 @@ var OpenAIPlugin3 = define({
|
|
|
221
221
|
evt.baseURL = codexBaseURL;
|
|
222
222
|
evt.headers.originator = "opencode";
|
|
223
223
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
|
-
}), { providerID:
|
|
224
|
+
}), { providerID: ID17.openai });
|
|
225
225
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
function headers(contentType, app) {
|