@opencode/core 0.0.0-dev-20425 → 0.0.0-dev-20436
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{command-5qfqt7q0.js → instruction-discovery-01rwjjcz.js} +8 -8
- package/dist/chunks/{command-s8d7rejh.js → instruction-discovery-02nrjc1r.js} +8 -8
- package/dist/chunks/{command-xf862nsz.js → instruction-discovery-080vvshd.js} +21 -21
- package/dist/chunks/{command-gfkmrq4p.js → instruction-discovery-09ahpnqs.js} +25 -25
- package/dist/chunks/{command-w08nn5n9.js → instruction-discovery-0e16np3z.js} +13 -13
- package/dist/chunks/{command-ghaqbwqb.js → instruction-discovery-0npx16jc.js} +18 -18
- package/dist/chunks/{command-rx9ava5n.js → instruction-discovery-0ntvdsg8.js} +4 -4
- package/dist/chunks/{command-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-paae1hnn.js → instruction-discovery-0q1nq9gp.js} +26 -26
- package/dist/chunks/{command-0vbcp93d.js → instruction-discovery-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-gbr9d7vf.js → instruction-discovery-18f1kqxe.js} +23 -23
- package/dist/chunks/{command-65j7h7z0.js → instruction-discovery-1b1c4dzk.js} +23 -23
- package/dist/chunks/{command-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-vskhrygy.js → instruction-discovery-1nv2cx5q.js} +11 -11
- package/dist/chunks/{command-j29a7fks.js → instruction-discovery-1pxz8ven.js} +5 -5
- package/dist/chunks/{command-c4v9k59t.js → instruction-discovery-1reqv2dv.js} +26 -26
- package/dist/chunks/{command-xq9zaz6f.js → instruction-discovery-1v84xk10.js} +22 -22
- package/dist/chunks/{command-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{command-2jmaghvr.js → instruction-discovery-23pqda6t.js} +4 -4
- package/dist/chunks/{command-pd1qyk1g.js → instruction-discovery-25dqpbdt.js} +21 -21
- package/dist/chunks/{command-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-7nk06whx.js → instruction-discovery-2kgjpspn.js} +48 -48
- package/dist/chunks/{command-0hf9g8pg.js → instruction-discovery-2myva995.js} +6 -6
- package/dist/chunks/{command-znsx74x0.js → instruction-discovery-2tsm52y3.js} +1 -1
- package/dist/chunks/{command-q1xs28w9.js → instruction-discovery-31cn1m4w.js} +13 -13
- package/dist/chunks/{command-p72k79qf.js → instruction-discovery-31d6twgp.js} +15 -15
- package/dist/chunks/{command-3cegwx68.js → instruction-discovery-3cegwx68.js} +2 -2
- package/dist/chunks/{command-npmb1mqa.js → instruction-discovery-3e22cpye.js} +24 -24
- package/dist/chunks/{command-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-hs8jsmzr.js → instruction-discovery-3fre7mpw.js} +18 -18
- package/dist/chunks/{command-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-2ztps42y.js → instruction-discovery-3j31p43m.js} +4 -4
- package/dist/chunks/{command-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3v5tjer0.js → instruction-discovery-3v5tjer0.js} +2 -2
- package/dist/chunks/{command-4v12cqac.js → instruction-discovery-3wh4g806.js} +12 -12
- package/dist/chunks/{command-3b9qt4hj.js → instruction-discovery-3z0hjn58.js} +9 -9
- package/dist/chunks/{command-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-s7wf03n2.js → instruction-discovery-4314ycrs.js} +7 -7
- package/dist/chunks/{command-ennp2fy0.js → instruction-discovery-47d6wyq0.js} +44 -44
- package/dist/chunks/{command-e3p960dv.js → instruction-discovery-47t04rwa.js} +3 -3
- package/dist/chunks/{command-8xf89zsp.js → instruction-discovery-4fecg1gp.js} +2 -2
- package/dist/chunks/{command-gtkdm2kv.js → instruction-discovery-4jwmrx58.js} +88 -88
- package/dist/chunks/{command-a6wxqygz.js → instruction-discovery-4ky6jgdw.js} +22 -22
- package/dist/chunks/{command-2ccvkpx1.js → instruction-discovery-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-cgk007dh.js → instruction-discovery-4x16na4a.js} +11 -11
- package/dist/chunks/{command-4xjmh1rg.js → instruction-discovery-4xg7vbg1.js} +20 -20
- package/dist/chunks/{command-mnwrr1qs.js → instruction-discovery-4zh31xwb.js} +5 -5
- package/dist/chunks/{command-08rawchj.js → instruction-discovery-539jk4fq.js} +3 -3
- package/dist/chunks/{command-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
- package/dist/chunks/{command-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{command-e3qxr5gk.js → instruction-discovery-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-hv340q6g.js → instruction-discovery-5rz9mp7t.js} +10 -10
- package/dist/chunks/{command-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-zqvjtgwh.js → instruction-discovery-5wefe36s.js} +23 -23
- package/dist/chunks/{command-qfcmt2yh.js → instruction-discovery-5yk7faxb.js} +9 -9
- package/dist/chunks/{command-392y4h0x.js → instruction-discovery-6437vj42.js} +19 -19
- package/dist/chunks/{command-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{command-apvpadp8.js → instruction-discovery-67gyhswp.js} +50 -50
- package/dist/chunks/{command-654bmfkb.js → instruction-discovery-6f0av2j1.js} +4 -4
- package/dist/chunks/{command-e1m5s5bn.js → instruction-discovery-6pdejbrj.js} +9 -9
- package/dist/chunks/{command-y5rf7nzv.js → instruction-discovery-6t4hr8r6.js} +4 -4
- package/dist/chunks/{command-wnfrb3a9.js → instruction-discovery-6y2nrvpb.js} +15 -15
- package/dist/chunks/{command-ynn332gn.js → instruction-discovery-75b92wra.js} +10 -10
- package/dist/chunks/{command-hpa0c1fz.js → instruction-discovery-761m9ptj.js} +5 -5
- package/dist/chunks/{command-k89vh9jf.js → instruction-discovery-79sz3r55.js} +27 -27
- package/dist/chunks/{command-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-86qnsy51.js → instruction-discovery-7g3c0nm9.js} +5 -5
- package/dist/chunks/{command-f03kf16x.js → instruction-discovery-7jy5y1d0.js} +3 -3
- package/dist/chunks/{command-wbsxrhdw.js → instruction-discovery-7refrf3w.js} +11 -11
- package/dist/chunks/{command-eyhtqccb.js → instruction-discovery-7rkkkr4d.js} +9 -9
- package/dist/chunks/{command-vtk5qamb.js → instruction-discovery-7szkp5y2.js} +7 -7
- package/dist/chunks/{command-g602k23t.js → instruction-discovery-7z7ettx5.js} +11 -11
- package/dist/chunks/{command-84h8c373.js → instruction-discovery-84h8c373.js} +2 -2
- package/dist/chunks/{command-b7b4ctej.js → instruction-discovery-84zcxbc9.js} +5 -5
- package/dist/chunks/{command-tcezcvh9.js → instruction-discovery-89znhe33.js} +4 -4
- package/dist/chunks/{command-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-d7hcd0ym.js → instruction-discovery-8hxe8pkp.js} +11 -11
- package/dist/chunks/{command-yv60n1xn.js → instruction-discovery-8y6rr02y.js} +12 -6
- package/dist/chunks/{command-4c2df9zx.js → instruction-discovery-97w5rk9e.js} +8 -8
- package/dist/chunks/{command-v2tfw1yv.js → instruction-discovery-9bc1v1ef.js} +9 -9
- package/dist/chunks/{command-3hfr6h8q.js → instruction-discovery-9hn6k4tm.js} +8 -8
- package/dist/chunks/{command-h9th01k5.js → instruction-discovery-9p1s4wf0.js} +13 -13
- package/dist/chunks/{command-yjxvec77.js → instruction-discovery-9svgz92n.js} +17 -17
- package/dist/chunks/{command-vjbk48r7.js → instruction-discovery-9xxdq54b.js} +25 -25
- package/dist/chunks/{command-ps47t8qh.js → instruction-discovery-9zppm9tj.js} +21 -21
- package/dist/chunks/{command-mvfsc1pv.js → instruction-discovery-a1gpj94z.js} +3 -3
- package/dist/chunks/{command-60cawxsn.js → instruction-discovery-a713gwtq.js} +3 -3
- package/dist/chunks/{command-mqafpt2f.js → instruction-discovery-a93qqd3r.js} +1 -1
- package/dist/chunks/{command-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{command-xerakxap.js → instruction-discovery-b0pe6pks.js} +82 -82
- package/dist/chunks/{command-ytws7ykb.js → instruction-discovery-b5a1eknj.js} +2 -2
- package/dist/chunks/{command-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-h3njkt71.js → instruction-discovery-bk4e8b28.js} +15 -15
- package/dist/chunks/{command-p5pf3enj.js → instruction-discovery-c5dja1rz.js} +26 -26
- package/dist/chunks/{command-h81fdr4s.js → instruction-discovery-cc19yrrc.js} +29 -29
- package/dist/chunks/{command-65zh2nvj.js → instruction-discovery-cfyqmpvb.js} +17 -17
- package/dist/chunks/{command-8pzy0y0s.js → instruction-discovery-cn7bc80e.js} +11 -11
- package/dist/chunks/{command-15nv6dks.js → instruction-discovery-ctj0c0vy.js} +35 -35
- package/dist/chunks/{command-ytfj295e.js → instruction-discovery-d0tsr4jg.js} +168 -168
- package/dist/chunks/{command-44pdqs77.js → instruction-discovery-d9sgy5v4.js} +4 -4
- package/dist/chunks/{command-cbvt3nfp.js → instruction-discovery-db70kwg2.js} +11 -11
- package/dist/chunks/{command-s1pfhd0y.js → instruction-discovery-dbfz4arg.js} +11 -11
- package/dist/chunks/{command-dfe8djrf.js → instruction-discovery-dfe8djrf.js} +1 -1
- package/dist/chunks/{command-2vgzs72b.js → instruction-discovery-dfzjqex4.js} +5 -5
- package/dist/chunks/{command-5dkrrsy6.js → instruction-discovery-dh757vhx.js} +11 -11
- package/dist/chunks/{command-xkntkrq7.js → instruction-discovery-dmqcgk4z.js} +5 -5
- package/dist/chunks/{command-teep55cb.js → instruction-discovery-dnwv4286.js} +18 -18
- package/dist/chunks/{command-dpkg50ah.js → instruction-discovery-dpkg50ah.js} +1 -1
- package/dist/chunks/{command-s7xm0994.js → instruction-discovery-drpgmr68.js} +24 -24
- package/dist/chunks/{command-22adywx4.js → instruction-discovery-dvjzzf76.js} +32 -32
- package/dist/chunks/{command-y0m37wb8.js → instruction-discovery-dx06g6ak.js} +43 -43
- package/dist/chunks/{command-jfh4v34s.js → instruction-discovery-dzv9ey9b.js} +24 -24
- package/dist/chunks/{command-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-tnvqwdy0.js → instruction-discovery-ej868w5m.js} +10 -10
- package/dist/chunks/{command-2j5hbwxg.js → instruction-discovery-en9mxp96.js} +9 -9
- package/dist/chunks/{command-jewzahs7.js → instruction-discovery-ermxvwhp.js} +4 -4
- package/dist/chunks/{command-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-xa8sx6te.js → instruction-discovery-exrb6f4b.js} +36 -36
- package/dist/chunks/{command-mtk52xmd.js → instruction-discovery-f1w2j8y8.js} +3 -3
- package/dist/chunks/{command-jqnhh969.js → instruction-discovery-f53zr6n7.js} +8 -8
- package/dist/chunks/{command-vz9sc8m2.js → instruction-discovery-f67tw5z1.js} +20 -20
- package/dist/chunks/{command-f75zav2x.js → instruction-discovery-f75zav2x.js} +2 -2
- package/dist/chunks/instruction-discovery-fewx72qc.js +507 -0
- package/dist/chunks/{command-4tmhkwhh.js → instruction-discovery-fsff54r6.js} +34 -34
- package/dist/chunks/{command-6tj04ent.js → instruction-discovery-fsw0mc83.js} +9 -9
- package/dist/chunks/{command-7zextwbv.js → instruction-discovery-fw1dz7t9.js} +41 -41
- package/dist/chunks/{command-7699xt8c.js → instruction-discovery-g5e9pd1v.js} +27 -27
- package/dist/chunks/{command-6z9y85k1.js → instruction-discovery-g8h26jd5.js} +12 -12
- package/dist/chunks/{command-ypa0y62e.js → instruction-discovery-g960pwnm.js} +10 -10
- package/dist/chunks/{command-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-gzxs6px7.js → instruction-discovery-gf55pmfv.js} +26 -26
- package/dist/chunks/{command-4s1v5szb.js → instruction-discovery-gq159grd.js} +12 -12
- package/dist/chunks/{command-xxvyy5kb.js → instruction-discovery-gqj9xvwh.js} +12 -12
- package/dist/chunks/{command-9jbvj98d.js → instruction-discovery-gs3s1a1g.js} +8 -8
- package/dist/chunks/{command-nf0mv796.js → instruction-discovery-gsw922gt.js} +16 -16
- package/dist/chunks/{command-qw2yw8z7.js → instruction-discovery-gt5g32da.js} +18 -18
- package/dist/chunks/{command-darx1emg.js → instruction-discovery-h0m6qmgv.js} +11 -11
- package/dist/chunks/instruction-discovery-h1j66rmt.js +26 -0
- package/dist/chunks/{command-ebq0q0d7.js → instruction-discovery-h4h0wgnp.js} +4 -4
- package/dist/chunks/{command-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-ka0m6rdf.js → instruction-discovery-hcn189kp.js} +22 -22
- package/dist/chunks/{command-e4nkqe78.js → instruction-discovery-hps2b6na.js} +31 -31
- package/dist/chunks/{command-m58kmhef.js → instruction-discovery-hpsfhvb4.js} +6 -9
- package/dist/chunks/{command-6t2wbhs5.js → instruction-discovery-hr8b5vpd.js} +4 -4
- package/dist/chunks/{command-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{command-shxgfbnt.js → instruction-discovery-j6vwemrx.js} +7 -7
- package/dist/chunks/{command-7ghtgw7y.js → instruction-discovery-jafnk310.js} +11 -11
- package/dist/chunks/{command-n0pywpq4.js → instruction-discovery-jd00bmkr.js} +6 -6
- package/dist/chunks/{command-qe6tj4d9.js → instruction-discovery-jm7h4j2a.js} +33 -33
- package/dist/chunks/{command-r7fzpv87.js → instruction-discovery-jq8xwx8t.js} +43 -43
- package/dist/chunks/{command-f69ve3h4.js → instruction-discovery-js24vr7f.js} +16 -16
- package/dist/chunks/{command-r71rh3b2.js → instruction-discovery-jy0az3tm.js} +20 -20
- package/dist/chunks/{command-kcaq6mcn.js → instruction-discovery-k0133kzt.js} +17 -17
- package/dist/chunks/{command-5dhr1a59.js → instruction-discovery-k0jv87xe.js} +18 -18
- package/dist/chunks/{command-yf10kn3d.js → instruction-discovery-k1qrnqst.js} +8 -8
- package/dist/chunks/{command-nzks3jc8.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{command-w5ystqj3.js → instruction-discovery-k4bpkq42.js} +6 -6
- package/dist/chunks/{command-kb9j3d72.js → instruction-discovery-kb9j3d72.js} +3 -3
- package/dist/chunks/{command-125a3gzs.js → instruction-discovery-kd4y974r.js} +1 -1
- package/dist/chunks/{command-hfdbewx1.js → instruction-discovery-kdfm79bn.js} +3 -3
- package/dist/chunks/{command-m01y6ttg.js → instruction-discovery-kq9d3hx9.js} +13 -13
- package/dist/chunks/{command-h6t4ec3e.js → instruction-discovery-kvp5kq6m.js} +35 -35
- package/dist/chunks/{command-2f06s3ns.js → instruction-discovery-m39hh8zp.js} +11 -11
- package/dist/chunks/{command-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-6sr3ve8g.js → instruction-discovery-magykp64.js} +21 -21
- package/dist/chunks/{command-mazbtkaa.js → instruction-discovery-mazbtkaa.js} +2 -2
- package/dist/chunks/{command-w3hsnjjz.js → instruction-discovery-mc73fyb8.js} +12 -12
- package/dist/chunks/{command-7fsqtpfs.js → instruction-discovery-mdemgye2.js} +5 -5
- package/dist/chunks/{command-56gdpj1q.js → instruction-discovery-mfqp6xfm.js} +6 -6
- package/dist/chunks/{command-mjqndqed.js → instruction-discovery-mjqndqed.js} +5 -5
- package/dist/chunks/{command-a8wbw237.js → instruction-discovery-mme0rg1v.js} +5 -5
- package/dist/chunks/{command-nnxgyx76.js → instruction-discovery-mmha7pa6.js} +30 -30
- package/dist/chunks/{command-mpk0rfs5.js → instruction-discovery-mxvxcxwy.js} +4 -4
- package/dist/chunks/{command-3yhkhgds.js → instruction-discovery-n05027zw.js} +31 -33
- package/dist/chunks/{command-2ss4kerk.js → instruction-discovery-n18sa6tb.js} +11 -11
- package/dist/chunks/{command-k8zgzs4j.js → instruction-discovery-n1wv36jt.js} +7 -7
- package/dist/chunks/{command-j1qpxjvn.js → instruction-discovery-n6v2epj8.js} +11 -11
- package/dist/chunks/{command-4rsgbdp7.js → instruction-discovery-n77dttfg.js} +45 -45
- package/dist/chunks/{command-dsr2y3g9.js → instruction-discovery-n8vdnqrc.js} +5 -5
- package/dist/chunks/{command-32qqfmzq.js → instruction-discovery-n9fn70d8.js} +11 -11
- package/dist/chunks/{command-py4awywk.js → instruction-discovery-nc120egx.js} +8 -8
- package/dist/chunks/{command-q03fcfcz.js → instruction-discovery-nc13b7kg.js} +16 -16
- package/dist/chunks/{command-569pzwc8.js → instruction-discovery-ngs2t85n.js} +18 -18
- package/dist/chunks/{command-1rvfxwwy.js → instruction-discovery-nhef0ppz.js} +16 -16
- package/dist/chunks/{command-ffh69xw9.js → instruction-discovery-nmpw1asp.js} +5 -5
- package/dist/chunks/{command-q3ezd169.js → instruction-discovery-np1hwe2g.js} +7 -7
- package/dist/chunks/{command-j4z1869k.js → instruction-discovery-nq1erwx6.js} +14 -14
- package/dist/chunks/{command-tjvfc3yx.js → instruction-discovery-ns3twq43.js} +20 -20
- package/dist/chunks/instruction-discovery-p2h6zvwc.js +18 -0
- package/dist/chunks/{command-7gjme12f.js → instruction-discovery-p5ywxg46.js} +10 -10
- package/dist/chunks/{command-dw95s81m.js → instruction-discovery-pary2kw6.js} +29 -29
- package/dist/chunks/{command-dq0akw48.js → instruction-discovery-pg6pk43k.js} +15 -15
- package/dist/chunks/{command-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{command-0yc0bfdq.js → instruction-discovery-pnn35psd.js} +5 -5
- package/dist/chunks/{command-fpq7b0ys.js → instruction-discovery-pqegxn2t.js} +8 -8
- package/dist/chunks/{command-ryr1jwcc.js → instruction-discovery-pre7v3rr.js} +9 -9
- package/dist/chunks/{command-3r3hs3sk.js → instruction-discovery-prs6m51s.js} +9 -9
- package/dist/chunks/{command-whhdfx7x.js → instruction-discovery-pvt2fb7y.js} +13 -13
- package/dist/chunks/{command-jktqzjpa.js → instruction-discovery-py3kkmfq.js} +8 -8
- package/dist/chunks/{command-0j77ygfz.js → instruction-discovery-q0xm7vwc.js} +6 -6
- package/dist/chunks/{command-4ep12pyx.js → instruction-discovery-q3mv52s2.js} +30 -30
- package/dist/chunks/{command-y10wk092.js → instruction-discovery-q5nw5m1n.js} +9 -9
- package/dist/chunks/{command-e7710hd6.js → instruction-discovery-q6d53jre.js} +8 -8
- package/dist/chunks/instruction-discovery-q6njh5pv.js +252 -0
- package/dist/chunks/{command-7dqw4kz8.js → instruction-discovery-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-qnc92qwc.js → instruction-discovery-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-fjp52ft7.js → instruction-discovery-qpsckf0j.js} +46 -46
- package/dist/chunks/{command-7skj7b3t.js → instruction-discovery-qrqxbka5.js} +11 -11
- package/dist/chunks/{command-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{command-g53rxf0r.js → instruction-discovery-qx36bxgz.js} +5 -5
- package/dist/chunks/{command-435p94mv.js → instruction-discovery-qz7bfay8.js} +17 -17
- package/dist/chunks/{command-gjwgx2c5.js → instruction-discovery-r2m716tb.js} +9 -9
- package/dist/chunks/{command-prq7hedt.js → instruction-discovery-r9w3djhf.js} +9 -9
- package/dist/chunks/{command-c6ttkmc3.js → instruction-discovery-ra7tqc9g.js} +4 -4
- package/dist/chunks/{command-s22d9hak.js → instruction-discovery-rakf4fws.js} +20 -20
- package/dist/chunks/{command-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-9yeatzar.js → instruction-discovery-rensfgbr.js} +4 -4
- package/dist/chunks/{command-eps6q5xj.js → instruction-discovery-rk44qj15.js} +17 -17
- package/dist/chunks/{command-b983vmxa.js → instruction-discovery-rrbrp6k4.js} +35 -35
- package/dist/chunks/{command-0gys68wh.js → instruction-discovery-rtbqen95.js} +20 -21
- package/dist/chunks/{command-9n47bnwc.js → instruction-discovery-rvmf1nwp.js} +29 -29
- package/dist/chunks/{command-3pcwt893.js → instruction-discovery-rvzwzr4g.js} +3 -3
- package/dist/chunks/{command-a46v4e4v.js → instruction-discovery-ryr25ayn.js} +4 -4
- package/dist/chunks/{command-h9wp8z5w.js → instruction-discovery-rywzfdxh.js} +4 -4
- package/dist/chunks/{command-ynyq5a7a.js → instruction-discovery-s3f7jc6p.js} +17 -17
- package/dist/chunks/{command-jkxz06wq.js → instruction-discovery-s7e94ybw.js} +6 -6
- package/dist/chunks/{command-cvw89d3k.js → instruction-discovery-s87m1rh1.js} +24 -24
- package/dist/chunks/{command-70h48ehn.js → instruction-discovery-sb1y7h9k.js} +8 -8
- package/dist/chunks/{command-82n2gc37.js → instruction-discovery-sbht0gze.js} +9 -9
- package/dist/chunks/{command-b3f8fkhc.js → instruction-discovery-scgrse2b.js} +5 -5
- package/dist/chunks/{command-rpg9c19m.js → instruction-discovery-t2az9yje.js} +4 -4
- package/dist/chunks/{command-nynp1wzk.js → instruction-discovery-t4xck8m6.js} +29 -29
- package/dist/chunks/{command-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{command-k2736hxg.js → instruction-discovery-tm7rm1cd.js} +3 -3
- package/dist/chunks/{command-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{command-ka2772re.js → instruction-discovery-txp4gwkg.js} +8 -8
- package/dist/chunks/{command-w17djjzg.js → instruction-discovery-tyw2rt9s.js} +16 -16
- package/dist/chunks/{command-9tmvx2dr.js → instruction-discovery-tztphjnf.js} +16 -16
- package/dist/chunks/{command-9ynvqa68.js → instruction-discovery-v66g3x96.js} +4 -4
- package/dist/chunks/{command-xjbtjqdb.js → instruction-discovery-v6z2m2jp.js} +20 -20
- package/dist/chunks/{command-kxv9wf7h.js → instruction-discovery-vd50vaq5.js} +14 -14
- package/dist/chunks/{command-kk5zk3a0.js → instruction-discovery-vde899zy.js} +3 -3
- package/dist/chunks/{command-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{command-09nnxt9p.js → instruction-discovery-vgeew69v.js} +24 -24
- package/dist/chunks/{command-zfme70y8.js → instruction-discovery-vj4r8hhk.js} +2 -2
- package/dist/chunks/{command-dcqe2tda.js → instruction-discovery-vkzxswb9.js} +45 -45
- package/dist/chunks/{command-r7cqnzm4.js → instruction-discovery-vnchxsqg.js} +24 -24
- package/dist/chunks/{command-xs6tw54q.js → instruction-discovery-vt1ndr5w.js} +54 -54
- package/dist/chunks/{command-12vfn7rq.js → instruction-discovery-vwb48jve.js} +30 -30
- package/dist/chunks/{command-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-84txncab.js → instruction-discovery-w1eejvng.js} +5 -5
- package/dist/chunks/{command-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-sjtp893p.js → instruction-discovery-wb8phxs5.js} +20 -20
- package/dist/chunks/{command-htx2nwm0.js → instruction-discovery-wcxbx603.js} +23 -23
- package/dist/chunks/{command-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{command-ez4dssjv.js → instruction-discovery-wnmeb7fj.js} +12 -12
- package/dist/chunks/{command-kh012ppf.js → instruction-discovery-ws0chgfk.js} +70 -70
- package/dist/chunks/{command-wcw9m44b.js → instruction-discovery-wvw8jb1e.js} +30 -30
- package/dist/chunks/{command-yp0e5902.js → instruction-discovery-x18va5sk.js} +34 -34
- package/dist/chunks/{command-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-8c3xbmtc.js → instruction-discovery-xa1rfemh.js} +11 -11
- package/dist/chunks/{command-w19d8598.js → instruction-discovery-xfkkasph.js} +5 -5
- package/dist/chunks/{command-wyjbmczw.js → instruction-discovery-xjtdekf3.js} +17 -17
- package/dist/chunks/{command-j02g5jt1.js → instruction-discovery-xsa6f9c6.js} +14 -14
- package/dist/chunks/{command-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-0w1gqsy8.js → instruction-discovery-y8p3zjbc.js} +6 -6
- package/dist/chunks/{command-k8b1rdw7.js → instruction-discovery-y91qmtyz.js} +8 -8
- package/dist/chunks/{command-86efd22a.js → instruction-discovery-y9nbppkg.js} +6 -6
- package/dist/chunks/{command-t8gtdgqz.js → instruction-discovery-ybhdk4g3.js} +7 -7
- package/dist/chunks/{command-rv5kyjjz.js → instruction-discovery-ydnksj1z.js} +4 -4
- package/dist/chunks/{command-vy7jzsr4.js → instruction-discovery-ymj43g9a.js} +13 -13
- package/dist/chunks/{command-r8xr0va3.js → instruction-discovery-yp2x3t23.js} +4 -4
- package/dist/chunks/{command-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-7ggg3cvf.js → instruction-discovery-yshmskfg.js} +43 -43
- package/dist/chunks/{command-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-t8w8mjvs.js → instruction-discovery-z3xrvpgm.js} +12 -12
- package/dist/chunks/{command-88npvcs0.js → instruction-discovery-z6g40wxz.js} +27 -27
- package/dist/chunks/{command-fjegnp40.js → instruction-discovery-z8w9xafz.js} +11 -11
- package/dist/chunks/{command-83zswggx.js → instruction-discovery-zh848x0v.js} +11 -11
- package/dist/chunks/{command-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-py3n4qdw.js → instruction-discovery-zx3ym5xt.js} +24 -24
- package/dist/chunks/{command-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -93
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +114 -112
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/revert.d.ts +0 -1
- package/dist/types/session/session.d.ts +2 -2
- package/dist/types/session/to-session-error.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +92 -92
- 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 +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/command-9hjw92a0.js +0 -26
- package/dist/chunks/command-ezespax2.js +0 -507
- package/dist/chunks/command-ht5y0zrb.js +0 -18
- package/dist/chunks/command-sftyyjfb.js +0 -252
- package/dist/filesystem/ignore.js +0 -58
- package/dist/types/filesystem/ignore.d.ts +0 -2
- /package/dist/chunks/{command-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → instruction-discovery-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-6f0av2j1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event15,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service62,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer23,
|
|
33
|
+
node: () => node65
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event15 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service62 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event15.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service62.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer22 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service62,
|
|
110
|
+
layer: layer23(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node65 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event15, Options9, Service62, layer23, configured9, node65, exports_instruction_discovery };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node49
|
|
4
|
+
} from "./instruction-discovery-vnchxsqg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-4fecg1gp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./instruction-discovery-dx06g6ak.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
@@ -36,8 +36,8 @@ import { fileURLToPath, pathToFileURL } from "url";
|
|
|
36
36
|
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
38
|
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
39
|
+
const config = yield* Service46;
|
|
40
|
+
const watcher = yield* Service47;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -73,7 +73,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
73
73
|
var node3 = makeLocationNode({
|
|
74
74
|
service: Service2,
|
|
75
75
|
layer: layer4,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node48, FSUtil.node, node49, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
79
|
service: Service2,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./instruction-discovery-dx06g6ak.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service13
|
|
6
|
+
} from "./instruction-discovery-k1qrnqst.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin17 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service46;
|
|
29
|
+
const managed = yield* Service13;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin18 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin17, exports_policy };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service69,
|
|
10
|
+
node: () => node72
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service69 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service69.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service69, node72, exports_hooks };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-4fecg1gp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-02nrjc1r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service21,
|
|
19
|
+
node: () => node23
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service21 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service21.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make20({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make20({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node23 = makeLocationNode({ service: Service21, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service21, node23, exports_builtins };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service49,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node51,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service49 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service49.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node51 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options8, Service49, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node51, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./instruction-discovery-dx06g6ak.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./instruction-discovery-n05027zw.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin2
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin2 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin16 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin2, exports_compaction };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin25
|
|
3
|
+
} from "./instruction-discovery-q6d53jre.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin22
|
|
6
|
+
} from "./instruction-discovery-prs6m51s.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin26
|
|
9
|
+
} from "./instruction-discovery-s7e94ybw.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin23
|
|
12
|
+
} from "./instruction-discovery-nc120egx.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin24
|
|
15
|
+
} from "./instruction-discovery-5yk7faxb.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin25,
|
|
20
|
+
Plugin22,
|
|
21
|
+
Plugin26,
|
|
22
|
+
Plugin23,
|
|
23
|
+
Plugin24
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instruction-discovery-t4xck8m6.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-y9nbppkg.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID8.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-xa1rfemh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-6f0av2j1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./instruction-discovery-vwb48jve.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-mxvxcxwy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-mmha7pa6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./instruction-discovery-k1qrnqst.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-t4xck8m6.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-pary2kw6.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID3,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instruction-discovery-5wefe36s.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID3
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID9.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service13;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID9.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID8.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID8.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|