@opencode-ai/core 0.0.0-dev-19144 → 0.0.0-dev-19145
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{catalog-qdw9fccg.js → file-mutation-01vtss9b.js} +7 -7
- package/dist/chunks/{catalog-p4ggx0zr.js → file-mutation-06zhcttw.js} +10 -10
- package/dist/chunks/{catalog-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
- package/dist/chunks/{catalog-sb3bnv8z.js → file-mutation-0egemd82.js} +9 -9
- package/dist/chunks/{catalog-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
- package/dist/chunks/{catalog-4nwxsvyv.js → file-mutation-0tqc2v94.js} +3 -3
- package/dist/chunks/{catalog-jf9pwdd0.js → file-mutation-0vyk9fdn.js} +46 -46
- package/dist/chunks/{catalog-2twct0xa.js → file-mutation-119my715.js} +13 -13
- package/dist/chunks/{catalog-1xc6cqxb.js → file-mutation-13fpjj1h.js} +23 -23
- package/dist/chunks/{catalog-0z7gqxfb.js → file-mutation-17yyz20s.js} +8 -8
- package/dist/chunks/{catalog-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
- package/dist/chunks/{catalog-4px03tm0.js → file-mutation-1kvgva6x.js} +24 -24
- package/dist/chunks/{catalog-34raqpv6.js → file-mutation-1ypdbbt4.js} +43 -43
- package/dist/chunks/{catalog-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-hmmbvzaj.js → file-mutation-22xjknbc.js} +22 -22
- package/dist/chunks/{catalog-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{catalog-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{catalog-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-vbxn9k95.js → file-mutation-2c009s0k.js} +33 -33
- package/dist/chunks/{catalog-6a9d9ds8.js → file-mutation-2ed8104q.js} +46 -46
- package/dist/chunks/{catalog-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
- package/dist/chunks/{catalog-2jqmte8w.js → file-mutation-2jqmte8w.js} +2 -2
- package/dist/chunks/{catalog-j9n1qf66.js → file-mutation-2kq45tcm.js} +15 -15
- package/dist/chunks/{catalog-mg12sz4w.js → file-mutation-2s6dtgtx.js} +20 -20
- package/dist/chunks/{catalog-k683s6db.js → file-mutation-2sk5e31d.js} +30 -30
- package/dist/chunks/{catalog-xpxab4nw.js → file-mutation-2t77ycv7.js} +24 -24
- package/dist/chunks/{catalog-w19faqq8.js → file-mutation-326th3fr.js} +7 -7
- package/dist/chunks/{catalog-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-y70x778t.js → file-mutation-3gvz0573.js} +15 -15
- package/dist/chunks/{catalog-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-t8fhjk3m.js → file-mutation-3ks4yd53.js} +9 -9
- package/dist/chunks/{catalog-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
- package/dist/chunks/{catalog-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-n605axxx.js → file-mutation-3tv1tpm6.js} +46 -46
- package/dist/chunks/{catalog-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-ydb80xvr.js → file-mutation-3ty3h0mk.js} +6 -6
- package/dist/chunks/{catalog-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
- package/dist/chunks/{catalog-sgx28bxk.js → file-mutation-440fe95r.js} +28 -28
- package/dist/chunks/{catalog-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
- package/dist/chunks/{catalog-rq7zmz6j.js → file-mutation-45a3e49b.js} +9 -9
- package/dist/chunks/{catalog-sft75sz8.js → file-mutation-45b1kca6.js} +28 -28
- package/dist/chunks/{catalog-g9d2f87j.js → file-mutation-4b1sg654.js} +15 -15
- package/dist/chunks/{catalog-gwz3g6yj.js → file-mutation-4d0qyyca.js} +24 -24
- package/dist/chunks/{catalog-h6ntvdmj.js → file-mutation-4j4x9s5w.js} +24 -24
- package/dist/chunks/{catalog-0ew5k04w.js → file-mutation-4kda9sbw.js} +10 -10
- package/dist/chunks/{catalog-zrahtrf1.js → file-mutation-4nf6feq9.js} +12 -12
- package/dist/chunks/{catalog-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
- package/dist/chunks/{catalog-b1w8rqew.js → file-mutation-4wbn6k17.js} +9 -9
- package/dist/chunks/{catalog-ne5z97p7.js → file-mutation-4y9q5fy2.js} +8 -8
- package/dist/chunks/{catalog-hm466dsx.js → file-mutation-52exjygq.js} +17 -17
- package/dist/chunks/{catalog-dq9466fq.js → file-mutation-5aa0x91g.js} +11 -11
- package/dist/chunks/{catalog-cse8k6tj.js → file-mutation-5c2dffx6.js} +31 -31
- package/dist/chunks/{catalog-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-79t230dn.js → file-mutation-5dh6cndq.js} +16 -16
- package/dist/chunks/{catalog-m3rz6703.js → file-mutation-5es8c9fg.js} +4 -4
- package/dist/chunks/{catalog-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
- package/dist/chunks/{catalog-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
- package/dist/chunks/{catalog-j935v87r.js → file-mutation-5qd3pb7m.js} +2 -2
- package/dist/chunks/{catalog-h8v3acys.js → file-mutation-5xeyd98q.js} +15 -15
- package/dist/chunks/{catalog-g19vc6v7.js → file-mutation-64z8z5x5.js} +6 -6
- package/dist/chunks/{catalog-6z5bwd8g.js → file-mutation-6abnk40k.js} +9 -9
- package/dist/chunks/{catalog-eg4pr325.js → file-mutation-6dqhqmxd.js} +10 -10
- package/dist/chunks/{catalog-w264x1w0.js → file-mutation-6h02bg3y.js} +17 -17
- package/dist/chunks/{catalog-cwm73t9c.js → file-mutation-6kza5psa.js} +28 -28
- package/dist/chunks/{catalog-gj6r28re.js → file-mutation-6nd37hr3.js} +17 -17
- package/dist/chunks/{catalog-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
- package/dist/chunks/{catalog-4f7bsbtr.js → file-mutation-73dc4en3.js} +9 -9
- package/dist/chunks/{catalog-421v1d3c.js → file-mutation-76smfv87.js} +7 -7
- package/dist/chunks/{catalog-4qekkv1x.js → file-mutation-7bh11fvr.js} +24 -24
- package/dist/chunks/{catalog-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-byqq6vvq.js → file-mutation-7cnkxtbd.js} +9 -9
- package/dist/chunks/{catalog-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{catalog-79xc10f4.js → file-mutation-7ng7exzm.js} +1 -1
- package/dist/chunks/{catalog-jp5dra8g.js → file-mutation-7nxyxket.js} +1 -1
- package/dist/chunks/{catalog-vwwkt776.js → file-mutation-7ry09vv5.js} +3 -3
- package/dist/chunks/{catalog-hb3eq2pb.js → file-mutation-7rzac2j8.js} +16 -16
- package/dist/chunks/{catalog-marnn1hp.js → file-mutation-7w3s9kd0.js} +7 -7
- package/dist/chunks/{catalog-f7jmtye2.js → file-mutation-81x7eskd.js} +9 -9
- package/dist/chunks/{catalog-dn0s6s3f.js → file-mutation-8xta96ty.js} +6 -6
- package/dist/chunks/{catalog-wd8yh26h.js → file-mutation-91x3tn6q.js} +27 -27
- package/dist/chunks/{catalog-spgxdjsy.js → file-mutation-9295dqc9.js} +11 -11
- package/dist/chunks/{catalog-7tfg2zmn.js → file-mutation-986p65m9.js} +5 -5
- package/dist/chunks/{catalog-5jchreqx.js → file-mutation-99vgbsyy.js} +5 -5
- package/dist/chunks/{catalog-khhh7gn8.js → file-mutation-9g2qkkxg.js} +29 -29
- package/dist/chunks/{catalog-vgq6njeh.js → file-mutation-9ghjyck9.js} +22 -22
- package/dist/chunks/{catalog-1p24r0z9.js → file-mutation-9pk3p303.js} +8 -8
- package/dist/chunks/{catalog-kasamkbj.js → file-mutation-9rye7j78.js} +5 -5
- package/dist/chunks/{catalog-3xzydzwh.js → file-mutation-9stdvdcq.js} +18 -18
- package/dist/chunks/{catalog-bgcg3rg0.js → file-mutation-9vjz8vaq.js} +26 -26
- package/dist/chunks/{catalog-s6d7mvtp.js → file-mutation-9xpfpwey.js} +5 -5
- package/dist/chunks/{catalog-nj69k6k5.js → file-mutation-9zg8we79.js} +24 -24
- package/dist/chunks/{catalog-d216944b.js → file-mutation-a2ew8a62.js} +7 -7
- package/dist/chunks/{catalog-smm3jkev.js → file-mutation-a975ej57.js} +28 -28
- package/dist/chunks/{catalog-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-rv49c601.js → file-mutation-apjnhj61.js} +3 -3
- package/dist/chunks/{catalog-sty9sa82.js → file-mutation-av1j229j.js} +4 -4
- package/dist/chunks/{catalog-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-9n2x0xpw.js → file-mutation-b8ae5phz.js} +13 -13
- package/dist/chunks/{catalog-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
- package/dist/chunks/{catalog-wndz4y3a.js → file-mutation-ba9wjnjy.js} +8 -8
- package/dist/chunks/{catalog-revr1jts.js → file-mutation-babn4frh.js} +8 -8
- package/dist/chunks/{catalog-60ts9vcd.js → file-mutation-bbngg50h.js} +21 -21
- package/dist/chunks/{catalog-bftmqv3x.js → file-mutation-bby8cgbn.js} +5 -5
- package/dist/chunks/{catalog-nw5vcmzd.js → file-mutation-bgt6msk1.js} +2 -2
- package/dist/chunks/{catalog-9d4efts8.js → file-mutation-bxnxw8jj.js} +5 -5
- package/dist/chunks/{catalog-v619pcw0.js → file-mutation-c2sa0bfw.js} +11 -11
- package/dist/chunks/{catalog-y3f8mgp4.js → file-mutation-c47pbdfk.js} +26 -26
- package/dist/chunks/{catalog-qfh93msq.js → file-mutation-cdra1vae.js} +11 -11
- package/dist/chunks/file-mutation-chcw50cn.js +460 -0
- package/dist/chunks/{catalog-r33ff4dw.js → file-mutation-cpy6gm2a.js} +4 -4
- package/dist/chunks/{catalog-5p910kp8.js → file-mutation-cq35m6me.js} +3 -3
- package/dist/chunks/{catalog-vtakbz9w.js → file-mutation-cq7p734r.js} +23 -23
- package/dist/chunks/{catalog-cbesmh4f.js → file-mutation-crdp7enc.js} +26 -26
- package/dist/chunks/{catalog-hx0v1se0.js → file-mutation-cv89hz1h.js} +38 -38
- package/dist/chunks/{catalog-gp6a0wx2.js → file-mutation-d2peqda8.js} +26 -26
- package/dist/chunks/{catalog-d7sktd1b.js → file-mutation-dek5y14m.js} +4 -4
- package/dist/chunks/{catalog-pmr4s4kc.js → file-mutation-dfe8djrf.js} +4 -4
- package/dist/chunks/{catalog-2vthqeng.js → file-mutation-dkvwewr4.js} +30 -30
- package/dist/chunks/{catalog-d2wjgy6a.js → file-mutation-dkyd48ce.js} +34 -34
- package/dist/chunks/{catalog-h0qjmrvp.js → file-mutation-dnys7mv6.js} +6 -6
- package/dist/chunks/{catalog-9dhns7cj.js → file-mutation-dsstwbg7.js} +16 -16
- package/dist/chunks/file-mutation-dxj72tfx.js +18 -0
- package/dist/chunks/{catalog-r44vzmrg.js → file-mutation-dyqxbeha.js} +11 -11
- package/dist/chunks/{catalog-m7nqr3y1.js → file-mutation-e6v427vd.js} +2 -2
- package/dist/chunks/{catalog-9wavatnn.js → file-mutation-eesgpqrv.js} +16 -16
- package/dist/chunks/{catalog-e5xx3mz6.js → file-mutation-enamxrz2.js} +2 -2
- package/dist/chunks/{catalog-tv3exgx0.js → file-mutation-etamtscj.js} +5 -5
- package/dist/chunks/{catalog-jjzmpkqm.js → file-mutation-ev7pq6rs.js} +5 -5
- package/dist/chunks/{catalog-ez5b8bq3.js → file-mutation-ez5b8bq3.js} +1 -1
- package/dist/chunks/{catalog-0f1c069v.js → file-mutation-f12kng77.js} +11 -11
- package/dist/chunks/{catalog-4v3bt2dm.js → file-mutation-f36g7wv5.js} +19 -19
- package/dist/chunks/{catalog-fhvjqr7f.js → file-mutation-f9x6rp1j.js} +1 -1
- package/dist/chunks/{catalog-624wrrgt.js → file-mutation-fmf5kng9.js} +26 -26
- package/dist/chunks/{catalog-wge8k7mw.js → file-mutation-fmhb14bc.js} +9 -9
- package/dist/chunks/{catalog-tpn441k0.js → file-mutation-fmthvvtq.js} +30 -30
- package/dist/chunks/{catalog-gssy3erj.js → file-mutation-ftvhvnyg.js} +90 -90
- package/dist/chunks/{catalog-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
- package/dist/chunks/{catalog-fz1pdqz4.js → file-mutation-fz1pdqz4.js} +2 -2
- package/dist/chunks/{catalog-707m4ntd.js → file-mutation-g20rb2e2.js} +18 -18
- package/dist/chunks/{catalog-g2dy4bvs.js → file-mutation-g2dy4bvs.js} +3 -3
- package/dist/chunks/{catalog-g2gt0w0k.js → file-mutation-g2gt0w0k.js} +2 -2
- package/dist/chunks/{catalog-m2fexv84.js → file-mutation-g75qfjc9.js} +44 -44
- package/dist/chunks/{catalog-0v4q2g9j.js → file-mutation-gb73cz2w.js} +25 -25
- package/dist/chunks/{catalog-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-fctdrsbv.js → file-mutation-gq2dhm0f.js} +6 -6
- package/dist/chunks/{catalog-b7tve4sx.js → file-mutation-gvqp5mcx.js} +18 -18
- package/dist/chunks/{catalog-4g01a3fh.js → file-mutation-h6hfrtqv.js} +15 -15
- package/dist/chunks/{catalog-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
- package/dist/chunks/{catalog-xgjy9czn.js → file-mutation-hfr11a94.js} +9 -9
- package/dist/chunks/{catalog-2rcaaecz.js → file-mutation-hgeb4s25.js} +1 -1
- package/dist/chunks/{catalog-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
- package/dist/chunks/{catalog-bcezcar3.js → file-mutation-hnyf01b0.js} +5 -5
- package/dist/chunks/{catalog-tppvcy65.js → file-mutation-hpbtcqba.js} +9 -9
- package/dist/chunks/{catalog-0v5hqfxj.js → file-mutation-hx63qw1f.js} +43 -43
- package/dist/chunks/{catalog-8neh5z3x.js → file-mutation-j67hz4sr.js} +37 -37
- package/dist/chunks/{catalog-gm74qtfa.js → file-mutation-j8swj2w1.js} +11 -11
- package/dist/chunks/{catalog-ytr8qtwy.js → file-mutation-jc9sh6gt.js} +23 -23
- package/dist/chunks/{catalog-cng0mx2j.js → file-mutation-js2ntk6a.js} +13 -13
- package/dist/chunks/{catalog-y71avatq.js → file-mutation-jwcy2c2z.js} +4 -4
- package/dist/chunks/{catalog-ssjm719e.js → file-mutation-jzvq323k.js} +60 -60
- package/dist/chunks/{catalog-bqm545rz.js → file-mutation-k0g96r8n.js} +4 -4
- package/dist/chunks/{catalog-y67kr919.js → file-mutation-k0wt6c02.js} +15 -15
- package/dist/chunks/{catalog-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
- package/dist/chunks/{catalog-r30tf761.js → file-mutation-k7g5btme.js} +176 -176
- package/dist/chunks/{catalog-w4600456.js → file-mutation-k8feg6vv.js} +4 -4
- package/dist/chunks/{catalog-pkm76574.js → file-mutation-k9tare26.js} +26 -26
- package/dist/chunks/file-mutation-kahasfee.js +247 -0
- package/dist/chunks/{catalog-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-m7vbppss.js → file-mutation-kh3skkyd.js} +11 -11
- package/dist/chunks/{catalog-gzd7t3bg.js → file-mutation-kkxc5154.js} +4 -4
- package/dist/chunks/{catalog-hw4pv20g.js → file-mutation-kvsjn1dr.js} +2 -2
- package/dist/chunks/{catalog-7xsww9cr.js → file-mutation-kx181zyf.js} +51 -51
- package/dist/chunks/{catalog-mypwhdkk.js → file-mutation-kx4bd44t.js} +6 -6
- package/dist/chunks/{catalog-2ady357n.js → file-mutation-kxnt8qcg.js} +5 -5
- package/dist/chunks/{catalog-qtsh6e7t.js → file-mutation-m7a9j46m.js} +28 -28
- package/dist/chunks/{catalog-qbp14av8.js → file-mutation-m7xx730c.js} +13 -13
- package/dist/chunks/{catalog-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-whm2hqcw.js → file-mutation-mcx7a78c.js} +20 -20
- package/dist/chunks/{catalog-xr5vwsd4.js → file-mutation-mfv0zw27.js} +9 -9
- package/dist/chunks/{catalog-6y1qr4k5.js → file-mutation-mfzandgw.js} +30 -30
- package/dist/chunks/{catalog-3a1nyp1f.js → file-mutation-mpsa3nes.js} +12 -12
- package/dist/chunks/{catalog-1z80kc63.js → file-mutation-mtcjf44p.js} +8 -8
- package/dist/chunks/{catalog-82dmd7av.js → file-mutation-mv29cp6n.js} +30 -30
- package/dist/chunks/{catalog-1bbkgx8g.js → file-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{catalog-f6zq2bz6.js → file-mutation-n29tzj9t.js} +23 -23
- package/dist/chunks/{catalog-5r4jskqp.js → file-mutation-n79tw2ag.js} +13 -13
- package/dist/chunks/{catalog-armqp8n7.js → file-mutation-n9bnhgwz.js} +19 -19
- package/dist/chunks/{catalog-vf5pren2.js → file-mutation-ntfpb4pt.js} +11 -11
- package/dist/chunks/{catalog-z4actsg0.js → file-mutation-nx7brarr.js} +4 -4
- package/dist/chunks/{catalog-g9x6ek7t.js → file-mutation-pcsdq11k.js} +20 -20
- package/dist/chunks/{catalog-cba76g8k.js → file-mutation-pd4v9smd.js} +13 -13
- package/dist/chunks/{catalog-t5baf3fg.js → file-mutation-pez43mez.js} +9 -9
- package/dist/chunks/{catalog-ygnxm451.js → file-mutation-pjvn5h54.js} +14 -14
- package/dist/chunks/{catalog-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-6vvbjket.js → file-mutation-ptrtafvx.js} +11 -11
- package/dist/chunks/{catalog-nkw4q2q0.js → file-mutation-pv0a80ht.js} +28 -28
- package/dist/chunks/{catalog-zzanyre8.js → file-mutation-pv1dbmgw.js} +11 -11
- package/dist/chunks/{catalog-ntq3a6ba.js → file-mutation-q1v8m6jv.js} +11 -11
- package/dist/chunks/{catalog-bejqmcpv.js → file-mutation-q732cfnv.js} +17 -17
- package/dist/chunks/{catalog-42my878b.js → file-mutation-qbyj8qxd.js} +1 -1
- package/dist/chunks/{catalog-xkdhttmx.js → file-mutation-qhmvtman.js} +6 -6
- package/dist/chunks/{catalog-kjpg6jc5.js → file-mutation-qrpj1s4j.js} +31 -31
- package/dist/chunks/{catalog-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-qvbcabdc.js → file-mutation-qvbcabdc.js} +2 -2
- package/dist/chunks/{catalog-2fjv9ds5.js → file-mutation-qzgw1bvz.js} +27 -27
- package/dist/chunks/{catalog-ay57xzra.js → file-mutation-r062cge9.js} +43 -43
- package/dist/chunks/{catalog-vcmnf23m.js → file-mutation-r3xt2kax.js} +8 -8
- package/dist/chunks/{catalog-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
- package/dist/chunks/{catalog-ajphwd6y.js → file-mutation-rae26gbb.js} +8 -8
- package/dist/chunks/{catalog-gs1rc0s2.js → file-mutation-raxt0ax7.js} +9 -9
- package/dist/chunks/{catalog-bare1nk5.js → file-mutation-rx48f0w5.js} +39 -39
- package/dist/chunks/{catalog-edj9g7k7.js → file-mutation-s4z7bqeh.js} +66 -66
- package/dist/chunks/{catalog-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
- package/dist/chunks/{catalog-4f62ejdk.js → file-mutation-sbnvhk9g.js} +20 -20
- package/dist/chunks/{catalog-vbz70373.js → file-mutation-shfaz11f.js} +4 -4
- package/dist/chunks/{catalog-zsm41nak.js → file-mutation-shp7mea9.js} +10 -10
- package/dist/chunks/{catalog-ymsakwg2.js → file-mutation-sjnqgbe6.js} +16 -16
- package/dist/chunks/{catalog-p32d7zzt.js → file-mutation-sm2vbrgr.js} +8 -8
- package/dist/chunks/{catalog-mj0e1dcv.js → file-mutation-sr4h8txr.js} +4 -4
- package/dist/chunks/{catalog-g1e0p8wq.js → file-mutation-sxhwk0c0.js} +4 -4
- package/dist/chunks/{catalog-ffhafkr6.js → file-mutation-t0h3w515.js} +9 -9
- package/dist/chunks/{catalog-4869mxft.js → file-mutation-t2ddn6kb.js} +32 -32
- package/dist/chunks/{catalog-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-0y5jk35w.js → file-mutation-tbhfrc53.js} +15 -15
- package/dist/chunks/{catalog-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-6xw3seg4.js → file-mutation-tdpndm1c.js} +5 -5
- package/dist/chunks/{catalog-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
- package/dist/chunks/{catalog-850rx6q7.js → file-mutation-tmd7jntm.js} +42 -42
- package/dist/chunks/{catalog-ewh5hnhe.js → file-mutation-tnxkc6a0.js} +24 -24
- package/dist/chunks/{catalog-rcy9vm7q.js → file-mutation-ts6w764v.js} +8 -8
- package/dist/chunks/{catalog-h21rdv57.js → file-mutation-ttq12bnp.js} +20 -20
- package/dist/chunks/{catalog-7hm48gjh.js → file-mutation-txaenkad.js} +24 -24
- package/dist/chunks/{catalog-p5snvvas.js → file-mutation-txs58e9j.js} +20 -20
- package/dist/chunks/{catalog-sgpkqafy.js → file-mutation-txtxjcd6.js} +18 -18
- package/dist/chunks/{catalog-wwk0x6bw.js → file-mutation-v28ws7kz.js} +13 -13
- package/dist/chunks/{catalog-b0z70ywn.js → file-mutation-v8gy3pjr.js} +1 -1
- package/dist/chunks/{catalog-t06gyjjb.js → file-mutation-vaqgp3x5.js} +13 -13
- package/dist/chunks/{catalog-a3x9xvd8.js → file-mutation-vep9yay1.js} +4 -4
- package/dist/chunks/{catalog-35fb5ktc.js → file-mutation-vjwmbaty.js} +28 -28
- package/dist/chunks/{catalog-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-ynx753px.js → file-mutation-w9q489q5.js} +25 -25
- package/dist/chunks/{catalog-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/file-mutation-wsejc6g3.js +22 -0
- package/dist/chunks/{catalog-9p8r381m.js → file-mutation-ww2ebcpy.js} +7 -7
- package/dist/chunks/{catalog-dykdd0ry.js → file-mutation-wwr3ap19.js} +28 -28
- package/dist/chunks/{catalog-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-hcq427sc.js → file-mutation-xdff1234.js} +59 -59
- package/dist/chunks/{catalog-k86r1c7g.js → file-mutation-xkc72jxy.js} +12 -12
- package/dist/chunks/{catalog-ckth7tt7.js → file-mutation-xqne8rgr.js} +4 -4
- package/dist/chunks/{catalog-577kxxzn.js → file-mutation-xspyb9m3.js} +8 -8
- package/dist/chunks/{catalog-wsfy2223.js → file-mutation-xw0r27ex.js} +4 -4
- package/dist/chunks/{catalog-00d2pdk5.js → file-mutation-xz6pmd8f.js} +17 -17
- package/dist/chunks/{catalog-7y8dc31a.js → file-mutation-y07pc62d.js} +11 -11
- package/dist/chunks/{catalog-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-gxv8g9ts.js → file-mutation-y3f9wfx6.js} +22 -22
- package/dist/chunks/{catalog-fhx55t4j.js → file-mutation-y724s5yt.js} +4 -4
- package/dist/chunks/{catalog-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
- package/dist/chunks/{catalog-yg7sb877.js → file-mutation-yg7sb877.js} +2 -2
- package/dist/chunks/{catalog-8gtnf6t2.js → file-mutation-yhtqjkzd.js} +6 -6
- package/dist/chunks/{catalog-b1sgfmxa.js → file-mutation-ykv0c0be.js} +24 -24
- package/dist/chunks/{catalog-5vnqtrq0.js → file-mutation-yp0nmk3h.js} +15 -15
- package/dist/chunks/{catalog-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
- package/dist/chunks/{catalog-ta5vccxt.js → file-mutation-z3s9j4q6.js} +12 -12
- package/dist/chunks/{catalog-am62x74j.js → file-mutation-z48dvxa8.js} +1 -1
- package/dist/chunks/{catalog-h8dgvbzz.js → file-mutation-z7e42eas.js} +23 -23
- package/dist/chunks/{catalog-96brsaer.js → file-mutation-z7zpek7w.js} +11 -11
- package/dist/chunks/{catalog-z8ra65ms.js → file-mutation-zc50sfb7.js} +13 -13
- package/dist/chunks/{catalog-m9nshxaj.js → file-mutation-zez4nnyf.js} +10 -10
- package/dist/chunks/{catalog-2av0rbgw.js → file-mutation-zset28aw.js} +89 -89
- package/dist/chunks/{catalog-5xbe1cp8.js → file-mutation-zwj404z1.js} +32 -32
- package/dist/chunks/{catalog-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{catalog-atnr5rgc.js → file-mutation-zzjwypeh.js} +8 -8
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +68 -68
- 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 +358 -358
- 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 +88 -88
- 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-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +90 -90
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +88 -88
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +94 -94
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +74 -74
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- 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 +335 -335
- package/dist/plugin/system-prompt.js +1 -1
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +214 -214
- 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 +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +115 -115
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- 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 +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/catalog-ccke0yak.js +0 -460
- package/dist/chunks/catalog-fqc8w2xk.js +0 -247
- package/dist/chunks/catalog-ht5y0zrb.js +0 -18
- package/dist/chunks/catalog-v0x6vz5n.js +0 -22
- /package/dist/chunks/{catalog-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
- /package/dist/chunks/{catalog-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-7zk4hah4.js → file-mutation-7zk4hah4.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-982e01ww.js → file-mutation-982e01ww.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mntxs535.js → file-mutation-mntxs535.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
- /package/dist/chunks/{catalog-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin38
|
|
3
|
+
} from "./file-mutation-sm2vbrgr.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./file-mutation-raxt0ax7.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin35
|
|
9
|
+
} from "./file-mutation-0egemd82.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./file-mutation-4y9q5fy2.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin38,
|
|
17
|
+
Plugin36,
|
|
18
|
+
Plugin35,
|
|
19
|
+
Plugin37
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-64z8z5x5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./file-mutation-a975ej57.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./file-mutation-0vyk9fdn.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service72;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service56);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-dsstwbg7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info9,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service48,
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node51
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode-ai/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode-ai/schema/command";
|
|
28
|
+
var Info9 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service78;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info9.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service48.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node51 = makeLocationNode({
|
|
75
|
+
service: Service48,
|
|
76
|
+
layer: layer18,
|
|
77
|
+
deps: [node83]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info9, NotFoundError7, ExecutionError2, Service48, layer18, node51, exports_command4, Event10 };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-dsstwbg7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node72
|
|
8
|
+
} from "./file-mutation-6h02bg3y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID18,
|
|
11
|
+
Service77,
|
|
12
|
+
node82
|
|
13
|
+
} from "./file-mutation-4j4x9s5w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError6
|
|
16
|
+
} from "./file-mutation-45a3e49b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service46,
|
|
19
|
+
node49
|
|
20
|
+
} from "./file-mutation-xz6pmd8f.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service47,
|
|
26
|
+
node50
|
|
27
|
+
} from "./file-mutation-9stdvdcq.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service61,
|
|
30
|
+
node64
|
|
31
|
+
} from "./file-mutation-9pk3p303.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event9,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service45,
|
|
55
|
+
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node48
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode-ai/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
|
|
64
|
+
import { Event as Event9 } from "@opencode-ai/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
|
+
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID18.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service45 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service78;
|
|
132
|
+
const location = yield* Service67;
|
|
133
|
+
const agents = yield* Service77;
|
|
134
|
+
const sessions = yield* Service46;
|
|
135
|
+
const saved = yield* Service47;
|
|
136
|
+
const hooks = yield* Service61;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError6({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID7.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError5({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service45.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node48 = makeLocationNode({
|
|
289
|
+
service: Service45,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node83, node72, node82, node49, node50, node64]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service45, node48, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref2
|
|
3
|
+
} from "./file-mutation-6h02bg3y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
|
+
canonical: () => canonical3,
|
|
14
|
+
node: () => node53
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
26
|
+
var node53 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
27
|
+
function canonical3(ref) {
|
|
28
|
+
return Ref2.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service50, node53, canonical3, exports_location_service_map };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-mutation-dsstwbg7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service13,
|
|
6
6
|
Event2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-txs58e9j.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -15,7 +15,7 @@ var ModelsDevPlugin2 = define({
|
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
const modelsDev = yield* Service13;
|
|
18
|
-
const bus = yield*
|
|
18
|
+
const bus = yield* Service78;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
21
21
|
for (const provider of loaded.data) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service55,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node58
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service55 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service55, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service55.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node58 = makeGlobalNode({ service: Service55, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service55, node58, exports_environment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service28,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service28 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service28, exports_runner };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-cdra1vae.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-g2dy4bvs.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load3
|
|
12
|
+
} from "./file-mutation-shp7mea9.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-bgt6msk1.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service46,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node49
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service46 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service79;
|
|
59
|
+
return Service46.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID)),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [node84] });
|
|
130
130
|
|
|
131
|
-
export { ListInput4,
|
|
131
|
+
export { ListInput4, Service46, node49, exports_store };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9295dqc9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./file-mutation-dkyd48ce.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-2c009s0k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID17
|
|
14
|
+
} from "./file-mutation-64z8z5x5.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID17.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID13.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service76;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|