@opencode/core 0.0.0-dev-287 → 0.0.0-dev-289
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 +89 -89
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{snapshot-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{snapshot-vv6btxxh.js → bus-035gwyrd.js} +21 -21
- package/dist/chunks/{snapshot-8fcbd70c.js → bus-03tkxxad.js} +7 -7
- package/dist/chunks/{snapshot-0j7gp832.js → bus-0j7gp832.js} +1 -1
- package/dist/chunks/{snapshot-ndyztvmw.js → bus-0ng08tej.js} +35 -35
- package/dist/chunks/{snapshot-7ys5edjy.js → bus-0rxmz96k.js} +17 -17
- package/dist/chunks/{snapshot-29z1cymp.js → bus-0wbhgcbg.js} +24 -24
- package/dist/chunks/{snapshot-gfapne39.js → bus-12hm338z.js} +5 -5
- package/dist/chunks/{snapshot-1aqsckx4.js → bus-1aqsckx4.js} +1 -1
- package/dist/chunks/{snapshot-vgz459d4.js → bus-1c5h7qx9.js} +32 -32
- package/dist/chunks/{snapshot-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{snapshot-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{snapshot-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{snapshot-7j6as1n5.js → bus-29x0cc93.js} +2 -2
- package/dist/chunks/{snapshot-zatamnbq.js → bus-2a3k1wv5.js} +13 -13
- package/dist/chunks/{snapshot-tnvq3v78.js → bus-2cm6e4d9.js} +9 -9
- package/dist/chunks/{snapshot-s9cz50wa.js → bus-2ekpsjrd.js} +8 -8
- package/dist/chunks/{snapshot-m5ggasza.js → bus-2fp4k9wp.js} +9 -9
- package/dist/chunks/{snapshot-smrcs1yt.js → bus-2h0p855r.js} +21 -21
- package/dist/chunks/{snapshot-0qe29vfs.js → bus-2m3n8trw.js} +21 -21
- package/dist/chunks/{snapshot-4zzembfn.js → bus-2nhtnnqc.js} +5 -5
- package/dist/chunks/{snapshot-b69aeg09.js → bus-2r3850vs.js} +11 -11
- package/dist/chunks/{snapshot-y9j1a3y8.js → bus-2r961k25.js} +26 -26
- package/dist/chunks/{snapshot-jh74jycr.js → bus-2zp5a6yg.js} +3 -3
- package/dist/chunks/{snapshot-aasdty3y.js → bus-31c2mw6w.js} +30 -34
- package/dist/chunks/{snapshot-vh4h0yrs.js → bus-3ab4thcb.js} +17 -17
- package/dist/chunks/{snapshot-yh1frphp.js → bus-3bgf9gas.js} +4 -4
- package/dist/chunks/{snapshot-hzmw3vrs.js → bus-3cdb6jh7.js} +11 -11
- package/dist/chunks/{snapshot-9j10ey4x.js → bus-3gtbytbs.js} +32 -32
- package/dist/chunks/{snapshot-9vy8j3x2.js → bus-3hcdh98k.js} +20 -20
- package/dist/chunks/{snapshot-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{snapshot-6ss6ngz0.js → bus-3p57dcxh.js} +4 -4
- package/dist/chunks/{snapshot-9r0x1bva.js → bus-40hpa6ae.js} +9 -9
- package/dist/chunks/{snapshot-y81dtq8s.js → bus-46g4z5g0.js} +32 -32
- package/dist/chunks/{snapshot-vpeh2c4h.js → bus-48w6hcnx.js} +54 -54
- package/dist/chunks/{snapshot-esezyxfc.js → bus-49csh3aq.js} +8 -8
- package/dist/chunks/{snapshot-hvvf9qw8.js → bus-4bwthz3m.js} +6 -6
- package/dist/chunks/{snapshot-4dx1dgte.js → bus-4dx1dgte.js} +1 -1
- package/dist/chunks/{snapshot-8shc1k29.js → bus-4e0wk5h0.js} +6 -6
- package/dist/chunks/{snapshot-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{snapshot-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{snapshot-ev8k392h.js → bus-4ymxdy0q.js} +36 -36
- package/dist/chunks/{snapshot-7dyq9a8a.js → bus-51eb7mjh.js} +27 -27
- package/dist/chunks/{snapshot-fp83eet1.js → bus-52a7vhz9.js} +9 -9
- package/dist/chunks/{snapshot-m827h4cm.js → bus-55g8rfra.js} +3 -3
- package/dist/chunks/{snapshot-jshrc2cw.js → bus-575z11gq.js} +90 -90
- package/dist/chunks/{snapshot-zr8ag1ct.js → bus-5bh17wth.js} +4 -4
- package/dist/chunks/{snapshot-0shtyb57.js → bus-5m1vxyv7.js} +16 -16
- package/dist/chunks/{snapshot-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-225e7873.js → bus-5pqt1ves.js} +6 -6
- package/dist/chunks/{snapshot-1yq9hg58.js → bus-5zrxpy3q.js} +5 -5
- package/dist/chunks/{snapshot-231nxj68.js → bus-65qft472.js} +45 -45
- package/dist/chunks/{snapshot-jv5ccajn.js → bus-67zhfnr5.js} +5 -5
- package/dist/chunks/{snapshot-npnecasp.js → bus-69qaetne.js} +10 -10
- package/dist/chunks/{snapshot-611gy84y.js → bus-6asry735.js} +15 -15
- package/dist/chunks/{snapshot-jk56naz6.js → bus-6drawnv9.js} +4 -4
- package/dist/chunks/{snapshot-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{snapshot-bf7v9sm1.js → bus-6hwszbb1.js} +13 -13
- package/dist/chunks/{snapshot-ja63h2sr.js → bus-6xqtcmxs.js} +5 -5
- package/dist/chunks/{snapshot-fkzmbmqm.js → bus-76484c78.js} +36 -36
- package/dist/chunks/{snapshot-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-yz6b78je.js → bus-7c67ap9y.js} +22 -22
- package/dist/chunks/{snapshot-w68dkr85.js → bus-7cen1ph9.js} +18 -18
- package/dist/chunks/{snapshot-7kr66rt3.js → bus-7kr66rt3.js} +1 -1
- package/dist/chunks/{snapshot-askp26bb.js → bus-7qgpgca8.js} +9 -9
- package/dist/chunks/{snapshot-pe6ebwtq.js → bus-7t2s76wb.js} +21 -21
- package/dist/chunks/{snapshot-216cdjjz.js → bus-7w2fvyx3.js} +12 -12
- package/dist/chunks/{snapshot-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{snapshot-dg3cm5hs.js → bus-7y699k02.js} +18 -18
- package/dist/chunks/bus-7yv5xa0k.js +18 -0
- package/dist/chunks/{snapshot-vaer57cf.js → bus-84dshbdw.js} +8 -8
- package/dist/chunks/{snapshot-8b3vzgkx.js → bus-8b3vzgkx.js} +1 -1
- package/dist/chunks/{snapshot-8jztxfpf.js → bus-8jztxfpf.js} +1 -1
- package/dist/chunks/{snapshot-a46j35vk.js → bus-8qdv48w6.js} +18 -18
- package/dist/chunks/{snapshot-3a7nzvas.js → bus-8sykf8qj.js} +10 -10
- package/dist/chunks/{snapshot-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{snapshot-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{snapshot-2r0v86d9.js → bus-92xfmazx.js} +12 -12
- package/dist/chunks/{snapshot-gd69t8px.js → bus-97kyzmq9.js} +16 -16
- package/dist/chunks/{snapshot-z0bdh4f5.js → bus-9gw8ma18.js} +3 -3
- package/dist/chunks/{snapshot-8ktw2vv7.js → bus-a2cs3nkj.js} +25 -25
- package/dist/chunks/{snapshot-ysadhm59.js → bus-a3abfedh.js} +183 -183
- package/dist/chunks/{snapshot-w73wdpwy.js → bus-a8xhnh8r.js} +9 -9
- package/dist/chunks/{snapshot-qs2r9sye.js → bus-akbqzhz4.js} +2 -2
- package/dist/chunks/{snapshot-gct456j9.js → bus-awcvvmmh.js} +11 -11
- package/dist/chunks/{snapshot-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{snapshot-eqbc6p9m.js → bus-ays56k31.js} +40 -40
- package/dist/chunks/{snapshot-wmpfavpb.js → bus-b2zx6heh.js} +27 -27
- package/dist/chunks/{snapshot-9s7aj0t8.js → bus-b3jxbtnx.js} +26 -26
- package/dist/chunks/{snapshot-070e0tpn.js → bus-b3tzc6nv.js} +17 -17
- package/dist/chunks/{snapshot-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{snapshot-a7hv09h9.js → bus-bffjwd0h.js} +4 -4
- package/dist/chunks/{snapshot-3ryz99p0.js → bus-br0kkpnn.js} +7 -7
- package/dist/chunks/{snapshot-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{snapshot-mtkfycnh.js → bus-c9t2ty9q.js} +4 -4
- package/dist/chunks/{snapshot-grg4dqxx.js → bus-cpq36wag.js} +14 -14
- package/dist/chunks/{snapshot-3fycf4n6.js → bus-cpzqp2fy.js} +23 -23
- package/dist/chunks/{snapshot-j1jds77h.js → bus-cs03zenh.js} +26 -26
- package/dist/chunks/{snapshot-4h4vqn4t.js → bus-cthv9wj3.js} +4 -4
- package/dist/chunks/{snapshot-y0er5eng.js → bus-cvdbenw8.js} +2 -2
- package/dist/chunks/{snapshot-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{snapshot-80dydmy6.js → bus-d01pvx5j.js} +28 -28
- package/dist/chunks/{snapshot-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{snapshot-sqrwb7ek.js → bus-d77s9pbc.js} +3 -3
- package/dist/chunks/{snapshot-nzeth2v7.js → bus-dak0tad4.js} +15 -15
- package/dist/chunks/{snapshot-jedhzf2w.js → bus-de541ebn.js} +47 -47
- package/dist/chunks/{snapshot-ts7mkfs9.js → bus-dgma0v0g.js} +3 -3
- package/dist/chunks/{snapshot-84anx1c1.js → bus-dpv800ng.js} +15 -15
- package/dist/chunks/{snapshot-w6be7tfp.js → bus-drnpqen8.js} +19 -19
- package/dist/chunks/{snapshot-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{snapshot-f62swmga.js → bus-e2hnaftq.js} +15 -15
- package/dist/chunks/{snapshot-nx42e9qw.js → bus-e2tz7wpg.js} +21 -21
- package/dist/chunks/{snapshot-bvbryd13.js → bus-e6eh7vrv.js} +11 -11
- package/dist/chunks/{snapshot-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{snapshot-zh7bbm8x.js → bus-e8jekyry.js} +9 -9
- package/dist/chunks/{snapshot-xv2swx2p.js → bus-ebc9sjza.js} +40 -40
- package/dist/chunks/{snapshot-t2hws329.js → bus-eez5fkq7.js} +6 -6
- package/dist/chunks/{snapshot-wmzygan7.js → bus-ef57czcv.js} +4 -4
- package/dist/chunks/{snapshot-51rnpyxb.js → bus-ep9jv767.js} +15 -15
- package/dist/chunks/{snapshot-eqmd2tfz.js → bus-eqmd2tfz.js} +1 -1
- package/dist/chunks/{snapshot-ypmwhxqj.js → bus-eqsxy33h.js} +26 -26
- package/dist/chunks/{snapshot-geabss8y.js → bus-etdqq0cw.js} +21 -21
- package/dist/chunks/{snapshot-yk05r3rx.js → bus-ezxqpfxm.js} +25 -25
- package/dist/chunks/{snapshot-k725emr3.js → bus-f4d37vpd.js} +21 -21
- package/dist/chunks/{snapshot-8s98z94r.js → bus-f7vg2spm.js} +19 -19
- package/dist/chunks/{snapshot-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{snapshot-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{snapshot-w89sbzn0.js → bus-fhgnjd8f.js} +3 -3
- package/dist/chunks/{snapshot-cs87y13h.js → bus-fny70jpy.js} +8 -8
- package/dist/chunks/{snapshot-zn9wbc5r.js → bus-fnzf6hh4.js} +30 -30
- package/dist/chunks/{snapshot-sanxznym.js → bus-fq6jwnpn.js} +16 -16
- package/dist/chunks/{snapshot-xt0z8zst.js → bus-frqt40cp.js} +4 -4
- package/dist/chunks/{snapshot-yh2xa03z.js → bus-fs5n14ns.js} +3 -3
- package/dist/chunks/{snapshot-e4c2h7rv.js → bus-fx9j3hb4.js} +10 -10
- package/dist/chunks/{snapshot-y4tqh6rd.js → bus-fyet71y6.js} +13 -13
- package/dist/chunks/{snapshot-79j6qarh.js → bus-fzc03kzf.js} +8 -8
- package/dist/chunks/{snapshot-04hfgynr.js → bus-g0c8njd6.js} +11 -11
- package/dist/chunks/{snapshot-emcmxg9g.js → bus-g1wftvqf.js} +16 -16
- package/dist/chunks/{snapshot-054thd3h.js → bus-g4fxxdad.js} +11 -11
- package/dist/chunks/{snapshot-6twykydk.js → bus-gcjdgkn2.js} +9 -9
- package/dist/chunks/{snapshot-c5kjsz6q.js → bus-h0rg6s60.js} +4 -4
- package/dist/chunks/{snapshot-jv2ad532.js → bus-h1qqpagn.js} +4 -4
- package/dist/chunks/{snapshot-2941zkdf.js → bus-h3z5mgtw.js} +27 -27
- package/dist/chunks/{snapshot-46c8y99h.js → bus-h4dxcp4f.js} +17 -17
- package/dist/chunks/{snapshot-7xymf1gv.js → bus-h9mbsjx4.js} +8 -8
- package/dist/chunks/{snapshot-9a2mpknv.js → bus-hcysmks0.js} +3 -3
- package/dist/chunks/{snapshot-51gvghxj.js → bus-hdmjpy1q.js} +13 -13
- package/dist/chunks/{snapshot-zeryz54m.js → bus-hfvb93vm.js} +7 -7
- package/dist/chunks/{snapshot-hgfegmhz.js → bus-hgfegmhz.js} +3 -3
- package/dist/chunks/{snapshot-efpt9zqt.js → bus-hgkk61tq.js} +14 -14
- package/dist/chunks/{snapshot-hh7kjqtw.js → bus-hh7kjqtw.js} +1 -1
- package/dist/chunks/{snapshot-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{snapshot-4a5xzjmk.js → bus-hpzmd9sp.js} +18 -18
- package/dist/chunks/{snapshot-kryfa369.js → bus-hvj4yv7n.js} +23 -23
- package/dist/chunks/{snapshot-ydsespw1.js → bus-hw621kav.js} +8 -8
- package/dist/chunks/{snapshot-cczg5y8j.js → bus-jf9mttxe.js} +15 -15
- package/dist/chunks/{snapshot-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{snapshot-absbpnym.js → bus-jfeae8gq.js} +11 -11
- package/dist/chunks/{snapshot-p7gcr6xd.js → bus-jgb4byfw.js} +36 -36
- package/dist/chunks/{snapshot-m2858arc.js → bus-jh0n380r.js} +48 -48
- package/dist/chunks/{snapshot-g85dk614.js → bus-jh77bd4v.js} +14 -14
- package/dist/chunks/{snapshot-01x5qw2q.js → bus-jns8hwea.js} +9 -9
- package/dist/chunks/{snapshot-tcsn7fpc.js → bus-jpspt4jx.js} +9 -9
- package/dist/chunks/{snapshot-6k6232hn.js → bus-jpvcj0cc.js} +6 -6
- package/dist/chunks/{snapshot-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{snapshot-zefbt337.js → bus-k0a6q0yn.js} +24 -24
- package/dist/chunks/{snapshot-1zwvgbbx.js → bus-k4xj7eng.js} +52 -52
- package/dist/chunks/{snapshot-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{snapshot-cefjp1wr.js → bus-k8awy0q8.js} +15 -15
- package/dist/chunks/{snapshot-kcg78dnn.js → bus-kcg78dnn.js} +2 -2
- package/dist/chunks/{snapshot-2qxh2eh1.js → bus-kcvnx629.js} +15 -15
- package/dist/chunks/{snapshot-mjszy0h5.js → bus-kep337bh.js} +32 -32
- package/dist/chunks/{snapshot-k96bjchk.js → bus-kjtxyeth.js} +32 -32
- package/dist/chunks/{snapshot-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{snapshot-gmbafqg8.js → bus-ktbdp5sq.js} +16 -16
- package/dist/chunks/{snapshot-f94ey9xe.js → bus-kwd8c3vr.js} +11 -11
- package/dist/chunks/{snapshot-px317zgp.js → bus-kxycnn0n.js} +11 -11
- package/dist/chunks/{snapshot-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{snapshot-j3y2s533.js → bus-m2gbvgsm.js} +10 -10
- package/dist/chunks/{snapshot-e92xqcgs.js → bus-m543aemt.js} +31 -31
- package/dist/chunks/{snapshot-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-mb7mbhnz.js → bus-mb7mbhnz.js} +3 -3
- package/dist/chunks/{snapshot-ndsa049r.js → bus-mckw022z.js} +42 -42
- package/dist/chunks/{snapshot-eahpwh8e.js → bus-mf08p8w6.js} +4 -4
- package/dist/chunks/{snapshot-kgyfb6et.js → bus-mg78vh23.js} +31 -31
- package/dist/chunks/{snapshot-fka08q05.js → bus-mkxsbdpa.js} +12 -12
- package/dist/chunks/{snapshot-07xh8nyv.js → bus-mq74yj6v.js} +19 -19
- package/dist/chunks/{snapshot-vz8fyt0a.js → bus-mrghrmjv.js} +8 -8
- package/dist/chunks/{snapshot-c42zap2t.js → bus-mv9srazj.js} +11 -11
- package/dist/chunks/{snapshot-yda73aff.js → bus-mvnn004m.js} +16 -16
- package/dist/chunks/{snapshot-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{snapshot-6rqmms3d.js → bus-nbb711pz.js} +11 -11
- package/dist/chunks/{snapshot-ybp67y4f.js → bus-ngqtdgwj.js} +11 -11
- package/dist/chunks/{snapshot-84mcn12y.js → bus-nxkdkrxs.js} +45 -45
- package/dist/chunks/{snapshot-a8hyghjg.js → bus-ny5rdk5x.js} +19 -19
- package/dist/chunks/{snapshot-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{snapshot-ad7r7r6z.js → bus-p7xmw0vp.js} +28 -28
- package/dist/chunks/{snapshot-pqm0gw65.js → bus-pcg52kfg.js} +16 -16
- package/dist/chunks/{snapshot-xwc7yx52.js → bus-pftwp2vv.js} +79 -79
- package/dist/chunks/{snapshot-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-amch935v.js → bus-pt50s3rp.js} +17 -17
- package/dist/chunks/{snapshot-mycyzwd6.js → bus-pvky507n.js} +15 -15
- package/dist/chunks/{snapshot-skw3nab4.js → bus-q1fzghr8.js} +5 -5
- package/dist/chunks/{snapshot-nhgkvrhz.js → bus-q4tyq9ws.js} +5 -5
- package/dist/chunks/{snapshot-ydsk09n6.js → bus-q6jcx9v8.js} +23 -23
- package/dist/chunks/{snapshot-ps4ybpaz.js → bus-q7etwwh3.js} +354 -350
- package/dist/chunks/{snapshot-pqq5ej44.js → bus-qcejv4vs.js} +12 -12
- package/dist/chunks/{snapshot-1ygds395.js → bus-qen3sb0r.js} +19 -19
- package/dist/chunks/{snapshot-j5fp2wkk.js → bus-qhpag1je.js} +80 -80
- package/dist/chunks/{snapshot-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{snapshot-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
- package/dist/chunks/{snapshot-w5qeaqdt.js → bus-qzp5va9j.js} +5 -5
- package/dist/chunks/{snapshot-q4gm1j6y.js → bus-r13t3b9j.js} +8 -8
- package/dist/chunks/{snapshot-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{snapshot-xb87w9ea.js → bus-ra8788f1.js} +19 -19
- package/dist/chunks/{snapshot-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{snapshot-0kgdmrak.js → bus-rbhxwcn9.js} +26 -26
- package/dist/chunks/{snapshot-m89vktg3.js → bus-rea9cvrf.js} +13 -13
- package/dist/chunks/{snapshot-jyjv6vrg.js → bus-rg3ak8wp.js} +12 -12
- package/dist/chunks/{snapshot-vn855jk2.js → bus-rn70abkx.js} +21 -21
- package/dist/chunks/{snapshot-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{snapshot-qpxsar3x.js → bus-s1ahy3nk.js} +24 -24
- package/dist/chunks/{snapshot-95sp4hdf.js → bus-s6h2s3rz.js} +4 -4
- package/dist/chunks/{snapshot-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{snapshot-n9xk0tfj.js → bus-sdvwnsbz.js} +43 -43
- package/dist/chunks/{snapshot-v6jepjqd.js → bus-sf2xpkzh.js} +8 -8
- package/dist/chunks/{snapshot-jphwvgs8.js → bus-sj7nrpyn.js} +8 -8
- package/dist/chunks/{snapshot-0fdchs18.js → bus-sn9h79g5.js} +11 -11
- package/dist/chunks/{snapshot-ce5fknq2.js → bus-sqbb0ctm.js} +5 -5
- package/dist/chunks/{snapshot-v4wzacvx.js → bus-sstzxn5v.js} +33 -33
- package/dist/chunks/{snapshot-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{snapshot-qzm6q9ch.js → bus-t1ncm3sw.js} +6 -6
- package/dist/chunks/{snapshot-ze6grkbw.js → bus-t8jxhxf0.js} +6 -6
- package/dist/chunks/{snapshot-jx7g0qr7.js → bus-tah5h4rf.js} +30 -30
- package/dist/chunks/{snapshot-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{snapshot-njef46zj.js → bus-tgq44zsz.js} +36 -36
- package/dist/chunks/{snapshot-60waktgz.js → bus-tjpr2y5p.js} +26 -26
- package/dist/chunks/{snapshot-2hz06pja.js → bus-tk3aqx3r.js} +5 -5
- package/dist/chunks/{snapshot-g6b7f38h.js → bus-tk6xpnq1.js} +11 -11
- package/dist/chunks/{snapshot-4msmfn5s.js → bus-tpgbm1m3.js} +8 -8
- package/dist/chunks/{snapshot-w3h37n3b.js → bus-tqqfg69e.js} +4 -4
- package/dist/chunks/{snapshot-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{snapshot-8y3xkh6a.js → bus-v2870mkz.js} +58 -58
- package/dist/chunks/{snapshot-vad1g313.js → bus-v2j1w0x8.js} +21 -21
- package/dist/chunks/{snapshot-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{snapshot-j5awqcra.js → bus-v8tswgn5.js} +5 -5
- package/dist/chunks/{snapshot-7xmajcag.js → bus-vbye706w.js} +11 -11
- package/dist/chunks/{snapshot-ksez4t81.js → bus-vh504zcn.js} +22 -22
- package/dist/chunks/{snapshot-ytftszmd.js → bus-vk9zw07y.js} +8 -8
- package/dist/chunks/{snapshot-ykxwe7zp.js → bus-vn19g02f.js} +11 -11
- package/dist/chunks/{snapshot-3y7ph4ge.js → bus-vngmfa0y.js} +12 -12
- package/dist/chunks/{snapshot-vrrm71xh.js → bus-vqy5ky1c.js} +53 -53
- package/dist/chunks/{snapshot-da06fgys.js → bus-vt4e1yq1.js} +18 -18
- package/dist/chunks/{snapshot-jm2mtdfm.js → bus-vyba483h.js} +4 -4
- package/dist/chunks/{snapshot-7kaqz624.js → bus-w169zm22.js} +10 -10
- package/dist/chunks/{snapshot-r41sfy63.js → bus-w2eysc6j.js} +6 -6
- package/dist/chunks/{snapshot-s7kyse9r.js → bus-w35wzz9x.js} +4 -4
- package/dist/chunks/{snapshot-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-eft2x21j.js → bus-w544y36y.js} +34 -34
- package/dist/chunks/{snapshot-1hsgd8ch.js → bus-w5tfs3xv.js} +36 -36
- package/dist/chunks/{snapshot-w67s4ywc.js → bus-w67s4ywc.js} +2 -2
- package/dist/chunks/{snapshot-fznmdakp.js → bus-w687dnns.js} +4 -4
- package/dist/chunks/{snapshot-76cb1hcw.js → bus-w8qtt4th.js} +4 -4
- package/dist/chunks/{snapshot-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{snapshot-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-wegkxhrn.js → bus-wegkxhrn.js} +2 -2
- package/dist/chunks/{snapshot-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{snapshot-vkkn64ap.js → bus-x98gaemw.js} +12 -12
- package/dist/chunks/{snapshot-x7sfjysx.js → bus-xcax8ehy.js} +4 -4
- package/dist/chunks/{snapshot-jpcc61dj.js → bus-xekbftp9.js} +35 -35
- package/dist/chunks/{snapshot-yp9gc5tz.js → bus-xn1nx1d0.js} +14 -14
- package/dist/chunks/{snapshot-jw6dp1eq.js → bus-xqy8bnpk.js} +32 -32
- package/dist/chunks/{snapshot-zgbwm5kp.js → bus-xx90gxeb.js} +5 -5
- package/dist/chunks/bus-xxpp7b8h.js +26 -0
- package/dist/chunks/{snapshot-r2s7w9p5.js → bus-y13v0twb.js} +4 -4
- package/dist/chunks/{snapshot-93q5pt8n.js → bus-yajc3msk.js} +5 -5
- package/dist/chunks/{snapshot-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{snapshot-m3nys68e.js → bus-yawcbgfa.js} +9 -9
- package/dist/chunks/{snapshot-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{snapshot-5hb443sc.js → bus-yerc3n1d.js} +20 -20
- package/dist/chunks/{snapshot-9ye5q05h.js → bus-yhbr98pk.js} +1 -1
- package/dist/chunks/{snapshot-3pazngbb.js → bus-yjrvtctt.js} +32 -32
- package/dist/chunks/{snapshot-18856ak1.js → bus-ykcfw5aj.js} +37 -37
- package/dist/chunks/bus-ywk8mg2g.js +257 -0
- package/dist/chunks/{snapshot-jk66j3kg.js → bus-z4bv03nd.js} +10 -10
- package/dist/chunks/{snapshot-pt1qytmh.js → bus-zdtacmaj.js} +17 -17
- package/dist/chunks/{snapshot-26x8chrq.js → bus-zg0jbn27.js} +6 -6
- package/dist/chunks/{snapshot-38cqfa6z.js → bus-zg8ezejd.js} +24 -24
- package/dist/chunks/{snapshot-a4j6n3kj.js → bus-zjrxxzj0.js} +20 -20
- package/dist/chunks/{snapshot-87pmwd6e.js → bus-zjsk2z5z.js} +3 -3
- package/dist/chunks/{snapshot-2xtzk7mm.js → bus-zks02zyq.js} +23 -23
- package/dist/chunks/{snapshot-mxbmnhdw.js → bus-zp9gm7r4.js} +7 -7
- package/dist/chunks/{snapshot-yk34mwqb.js → bus-zr86xb8x.js} +13 -13
- package/dist/chunks/{snapshot-qe0c135p.js → bus-zs176x18.js} +16 -16
- package/dist/chunks/{snapshot-zwwwwdhn.js → bus-zv45q5yw.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +95 -95
- package/dist/config/discovery.js +96 -96
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +228 -228
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +138 -138
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +87 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- 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 +103 -103
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +170 -170
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +173 -173
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +150 -150
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -179
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +100 -100
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +107 -107
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +195 -195
- package/dist/session/diff.js +100 -100
- 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 +236 -236
- package/dist/session/execution.js +159 -159
- package/dist/session/generate.js +197 -197
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -162
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +199 -199
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +234 -234
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -230
- 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 +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +103 -103
- 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 +172 -172
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +165 -165
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +145 -145
- package/dist/tool/plugin/read.js +164 -164
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +230 -230
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +152 -152
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- 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/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +90 -90
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +8 -8
- package/dist/chunks/snapshot-me0dhgxs.js +0 -18
- package/dist/chunks/snapshot-rdgpdk3a.js +0 -26
- package/dist/chunks/snapshot-vw3fqt8n.js +0 -257
- /package/dist/chunks/{snapshot-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-7stb81gk.js → bus-7stb81gk.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ean2d8b5.js → bus-ean2d8b5.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{snapshot-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-stkk57rt.js → bus-stkk57rt.js} +0 -0
- /package/dist/chunks/{snapshot-t03h4f5z.js → bus-t03h4f5z.js} +0 -0
- /package/dist/chunks/{snapshot-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-hcysmks0.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service60
|
|
8
|
+
} from "./bus-48w6hcnx.js";
|
|
9
9
|
import {
|
|
10
10
|
DirectoryNotFoundError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-kep337bh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service42,
|
|
14
|
+
node44
|
|
15
|
+
} from "./bus-4bwthz3m.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-gftt206x.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionInboxTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-mb7mbhnz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service39,
|
|
24
|
+
node42
|
|
25
|
+
} from "./bus-4ymxdy0q.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service25,
|
|
28
|
+
node28
|
|
29
|
+
} from "./bus-575z11gq.js";
|
|
30
30
|
import {
|
|
31
31
|
validate2,
|
|
32
32
|
describe2,
|
|
33
33
|
authorize2,
|
|
34
34
|
evaluate2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-xekbftp9.js";
|
|
36
36
|
import {
|
|
37
37
|
ScheduleTable2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-wegkxhrn.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./bus-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/schedule.ts
|
|
44
44
|
var exports_schedule2 = {};
|
|
45
45
|
__export(exports_schedule2, {
|
|
46
46
|
Condition: () => Condition2,
|
|
47
47
|
ConditionInput: () => ConditionInput2,
|
|
48
|
-
CreateInput: () =>
|
|
48
|
+
CreateInput: () => CreateInput2,
|
|
49
49
|
DisabledError: () => DisabledError2,
|
|
50
|
-
ID: () =>
|
|
51
|
-
Info: () =>
|
|
50
|
+
ID: () => ID2,
|
|
51
|
+
Info: () => Info3,
|
|
52
52
|
InvalidError: () => InvalidError2,
|
|
53
|
-
NotFoundError: () =>
|
|
53
|
+
NotFoundError: () => NotFoundError2,
|
|
54
54
|
Outcome: () => Outcome3,
|
|
55
55
|
Request: () => Request2,
|
|
56
56
|
Schedule: () => exports_schedule2,
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service14,
|
|
58
58
|
Status: () => Status2,
|
|
59
59
|
When: () => When2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node16,
|
|
61
61
|
toCreateInput: () => toCreateInput2
|
|
62
62
|
});
|
|
63
63
|
import { and, asc, eq, gt, isNull, lte, min, or } from "drizzle-orm";
|
|
@@ -66,18 +66,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
66
66
|
import {
|
|
67
67
|
Condition as Condition2,
|
|
68
68
|
ConditionInput as ConditionInput2,
|
|
69
|
-
CreateInput as
|
|
69
|
+
CreateInput as CreateInput2,
|
|
70
70
|
durationMillis,
|
|
71
|
-
ID as
|
|
72
|
-
Info as
|
|
71
|
+
ID as ID2,
|
|
72
|
+
Info as Info3,
|
|
73
73
|
Outcome as Outcome3,
|
|
74
74
|
Request as Request2,
|
|
75
75
|
Status as Status2,
|
|
76
76
|
toCreateInput as toCreateInput2,
|
|
77
77
|
When as When2
|
|
78
78
|
} from "@opencode/schema/schedule";
|
|
79
|
-
class
|
|
80
|
-
scheduleID:
|
|
79
|
+
class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
80
|
+
scheduleID: ID2
|
|
81
81
|
}) {
|
|
82
82
|
get message() {
|
|
83
83
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -98,7 +98,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
101
|
+
class Service14 extends Context.Service()("@opencode/Schedule") {
|
|
102
102
|
}
|
|
103
103
|
var MINUTE = 60000;
|
|
104
104
|
var HOUR = 60 * MINUTE;
|
|
@@ -181,15 +181,15 @@ var toInfo = (row, lastOutput) => ({
|
|
|
181
181
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
182
182
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
183
183
|
});
|
|
184
|
-
var layer = Layer.effect(
|
|
184
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
185
185
|
const database = yield* Service87;
|
|
186
186
|
const db = database.db;
|
|
187
|
-
const sessions = yield*
|
|
188
|
-
const instances = yield*
|
|
189
|
-
const execution = yield*
|
|
187
|
+
const sessions = yield* Service25;
|
|
188
|
+
const instances = yield* Service42;
|
|
189
|
+
const execution = yield* Service39;
|
|
190
190
|
const doorbell = yield* Latch.make();
|
|
191
191
|
const settings = (session) => Effect.gen(function* () {
|
|
192
|
-
const config = yield* Effect.serviceOption(
|
|
192
|
+
const config = yield* Effect.serviceOption(Service60);
|
|
193
193
|
if (Option.isNone(config))
|
|
194
194
|
return { enabled: false, timezone: undefined };
|
|
195
195
|
const entries = yield* config.value.entries();
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
198
198
|
timezone: latest2(entries, "timezone")
|
|
199
199
|
};
|
|
200
200
|
}).pipe(instances.provide(session));
|
|
201
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
201
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError2({ scheduleID: id }))));
|
|
202
202
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
203
203
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
204
204
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -445,7 +445,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
445
445
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
446
446
|
return Math.min(at.value, after ?? at.value);
|
|
447
447
|
});
|
|
448
|
-
return
|
|
448
|
+
return Service14.of({
|
|
449
449
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
450
450
|
const session = yield* sessions.get(input.sessionID);
|
|
451
451
|
const config = yield* settings(session).pipe(Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
|
|
@@ -463,7 +463,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
463
463
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
464
464
|
if (ends !== null && due > ends)
|
|
465
465
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
466
|
-
const scheduleID =
|
|
466
|
+
const scheduleID = ID2.create();
|
|
467
467
|
const seeded = check === undefined ? { matched: false, state: null, checks: 0 } : yield* Effect.gen(function* () {
|
|
468
468
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
|
|
469
469
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -570,10 +570,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
570
570
|
run
|
|
571
571
|
});
|
|
572
572
|
}));
|
|
573
|
-
var
|
|
574
|
-
service:
|
|
573
|
+
var node16 = makeGlobalNode({
|
|
574
|
+
service: Service14,
|
|
575
575
|
layer,
|
|
576
|
-
deps: [node91,
|
|
576
|
+
deps: [node91, node28, node42, node44]
|
|
577
577
|
});
|
|
578
578
|
|
|
579
|
-
export { Condition2, ConditionInput2,
|
|
579
|
+
export { Condition2, ConditionInput2, CreateInput2, ID2, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service14, node16, exports_schedule2 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-frqt40cp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-mb7mbhnz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service85,
|
|
9
|
+
node89
|
|
10
|
+
} from "./bus-7w2fvyx3.js";
|
|
11
|
+
import {
|
|
8
12
|
Service83,
|
|
9
13
|
node87
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service81,
|
|
13
|
-
node85
|
|
14
|
-
} from "./snapshot-grg4dqxx.js";
|
|
14
|
+
} from "./bus-cpq36wag.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID17,
|
|
27
|
+
Service: () => Service82,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node86,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID17 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service82 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service85;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service83;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID17.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service82.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node86 = makeLocationNode({
|
|
158
|
+
service: Service82,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node89, Global.node, node87]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer3 = Layer.succeed(
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service82, Service82.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service63, Service63.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error5({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID17, Error5, Service82, node86, noopLayer3, exports_snapshot2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./bus-7cen1ph9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./bus-48w6hcnx.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-6drawnv9.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin30
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin30 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service60;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service61;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin30, exports_compatibility };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-hcysmks0.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-bffjwd0h.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-mb7mbhnz.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-5pqt1ves.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-jns8hwea.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service43,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer18,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make17,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node45,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service43 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service87;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service86;
|
|
@@ -260,8 +260,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer18 = Layer.effect(Service43, make17());
|
|
264
|
+
var node45 = makeGlobalNode({ service: Service43, layer: layer18, deps: [node91, node90] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service43, make17, layer18, node45, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-bffjwd0h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Event17,
|
|
7
|
+
Service75
|
|
8
|
+
} from "./bus-d01pvx5j.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/credential-settings.ts
|
|
11
11
|
import { Effect, Stream } from "effect";
|
|
12
12
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
13
|
-
const credentials = yield*
|
|
13
|
+
const credentials = yield* Service75;
|
|
14
14
|
const bus = yield* Service86;
|
|
15
15
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
16
16
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
17
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
17
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
18
18
|
return stored ? select(stored.value) : {};
|
|
19
19
|
});
|
|
20
20
|
const current = { settings: yield* load() };
|
|
21
|
-
yield* bus.subscribe([
|
|
21
|
+
yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
22
22
|
const next = yield* load();
|
|
23
23
|
if (JSON.stringify(next) === JSON.stringify(current.settings))
|
|
24
24
|
return;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./bus-48w6hcnx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./bus-2r3850vs.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin27 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service60;
|
|
27
|
+
const output = yield* Service63;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin51 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin27, exports_tool_output };
|