@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-mutation-
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./file-mutation-
|
|
7
|
+
} from "./file-mutation-f8g1y2jp.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./file-mutation-3t0ybcrp.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options6,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured7,
|
|
26
|
+
layer: () => layer23,
|
|
27
|
+
node: () => node54
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,26 +35,26 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options6 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service51 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service51.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer23 = makeLayer();
|
|
263
|
+
var configured7 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service51,
|
|
265
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
266
|
+
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node54 = configured7();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options6, UnavailableError3, NotFoundError6, Service51, layer23, configured7, node54, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service84,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node88
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service84 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
722
722
|
kind: index === 0 ? "main" : "linked"
|
|
723
723
|
}));
|
|
724
724
|
});
|
|
725
|
-
return
|
|
725
|
+
return Service84.of({
|
|
726
726
|
repo: { discover, clone, create },
|
|
727
727
|
remote: { get: remote },
|
|
728
728
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
739
739
|
objects: { pack: packObjects }
|
|
740
740
|
});
|
|
741
741
|
}));
|
|
742
|
-
var
|
|
742
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
743
743
|
function run(cwd, proc, args) {
|
|
744
744
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
745
745
|
}
|
|
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
|
|
|
806
806
|
return path.resolve(cwd, normalized);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
809
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-mutation-
|
|
2
|
+
Service70
|
|
3
|
+
} from "./file-mutation-z8abfd22.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./file-mutation-
|
|
5
|
+
Service38
|
|
6
|
+
} from "./file-mutation-a0ngmh7v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin9,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service70;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin9, register2, exports_mcp };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-mutation-
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./file-mutation-
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-mutation-s9hmt3s5.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
11
|
} from "./file-mutation-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./file-mutation-
|
|
13
|
+
Service64,
|
|
14
|
+
node67
|
|
15
|
+
} from "./file-mutation-86hr6tyx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service12,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service85;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service64;
|
|
41
|
+
const location = yield* Service82;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service12.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node89, FSUtil.node, node86, node67]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service12, node14, exports_instructions };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-mutation-
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./file-mutation-
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-mutation-s9hmt3s5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service69,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./file-mutation-
|
|
12
|
+
node72
|
|
13
|
+
} from "./file-mutation-f8g1y2jp.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
16
|
} from "./file-mutation-88xbtdfr.js";
|
|
@@ -22,44 +22,44 @@ import {
|
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service21,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
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 Event4 } 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
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service21 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(Service21, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service85;
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const shell = yield* Service69;
|
|
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(Service63, 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 NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service63, 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 = ID2.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(Service63, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service21.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node23 = makeLocationNode({
|
|
273
|
+
service: Service21,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node89, node86, node72]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service21, node23, exports_pty, Event4 };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin32,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin32 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin32, exports_identity };
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node79,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node79 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node79, exports_driver };
|