@opencode/core 0.0.0-dev-20303 → 0.0.0-dev-20308
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 +73 -73
- package/dist/chunks/{ripgrep-35agz59w.js → job-0gaj4617.js} +6 -6
- package/dist/chunks/{ripgrep-t550f9t1.js → job-0gdmqesm.js} +4 -4
- package/dist/chunks/{ripgrep-dr2s0fjn.js → job-0hj7f8b1.js} +12 -12
- package/dist/chunks/{ripgrep-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-eqd5gpxy.js → job-1h677gbv.js} +44 -44
- package/dist/chunks/{ripgrep-mwyh8wfh.js → job-1rv33rkb.js} +29 -29
- package/dist/chunks/{ripgrep-t849abxh.js → job-1sxx6fsp.js} +12 -11
- package/dist/chunks/{ripgrep-x591492r.js → job-1z0m13e0.js} +17 -17
- package/dist/chunks/{ripgrep-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-pttkx1dj.js → job-24p25g07.js} +24 -24
- package/dist/chunks/{ripgrep-z63w68vq.js → job-29x78va6.js} +6 -6
- package/dist/chunks/{ripgrep-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-2qtr0tge.js → job-2ahzp3mf.js} +45 -45
- package/dist/chunks/{ripgrep-wybk36vp.js → job-2cbr8e0c.js} +10 -10
- package/dist/chunks/{ripgrep-sm965ndy.js → job-2n295dmf.js} +8 -8
- package/dist/chunks/{ripgrep-wj1rks9h.js → job-2n4xx9gy.js} +34 -34
- package/dist/chunks/{ripgrep-v5fx191f.js → job-2vbzmx28.js} +28 -28
- package/dist/chunks/{ripgrep-zmyzpzwz.js → job-2wgne18z.js} +5 -5
- package/dist/chunks/{ripgrep-nn5bpfje.js → job-2wmg4f4f.js} +9 -9
- package/dist/chunks/{ripgrep-e4dzh796.js → job-32fmsm3t.js} +9 -9
- package/dist/chunks/{ripgrep-1jd7dvgb.js → job-3akh1e1y.js} +11 -11
- package/dist/chunks/{ripgrep-dj9sq318.js → job-3cfzdc8e.js} +5 -5
- package/dist/chunks/{ripgrep-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-pa8pe2x7.js → job-3hfr6h8q.js} +6 -6
- package/dist/chunks/{ripgrep-sd5f6jdk.js → job-3ppptnan.js} +6 -6
- package/dist/chunks/{ripgrep-7j2mf0b2.js → job-3qr6z643.js} +31 -31
- package/dist/chunks/{ripgrep-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-xsbrecyh.js → job-424p9vrf.js} +12 -12
- package/dist/chunks/{ripgrep-6ejtffh2.js → job-45yvnd99.js} +13 -13
- package/dist/chunks/{ripgrep-h2r7bbkd.js → job-49w8mb30.js} +11 -11
- package/dist/chunks/{ripgrep-j726xjcb.js → job-4j3r6a40.js} +32 -32
- package/dist/chunks/{ripgrep-pvvafe22.js → job-4j555vrs.js} +8 -8
- package/dist/chunks/job-4pea7kwr.js +252 -0
- package/dist/chunks/{ripgrep-552s6kfz.js → job-4taxxdqg.js} +15 -15
- package/dist/chunks/{ripgrep-mtf32xg9.js → job-50qj6gdt.js} +11 -11
- package/dist/chunks/{ripgrep-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-9gjvwznx.js → job-553y2gq9.js} +27 -27
- package/dist/chunks/{ripgrep-1ygqh575.js → job-56gdpj1q.js} +9 -9
- package/dist/chunks/{ripgrep-w1ad28wa.js → job-57e9z27j.js} +8 -8
- package/dist/chunks/{ripgrep-57ez7d0k.js → job-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-djszqvmq.js → job-5d607bsg.js} +9 -9
- package/dist/chunks/{ripgrep-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-s5hrj64x.js → job-5e8mqnd8.js} +17 -17
- package/dist/chunks/{ripgrep-rkdvqggb.js → job-5hx7d1d6.js} +5 -5
- package/dist/chunks/{ripgrep-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-4858gwxg.js → job-5w7ejsbb.js} +43 -43
- package/dist/chunks/{ripgrep-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-yyksnw28.js → job-69jpdfym.js} +25 -25
- package/dist/chunks/{ripgrep-v6695139.js → job-6jhkbw0q.js} +11 -11
- package/dist/chunks/{ripgrep-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-rkprpv83.js → job-6pc27hjz.js} +6 -6
- package/dist/chunks/{ripgrep-amjwwp15.js → job-6rj7h2ys.js} +22 -22
- package/dist/chunks/{ripgrep-q1v5hekz.js → job-6za4hq8m.js} +11 -11
- package/dist/chunks/{ripgrep-3c4e9bh1.js → job-6zx481ey.js} +7 -7
- package/dist/chunks/{ripgrep-aa6tf4fy.js → job-71wqcp91.js} +20 -20
- package/dist/chunks/{ripgrep-8djhgsab.js → job-7agfqtw3.js} +25 -25
- package/dist/chunks/{ripgrep-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-7dqw4kz8.js → job-7dqw4kz8.js} +1 -1
- package/dist/chunks/{ripgrep-2x0wkexj.js → job-7e4xncrr.js} +33 -33
- package/dist/chunks/{ripgrep-8q7cq0y1.js → job-7w99qc9d.js} +3 -3
- package/dist/chunks/{ripgrep-5vqak28j.js → job-7xzey4tr.js} +15 -15
- package/dist/chunks/{ripgrep-v9htzwy6.js → job-7zfqyb6c.js} +43 -43
- package/dist/chunks/{ripgrep-kb6vbnxp.js → job-7zpeh0yx.js} +4 -4
- package/dist/chunks/{ripgrep-fj137pk4.js → job-83v5g6vg.js} +4 -4
- package/dist/chunks/{ripgrep-w1eejvng.js → job-84txncab.js} +5 -5
- package/dist/chunks/{ripgrep-dtyy8xh0.js → job-89279mjp.js} +18 -18
- package/dist/chunks/{ripgrep-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-eefdys5x.js → job-8p0n7j1z.js} +2 -2
- package/dist/chunks/{ripgrep-3p17jnne.js → job-8t9vgpv1.js} +11 -11
- package/dist/chunks/{ripgrep-kmjdna7m.js → job-8tjazxg5.js} +47 -47
- package/dist/chunks/{ripgrep-ycg97etn.js → job-8v096v85.js} +145 -145
- package/dist/chunks/{ripgrep-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-3es9bxre.js → job-9jg3j1z9.js} +17 -17
- package/dist/chunks/{ripgrep-qcbzzkxa.js → job-9s00xzx6.js} +32 -32
- package/dist/chunks/{ripgrep-srep0201.js → job-9vzhd98t.js} +48 -48
- package/dist/chunks/{ripgrep-zrq8kphx.js → job-9y0w708y.js} +8 -8
- package/dist/chunks/{ripgrep-h93zm1px.js → job-a0gtteda.js} +7 -7
- package/dist/chunks/{ripgrep-4438m4a7.js → job-a17bsvhh.js} +20 -20
- package/dist/chunks/{ripgrep-8wbxkt1z.js → job-a2rpfkac.js} +4 -4
- package/dist/chunks/{ripgrep-kcetpk2c.js → job-a493fwmx.js} +12 -12
- package/dist/chunks/{ripgrep-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-8epfg41c.js → job-ab780k9s.js} +8 -8
- package/dist/chunks/{ripgrep-w8wd44rg.js → job-ahth1nzs.js} +16 -16
- package/dist/chunks/{ripgrep-9tn9hv36.js → job-arzm1sew.js} +24 -24
- package/dist/chunks/{ripgrep-jpz1sap8.js → job-axdw2ewc.js} +16 -16
- package/dist/chunks/{ripgrep-r9w59ptg.js → job-azm3d0kz.js} +12 -12
- package/dist/chunks/{ripgrep-cztphjx7.js → job-b5a9p79a.js} +335 -335
- package/dist/chunks/{ripgrep-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-jkfm4w29.js → job-b8mr6ake.js} +36 -36
- package/dist/chunks/{ripgrep-yhc2xmq5.js → job-bnzwt7hj.js} +1 -1
- package/dist/chunks/{ripgrep-qfchpyts.js → job-bpra0bax.js} +27 -27
- package/dist/chunks/{ripgrep-y1cgxa56.js → job-bsdkd9h2.js} +16 -16
- package/dist/chunks/{ripgrep-w2y23yj1.js → job-btr6y0gg.js} +13 -13
- package/dist/chunks/{ripgrep-8qxm69fb.js → job-bz16qpmj.js} +16 -16
- package/dist/chunks/{ripgrep-0996nyz8.js → job-bzgcn0jp.js} +9 -9
- package/dist/chunks/{ripgrep-mjpfq375.js → job-c032mhjs.js} +18 -18
- package/dist/chunks/{ripgrep-8vxvqh3p.js → job-c08qq4nr.js} +23 -23
- package/dist/chunks/{ripgrep-pf2cvmpq.js → job-c1dm0a9y.js} +75 -75
- package/dist/chunks/{ripgrep-ngymw408.js → job-c42r5b8w.js} +4 -4
- package/dist/chunks/{ripgrep-qa3v0gpg.js → job-c45hf4m4.js} +24 -24
- package/dist/chunks/{ripgrep-k8e0krnc.js → job-c576t1j6.js} +6 -6
- package/dist/chunks/{ripgrep-e65wgfyf.js → job-c6h0kh0m.js} +13 -13
- package/dist/chunks/{ripgrep-gmfetzq4.js → job-ce1apvbh.js} +43 -35
- package/dist/chunks/{ripgrep-r2rgjgj7.js → job-ck6z855k.js} +33 -33
- package/dist/chunks/{ripgrep-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-d9wxm2fe.js → job-cpjznzh0.js} +8 -8
- package/dist/chunks/{ripgrep-d450k981.js → job-cy2kmkqe.js} +8 -8
- package/dist/chunks/{ripgrep-k1qrnqst.js → job-d2094b0z.js} +8 -8
- package/dist/chunks/{ripgrep-8jsvkn40.js → job-dkjrz643.js} +33 -33
- package/dist/chunks/{ripgrep-drwq78ky.js → job-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-4gr8y5nf.js → job-dve1wy78.js} +23 -23
- package/dist/chunks/{ripgrep-695yb3ne.js → job-e0sne4y3.js} +22 -22
- package/dist/chunks/{ripgrep-5qd3pb7m.js → job-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-p97ze781.js → job-e4pf6x0c.js} +15 -15
- package/dist/chunks/{ripgrep-632bft3r.js → job-e8qf31tm.js} +19 -19
- package/dist/chunks/{ripgrep-0f9afca0.js → job-ead3g9p8.js} +5 -5
- package/dist/chunks/{ripgrep-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-n0gf5ey7.js → job-ee7065sf.js} +21 -21
- package/dist/chunks/{ripgrep-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-rk6ps10a.js → job-egyycqd6.js} +3 -3
- package/dist/chunks/{ripgrep-qzqedjgs.js → job-ejjr4d4a.js} +28 -28
- package/dist/chunks/{ripgrep-n50qm4s2.js → job-en27skky.js} +44 -44
- package/dist/chunks/{ripgrep-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-f7xy0jcj.js → job-ewhr9vm8.js} +15 -15
- package/dist/chunks/{ripgrep-pqcvfzvm.js → job-ezx3pmvp.js} +36 -36
- package/dist/chunks/{ripgrep-dvs6zpk2.js → job-f9121hkg.js} +45 -45
- package/dist/chunks/{ripgrep-nqfwyc43.js → job-fdty3bfe.js} +8 -8
- package/dist/chunks/{ripgrep-8gy77n4q.js → job-fe76aby9.js} +12 -12
- package/dist/chunks/{ripgrep-cx34d9wd.js → job-ffd8rhrh.js} +9 -9
- package/dist/chunks/{ripgrep-dq3vednk.js → job-fm3ea91t.js} +18 -18
- package/dist/chunks/{ripgrep-92z2dgw1.js → job-fmzdq5kc.js} +1 -1
- package/dist/chunks/{ripgrep-pmg28md7.js → job-ftckbrn0.js} +1 -1
- package/dist/chunks/{ripgrep-px76j0pk.js → job-fw181sc9.js} +9 -9
- package/dist/chunks/{ripgrep-n3fk10xz.js → job-fz9k5gme.js} +32 -32
- package/dist/chunks/{ripgrep-xvp1j2dc.js → job-g5agzp2h.js} +5 -5
- package/dist/chunks/{ripgrep-q13923st.js → job-g60qj5yf.js} +2 -2
- package/dist/chunks/{ripgrep-00bkszwx.js → job-g6y0qv04.js} +23 -23
- package/dist/chunks/{ripgrep-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-q26n4fcx.js → job-gecfa7ak.js} +14 -14
- package/dist/chunks/{ripgrep-f6ejcacf.js → job-gg96jh64.js} +34 -34
- package/dist/chunks/{ripgrep-tk70hm4f.js → job-gnf9h2c6.js} +29 -29
- package/dist/chunks/{ripgrep-ttqh24zm.js → job-gst7axd9.js} +4 -4
- package/dist/chunks/{ripgrep-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-x7xnx0we.js → job-gv91p32f.js} +20 -20
- package/dist/chunks/{ripgrep-k40x70x4.js → job-gvtnnfzn.js} +8 -8
- package/dist/chunks/{ripgrep-6ne0j7pm.js → job-h1ggmepm.js} +6 -6
- package/dist/chunks/{ripgrep-hbyhqfhs.js → job-h4z1mxff.js} +5 -5
- package/dist/chunks/{ripgrep-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-3v1h8cz5.js → job-h8vx9wfd.js} +55 -55
- package/dist/chunks/{ripgrep-c35597j6.js → job-h9wp8z5w.js} +4 -4
- package/dist/chunks/{ripgrep-m4v4sst7.js → job-hf93yzgy.js} +29 -29
- package/dist/chunks/{ripgrep-hzxzc04q.js → job-hgy094zc.js} +26 -26
- package/dist/chunks/{ripgrep-tdmq7741.js → job-hseftdk9.js} +22 -22
- package/dist/chunks/{ripgrep-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-zbzhtaz8.js → job-jghm3nr4.js} +25 -25
- package/dist/chunks/{ripgrep-2pdg46mn.js → job-jgqjabpd.js} +9 -9
- package/dist/chunks/{ripgrep-zexvq6re.js → job-jhc88c4z.js} +29 -29
- package/dist/chunks/{ripgrep-sfpzfcnw.js → job-jnjryw51.js} +1 -1
- package/dist/chunks/job-kb6w2wmy.js +26 -0
- package/dist/chunks/{ripgrep-0939078r.js → job-kc51kk61.js} +1 -1
- package/dist/chunks/{ripgrep-bhzbay2t.js → job-kjaxnezw.js} +1 -1
- package/dist/chunks/{ripgrep-qbv4sgsg.js → job-kjf646hj.js} +28 -28
- package/dist/chunks/{ripgrep-tjedn1bk.js → job-kkp8zx71.js} +4 -4
- package/dist/chunks/{ripgrep-kb333kjr.js → job-kmj2q1se.js} +9 -9
- package/dist/chunks/{ripgrep-2t95j9c0.js → job-kqmyp3gw.js} +25 -25
- package/dist/chunks/{ripgrep-qx1x9vga.js → job-kse6dtet.js} +22 -22
- package/dist/chunks/{ripgrep-q9m9wzt0.js → job-m0vxh377.js} +15 -15
- package/dist/chunks/{ripgrep-zd5925e4.js → job-m21dq93q.js} +10 -10
- package/dist/chunks/{ripgrep-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-3kkw8qnw.js → job-m7mmez02.js} +24 -24
- package/dist/chunks/{ripgrep-zwet3d57.js → job-m9h1p2a5.js} +22 -22
- package/dist/chunks/{ripgrep-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-ab4nhn8b.js → job-mfzrfzpx.js} +6 -6
- package/dist/chunks/{ripgrep-ay7z0nzh.js → job-mhmncbfj.js} +13 -13
- package/dist/chunks/{ripgrep-3skt28fc.js → job-mjwdsdr5.js} +3 -3
- package/dist/chunks/{ripgrep-18qa6r1n.js → job-mk289cw7.js} +16 -16
- package/dist/chunks/{ripgrep-qwhsc8p7.js → job-mnyzats1.js} +18 -18
- package/dist/chunks/{ripgrep-3y377wv9.js → job-mpk0rfs5.js} +4 -4
- package/dist/chunks/{ripgrep-73tb2d7t.js → job-mvfsc1pv.js} +3 -3
- package/dist/chunks/{ripgrep-z1t4ccqy.js → job-n5zrq1fr.js} +8 -8
- package/dist/chunks/{ripgrep-ts8814z6.js → job-n7ty5vx1.js} +16 -16
- package/dist/chunks/{ripgrep-d21fb1vq.js → job-nge20mvg.js} +13 -13
- package/dist/chunks/{ripgrep-4k5pyaj2.js → job-nn61gcb9.js} +10 -10
- package/dist/chunks/{ripgrep-5frpvc34.js → job-nng2ktcm.js} +2 -2
- package/dist/chunks/{ripgrep-d8s5zaak.js → job-nx6sjzs2.js} +15 -15
- package/dist/chunks/{ripgrep-0ahrpcjw.js → job-ny1qfqm5.js} +14 -14
- package/dist/chunks/{ripgrep-zxf6vy87.js → job-nyhht397.js} +12 -12
- package/dist/chunks/{ripgrep-k3c624dm.js → job-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-dc0h2f5m.js → job-pdttqtx4.js} +10 -10
- package/dist/chunks/{ripgrep-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-bs1d3dhn.js → job-prse58hf.js} +3 -3
- package/dist/chunks/{ripgrep-whp3wsjn.js → job-pvprqpm2.js} +11 -11
- package/dist/chunks/{ripgrep-pxvtywqb.js → job-pyg39aa7.js} +11 -11
- package/dist/chunks/{ripgrep-2xqghjp6.js → job-q2x6er7s.js} +3 -3
- package/dist/chunks/job-q509s3k3.js +18 -0
- package/dist/chunks/{ripgrep-febda8v4.js → job-q8et3fat.js} +17 -17
- package/dist/chunks/{ripgrep-74a0hazz.js → job-qamphbdd.js} +9 -9
- package/dist/chunks/{ripgrep-1m0xqqrr.js → job-qbs5cpq3.js} +11 -11
- package/dist/chunks/{ripgrep-sj415v3s.js → job-qdgqbd7a.js} +5 -5
- package/dist/chunks/{ripgrep-ff3zzamp.js → job-qr2xy9an.js} +33 -33
- package/dist/chunks/{ripgrep-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-bgxcxs0p.js → job-qte5z7bc.js} +5 -5
- package/dist/chunks/{ripgrep-5hcrxyky.js → job-qtnm96rr.js} +6 -6
- package/dist/chunks/{ripgrep-v5dkyp31.js → job-ratrq7cm.js} +4 -4
- package/dist/chunks/{ripgrep-zn4xb62a.js → job-rbqxe5fv.js} +18 -18
- package/dist/chunks/{ripgrep-je856w56.js → job-rbvtz9k7.js} +11 -11
- package/dist/chunks/{ripgrep-v89pjvzk.js → job-rd1vtjw6.js} +8 -8
- package/dist/chunks/{ripgrep-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-ttpyk6f9.js → job-rjnyj61z.js} +9 -9
- package/dist/chunks/{ripgrep-q6kv5hce.js → job-rq427kk0.js} +30 -30
- package/dist/chunks/{ripgrep-rthtq9ap.js → job-rrmr5xa7.js} +25 -25
- package/dist/chunks/{ripgrep-nsth5a41.js → job-rzmmsg92.js} +37 -37
- package/dist/chunks/{ripgrep-jzq9sbf8.js → job-rzyvhj68.js} +40 -40
- package/dist/chunks/{ripgrep-yrznvahk.js → job-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-zrc0yy2v.js → job-s4g57b9r.js} +28 -28
- package/dist/chunks/{ripgrep-e0rfdckv.js → job-s7j3avty.js} +15 -15
- package/dist/chunks/{ripgrep-jtkxxjqx.js → job-sa48se28.js} +18 -18
- package/dist/chunks/{ripgrep-bm4pzggq.js → job-sp081sh0.js} +29 -29
- package/dist/chunks/{ripgrep-yxj4ckh3.js → job-ssmfn4td.js} +17 -17
- package/dist/chunks/{ripgrep-1d3bftpa.js → job-sxv5e7yt.js} +11 -11
- package/dist/chunks/{ripgrep-ckr8yqr6.js → job-t33x4pzp.js} +3 -3
- package/dist/chunks/{ripgrep-jw80jp6b.js → job-t51qk8jz.js} +21 -21
- package/dist/chunks/{ripgrep-jr0j7mve.js → job-t6msp11s.js} +6 -6
- package/dist/chunks/{ripgrep-bea85hdf.js → job-t6z4h4ef.js} +3 -3
- package/dist/chunks/{ripgrep-a2tjj438.js → job-t8ss1db2.js} +90 -90
- package/dist/chunks/{ripgrep-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-n1ka8r9d.js → job-tazp3vs0.js} +4 -4
- package/dist/chunks/{ripgrep-89znhe33.js → job-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-fk34k8b0.js → job-tdd7qn19.js} +88 -88
- package/dist/chunks/{ripgrep-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-5gxtf2ep.js → job-thzwq1j5.js} +27 -27
- package/dist/chunks/{ripgrep-37m9xwpn.js → job-tk8jge9n.js} +26 -26
- package/dist/chunks/{ripgrep-fq5zwzwv.js → job-ttqx45f3.js} +32 -32
- package/dist/chunks/{ripgrep-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-k06t1zgt.js → job-txz9h06q.js} +13 -13
- package/dist/chunks/{ripgrep-4nj6keg1.js → job-v4m9838g.js} +18 -18
- package/dist/chunks/{ripgrep-vncycja5.js → job-ve4pfa0n.js} +4 -4
- package/dist/chunks/{ripgrep-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-szsbf3na.js → job-vt0hsv47.js} +4 -4
- package/dist/chunks/{ripgrep-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-0b5t2wwf.js → job-w0hb1wcw.js} +6 -6
- package/dist/chunks/{ripgrep-wpzekwss.js → job-w0ncza3d.js} +6 -6
- package/dist/chunks/{ripgrep-nhvjymvq.js → job-w0q98c30.js} +21 -21
- package/dist/chunks/{ripgrep-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-rnk4bdv4.js → job-wevb95zm.js} +21 -21
- package/dist/chunks/{ripgrep-ag1tg3gv.js → job-wggb31sn.js} +30 -30
- package/dist/chunks/{ripgrep-31wx1wqg.js → job-wr2tdx6k.js} +26 -23
- package/dist/chunks/{ripgrep-9x50181g.js → job-wxgdnn8d.js} +12 -12
- package/dist/chunks/{ripgrep-ytbta4pq.js → job-wy3g45e0.js} +4 -4
- package/dist/chunks/{ripgrep-qrgme6ew.js → job-wyy93379.js} +9 -9
- package/dist/chunks/{ripgrep-bahgfxtd.js → job-x0asfvcp.js} +26 -26
- package/dist/chunks/{ripgrep-ws6q902r.js → job-x174gykf.js} +3 -3
- package/dist/chunks/{ripgrep-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-j6rk38x8.js → job-x3drdvdf.js} +7 -7
- package/dist/chunks/{ripgrep-4pdcrpe9.js → job-xe86m5q7.js} +12 -12
- package/dist/chunks/{ripgrep-m2d0j7c0.js → job-xk747vep.js} +9 -9
- package/dist/chunks/{ripgrep-xkntkrq7.js → job-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-0j9j0cr0.js → job-xtnp6528.js} +22 -22
- package/dist/chunks/{ripgrep-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-b1k697tw.js → job-y1s1zzj0.js} +9 -9
- package/dist/chunks/{ripgrep-m74y7a9x.js → job-y4edekpm.js} +16 -16
- package/dist/chunks/{ripgrep-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-r7nsrefv.js → job-ydgy0jv4.js} +6 -6
- package/dist/chunks/{ripgrep-7y05g5y6.js → job-yg1ffw44.js} +2 -2
- package/dist/chunks/{ripgrep-pnh2hy2c.js → job-yhe384nz.js} +23 -23
- package/dist/chunks/{ripgrep-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-1nkg8qc4.js → job-ystb885c.js} +12 -12
- package/dist/chunks/{ripgrep-deajr4zv.js → job-yt1pgjeb.js} +11 -11
- package/dist/chunks/{ripgrep-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-h3whq8hs.js → job-zamxevfx.js} +5 -5
- package/dist/chunks/{ripgrep-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-fbxnn3zg.js → job-zkb4vf58.js} +41 -41
- package/dist/chunks/{ripgrep-zgfpqdce.js → job-zm7jd1e6.js} +51 -51
- package/dist/chunks/{ripgrep-fp2xarvc.js → job-znsx74x0.js} +1 -1
- package/dist/chunks/{ripgrep-gvrdb957.js → job-zpafchak.js} +11 -11
- package/dist/chunks/{ripgrep-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +74 -74
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- 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 +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- 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 +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +3 -3
- 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 +7 -7
- 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 +122 -122
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- 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 +120 -120
- 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 +354 -354
- 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 +6 -6
- 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 +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- 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 +135 -135
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 -90
- 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 +3 -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 +170 -170
- 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 +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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/credential.d.ts +6 -1
- 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 +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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/ripgrep-38phvaps.js +0 -252
- package/dist/chunks/ripgrep-9zdhvgqs.js +0 -18
- package/dist/chunks/ripgrep-pwr21gwd.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./job-a493fwmx.js";
|
|
1
5
|
import {
|
|
2
6
|
Service80,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node82
|
|
8
|
-
} from "./ripgrep-q26n4fcx.js";
|
|
8
|
+
} from "./job-gecfa7ak.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service64,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node67
|
|
13
|
+
} from "./job-kse6dtet.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event8,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID3,
|
|
28
|
+
Info: () => Info9,
|
|
29
|
+
NotFoundError: () => NotFoundError5,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service42,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID3 = Pty.ID;
|
|
43
|
+
var Info9 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID3
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service42 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service83;
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service64;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID3.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service42.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node44 = makeLocationNode({
|
|
273
|
+
service: Service42,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node87, node84, node67]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID3, Info9, CreateInput3, UpdateInput2, NotFoundError5, ExitedError2, Service42, node44, exports_pty, Event8 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node64
|
|
4
|
+
} from "./job-71wqcp91.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./job-gecfa7ak.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./job-2ahzp3mf.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node4
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service60;
|
|
40
|
+
const watcher = yield* Service61;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node4 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node63, FSUtil.node, node64, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer4, node4, empty2, exports_source };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./job-a493fwmx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./job-gecfa7ak.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service20
|
|
10
|
+
} from "./job-zm7jd1e6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin44 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service20;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin44, exports_command2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./job-gecfa7ak.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./job-2ahzp3mf.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-hf93yzgy.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin5
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin5 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service60;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin5, exports_reference };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./job-a493fwmx.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-mpk0rfs5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event20
|
|
9
|
+
} from "./job-ce1apvbh.js";
|
|
10
10
|
import {
|
|
11
11
|
ID13
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-x0asfvcp.js";
|
|
13
13
|
import {
|
|
14
14
|
ID12,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./job-jhc88c4z.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./job-5e8mqnd8.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID12.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* Service73;
|
|
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(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service8.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node9, exports_update };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-50qj6gdt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./job-a493fwmx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./job-ce1apvbh.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-mpk0rfs5.js";
|
|
14
14
|
import {
|
|
15
15
|
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-x0asfvcp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service45
|
|
21
|
+
} from "./job-d2094b0z.js";
|
|
22
22
|
import {
|
|
23
23
|
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-jhc88c4z.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ID6,
|
|
29
|
+
Input14,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-s4g57b9r.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID6
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -160,10 +160,10 @@ function oauth(http) {
|
|
|
160
160
|
var OpencodePlugin2 = define({
|
|
161
161
|
id: "opencode.provider.opencode",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const bus = yield*
|
|
163
|
+
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service45;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -386,7 +386,7 @@ var OpencodePlugin2 = define({
|
|
|
386
386
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|