@opencode/core 0.0.0-dev-21100 → 0.0.0-dev-21102
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/agent.js +61 -61
- package/dist/aisdk-native.js +63 -63
- package/dist/aisdk.js +68 -68
- package/dist/app.js +9 -9
- package/dist/bus.js +53 -53
- package/dist/chunks/{file-mutation-ye87g1v7.js → file-mutation-0a45r66e.js} +7 -7
- package/dist/chunks/{file-mutation-e4cyj753.js → file-mutation-0bn0sq9n.js} +11 -11
- package/dist/chunks/{file-mutation-wpmyr8wn.js → file-mutation-0kqmzpgj.js} +1 -1
- package/dist/chunks/{file-mutation-20swtk33.js → file-mutation-0vhb79zx.js} +22 -22
- package/dist/chunks/{file-mutation-9mvbc2bx.js → file-mutation-10bapksq.js} +29 -29
- package/dist/chunks/file-mutation-1e0042jk.js +513 -0
- package/dist/chunks/{file-mutation-s2z0d44b.js → file-mutation-1j6m29mr.js} +8 -8
- package/dist/chunks/{file-mutation-ncf68bzz.js → file-mutation-1ja1wxmc.js} +7 -7
- package/dist/chunks/{file-mutation-8yvq4f24.js → file-mutation-1nbyw85c.js} +9 -9
- package/dist/chunks/{file-mutation-z9xvgkvp.js → file-mutation-1pw9daj1.js} +12 -12
- package/dist/chunks/{file-mutation-tce46y2m.js → file-mutation-1vq8waa3.js} +19 -19
- package/dist/chunks/{file-mutation-mdncxare.js → file-mutation-24ashckt.js} +26 -26
- package/dist/chunks/{file-mutation-a4yg1sdh.js → file-mutation-2ee1qjw3.js} +16 -16
- package/dist/chunks/{file-mutation-ft3hqk2c.js → file-mutation-2mq1h16s.js} +7 -7
- package/dist/chunks/{file-mutation-0w4jm1jx.js → file-mutation-2njd48f3.js} +3 -3
- package/dist/chunks/{file-mutation-2jktmf9n.js → file-mutation-31cd2ng7.js} +2 -2
- package/dist/chunks/{file-mutation-h7s7r6s9.js → file-mutation-31xfzrxg.js} +3 -3
- package/dist/chunks/{file-mutation-1vg5bab8.js → file-mutation-32qfxbms.js} +9 -9
- package/dist/chunks/{file-mutation-0kqd78f8.js → file-mutation-34pqwryj.js} +29 -29
- package/dist/chunks/{file-mutation-x28b6w11.js → file-mutation-34yg83yr.js} +12 -12
- package/dist/chunks/{file-mutation-m1bgbts7.js → file-mutation-395y8vmn.js} +31 -31
- package/dist/chunks/{file-mutation-92vehc1c.js → file-mutation-3h7vgc1c.js} +19 -19
- package/dist/chunks/{file-mutation-g797rwqt.js → file-mutation-3nn61x4m.js} +11 -11
- package/dist/chunks/{file-mutation-ytt5asfy.js → file-mutation-3xmz25ae.js} +3 -3
- package/dist/chunks/{file-mutation-15nepkqg.js → file-mutation-3zy697b6.js} +7 -7
- package/dist/chunks/{file-mutation-3773e6mf.js → file-mutation-3zzm0etj.js} +25 -25
- package/dist/chunks/{file-mutation-52ykxqh0.js → file-mutation-44gm7dpy.js} +12 -12
- package/dist/chunks/file-mutation-49n22trf.js +257 -0
- package/dist/chunks/{file-mutation-29s5x6b9.js → file-mutation-4byykzwt.js} +11 -11
- package/dist/chunks/{file-mutation-461nxmbv.js → file-mutation-4ekscj25.js} +3 -3
- package/dist/chunks/{file-mutation-7n5f7c7j.js → file-mutation-4p0ag926.js} +10 -10
- package/dist/chunks/{file-mutation-mzxszccs.js → file-mutation-4pxfaks0.js} +2 -2
- package/dist/chunks/{file-mutation-j8hamcts.js → file-mutation-4x8f5qrc.js} +70 -70
- package/dist/chunks/{file-mutation-tqvzg8wx.js → file-mutation-4y2jths2.js} +4 -4
- package/dist/chunks/{file-mutation-gg4q0cvg.js → file-mutation-523zf4ny.js} +8 -8
- package/dist/chunks/{file-mutation-cpqhy60c.js → file-mutation-53rh8r92.js} +13 -13
- package/dist/chunks/{file-mutation-jd1c0qnd.js → file-mutation-5pyjqqve.js} +1 -1
- package/dist/chunks/{file-mutation-1p5j3zb8.js → file-mutation-5vma4t00.js} +9 -9
- package/dist/chunks/{file-mutation-78qa9ztr.js → file-mutation-5xeyj92j.js} +1 -1
- package/dist/chunks/{file-mutation-k4jk0bz8.js → file-mutation-6axq4ad7.js} +9 -9
- package/dist/chunks/{file-mutation-kf9hmnhf.js → file-mutation-6b5qcyht.js} +8 -8
- package/dist/chunks/{file-mutation-33kwj4td.js → file-mutation-6et16byz.js} +4 -4
- package/dist/chunks/{file-mutation-b4qv2psp.js → file-mutation-6gke9jm0.js} +21 -21
- package/dist/chunks/{file-mutation-4hrfvj5w.js → file-mutation-6n4qjbg5.js} +25 -25
- package/dist/chunks/{file-mutation-bfjgvht7.js → file-mutation-6n6k1agq.js} +36 -36
- package/dist/chunks/{file-mutation-jws6fkes.js → file-mutation-6pc27hjz.js} +3 -3
- package/dist/chunks/{file-mutation-24960q6w.js → file-mutation-6qbfyeq4.js} +2 -2
- package/dist/chunks/{file-mutation-y184c51n.js → file-mutation-6qr2hpa3.js} +34 -34
- package/dist/chunks/{file-mutation-v7z2bvyd.js → file-mutation-6rm5yzkt.js} +3 -3
- package/dist/chunks/{file-mutation-xpv5mdgy.js → file-mutation-78mmz05e.js} +1 -1
- package/dist/chunks/{file-mutation-06y5bfez.js → file-mutation-7apm8bw6.js} +16 -16
- package/dist/chunks/{file-mutation-emandsac.js → file-mutation-7f067m2e.js} +1 -1
- package/dist/chunks/{file-mutation-pw2j4nb4.js → file-mutation-7gzvat6z.js} +16 -16
- package/dist/chunks/{file-mutation-4xe7a85s.js → file-mutation-7x9m82rv.js} +2 -2
- package/dist/chunks/{file-mutation-5rs9zx7t.js → file-mutation-82s76q1y.js} +2 -2
- package/dist/chunks/{file-mutation-f4z11j7w.js → file-mutation-831szrnr.js} +51 -51
- package/dist/chunks/{file-mutation-gte9q6nk.js → file-mutation-83nvk7gf.js} +7 -7
- package/dist/chunks/{file-mutation-1kz77zsy.js → file-mutation-86hr6tyx.js} +17 -17
- package/dist/chunks/{file-mutation-72rw85ce.js → file-mutation-86qjnnqk.js} +8 -8
- package/dist/chunks/{file-mutation-21ewksw3.js → file-mutation-8kpxa52r.js} +170 -169
- package/dist/chunks/{file-mutation-ab0bt018.js → file-mutation-8nhf552q.js} +13 -13
- package/dist/chunks/{file-mutation-r2ay4r5j.js → file-mutation-8xdknktr.js} +6 -6
- package/dist/chunks/{file-mutation-7125kzzv.js → file-mutation-928exejz.js} +9 -9
- package/dist/chunks/{file-mutation-f1xh4kee.js → file-mutation-9az4rgkb.js} +22 -22
- package/dist/chunks/{file-mutation-5wvd3wth.js → file-mutation-9cd83t7f.js} +15 -15
- package/dist/chunks/{file-mutation-tdntdvpg.js → file-mutation-9qtbwzwj.js} +1 -1
- package/dist/chunks/{file-mutation-330hs5ce.js → file-mutation-9tk0xbhp.js} +18 -18
- package/dist/chunks/{file-mutation-3wznbp76.js → file-mutation-a0ngmh7v.js} +48 -48
- package/dist/chunks/{file-mutation-t363e79v.js → file-mutation-a5cb3rxh.js} +13 -13
- package/dist/chunks/{file-mutation-mhkj1g5d.js → file-mutation-ab0v7xqg.js} +9 -9
- package/dist/chunks/{file-mutation-zfrh7ppm.js → file-mutation-ab17c7dx.js} +11 -11
- package/dist/chunks/{file-mutation-3y377wv9.js → file-mutation-addxnjmp.js} +3 -3
- package/dist/chunks/{file-mutation-rmr77w56.js → file-mutation-ag0c998m.js} +29 -29
- package/dist/chunks/{file-mutation-p0r8daxh.js → file-mutation-ahjtwsk1.js} +12 -12
- package/dist/chunks/{file-mutation-ac4jk4jf.js → file-mutation-atcakhwd.js} +12 -12
- package/dist/chunks/{file-mutation-56dyw8xh.js → file-mutation-atmskjxw.js} +25 -25
- package/dist/chunks/{file-mutation-y8y52ggh.js → file-mutation-atrg28jh.js} +32 -32
- package/dist/chunks/{file-mutation-n0z9xdv5.js → file-mutation-av34pvd4.js} +14 -14
- package/dist/chunks/{file-mutation-h71yhdd1.js → file-mutation-b81ahfje.js} +24 -24
- package/dist/chunks/{file-mutation-cjyxbekx.js → file-mutation-bbsgqxz3.js} +5 -5
- package/dist/chunks/{file-mutation-n4m8qww5.js → file-mutation-bbzjnv7y.js} +42 -42
- package/dist/chunks/{file-mutation-39z47dss.js → file-mutation-bddt2pqj.js} +16 -16
- package/dist/chunks/{file-mutation-z6cf9sp5.js → file-mutation-bdwftekd.js} +28 -28
- package/dist/chunks/{file-mutation-ywkanc3c.js → file-mutation-bh35h2a4.js} +30 -30
- package/dist/chunks/{file-mutation-qze0pbah.js → file-mutation-bhja2czc.js} +46 -46
- package/dist/chunks/{file-mutation-bvhmqw89.js → file-mutation-bjzecbrs.js} +4 -4
- package/dist/chunks/{file-mutation-cdkz0px7.js → file-mutation-bwtsbp89.js} +11 -11
- package/dist/chunks/{file-mutation-chatkvte.js → file-mutation-cba5y8md.js} +12 -12
- package/dist/chunks/{file-mutation-bb9cz41w.js → file-mutation-ckc5xesv.js} +51 -51
- package/dist/chunks/{file-mutation-y1qdxpe7.js → file-mutation-cng1644r.js} +12 -12
- package/dist/chunks/{file-mutation-heegtd1e.js → file-mutation-cqbnrm9h.js} +30 -30
- package/dist/chunks/{file-mutation-jy5yt5xq.js → file-mutation-cry3q34q.js} +21 -21
- package/dist/chunks/{file-mutation-c87fy7y4.js → file-mutation-crygnby0.js} +1 -1
- package/dist/chunks/{file-mutation-ydc3kk2p.js → file-mutation-cyz4rac1.js} +17 -17
- package/dist/chunks/{file-mutation-rj3feasb.js → file-mutation-cz1vwcws.js} +1 -1
- package/dist/chunks/{file-mutation-94f2xxp4.js → file-mutation-dhww0s6x.js} +1 -1
- package/dist/chunks/{file-mutation-s2ge5s40.js → file-mutation-dpdqynsp.js} +26 -26
- package/dist/chunks/{file-mutation-qqeeq2t9.js → file-mutation-drwq78ky.js} +6 -6
- package/dist/chunks/{file-mutation-zjeyh9a3.js → file-mutation-dt4y2tq7.js} +17 -17
- package/dist/chunks/{file-mutation-gqgb50qg.js → file-mutation-e236apxg.js} +5 -5
- package/dist/chunks/{file-mutation-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-vqmj6h0p.js → file-mutation-e3xy4e71.js} +7 -7
- package/dist/chunks/{file-mutation-w66tjm9k.js → file-mutation-e7a0tnjd.js} +8 -8
- package/dist/chunks/{file-mutation-8zs8s6wb.js → file-mutation-eac7ec6d.js} +6 -6
- package/dist/chunks/{file-mutation-9638ddv9.js → file-mutation-ed01axam.js} +2 -2
- package/dist/chunks/{file-mutation-drj95rpb.js → file-mutation-egyn2h7c.js} +7 -7
- package/dist/chunks/{file-mutation-v1n33rkk.js → file-mutation-emew9pj0.js} +16 -16
- package/dist/chunks/{file-mutation-f0626khp.js → file-mutation-es633c8d.js} +24 -24
- package/dist/chunks/{file-mutation-qcq0ch7s.js → file-mutation-ettnqe8w.js} +6 -6
- package/dist/chunks/{file-mutation-ydh2fxne.js → file-mutation-f8g1y2jp.js} +16 -16
- package/dist/chunks/{file-mutation-t0naa760.js → file-mutation-f9twm2pk.js} +22 -22
- package/dist/chunks/{file-mutation-qgn6gcr1.js → file-mutation-fcrkznn8.js} +4 -4
- package/dist/chunks/{file-mutation-vj1wkjxk.js → file-mutation-fg22vpm1.js} +20 -20
- package/dist/chunks/{file-mutation-c27esgm9.js → file-mutation-fqtvmpfq.js} +7 -7
- package/dist/chunks/{file-mutation-x4z3fxw8.js → file-mutation-fssat8nd.js} +10 -10
- package/dist/chunks/{file-mutation-f29j4hv5.js → file-mutation-gjvt2sw1.js} +25 -25
- package/dist/chunks/{file-mutation-7nyrqda9.js → file-mutation-gv0fvrxd.js} +13 -13
- package/dist/chunks/{file-mutation-xf8bbrv6.js → file-mutation-h2m7wh0c.js} +9 -9
- package/dist/chunks/{file-mutation-1b4m0bzf.js → file-mutation-h9wp8z5w.js} +3 -3
- package/dist/chunks/{file-mutation-dz2gtyfc.js → file-mutation-hgpde3vb.js} +17 -17
- package/dist/chunks/{file-mutation-tz6djrkh.js → file-mutation-hvb11wac.js} +7 -7
- package/dist/chunks/{file-mutation-n37c4crj.js → file-mutation-j58c5xyq.js} +7 -7
- package/dist/chunks/{file-mutation-r1w3bzw9.js → file-mutation-jc9d9mw1.js} +16 -16
- package/dist/chunks/{file-mutation-xrz68rn9.js → file-mutation-jfnyz2cb.js} +26 -26
- package/dist/chunks/{file-mutation-4v7qdvcn.js → file-mutation-jqh9b0xq.js} +4 -4
- package/dist/chunks/{file-mutation-kne8f3cn.js → file-mutation-jvf3yq6v.js} +3 -3
- package/dist/chunks/{file-mutation-yjqzbtaj.js → file-mutation-jxwk72h5.js} +1 -1
- package/dist/chunks/{file-mutation-1k9ymn1d.js → file-mutation-k9rqwrkg.js} +9 -9
- package/dist/chunks/{file-mutation-dv0zfr7y.js → file-mutation-kecerxq6.js} +5 -5
- package/dist/chunks/{file-mutation-ny8edt06.js → file-mutation-khmqacep.js} +3 -3
- package/dist/chunks/{file-mutation-y7nndgyc.js → file-mutation-kjd40bgk.js} +7 -7
- package/dist/chunks/{file-mutation-2hh5ygwn.js → file-mutation-kna85462.js} +26 -26
- package/dist/chunks/{file-mutation-htzs53gz.js → file-mutation-kp1hjqcq.js} +10 -10
- package/dist/chunks/{file-mutation-0b5g1ynf.js → file-mutation-kqx1b4hy.js} +1 -1
- package/dist/chunks/{file-mutation-azs149d7.js → file-mutation-kvwqxrwb.js} +16 -16
- package/dist/chunks/{file-mutation-j7sz3dke.js → file-mutation-m6078mdh.js} +33 -33
- package/dist/chunks/{file-mutation-x6888ea0.js → file-mutation-mnv5anne.js} +16 -16
- package/dist/chunks/{file-mutation-a5hphphy.js → file-mutation-mq9ghvnj.js} +12 -12
- package/dist/chunks/{file-mutation-2vhp9s4n.js → file-mutation-mrp1vw8h.js} +16 -16
- package/dist/chunks/{file-mutation-c3g6e5j8.js → file-mutation-mw3zb6qd.js} +1 -1
- package/dist/chunks/{file-mutation-2rj6s964.js → file-mutation-nbe12rbe.js} +8 -8
- package/dist/chunks/{file-mutation-7rr4hg1t.js → file-mutation-np2zj9yp.js} +22 -22
- package/dist/chunks/{file-mutation-hdmfsn6c.js → file-mutation-nr90a0dt.js} +41 -41
- package/dist/chunks/{file-mutation-q9nte3tg.js → file-mutation-ns6qmrtd.js} +13 -13
- package/dist/chunks/{file-mutation-kwy2a26b.js → file-mutation-nteb4xfc.js} +4 -4
- package/dist/chunks/{file-mutation-5yzzbxa7.js → file-mutation-p42hj8p8.js} +7 -7
- package/dist/chunks/{file-mutation-57mp2y7f.js → file-mutation-paerxhb0.js} +12 -12
- package/dist/chunks/file-mutation-pgrantrc.js +26 -0
- package/dist/chunks/{file-mutation-2s0p8hxn.js → file-mutation-pgvws8e3.js} +81 -81
- package/dist/chunks/{file-mutation-zaz5cehh.js → file-mutation-py1s82by.js} +5 -5
- package/dist/chunks/{file-mutation-k0q3gph6.js → file-mutation-q19wpyyh.js} +24 -24
- package/dist/chunks/{file-mutation-pbfwh0cy.js → file-mutation-qa3qhgw8.js} +6 -6
- package/dist/chunks/{file-mutation-ezyhk4hd.js → file-mutation-qhj8gsw7.js} +21 -21
- package/dist/chunks/{file-mutation-8gek01c0.js → file-mutation-qqrcrv2d.js} +9 -9
- package/dist/chunks/{file-mutation-n2mczcjd.js → file-mutation-qskc9fng.js} +9 -9
- package/dist/chunks/{file-mutation-rdwqze1j.js → file-mutation-qze06xta.js} +29 -29
- package/dist/chunks/{file-mutation-jefgzady.js → file-mutation-r1rs5fcg.js} +8 -8
- package/dist/chunks/{file-mutation-zwph9whm.js → file-mutation-r6twsrbc.js} +15 -15
- package/dist/chunks/{file-mutation-gr0kfs40.js → file-mutation-rg5vjzce.js} +12 -12
- package/dist/chunks/{file-mutation-t550f9t1.js → file-mutation-rhjbct0v.js} +3 -3
- package/dist/chunks/{file-mutation-j3tce0kq.js → file-mutation-rp1sxpnt.js} +1 -1
- package/dist/chunks/{file-mutation-e0c8yhzv.js → file-mutation-rsk8b1r9.js} +12 -12
- package/dist/chunks/{file-mutation-hjkfxcec.js → file-mutation-s0xd9fk5.js} +10 -10
- package/dist/chunks/{file-mutation-67ck3t7e.js → file-mutation-s7p2cp87.js} +19 -19
- package/dist/chunks/{file-mutation-adgjx2yn.js → file-mutation-s9hmt3s5.js} +16 -16
- package/dist/chunks/{file-mutation-av2z4yzv.js → file-mutation-sjsq85cv.js} +14 -14
- package/dist/chunks/{file-mutation-5m76pzew.js → file-mutation-sqxd4b6a.js} +13 -13
- package/dist/chunks/{file-mutation-sa2fc5bp.js → file-mutation-stdh1w8b.js} +9 -9
- package/dist/chunks/{file-mutation-4j91vnan.js → file-mutation-svvw92nk.js} +22 -22
- package/dist/chunks/{file-mutation-bhkme6k3.js → file-mutation-t3zmyd3w.js} +33 -33
- package/dist/chunks/{file-mutation-25bzgp06.js → file-mutation-tjn2qjgm.js} +23 -23
- package/dist/chunks/{file-mutation-y0jhh126.js → file-mutation-tk14y25j.js} +3 -3
- package/dist/chunks/{file-mutation-1ph9pxrr.js → file-mutation-tms097mr.js} +21 -21
- package/dist/chunks/{file-mutation-d0wd20a3.js → file-mutation-tr1j93sp.js} +12 -12
- package/dist/chunks/{file-mutation-4434d9q2.js → file-mutation-v0es1rhs.js} +7 -7
- package/dist/chunks/{file-mutation-0r7tst47.js → file-mutation-v38qq1xq.js} +3 -3
- package/dist/chunks/{file-mutation-xfykgcca.js → file-mutation-v4r9rrgr.js} +14 -14
- package/dist/chunks/{file-mutation-g0kh84es.js → file-mutation-v9ym5vkf.js} +21 -21
- package/dist/chunks/{file-mutation-jwjc3wxe.js → file-mutation-vaer15sz.js} +12 -12
- package/dist/chunks/{file-mutation-3dgghfty.js → file-mutation-vhs7bsm8.js} +79 -79
- package/dist/chunks/{file-mutation-9tesz0cq.js → file-mutation-vnrbpqt1.js} +25 -25
- package/dist/chunks/{file-mutation-dn347z9t.js → file-mutation-vx06kqgv.js} +15 -15
- package/dist/chunks/{file-mutation-2rrj5gsc.js → file-mutation-vx3jgdek.js} +3 -3
- package/dist/chunks/{file-mutation-gwnd8qme.js → file-mutation-vx9tn3ww.js} +6 -6
- package/dist/chunks/{file-mutation-pfkmq5ga.js → file-mutation-w31qasc1.js} +7 -7
- package/dist/chunks/{file-mutation-ejj0jwrk.js → file-mutation-w80w7egq.js} +24 -24
- package/dist/chunks/{file-mutation-q3a6mqv4.js → file-mutation-wdbsdckj.js} +17 -17
- package/dist/chunks/{file-mutation-5x013d8j.js → file-mutation-whepmyc8.js} +1 -1
- package/dist/chunks/{file-mutation-7txsrhy6.js → file-mutation-whmxtv1k.js} +18 -18
- package/dist/chunks/{file-mutation-bjx1sjef.js → file-mutation-wjr9rjd7.js} +4 -4
- package/dist/chunks/{file-mutation-9j12b9vs.js → file-mutation-wq2exejj.js} +35 -35
- package/dist/chunks/{file-mutation-yv787zs0.js → file-mutation-wq5jrx1v.js} +49 -49
- package/dist/chunks/{file-mutation-rey3ye30.js → file-mutation-wrmx1wd8.js} +17 -17
- package/dist/chunks/{file-mutation-5feb8jak.js → file-mutation-wyfpybhz.js} +25 -25
- package/dist/chunks/{file-mutation-3cqwnyj9.js → file-mutation-x5wrmng7.js} +9 -9
- package/dist/chunks/{file-mutation-12fx52fx.js → file-mutation-xfh984c1.js} +16 -16
- package/dist/chunks/{file-mutation-b5qfcexj.js → file-mutation-xjpvrdvq.js} +12 -12
- package/dist/chunks/{file-mutation-hxqe5h20.js → file-mutation-xqevex3y.js} +31 -31
- package/dist/chunks/{file-mutation-6e7td314.js → file-mutation-xtxypabt.js} +7 -7
- package/dist/chunks/{file-mutation-m0jmdjc8.js → file-mutation-xvjf424w.js} +12 -12
- package/dist/chunks/{file-mutation-0ws562sj.js → file-mutation-y35511gd.js} +20 -20
- package/dist/chunks/{file-mutation-9vqmampf.js → file-mutation-y45dsw3d.js} +33 -33
- package/dist/chunks/{file-mutation-d858xzj7.js → file-mutation-y6mhz57t.js} +3 -3
- package/dist/chunks/{file-mutation-axp4ehpq.js → file-mutation-y8p3zjbc.js} +5 -5
- package/dist/chunks/{file-mutation-cg0j9q80.js → file-mutation-yewqjc3q.js} +45 -45
- package/dist/chunks/{file-mutation-z3nay82g.js → file-mutation-yh7kjdpc.js} +7 -7
- package/dist/chunks/{file-mutation-c4fag6w1.js → file-mutation-yk3k7trf.js} +1 -1
- package/dist/chunks/{file-mutation-tvjkad3e.js → file-mutation-ykbenvtt.js} +16 -16
- package/dist/chunks/{file-mutation-fgp2n23a.js → file-mutation-ym72szr7.js} +37 -37
- package/dist/chunks/{file-mutation-f2n192rq.js → file-mutation-yp2x3t23.js} +3 -3
- package/dist/chunks/{file-mutation-0fz4623t.js → file-mutation-yqc6bamn.js} +1 -1
- package/dist/chunks/{file-mutation-4dhekype.js → file-mutation-yv1g7dvw.js} +21 -21
- package/dist/chunks/{file-mutation-7mhsvps3.js → file-mutation-yzmsvx3n.js} +10 -10
- package/dist/chunks/{file-mutation-ygdna4kr.js → file-mutation-z6c3x22d.js} +3 -3
- package/dist/chunks/{file-mutation-xt8c43wt.js → file-mutation-z6szz84x.js} +18 -18
- package/dist/chunks/{file-mutation-1kkkfcmn.js → file-mutation-z8abfd22.js} +46 -46
- package/dist/chunks/{file-mutation-3xbrj0ew.js → file-mutation-ze4328nr.js} +21 -21
- package/dist/chunks/{file-mutation-3p0gnp52.js → file-mutation-zj0rakt4.js} +11 -11
- package/dist/chunks/{file-mutation-x3snk7zw.js → file-mutation-zj24t7xr.js} +4 -4
- package/dist/chunks/{file-mutation-kb8mmr2h.js → file-mutation-zm7ab947.js} +22 -22
- package/dist/chunks/{file-mutation-rfpqy3ha.js → file-mutation-zx5swzrd.js} +2 -2
- package/dist/chunks/{file-mutation-scgrse2b.js → file-mutation-zyk1yjk8.js} +3 -3
- package/dist/chunks/{file-mutation-sgxwq5t5.js → file-mutation-zz5c3g14.js} +5 -5
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +65 -65
- package/dist/config/discovery.js +56 -56
- package/dist/config/normalize.js +72 -72
- package/dist/config/plugin/agent.js +85 -85
- package/dist/config/plugin/command.js +166 -166
- package/dist/config/plugin/compaction.js +115 -115
- package/dist/config/plugin/compatibility.js +100 -100
- package/dist/config/plugin/formatter.js +83 -83
- package/dist/config/plugin/image.js +83 -83
- package/dist/config/plugin/instruction.js +84 -84
- package/dist/config/plugin/location-watcher.js +85 -85
- package/dist/config/plugin/mcp.js +91 -91
- package/dist/config/plugin/policy.js +84 -84
- package/dist/config/plugin/provider.js +83 -83
- package/dist/config/plugin/reference.js +85 -85
- package/dist/config/plugin/shell.js +85 -85
- package/dist/config/plugin/skill-file.js +72 -72
- package/dist/config/plugin/skill.js +103 -103
- package/dist/config/plugin/snapshot.js +83 -83
- package/dist/config/plugin/source.js +86 -86
- package/dist/config/plugin/tool-output.js +84 -84
- package/dist/config/plugin/websearch.js +84 -84
- package/dist/config/plugin/worktree.js +85 -85
- package/dist/config.js +89 -89
- package/dist/credential.js +60 -60
- package/dist/database/database.js +54 -54
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +38 -38
- package/dist/database/migration.js +39 -39
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +229 -229
- package/dist/environment/environment.js +64 -64
- package/dist/environment/index.js +66 -66
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +75 -75
- package/dist/file-mutation.js +65 -65
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +180 -180
- package/dist/filesystem/search.js +62 -62
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +63 -63
- package/dist/form.js +62 -62
- package/dist/formatter.js +61 -61
- package/dist/generate.js +77 -77
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +65 -65
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance.js +305 -305
- package/dist/instruction-discovery.js +64 -64
- package/dist/instructions/builtins.js +61 -61
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +66 -66
- package/dist/job.js +57 -57
- package/dist/kv.js +53 -53
- package/dist/location-activity.js +55 -55
- package/dist/location-lifecycle.js +78 -78
- package/dist/location-service-map.js +60 -60
- package/dist/location-services.js +308 -308
- package/dist/location.js +63 -63
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +78 -78
- package/dist/mcp/instructions.js +92 -92
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +61 -61
- package/dist/modal/models.js +65 -65
- package/dist/model-resolver.js +72 -72
- package/dist/model.js +68 -68
- package/dist/models-dev.js +74 -74
- package/dist/permission/saved.js +59 -59
- package/dist/permission.js +84 -84
- package/dist/persistent-pty/index.js +68 -68
- package/dist/persistent-pty.js +52 -52
- package/dist/plugin/agent.js +56 -56
- package/dist/plugin/command.js +73 -73
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +171 -171
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +69 -69
- package/dist/plugin/module.js +84 -84
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +73 -73
- package/dist/plugin/provider/amazon-bedrock.js +64 -64
- package/dist/plugin/provider/azure.js +84 -84
- package/dist/plugin/provider/chatgpt.js +82 -82
- package/dist/plugin/provider/cloudflare-ai-gateway.js +81 -81
- package/dist/plugin/provider/cloudflare-workers-ai.js +81 -81
- package/dist/plugin/provider/configured.js +80 -80
- package/dist/plugin/provider/digitalocean.js +66 -66
- package/dist/plugin/provider/github-copilot.js +68 -68
- package/dist/plugin/provider/gitlab.js +66 -66
- package/dist/plugin/provider/google-vertex.js +81 -81
- package/dist/plugin/provider/llmgateway.js +55 -55
- package/dist/plugin/provider/lmstudio.js +91 -91
- package/dist/plugin/provider/local.js +88 -88
- package/dist/plugin/provider/modal.js +66 -66
- package/dist/plugin/provider/ollama.js +89 -89
- package/dist/plugin/provider/openai.js +82 -82
- package/dist/plugin/provider/opencode.js +71 -71
- package/dist/plugin/provider/openrouter.js +65 -65
- package/dist/plugin/provider/poe.js +55 -55
- package/dist/plugin/provider/sap-ai-core.js +64 -64
- package/dist/plugin/provider/snowflake-cortex.js +82 -82
- package/dist/plugin/provider/vercel.js +64 -64
- package/dist/plugin/provider/vllm.js +89 -89
- package/dist/plugin/provider/xai.js +65 -65
- package/dist/plugin/provider.js +127 -127
- package/dist/plugin/sdk.js +56 -56
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +101 -101
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +60 -60
- package/dist/plugin/vcs/hg.js +60 -60
- package/dist/plugin/verbosity.js +67 -67
- package/dist/plugin/warming.js +82 -82
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +183 -183
- package/dist/project/schema.js +7 -7
- package/dist/project.js +64 -64
- package/dist/provider.js +67 -67
- package/dist/pty.js +70 -70
- package/dist/reference/instructions.js +62 -62
- package/dist/reference.js +66 -66
- package/dist/repository-cache.js +57 -57
- package/dist/ripgrep.js +65 -65
- package/dist/rpc.js +60 -60
- package/dist/session/command.js +53 -53
- package/dist/session/compaction.js +101 -101
- package/dist/session/context.js +115 -115
- package/dist/session/diff.js +60 -60
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +115 -115
- package/dist/session/execution.js +94 -94
- package/dist/session/generate.js +117 -117
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +61 -61
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +56 -56
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +68 -68
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +87 -87
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +98 -98
- package/dist/session/projector.js +59 -59
- package/dist/session/prompt.js +74 -74
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +60 -60
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -182
- package/dist/session/runner/model.js +72 -72
- package/dist/session/runner/publish-llm-event.js +83 -83
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +94 -94
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +124 -124
- package/dist/session/shell.js +95 -95
- package/dist/session/skill.js +73 -73
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +62 -62
- package/dist/session/subagent-job.js +160 -160
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +120 -120
- package/dist/session/to-session-error.js +82 -82
- package/dist/session/transfer.js +115 -115
- package/dist/session.js +170 -170
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +98 -98
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +78 -78
- package/dist/skill.js +85 -85
- package/dist/snapshot.js +63 -63
- package/dist/tool/mcp.js +95 -95
- package/dist/tool/plugin/edit.js +87 -87
- package/dist/tool/plugin/glob.js +88 -88
- package/dist/tool/plugin/grep.js +90 -90
- package/dist/tool/plugin/mcp-resource.js +85 -85
- package/dist/tool/plugin/opencode.js +80 -80
- package/dist/tool/plugin/patch.js +89 -89
- package/dist/tool/plugin/question.js +76 -76
- package/dist/tool/plugin/read.js +88 -88
- package/dist/tool/plugin/shell.js +170 -170
- package/dist/tool/plugin/skill.js +80 -80
- package/dist/tool/plugin/subagent.js +167 -167
- package/dist/tool/plugin/webfetch.js +77 -77
- package/dist/tool/plugin/websearch.js +82 -82
- package/dist/tool/plugin/write.js +85 -85
- package/dist/tool/read-filesystem.js +68 -68
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +10 -10
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +65 -65
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +63 -63
- package/dist/voice.js +61 -61
- package/dist/websearch.js +62 -62
- package/dist/wellknown/plugin.js +54 -54
- package/dist/wellknown.js +59 -59
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +59 -59
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/strategies.js +62 -62
- package/dist/worktree.js +68 -68
- package/package.json +8 -8
- package/dist/chunks/file-mutation-d3jzepm9.js +0 -513
- package/dist/chunks/file-mutation-nw7rspz8.js +0 -26
- package/dist/chunks/file-mutation-rfz8qemb.js +0 -257
- /package/dist/chunks/{file-mutation-j09zfasm.js → file-mutation-91qna3x0.js} +0 -0
- /package/dist/chunks/{file-mutation-f5m013by.js → file-mutation-jpqkz8s9.js} +0 -0
- /package/dist/chunks/{file-mutation-2xwkyk0m.js → file-mutation-mjagy123.js} +0 -0
- /package/dist/chunks/{file-mutation-z0bepcn1.js → file-mutation-qcf9sep0.js} +0 -0
- /package/dist/chunks/{file-mutation-het2jkzt.js → file-mutation-vgbe0hx2.js} +0 -0
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./file-mutation-
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./file-mutation-s9hmt3s5.js";
|
|
10
10
|
import {
|
|
11
11
|
Service15,
|
|
12
12
|
node17
|
|
13
|
-
} from "./file-mutation-
|
|
13
|
+
} from "./file-mutation-zj0rakt4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -111,7 +111,7 @@ class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
|
111
111
|
}
|
|
112
112
|
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
114
|
+
const location = yield* Service82;
|
|
115
115
|
const search = yield* Service15;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
@@ -174,7 +174,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
174
174
|
var node16 = makeLocationNode({
|
|
175
175
|
service: Service14,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node86, node17]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
180
|
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
chunksByFile2
|
|
10
10
|
} from "./file-mutation-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./file-mutation-
|
|
12
|
+
Service82
|
|
13
|
+
} from "./file-mutation-s9hmt3s5.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./file-mutation-
|
|
16
|
+
} from "./file-mutation-yv1g7dvw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin28,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin28 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service82;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin28, exports_hg };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
execDefaults2
|
|
6
6
|
} from "./file-mutation-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./file-mutation-
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./file-mutation-cba5y8md.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
13
|
} from "./file-mutation-dpkg50ah.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./file-mutation-
|
|
17
|
+
node79
|
|
18
|
+
} from "./file-mutation-y8p3zjbc.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
21
|
} from "./file-mutation-faypxj3z.js";
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID10,
|
|
31
|
+
Info: () => Info19,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service75,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured11,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node78
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID10 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info19 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID10,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service75,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node90, node79]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info19({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service75.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID10.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node78 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID10, Info19, NotFound2, CreateConflict2, Service75, configured11, node78, exports_workspace };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./file-mutation-
|
|
3
|
+
} from "./file-mutation-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./file-mutation-
|
|
5
|
+
Service85
|
|
6
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./file-mutation-
|
|
9
|
+
Event19
|
|
10
|
+
} from "./file-mutation-cqbnrm9h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./file-mutation-
|
|
14
|
+
} from "./file-mutation-ag0c998m.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./file-mutation-
|
|
19
|
+
Service78
|
|
20
|
+
} from "./file-mutation-b81ahfje.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./file-mutation-
|
|
23
|
+
} from "./file-mutation-1vq8waa3.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./file-mutation-
|
|
27
|
+
} from "./file-mutation-zx5swzrd.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./file-mutation-
|
|
30
|
+
} from "./file-mutation-s0xd9fk5.js";
|
|
31
31
|
import {
|
|
32
32
|
ID9
|
|
33
|
-
} from "./file-mutation-
|
|
33
|
+
} from "./file-mutation-s7p2cp87.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
36
|
} from "./file-mutation-54ma36ye.js";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service78;
|
|
167
|
+
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -237,7 +237,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
243
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./file-mutation-
|
|
11
|
+
} from "./file-mutation-91qna3x0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
14
|
} from "./file-mutation-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./file-mutation-
|
|
16
|
+
Service60,
|
|
17
|
+
node63
|
|
18
|
+
} from "./file-mutation-yh7kjdpc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./file-mutation-
|
|
20
|
+
Service76,
|
|
21
|
+
node80
|
|
22
|
+
} from "./file-mutation-fqtvmpfq.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
25
|
} from "./file-mutation-y1fvbwt7.js";
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service59,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node62
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service59 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service60;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service59.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node62 = makeLocationNode({
|
|
277
|
+
service: Service59,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node80, node63]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service59, node62, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./file-mutation-cba5y8md.js";
|
|
1
5
|
import {
|
|
2
6
|
Service85,
|
|
3
7
|
node89
|
|
4
|
-
} from "./file-mutation-
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./file-mutation-t363e79v.js";
|
|
8
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./file-mutation-
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./file-mutation-av34pvd4.js";
|
|
13
13
|
import {
|
|
14
14
|
Service45,
|
|
15
15
|
node47
|
|
@@ -18,22 +18,22 @@ import {
|
|
|
18
18
|
SessionEvent2
|
|
19
19
|
} from "./file-mutation-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./file-mutation-
|
|
21
|
+
make16
|
|
22
|
+
} from "./file-mutation-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./file-mutation-
|
|
25
|
+
Service42
|
|
26
|
+
} from "./file-mutation-jvf3yq6v.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./file-mutation-
|
|
28
|
+
Service64,
|
|
29
|
+
node67
|
|
30
|
+
} from "./file-mutation-86hr6tyx.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./file-mutation-
|
|
33
|
+
} from "./file-mutation-bbsgqxz3.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./file-mutation-
|
|
36
|
+
} from "./file-mutation-tms097mr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -41,16 +41,16 @@ import {
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service41,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer18,
|
|
47
|
+
node: () => node44,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
62
|
+
var layer18 = Layer.effect(Service41, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service64;
|
|
64
64
|
const instances = yield* Service45;
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
65
|
+
const bus = yield* Service85;
|
|
66
|
+
const jobs = yield* Service48;
|
|
67
|
+
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service41.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node44 = makeGlobalNode({
|
|
127
|
+
service: Service41,
|
|
128
|
+
layer: layer18,
|
|
129
|
+
deps: [node67, node47, node89, node90, node51]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service41, Service41.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service41, terminal2, layer18, node44, noopLayer2, exports_execution };
|