@opencode/core 0.0.0-dev-19979 → 0.0.0-dev-19981
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{variant-wgzndssf.js → persistent-pty-00ax65t0.js} +25 -25
- package/dist/chunks/{variant-k7evwn58.js → persistent-pty-045s5zgt.js} +17 -17
- package/dist/chunks/{variant-s40m713m.js → persistent-pty-0et7a6mm.js} +12 -12
- package/dist/chunks/{variant-xw54q2z7.js → persistent-pty-0gdmfj29.js} +3 -3
- package/dist/chunks/{variant-11dqjexa.js → persistent-pty-0jq9fyba.js} +9 -9
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{variant-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-dfr3ajd8.js → persistent-pty-0sk4n78x.js} +19 -19
- package/dist/chunks/{variant-x22gyqrw.js → persistent-pty-189jkc9d.js} +1 -1
- package/dist/chunks/{variant-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-w5rfw0cw.js → persistent-pty-1fd2gft5.js} +15 -15
- package/dist/chunks/{variant-4ck5q7wh.js → persistent-pty-1tmvx3cs.js} +10 -10
- package/dist/chunks/{variant-33w4ejhs.js → persistent-pty-1ygqh575.js} +6 -6
- package/dist/chunks/{variant-4xbh84pg.js → persistent-pty-1z3fhpx8.js} +8 -8
- package/dist/chunks/{variant-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{variant-c6m5d6tv.js → persistent-pty-22keffh1.js} +3 -3
- package/dist/chunks/{variant-9brx4zwk.js → persistent-pty-26njax6j.js} +26 -26
- package/dist/chunks/{variant-4q4pt9sm.js → persistent-pty-28qz5v8e.js} +98 -98
- package/dist/chunks/{variant-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{variant-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-ab9238g2.js → persistent-pty-2d57kztd.js} +6 -6
- package/dist/chunks/{variant-81swgkk7.js → persistent-pty-2fgn2we9.js} +5 -5
- package/dist/chunks/{variant-jg4cr3aq.js → persistent-pty-39gs27gn.js} +42 -42
- package/dist/chunks/{variant-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-bct739vz.js → persistent-pty-3j8sdtpz.js} +4 -4
- package/dist/chunks/{variant-zwvpdwrg.js → persistent-pty-3kf9cyx9.js} +14 -14
- package/dist/chunks/{variant-msvcs4j3.js → persistent-pty-3mhj610p.js} +9 -9
- package/dist/chunks/{variant-mk4ssrj5.js → persistent-pty-3ra5rr95.js} +19 -19
- package/dist/chunks/{variant-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-72ahydd8.js → persistent-pty-3vw9y35t.js} +18 -18
- package/dist/chunks/{variant-r8q8xsr5.js → persistent-pty-3xsfpvq0.js} +20 -20
- package/dist/chunks/persistent-pty-43zmxdyv.js +503 -0
- package/dist/chunks/{variant-xfs1q4xd.js → persistent-pty-47gj1eem.js} +30 -30
- package/dist/chunks/{variant-zd8tz85g.js → persistent-pty-4aztedzn.js} +4 -4
- package/dist/chunks/{variant-ztfaec9a.js → persistent-pty-4v16j8nk.js} +3 -3
- package/dist/chunks/{variant-02qx3nt3.js → persistent-pty-4xc2xt5t.js} +2 -2
- package/dist/chunks/{variant-3104ney4.js → persistent-pty-4xxxtaen.js} +8 -8
- package/dist/chunks/{variant-6prjr0ba.js → persistent-pty-584b7awg.js} +16 -16
- package/dist/chunks/{variant-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-wcaxp10e.js → persistent-pty-5dcqe31d.js} +14 -14
- package/dist/chunks/{variant-965ggptx.js → persistent-pty-5f90fjb2.js} +12 -12
- package/dist/chunks/{variant-xx495gr6.js → persistent-pty-5hj9waw1.js} +11 -11
- package/dist/chunks/{variant-p0thxnh0.js → persistent-pty-5kntwy7m.js} +11 -11
- package/dist/chunks/{variant-xfvm3mak.js → persistent-pty-5mknq4wh.js} +28 -28
- package/dist/chunks/{variant-z4394exs.js → persistent-pty-5nnytrr6.js} +25 -25
- package/dist/chunks/{variant-z3aasmrj.js → persistent-pty-5qdhd6wd.js} +4 -4
- package/dist/chunks/{variant-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-mfhfdr54.js → persistent-pty-64kphnzf.js} +4 -4
- package/dist/chunks/{variant-z9vgre7d.js → persistent-pty-65tm5yk1.js} +13 -13
- package/dist/chunks/{variant-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{variant-ewfmf9yp.js → persistent-pty-675cvrxf.js} +11 -11
- package/dist/chunks/{variant-6h73sxmp.js → persistent-pty-6h73sxmp.js} +1 -1
- package/dist/chunks/{variant-fhes3t1d.js → persistent-pty-6js1jt2x.js} +30 -30
- package/dist/chunks/{variant-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-e5xpd6yj.js → persistent-pty-6z3bcrm7.js} +9 -9
- package/dist/chunks/{variant-esqkvn0e.js → persistent-pty-740qj6em.js} +15 -15
- package/dist/chunks/{variant-2ssmy2pv.js → persistent-pty-7935fwzs.js} +9 -9
- package/dist/chunks/{variant-swz218t1.js → persistent-pty-7aahv9qn.js} +13 -13
- package/dist/chunks/{variant-tvtxd4ef.js → persistent-pty-7aqdbf5b.js} +6 -6
- package/dist/chunks/{variant-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-zb3e93f3.js → persistent-pty-7cpynay4.js} +8 -8
- package/dist/chunks/{variant-ps3v8v0p.js → persistent-pty-7ewmpmc7.js} +17 -17
- package/dist/chunks/{variant-hqejd0fh.js → persistent-pty-7eztrc44.js} +24 -24
- package/dist/chunks/{variant-qahh6mkr.js → persistent-pty-7ga2fv62.js} +11 -11
- package/dist/chunks/{variant-7mk9t2b4.js → persistent-pty-7pach1zh.js} +68 -68
- package/dist/chunks/{variant-v4jcyr56.js → persistent-pty-7st6acyk.js} +11 -11
- package/dist/chunks/{variant-vsqv43av.js → persistent-pty-7szz8ecw.js} +4 -4
- package/dist/chunks/{variant-h6z8d5tn.js → persistent-pty-7z7az0f5.js} +4 -4
- package/dist/chunks/{variant-chrxq3ex.js → persistent-pty-7zx1qa5e.js} +18 -18
- package/dist/chunks/persistent-pty-806pcn4t.js +252 -0
- package/dist/chunks/{variant-tt2d18x6.js → persistent-pty-81ydyt9n.js} +12 -12
- package/dist/chunks/{variant-fmwzdpcj.js → persistent-pty-81ygbb57.js} +24 -24
- package/dist/chunks/{variant-q5vdcker.js → persistent-pty-85w0g9jn.js} +16 -16
- package/dist/chunks/{variant-6ryfpt65.js → persistent-pty-86eq1ywt.js} +2 -2
- package/dist/chunks/{variant-6h4x4393.js → persistent-pty-8cp1dt4b.js} +11 -11
- package/dist/chunks/{variant-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-3n3eb5aa.js → persistent-pty-8f6cy3pb.js} +3 -3
- package/dist/chunks/{variant-3jekz8h8.js → persistent-pty-8fyvcw1c.js} +23 -23
- package/dist/chunks/{variant-jqdmccvh.js → persistent-pty-8hfr5z8m.js} +18 -18
- package/dist/chunks/{variant-dj2t23y0.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-7qq3ahcc.js → persistent-pty-8qh6anns.js} +6 -6
- package/dist/chunks/{variant-b542neky.js → persistent-pty-8wgyvxqj.js} +8 -8
- package/dist/chunks/{variant-14rbk3zc.js → persistent-pty-8xnn2f25.js} +20 -20
- package/dist/chunks/{variant-w49382pb.js → persistent-pty-91p1v22t.js} +8 -8
- package/dist/chunks/{variant-wg4md656.js → persistent-pty-98krwt3q.js} +11 -11
- package/dist/chunks/{variant-m444xqc2.js → persistent-pty-99a88f08.js} +10 -10
- package/dist/chunks/{variant-eyytz2vc.js → persistent-pty-99yv1vdm.js} +12 -12
- package/dist/chunks/{variant-49g4s7y7.js → persistent-pty-9c6vz8r3.js} +6 -6
- package/dist/chunks/{variant-r8fazzcs.js → persistent-pty-9gwgf8zn.js} +34 -34
- package/dist/chunks/{variant-n154eg5w.js → persistent-pty-9kt7wf3c.js} +8 -8
- package/dist/chunks/{variant-d8r4x71c.js → persistent-pty-9y73z4qs.js} +31 -31
- package/dist/chunks/{variant-5c4hm403.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-kavvc4j5.js → persistent-pty-a1gwwkre.js} +47 -47
- package/dist/chunks/{variant-qwwnvr6f.js → persistent-pty-a32n2gyw.js} +11 -11
- package/dist/chunks/{variant-th8ht05d.js → persistent-pty-a379gdqz.js} +18 -18
- package/dist/chunks/{variant-vvh9mfqv.js → persistent-pty-a6t3kjdk.js} +37 -37
- package/dist/chunks/{variant-3jhr2a2t.js → persistent-pty-a70ewb2f.js} +5 -5
- package/dist/chunks/{variant-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-kne8f3cn.js → persistent-pty-ag4rn41e.js} +4 -4
- package/dist/chunks/{variant-qbjfty6d.js → persistent-pty-b0vbrmb4.js} +29 -29
- package/dist/chunks/{variant-dtvsqqr8.js → persistent-pty-b33g5v9z.js} +20 -20
- package/dist/chunks/{variant-npbwcns0.js → persistent-pty-b5re83s5.js} +27 -26
- package/dist/chunks/{variant-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-01qjk1e4.js → persistent-pty-bhnbjyag.js} +14 -14
- package/dist/chunks/{variant-gkb6f2x1.js → persistent-pty-bt8eheyv.js} +29 -29
- package/dist/chunks/{variant-t87q1wma.js → persistent-pty-byhr62qm.js} +9 -9
- package/dist/chunks/{variant-xskn2s6v.js → persistent-pty-c4qm6hzm.js} +18 -18
- package/dist/chunks/{variant-pwjnm3hv.js → persistent-pty-c7cwys1z.js} +32 -32
- package/dist/chunks/{variant-rw27kmkb.js → persistent-pty-c8gzcaps.js} +10 -10
- package/dist/chunks/{variant-0wn1pn7d.js → persistent-pty-cbdc55tj.js} +24 -24
- package/dist/chunks/{variant-m0jqrx5p.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-va5qff5x.js → persistent-pty-cmbqfntm.js} +6 -6
- package/dist/chunks/{variant-7ac170kv.js → persistent-pty-cq37gk0t.js} +4 -4
- package/dist/chunks/{variant-djszqvmq.js → persistent-pty-d4he2qe1.js} +9 -9
- package/dist/chunks/{variant-tda9n49j.js → persistent-pty-d7mmen8h.js} +17 -17
- package/dist/chunks/{variant-79wzcjsa.js → persistent-pty-d7r387ef.js} +6 -6
- package/dist/chunks/{variant-37s12vcn.js → persistent-pty-d87ppnb3.js} +5 -5
- package/dist/chunks/{variant-w44663xc.js → persistent-pty-d8mytp2v.js} +9 -9
- package/dist/chunks/{variant-hja80fqx.js → persistent-pty-dekpyqan.js} +45 -45
- package/dist/chunks/{variant-2j1jcbga.js → persistent-pty-dty6pce2.js} +26 -26
- package/dist/chunks/{variant-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{variant-rnqe883g.js → persistent-pty-e7ff08ah.js} +88 -88
- package/dist/chunks/{variant-cr07tj7n.js → persistent-pty-ead3g9p8.js} +5 -5
- package/dist/chunks/{variant-xhk51xgy.js → persistent-pty-ebpytsbd.js} +47 -47
- package/dist/chunks/{variant-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-2q7rp569.js → persistent-pty-ezpgfgdn.js} +9 -9
- package/dist/chunks/{variant-hrxk1s6s.js → persistent-pty-f22gk9j9.js} +293 -293
- package/dist/chunks/{variant-qvreyy9g.js → persistent-pty-f62qkzqr.js} +5 -5
- package/dist/chunks/{variant-06gv8wbv.js → persistent-pty-f71akrxj.js} +7 -7
- package/dist/chunks/{variant-hdnk95c8.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{variant-7dqw4kz8.js → persistent-pty-fcrkznn8.js} +5 -5
- package/dist/chunks/{variant-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-v9yc49ez.js → persistent-pty-fy2vv4qy.js} +6 -6
- package/dist/chunks/{variant-b09hzw3k.js → persistent-pty-g2yz86wh.js} +2 -2
- package/dist/chunks/{variant-nn70ht8q.js → persistent-pty-g9tzs1c7.js} +28 -28
- package/dist/chunks/{variant-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-3r4kmr0h.js → persistent-pty-ghntyqza.js} +8 -8
- package/dist/chunks/{variant-xef69pp0.js → persistent-pty-gjk270n1.js} +19 -19
- package/dist/chunks/{variant-xmeaynwa.js → persistent-pty-gnkgm067.js} +42 -42
- package/dist/chunks/{variant-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-6ysrkrkr.js → persistent-pty-h2zrj56v.js} +8 -8
- package/dist/chunks/{variant-d2eaxrr9.js → persistent-pty-h4h5c8th.js} +43 -43
- package/dist/chunks/{variant-4dgbcxzg.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{variant-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-1epfs5fg.js → persistent-pty-h8bam43x.js} +11 -11
- package/dist/chunks/{variant-b41tm2qj.js → persistent-pty-h8sqqrf3.js} +21 -21
- package/dist/chunks/{variant-r7cez9p4.js → persistent-pty-hd0qsb0v.js} +13 -13
- package/dist/chunks/{variant-fr3ksnzs.js → persistent-pty-hevvszjq.js} +4 -4
- package/dist/chunks/{variant-v4bfmp8s.js → persistent-pty-hzssqh1d.js} +37 -37
- package/dist/chunks/{variant-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-zq8b9kne.js → persistent-pty-j67awtyy.js} +6 -6
- package/dist/chunks/{variant-a8zr1srk.js → persistent-pty-j6e693f4.js} +11 -11
- package/dist/chunks/{variant-8qy3tpz1.js → persistent-pty-j8pax9gn.js} +60 -60
- package/dist/chunks/{variant-2h81abkb.js → persistent-pty-ja95a0kh.js} +26 -26
- package/dist/chunks/{variant-h5s5g0dq.js → persistent-pty-jar2n8ad.js} +29 -29
- package/dist/chunks/{variant-y1s4hq9c.js → persistent-pty-jc3qcwgj.js} +25 -25
- package/dist/chunks/{variant-g8d3gcyj.js → persistent-pty-jfqtm2ew.js} +7 -7
- package/dist/chunks/{variant-eab9zk3a.js → persistent-pty-jmkpg1tv.js} +1 -1
- package/dist/chunks/{variant-czz7qg73.js → persistent-pty-jn2czc9p.js} +6 -6
- package/dist/chunks/{variant-zse5513f.js → persistent-pty-jv106vc1.js} +20 -20
- package/dist/chunks/{variant-s5met55r.js → persistent-pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{variant-f0429z4s.js → persistent-pty-k252d6tw.js} +34 -34
- package/dist/chunks/{variant-8szzxw8p.js → persistent-pty-kc43h6j1.js} +3 -3
- package/dist/chunks/{variant-qmf7n49c.js → persistent-pty-kee9v82x.js} +11 -11
- package/dist/chunks/{variant-9n6wwvty.js → persistent-pty-ktz5apky.js} +19 -19
- package/dist/chunks/{variant-7k5rzq7b.js → persistent-pty-kxn0m7ef.js} +19 -19
- package/dist/chunks/{variant-6k0fn069.js → persistent-pty-m0gz42vg.js} +30 -30
- package/dist/chunks/{variant-s4vqrt4f.js → persistent-pty-m2px8ay3.js} +18 -18
- package/dist/chunks/{variant-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-nsxy0q5x.js → persistent-pty-m3n5d3yw.js} +4 -4
- package/dist/chunks/{variant-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-zfchs64b.js → persistent-pty-mehmtrpt.js} +22 -22
- package/dist/chunks/{variant-eq1pz5kg.js → persistent-pty-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-0zasd35x.js → persistent-pty-mm7h7sr7.js} +15 -15
- package/dist/chunks/{variant-44ke2mar.js → persistent-pty-mmr7bq34.js} +8 -8
- package/dist/chunks/{variant-qraapvmf.js → persistent-pty-mp87qz32.js} +5 -5
- package/dist/chunks/{variant-me04qd9d.js → persistent-pty-mrm42v82.js} +12 -12
- package/dist/chunks/{variant-mx9vqzsb.js → persistent-pty-mrvjcs5x.js} +6 -6
- package/dist/chunks/{variant-kaj3g59n.js → persistent-pty-mvm6yp9j.js} +11 -11
- package/dist/chunks/{variant-pdt3pyx9.js → persistent-pty-mwzsbcbf.js} +12 -12
- package/dist/chunks/{variant-k79vytfj.js → persistent-pty-n9fty5ck.js} +9 -9
- package/dist/chunks/{variant-s19e73r6.js → persistent-pty-nf01b4ny.js} +1 -1
- package/dist/chunks/{variant-6t5pmk7b.js → persistent-pty-ngc2191d.js} +45 -45
- package/dist/chunks/{variant-p6dvmy6m.js → persistent-pty-nkgdvn7z.js} +8 -8
- package/dist/chunks/{variant-gdk3jkz9.js → persistent-pty-nmzynm19.js} +1 -1
- package/dist/chunks/{variant-nscznvay.js → persistent-pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{variant-p5b9tf5x.js → persistent-pty-nttf9wpn.js} +25 -25
- package/dist/chunks/{variant-yp2x3t23.js → persistent-pty-nxer0yad.js} +4 -4
- package/dist/chunks/{variant-k3c624dm.js → persistent-pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-75mb2dj9.js → persistent-pty-p1h117cf.js} +42 -42
- package/dist/chunks/{variant-e6hmchc5.js → persistent-pty-p1nm93x7.js} +5 -5
- package/dist/chunks/{variant-tbz0fdvh.js → persistent-pty-p28j5sbe.js} +5 -5
- package/dist/chunks/{variant-g0445xdp.js → persistent-pty-p37cw4rj.js} +8 -8
- package/dist/chunks/{variant-vh8c0j52.js → persistent-pty-p3yqgy1f.js} +2 -2
- package/dist/chunks/{variant-za3dectt.js → persistent-pty-p7sz26rr.js} +143 -143
- package/dist/chunks/{variant-cszjtp1q.js → persistent-pty-p9rwa85v.js} +20 -20
- package/dist/chunks/{variant-c472f307.js → persistent-pty-peg4cznj.js} +32 -32
- package/dist/chunks/{variant-bx70xd4a.js → persistent-pty-pg06qq32.js} +33 -33
- package/dist/chunks/{variant-z5g6zmez.js → persistent-pty-phcgjfvp.js} +18 -18
- package/dist/chunks/{variant-x8zxr43e.js → persistent-pty-pjv150s7.js} +31 -31
- package/dist/chunks/{variant-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{variant-qt563qnh.js → persistent-pty-pq7b6aj3.js} +13 -13
- package/dist/chunks/{variant-qh96mzky.js → persistent-pty-q8gd89mn.js} +12 -12
- package/dist/chunks/{variant-kgx759jk.js → persistent-pty-qasfmn61.js} +15 -15
- package/dist/chunks/{variant-8f8kbx59.js → persistent-pty-qc6v7e8r.js} +32 -32
- package/dist/chunks/persistent-pty-qdyb70sk.js +18 -0
- package/dist/chunks/{variant-337xk0e5.js → persistent-pty-qejk2hns.js} +27 -27
- package/dist/chunks/{variant-4h9018w9.js → persistent-pty-qetnz3qf.js} +7 -7
- package/dist/chunks/{variant-xfkkasph.js → persistent-pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{variant-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-2gjtp3w6.js → persistent-pty-r2e87s7e.js} +8 -8
- package/dist/chunks/{variant-3jzbymb5.js → persistent-pty-r5eg2mbx.js} +5 -5
- package/dist/chunks/{variant-j502ch8n.js → persistent-pty-r5wczv23.js} +33 -33
- package/dist/chunks/{variant-gm199810.js → persistent-pty-r7dcqyc4.js} +12 -12
- package/dist/chunks/{variant-aeh5t7p2.js → persistent-pty-rawmkaew.js} +23 -23
- package/dist/chunks/{variant-6fgkhyxm.js → persistent-pty-rd4v8kr9.js} +4 -4
- package/dist/chunks/{variant-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-s8d7rejh.js → persistent-pty-rhjbct0v.js} +4 -4
- package/dist/chunks/{variant-racw9w49.js → persistent-pty-rjhv0x2x.js} +12 -12
- package/dist/chunks/{variant-27yn9rhw.js → persistent-pty-rmc194cy.js} +18 -18
- package/dist/chunks/{variant-mca23bg6.js → persistent-pty-s0qgnfzw.js} +3 -3
- package/dist/chunks/{variant-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{variant-a8bn8zg0.js → persistent-pty-s8j6jbjj.js} +21 -21
- package/dist/chunks/{variant-zab19jja.js → persistent-pty-scv7p57g.js} +9 -9
- package/dist/chunks/{variant-p2mk4npz.js → persistent-pty-sp0hs84w.js} +27 -27
- package/dist/chunks/{variant-8a1xt0qe.js → persistent-pty-sqsf5w9p.js} +24 -24
- package/dist/chunks/{variant-rbyp8db0.js → persistent-pty-t6q9b2zv.js} +19 -19
- package/dist/chunks/{variant-7rqyb9xq.js → persistent-pty-tapvjybg.js} +21 -21
- package/dist/chunks/{variant-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{variant-5jah1aqk.js → persistent-pty-th7zbfdx.js} +30 -30
- package/dist/chunks/{variant-gzfbe2d4.js → persistent-pty-tkcxk75v.js} +23 -23
- package/dist/chunks/{variant-dt1f0v0y.js → persistent-pty-tkst0gkj.js} +6 -6
- package/dist/chunks/{variant-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-1amz2eg5.js → persistent-pty-v41623e8.js} +25 -25
- package/dist/chunks/{variant-nb9p6b26.js → persistent-pty-vbfgae2j.js} +4 -4
- package/dist/chunks/{variant-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-b838jk36.js → persistent-pty-vx8qjqqy.js} +7 -7
- package/dist/chunks/{variant-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-8pejhe55.js → persistent-pty-w22d05gm.js} +42 -42
- package/dist/chunks/{variant-h5th8w0s.js → persistent-pty-w24sfk5b.js} +7 -7
- package/dist/chunks/{variant-a10y8grx.js → persistent-pty-w2xfqmzm.js} +13 -13
- package/dist/chunks/{variant-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-pvaf78f7.js → persistent-pty-w6h4kwe3.js} +14 -14
- package/dist/chunks/{variant-bdg3jkjk.js → persistent-pty-wd30r3h7.js} +13 -13
- package/dist/chunks/{variant-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{variant-8ppvdbde.js → persistent-pty-wjyv1427.js} +21 -21
- package/dist/chunks/{variant-30dywwj6.js → persistent-pty-wn7f7h9x.js} +11 -11
- package/dist/chunks/{variant-2vgzs72b.js → persistent-pty-wr7ps67x.js} +5 -5
- package/dist/chunks/{variant-1mmn3t24.js → persistent-pty-wy6hpy23.js} +11 -11
- package/dist/chunks/{variant-fch79rh9.js → persistent-pty-wy8b5sm2.js} +1 -1
- package/dist/chunks/{variant-3mnsrdsg.js → persistent-pty-x1bw9y7f.js} +16 -16
- package/dist/chunks/{variant-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-k0dxc2e8.js → persistent-pty-x2a9gtha.js} +6 -6
- package/dist/chunks/{variant-adtdcqb7.js → persistent-pty-x2g3fynt.js} +37 -37
- package/dist/chunks/{variant-y19c3zcv.js → persistent-pty-x9mtwtp0.js} +4 -4
- package/dist/chunks/{variant-pv2wxbd1.js → persistent-pty-xefnkfpr.js} +33 -33
- package/dist/chunks/{variant-z08d3gkn.js → persistent-pty-xk77aqwy.js} +8 -8
- package/dist/chunks/{variant-y6f0p4jw.js → persistent-pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{variant-s5v1hbc7.js → persistent-pty-xvjd5qxe.js} +40 -40
- package/dist/chunks/{variant-8qmcac2p.js → persistent-pty-xwfq1nez.js} +9 -9
- package/dist/chunks/{variant-21hdf7f9.js → persistent-pty-xwfr1kp3.js} +1 -1
- package/dist/chunks/{variant-ky1ggc4k.js → persistent-pty-xwt1kq35.js} +11 -11
- package/dist/chunks/{variant-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{variant-evh5ncab.js → persistent-pty-yf57fzwh.js} +39 -39
- package/dist/chunks/{variant-4fgf37wt.js → persistent-pty-yff54yer.js} +13 -13
- package/dist/chunks/{variant-x22ev0hb.js → persistent-pty-ygrvwp4d.js} +21 -21
- package/dist/chunks/{variant-rwdxaze6.js → persistent-pty-yqdpmpyv.js} +3 -3
- package/dist/chunks/{variant-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-27m138w7.js → persistent-pty-ys0rvgwx.js} +24 -24
- package/dist/chunks/{variant-px7pwtkk.js → persistent-pty-ysckq8n5.js} +9 -9
- package/dist/chunks/{variant-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/persistent-pty-z2s8v20b.js +26 -0
- package/dist/chunks/{variant-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-t65f74fp.js → persistent-pty-zpwvqkne.js} +28 -28
- package/dist/chunks/{variant-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zxq2ej10.js → persistent-pty-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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/integration/connection.d.ts +2 -0
- package/dist/types/integration.d.ts +1 -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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-9nx3epfh.js +0 -26
- package/dist/chunks/variant-by5v678g.js +0 -18
- package/dist/chunks/variant-mn76vrx0.js +0 -252
- package/dist/chunks/variant-wb55je22.js +0 -503
- package/dist/chunks/variant-z926abd4.js +0 -4
- /package/dist/chunks/{variant-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-p9rwa85v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service75
|
|
4
|
+
} from "./persistent-pty-b5re83s5.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service75;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f22gk9j9.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin12 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin15 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin12, exports_exa };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./persistent-pty-x1bw9y7f.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event21
|
|
9
|
+
} from "./persistent-pty-pg06qq32.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-b5re83s5.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./persistent-pty-f22gk9j9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./persistent-pty-ygrvwp4d.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-kxn0m7ef.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./persistent-pty-j6e693f4.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rd4v8kr9.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./persistent-pty-39gs27gn.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin33
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin33 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service70;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin33, exports_agent2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-xkhfjrgz.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-6z3bcrm7.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-cq37gk0t.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-64kphnzf.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./persistent-pty-39gs27gn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./persistent-pty-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin38 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin31, exports_location_watcher2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./persistent-pty-x1bw9y7f.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-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: () => Event5,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options3,
|
|
30
|
+
Service: () => Service36,
|
|
31
|
+
configured: () => configured3,
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node38
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event5 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event5.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 layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service36.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured3(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service36,
|
|
110
|
+
layer: layer15(options),
|
|
111
|
+
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node38 = configured3();
|
|
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, Event5, Options3, Service36, layer15, configured3, node38, exports_instruction_discovery };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./persistent-pty-7ga2fv62.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./persistent-pty-x1bw9y7f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service31
|
|
9
|
+
} from "./persistent-pty-mrvjcs5x.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service51
|
|
16
|
+
} from "./persistent-pty-h8sqqrf3.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-6z3bcrm7.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service31;
|
|
46
|
+
const database = yield* Service84;
|
|
47
|
+
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service51;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service31;
|
|
78
|
+
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service51;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|