@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
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
|
+
Service49
|
|
12
|
+
} from "./reference-gjdkj7gs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service19
|
|
15
|
+
} from "./reference-x0x84apk.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-ezmrpqv5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service54
|
|
24
|
+
} from "./reference-4j04egcw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./reference-9dpegb11.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin19,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin19 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service49;
|
|
70
|
+
const ripgrep = yield* Service19;
|
|
71
71
|
const location = yield* Service72;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service54;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin30 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin19, exports_glob };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-c7ecgrk6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info22 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./reference-e7kd7gj5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./reference-ej085sj0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service74,
|
|
14
|
+
node78
|
|
15
|
+
} from "./reference-kjz5gbca.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-xxhb4jr7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID13,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service73,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node77,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID13 = ID14;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID13
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service73 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service74;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service79;
|
|
102
|
+
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID13.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event17.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID13.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID13.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID13.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID13.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID13.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID13.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID13.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service73.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node77 = makeGlobalNode({
|
|
277
|
+
service: Service73,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node78, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID13, Vcs2, Current2, Info28, UpdateInput3, NotFoundError9, root2, Service73, node77, exports_project };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
+
Service41,
|
|
11
|
+
node44
|
|
12
|
+
} from "./reference-3c1tgrea.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./reference-52zvc43d.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-d6fzg897.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service47,
|
|
26
|
+
node50
|
|
27
|
+
} from "./reference-y19r4g5g.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./reference-ja4wy4ee.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service38
|
|
39
|
+
} from "./reference-hn57h045.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Service55,
|
|
42
42
|
node59
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./reference-aw218f2w.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service39,
|
|
48
|
+
node42,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./reference-3j6hn5pg.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service37,
|
|
53
|
+
node41
|
|
54
|
+
} from "./reference-hx12r247.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./reference-6gzrz82e.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./reference-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service24,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service24 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service73;
|
|
92
|
+
const locations = yield* Service47;
|
|
93
|
+
const store = yield* Service55;
|
|
94
|
+
const execution = yield* Service37;
|
|
95
|
+
const instances = yield* Service41;
|
|
96
|
+
const admission = yield* Service39;
|
|
97
|
+
const database = yield* Service80;
|
|
98
|
+
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service24.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service24,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
node56,
|
|
174
|
-
node59,
|
|
172
|
+
node77,
|
|
175
173
|
node50,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
174
|
+
node59,
|
|
175
|
+
node41,
|
|
176
|
+
node44,
|
|
177
|
+
node42,
|
|
178
|
+
node85,
|
|
179
|
+
node84,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node28, exports_move };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node13, exports_location_watcher_policy };
|