@opencode/core 0.0.0-dev-20757 → 0.0.0-dev-20758
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +70 -70
- package/dist/chunks/{persistent-pty-h1yqkxn4.js → plugin-05jdftm3.js} +32 -32
- package/dist/chunks/{persistent-pty-pcdbh0j4.js → plugin-06b8tjqm.js} +42 -42
- package/dist/chunks/{persistent-pty-504xcjap.js → plugin-06ggqby9.js} +10 -10
- package/dist/chunks/{persistent-pty-ckf8nxjz.js → plugin-06x8he3q.js} +4 -4
- package/dist/chunks/{persistent-pty-ppjqgbs9.js → plugin-07nvsf4k.js} +30 -30
- package/dist/chunks/{persistent-pty-0tncg1vv.js → plugin-08azx7vb.js} +20 -20
- package/dist/chunks/{persistent-pty-r21y2bjh.js → plugin-08hjnr4e.js} +75 -75
- package/dist/chunks/{persistent-pty-vxzn4mjm.js → plugin-092bevw2.js} +4 -4
- package/dist/chunks/{persistent-pty-9dztgy31.js → plugin-0anxg2hy.js} +4 -4
- package/dist/chunks/{persistent-pty-v0es1rhs.js → plugin-0bg0bx69.js} +5 -5
- package/dist/chunks/{persistent-pty-9dp025y5.js → plugin-0j5ch4x2.js} +7 -7
- package/dist/chunks/{persistent-pty-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0n1wmc6t.js → plugin-0rq97exp.js} +25 -25
- package/dist/chunks/{persistent-pty-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-yb0yv9hj.js → plugin-1027hae5.js} +11 -11
- package/dist/chunks/{persistent-pty-9dfpqakj.js → plugin-11c8pj9k.js} +80 -80
- package/dist/chunks/{persistent-pty-prq7hedt.js → plugin-11dqjexa.js} +9 -9
- package/dist/chunks/{persistent-pty-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-d2gszh5q.js → plugin-1dm5w4wz.js} +49 -49
- package/dist/chunks/{persistent-pty-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
- package/dist/chunks/{persistent-pty-1h6cxm7v.js → plugin-1kxpc97h.js} +20 -20
- package/dist/chunks/{persistent-pty-py3kkmfq.js → plugin-1p07q0wb.js} +4 -4
- package/dist/chunks/{persistent-pty-37sfe3bm.js → plugin-1pdpjhqt.js} +17 -17
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → plugin-1ygqh575.js} +6 -6
- package/dist/chunks/{persistent-pty-9dvjqq84.js → plugin-1ysbc1zp.js} +30 -30
- package/dist/chunks/{persistent-pty-ymjtnym2.js → plugin-1z5p1kvf.js} +5 -5
- package/dist/chunks/{persistent-pty-96thbmfj.js → plugin-2429x8vg.js} +11 -11
- package/dist/chunks/{persistent-pty-094m2jc0.js → plugin-26ebw5j8.js} +7 -7
- package/dist/chunks/{persistent-pty-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-ge24w6v9.js → plugin-2c5zhkam.js} +4 -4
- package/dist/chunks/{persistent-pty-mx64x80q.js → plugin-2gyx27wv.js} +9 -9
- package/dist/chunks/{persistent-pty-5ns9c0w0.js → plugin-2jjf33bd.js} +10 -10
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → plugin-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-61mpxj7t.js → plugin-2nd8jksd.js} +17 -17
- package/dist/chunks/{persistent-pty-qnpg3zjj.js → plugin-2pcxzsf7.js} +21 -21
- package/dist/chunks/{persistent-pty-hwg9mkt4.js → plugin-320bjqex.js} +5 -5
- package/dist/chunks/{persistent-pty-kxrxvkx4.js → plugin-32awjfk4.js} +43 -43
- package/dist/chunks/{persistent-pty-cbmf5txa.js → plugin-32egw0ep.js} +3 -3
- package/dist/chunks/{persistent-pty-ygny92wv.js → plugin-32q55df5.js} +3 -3
- package/dist/chunks/{persistent-pty-ff4e8v5q.js → plugin-33b8ym45.js} +30 -30
- package/dist/chunks/{persistent-pty-eavrwy4k.js → plugin-34hmfy8j.js} +32 -32
- package/dist/chunks/{persistent-pty-m3frg8rt.js → plugin-391fy393.js} +13 -13
- package/dist/chunks/{persistent-pty-ketf4sa0.js → plugin-3c4qezr9.js} +11 -11
- package/dist/chunks/{persistent-pty-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/plugin-3gh35byt.js +26 -0
- package/dist/chunks/{persistent-pty-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-1wrsvdt8.js → plugin-3j8jg9nw.js} +22 -22
- package/dist/chunks/{persistent-pty-fswapqhq.js → plugin-3jjcx604.js} +11 -11
- package/dist/chunks/{persistent-pty-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-8rdqkcsb.js → plugin-493pwkwy.js} +13 -13
- package/dist/chunks/{persistent-pty-wksxstam.js → plugin-4e5pjfnh.js} +25 -25
- package/dist/chunks/{persistent-pty-j65xwarf.js → plugin-4f6aj8kt.js} +5 -5
- package/dist/chunks/{persistent-pty-nmdtbfzh.js → plugin-4gaxa8kh.js} +49 -49
- package/dist/chunks/{persistent-pty-42sykk0b.js → plugin-4hrcm8j6.js} +3 -3
- package/dist/chunks/{persistent-pty-bgs46qwx.js → plugin-4k06pz28.js} +8 -8
- package/dist/chunks/{persistent-pty-e4bp7q5e.js → plugin-4m8vjzqx.js} +11 -11
- package/dist/chunks/{persistent-pty-8nmyydee.js → plugin-4mhzv44w.js} +12 -12
- package/dist/chunks/{persistent-pty-49exe669.js → plugin-4n607a2z.js} +5 -5
- package/dist/chunks/{persistent-pty-vxzh5eqq.js → plugin-4nzwy074.js} +4 -4
- package/dist/chunks/{persistent-pty-4ts7tf6z.js → plugin-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-8kkb60sm.js → plugin-4xsb3hs6.js} +14 -14
- package/dist/chunks/{persistent-pty-50mzsvk4.js → plugin-50mzsvk4.js} +1 -1
- package/dist/chunks/{persistent-pty-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-0qd1w1j5.js → plugin-55n23649.js} +9 -9
- package/dist/chunks/{persistent-pty-xfkkasph.js → plugin-57b9ws8p.js} +7 -7
- package/dist/chunks/{persistent-pty-fw6qy902.js → plugin-5c3bjzbg.js} +18 -18
- package/dist/chunks/{persistent-pty-ja6fbgv5.js → plugin-5czaavyq.js} +15 -15
- package/dist/chunks/{persistent-pty-82vtwhxh.js → plugin-5enbrya0.js} +2 -2
- package/dist/chunks/{persistent-pty-yqntd9h0.js → plugin-5f41ny5v.js} +22 -22
- package/dist/chunks/{persistent-pty-bkkeq90m.js → plugin-5k6cp939.js} +35 -35
- package/dist/chunks/{persistent-pty-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-hekf1c5w.js → plugin-5ta9513b.js} +12 -12
- package/dist/chunks/{persistent-pty-drnf6xwf.js → plugin-63db42yp.js} +2 -2
- package/dist/chunks/{persistent-pty-eh16wa7e.js → plugin-65sxyan4.js} +15 -15
- package/dist/chunks/{persistent-pty-vws08ngw.js → plugin-65v7h52e.js} +29 -29
- package/dist/chunks/{persistent-pty-9x9fdyge.js → plugin-6kgskxtw.js} +6 -6
- package/dist/chunks/{persistent-pty-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-71az546q.js → plugin-71az546q.js} +2 -2
- package/dist/chunks/{persistent-pty-bdremd90.js → plugin-7272kpvj.js} +11 -11
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → plugin-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-32c2s8c6.js → plugin-7adggac6.js} +15 -15
- package/dist/chunks/{persistent-pty-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-9g5ba4sr.js → plugin-7dad3kfy.js} +9 -9
- package/dist/chunks/{persistent-pty-y5kja2xp.js → plugin-7kv0j4s7.js} +3 -3
- package/dist/chunks/{persistent-pty-1a2vdc32.js → plugin-7sth8apw.js} +11 -11
- package/dist/chunks/{persistent-pty-qy7fdy02.js → plugin-7sv012e1.js} +26 -26
- package/dist/chunks/{persistent-pty-ejr9s24d.js → plugin-7w1f2z6x.js} +5 -5
- package/dist/chunks/{persistent-pty-g0gfcgav.js → plugin-7zrsc3f5.js} +22 -22
- package/dist/chunks/{persistent-pty-pnzf6mjf.js → plugin-7zt5x37y.js} +1 -1
- package/dist/chunks/{persistent-pty-n4wpfnv1.js → plugin-88wnevm5.js} +21 -21
- package/dist/chunks/{persistent-pty-3md3hry7.js → plugin-8a60hsqh.js} +26 -26
- package/dist/chunks/{persistent-pty-0asdx158.js → plugin-8bchjepv.js} +1 -1
- package/dist/chunks/{persistent-pty-sgqg2f8q.js → plugin-8cvfc0bm.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-mvf6nh1j.js → plugin-8e73z6s7.js} +24 -24
- package/dist/chunks/{persistent-pty-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-s87ygg5r.js → plugin-8mffgybp.js} +10 -10
- package/dist/chunks/{persistent-pty-zx4j0b0b.js → plugin-8n3kmt1c.js} +14 -14
- package/dist/chunks/{persistent-pty-v6ry9q01.js → plugin-8t65gaz4.js} +22 -22
- package/dist/chunks/{persistent-pty-8ehqpd8r.js → plugin-91dde8t4.js} +32 -32
- package/dist/chunks/{persistent-pty-ysge6ncn.js → plugin-930ytmjr.js} +42 -42
- package/dist/chunks/{persistent-pty-peecsdy0.js → plugin-99xqbvzd.js} +14 -14
- package/dist/chunks/{persistent-pty-7kyfdp6z.js → plugin-9d8a2yy3.js} +6 -6
- package/dist/chunks/{persistent-pty-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
- package/dist/chunks/{persistent-pty-mhnyy3p3.js → plugin-9f9kx6t9.js} +11 -11
- package/dist/chunks/{persistent-pty-g0445xdp.js → plugin-9hn6k4tm.js} +8 -8
- package/dist/chunks/{persistent-pty-emyk28wm.js → plugin-9p27s66n.js} +17 -17
- package/dist/chunks/{persistent-pty-scvmve7w.js → plugin-9vvef7vj.js} +7 -7
- package/dist/chunks/{persistent-pty-0rgtz50w.js → plugin-9wnskma6.js} +34 -34
- package/dist/chunks/{persistent-pty-b7j3e6pa.js → plugin-9wsb121e.js} +7 -7
- package/dist/chunks/{persistent-pty-6t4hr8r6.js → plugin-a3c7ahw6.js} +4 -4
- package/dist/chunks/{persistent-pty-y54kce5q.js → plugin-a8zkv2pe.js} +15 -15
- package/dist/chunks/{persistent-pty-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-2vh07w6d.js → plugin-ae9b2d22.js} +22 -22
- package/dist/chunks/{persistent-pty-ws2vmpjm.js → plugin-akmb2x75.js} +25 -25
- package/dist/chunks/{persistent-pty-7n4w6ry8.js → plugin-amvtxfe6.js} +18 -18
- package/dist/chunks/{persistent-pty-xn95c7ne.js → plugin-amwnzxwh.js} +18 -18
- package/dist/chunks/{persistent-pty-nam5nxhh.js → plugin-aqag2c9v.js} +4 -4
- package/dist/chunks/{persistent-pty-xv04d7wa.js → plugin-ar26kh34.js} +17 -17
- package/dist/chunks/{persistent-pty-5sjzzvdy.js → plugin-avwgryr9.js} +17 -17
- package/dist/chunks/{persistent-pty-tjwtrm03.js → plugin-b179z9aa.js} +5 -5
- package/dist/chunks/{persistent-pty-snd67510.js → plugin-b18be9y0.js} +30 -30
- package/dist/chunks/{persistent-pty-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-q76v78a4.js → plugin-b6w32ww0.js} +23 -23
- package/dist/chunks/{persistent-pty-1d4qa1yv.js → plugin-b6y062z6.js} +20 -20
- package/dist/chunks/{persistent-pty-zhaqhg6g.js → plugin-b74dvs76.js} +16 -16
- package/dist/chunks/{persistent-pty-xvedb59m.js → plugin-bft59c27.js} +9 -9
- package/dist/chunks/{persistent-pty-xf92ehtp.js → plugin-bgnxh9ws.js} +3 -3
- package/dist/chunks/{persistent-pty-z1fz22vh.js → plugin-bp6nxkyb.js} +9 -9
- package/dist/chunks/{persistent-pty-9mbx3c6g.js → plugin-c5gbtkrm.js} +32 -32
- package/dist/chunks/{persistent-pty-xn1vbmeg.js → plugin-c6fg679z.js} +15 -15
- package/dist/chunks/{persistent-pty-dysmr7k2.js → plugin-c9rjf8cy.js} +32 -32
- package/dist/chunks/{persistent-pty-wxagtd6d.js → plugin-cbhkx3tr.js} +44 -44
- package/dist/chunks/{persistent-pty-abkq1pjw.js → plugin-ck862t9c.js} +15 -15
- package/dist/chunks/{persistent-pty-rn484enx.js → plugin-cnw1ybh9.js} +13 -13
- package/dist/chunks/{persistent-pty-1gg3s3st.js → plugin-cyj9nmfd.js} +8 -8
- package/dist/chunks/{persistent-pty-9jzr21ep.js → plugin-d82y3xth.js} +8 -8
- package/dist/chunks/{persistent-pty-x661k3y3.js → plugin-db2wf4at.js} +4 -4
- package/dist/chunks/{persistent-pty-dpkg50ah.js → plugin-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-tmrd8qpe.js → plugin-dr3mn59c.js} +9 -9
- package/dist/chunks/{persistent-pty-map7adnp.js → plugin-e0trdp3d.js} +32 -32
- package/dist/chunks/{persistent-pty-hqhz58vx.js → plugin-e2mhf28a.js} +4 -4
- package/dist/chunks/{persistent-pty-h2saytx3.js → plugin-e4ncs75c.js} +18 -18
- package/dist/chunks/{persistent-pty-52aykxm2.js → plugin-e66nesxb.js} +20 -20
- package/dist/chunks/{persistent-pty-g7tbsqx0.js → plugin-e7c78a3c.js} +13 -13
- package/dist/chunks/{persistent-pty-d0gvmkv5.js → plugin-e7ewrzh6.js} +65 -65
- package/dist/chunks/{persistent-pty-v06x2rvj.js → plugin-e7hm9j0w.js} +3 -3
- package/dist/chunks/{persistent-pty-3q5w9v8n.js → plugin-e7ypp41t.js} +3 -3
- package/dist/chunks/{persistent-pty-7dy85ahw.js → plugin-e8vwfchq.js} +6 -6
- package/dist/chunks/{persistent-pty-6pb6sdx8.js → plugin-ebq1f2c4.js} +4 -4
- package/dist/chunks/{persistent-pty-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-ked9vqb3.js → plugin-ek1j26r9.js} +17 -17
- package/dist/chunks/{persistent-pty-sjraay0z.js → plugin-em9t7gzc.js} +27 -27
- package/dist/chunks/{persistent-pty-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-ccdvrwrq.js → plugin-ev3erbeg.js} +8 -8
- package/dist/chunks/{persistent-pty-6m05awva.js → plugin-f1p9y8zj.js} +55 -55
- package/dist/chunks/{persistent-pty-bp6a26mh.js → plugin-f59n54pq.js} +9 -9
- package/dist/chunks/{persistent-pty-38aq64y5.js → plugin-fhay06rt.js} +20 -20
- package/dist/chunks/{persistent-pty-t1dawjzh.js → plugin-fqtvmpfq.js} +8 -8
- package/dist/chunks/{persistent-pty-y8swg4d6.js → plugin-fwnv5zf0.js} +41 -41
- package/dist/chunks/{persistent-pty-g6yfr6ja.js → plugin-g6yfr6ja.js} +2 -2
- package/dist/chunks/{persistent-pty-6zxqk44r.js → plugin-g7dz6sma.js} +6 -6
- package/dist/chunks/{persistent-pty-yq6mmt2t.js → plugin-ga0hptyh.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-rh75w547.js → plugin-gtrhej8x.js} +19 -19
- package/dist/chunks/{persistent-pty-yrcj3v3g.js → plugin-gw7cjrad.js} +4 -4
- package/dist/chunks/{persistent-pty-40mpssyg.js → plugin-h237y1hp.js} +30 -30
- package/dist/chunks/{persistent-pty-h2b79v29.js → plugin-h2b79v29.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-t0cpmee7.js → plugin-ha18sq8v.js} +11 -11
- package/dist/chunks/plugin-ht5y0zrb.js +18 -0
- package/dist/chunks/{persistent-pty-6zwqfqhk.js → plugin-hw0qwmn2.js} +11 -11
- package/dist/chunks/{persistent-pty-1276degm.js → plugin-j1n7agav.js} +24 -24
- package/dist/chunks/{persistent-pty-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-mjr85pze.js → plugin-j6e2c7xw.js} +11 -11
- package/dist/chunks/{persistent-pty-4ngp4gmj.js → plugin-jahgpaz9.js} +23 -23
- package/dist/chunks/{persistent-pty-e173yrwe.js → plugin-jnqz9a2w.js} +12 -12
- package/dist/chunks/{persistent-pty-frm38rby.js → plugin-k0xk7f5q.js} +28 -28
- package/dist/chunks/{persistent-pty-dddzyqpc.js → plugin-k3s89w80.js} +13 -13
- package/dist/chunks/{persistent-pty-2des930g.js → plugin-k5t7rshj.js} +32 -32
- package/dist/chunks/{persistent-pty-gep6bbz4.js → plugin-k6ktwx3w.js} +36 -36
- package/dist/chunks/{persistent-pty-5tcm9639.js → plugin-k70p9jzb.js} +9 -9
- package/dist/chunks/{persistent-pty-fjedc0n6.js → plugin-k83ja6p9.js} +27 -27
- package/dist/chunks/{persistent-pty-vbv96av7.js → plugin-kdb0wxfy.js} +14 -14
- package/dist/chunks/{persistent-pty-8tb93y3v.js → plugin-kdbeyht2.js} +8 -8
- package/dist/chunks/{persistent-pty-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-77zs8g8n.js → plugin-mbwetfdd.js} +14 -14
- package/dist/chunks/{persistent-pty-t845f9hx.js → plugin-mdwhmar9.js} +15 -15
- package/dist/chunks/{persistent-pty-yp3cv92q.js → plugin-nb1ky5fj.js} +16 -16
- package/dist/chunks/{persistent-pty-d2m6d01v.js → plugin-nf6gg3qx.js} +20 -20
- package/dist/chunks/{persistent-pty-52w7dg7x.js → plugin-nf8t0c59.js} +25 -25
- package/dist/chunks/{persistent-pty-4hc31b97.js → plugin-npzmw89e.js} +22 -22
- package/dist/chunks/{persistent-pty-c957ak9e.js → plugin-nrztd3hq.js} +14 -14
- package/dist/chunks/{persistent-pty-sq20rjr1.js → plugin-ntycb3pe.js} +5 -5
- package/dist/chunks/{persistent-pty-qnn75meq.js → plugin-nvzkeydp.js} +6 -6
- package/dist/chunks/{persistent-pty-a5r4xth4.js → plugin-nvzxqk3k.js} +13 -13
- package/dist/chunks/{persistent-pty-qwfjbs6q.js → plugin-p4vbx1px.js} +13 -13
- package/dist/chunks/{persistent-pty-gye40d0j.js → plugin-paa5t61c.js} +14 -14
- package/dist/chunks/{persistent-pty-1t9yseh2.js → plugin-pbahbm87.js} +1 -1
- package/dist/chunks/{persistent-pty-bdz6xynk.js → plugin-pcgtvjtb.js} +11 -11
- package/dist/chunks/plugin-pej1tjty.js +253 -0
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-as7cf5zz.js → plugin-pkqb68ka.js} +4 -4
- package/dist/chunks/{persistent-pty-pa5kmbm8.js → plugin-pnhy747t.js} +20 -20
- package/dist/chunks/{persistent-pty-ghr1eecf.js → plugin-ps8620kg.js} +10 -10
- package/dist/chunks/{persistent-pty-d3t94897.js → plugin-pskvvnw1.js} +23 -23
- package/dist/chunks/{persistent-pty-q0xm7vwc.js → plugin-q0xm7vwc.js} +2 -2
- package/dist/chunks/plugin-q20jv0rb.js +507 -0
- package/dist/chunks/{persistent-pty-3j0nkq0d.js → plugin-q40dj8e5.js} +21 -21
- package/dist/chunks/{persistent-pty-2fd2am7y.js → plugin-q51c7908.js} +18 -18
- package/dist/chunks/{persistent-pty-ea8jtqgg.js → plugin-q70t7gd8.js} +9 -9
- package/dist/chunks/{persistent-pty-rgpk8c3t.js → plugin-qgvxkg4m.js} +179 -179
- package/dist/chunks/{persistent-pty-fc43n6xf.js → plugin-qkkm507d.js} +8 -8
- package/dist/chunks/{persistent-pty-cwa6csj7.js → plugin-qmqgtz8f.js} +9 -9
- package/dist/chunks/{persistent-pty-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-2bz9k98p.js → plugin-qsd76w7z.js} +7 -7
- package/dist/chunks/{persistent-pty-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-ch4t865s.js → plugin-rav9e4bf.js} +8 -8
- package/dist/chunks/{persistent-pty-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-kwdk7p8f.js → plugin-rmpfz9qj.js} +26 -26
- package/dist/chunks/{persistent-pty-smespjaf.js → plugin-rxxzktnj.js} +5 -5
- package/dist/chunks/{persistent-pty-yhf6nfj4.js → plugin-ry3mjkdh.js} +24 -24
- package/dist/chunks/{persistent-pty-qygbw77c.js → plugin-scgrse2b.js} +5 -5
- package/dist/chunks/{persistent-pty-msptq8w2.js → plugin-sdte03hf.js} +30 -30
- package/dist/chunks/{persistent-pty-k1dde556.js → plugin-snth2vya.js} +11 -11
- package/dist/chunks/{persistent-pty-dh6ejakv.js → plugin-sntjch4w.js} +11 -11
- package/dist/chunks/{persistent-pty-my4zabxr.js → plugin-ss358qx3.js} +3 -3
- package/dist/chunks/{persistent-pty-6j10w38a.js → plugin-sshtd9fz.js} +21 -21
- package/dist/chunks/{persistent-pty-2h6g5cw7.js → plugin-ssrwn3ya.js} +47 -47
- package/dist/chunks/{persistent-pty-8q9myf25.js → plugin-sxzvkvgj.js} +6 -6
- package/dist/chunks/{persistent-pty-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-9yj6y0aa.js → plugin-tgp6r9x7.js} +11 -11
- package/dist/chunks/{persistent-pty-5kbfdsfa.js → plugin-tmjk8msh.js} +10 -10
- package/dist/chunks/{persistent-pty-6kgg59pf.js → plugin-v1sag97x.js} +5 -5
- package/dist/chunks/{persistent-pty-v5dkyp31.js → plugin-v5dkyp31.js} +1 -1
- package/dist/chunks/{persistent-pty-yb9kj8pc.js → plugin-v65hw006.js} +27 -27
- package/dist/chunks/{persistent-pty-zgtbcyex.js → plugin-v71c1a1v.js} +4 -4
- package/dist/chunks/{persistent-pty-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-qvb3nf84.js → plugin-vgx6weyf.js} +8 -8
- package/dist/chunks/{persistent-pty-j3yw4q5j.js → plugin-vhen0w1n.js} +5 -5
- package/dist/chunks/plugin-vnard5rx.js +166 -0
- package/dist/chunks/{persistent-pty-20ykreb2.js → plugin-vv067ckv.js} +11 -11
- package/dist/chunks/{persistent-pty-9pkkzrmj.js → plugin-vxp3kcg3.js} +5 -5
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-84txncab.js → plugin-w1eejvng.js} +5 -5
- package/dist/chunks/{persistent-pty-x8nragah.js → plugin-w24qmnvj.js} +43 -43
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-9rghtk6e.js → plugin-wfmxrmcp.js} +20 -20
- package/dist/chunks/{persistent-pty-ptvvbxck.js → plugin-wsv2n53z.js} +6 -6
- package/dist/chunks/{persistent-pty-rhjbct0v.js → plugin-wv396vej.js} +8 -8
- package/dist/chunks/{persistent-pty-xcwya4hk.js → plugin-x4d5q8t7.js} +9 -9
- package/dist/chunks/{persistent-pty-cywnvfy5.js → plugin-xakhm4tn.js} +10 -10
- package/dist/chunks/{persistent-pty-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
- package/dist/chunks/{persistent-pty-tfzngn12.js → plugin-xxxym934.js} +4 -4
- package/dist/chunks/{persistent-pty-xyafkbt0.js → plugin-xyafkbt0.js} +3 -3
- package/dist/chunks/{persistent-pty-p2r9c57w.js → plugin-y0411vg4.js} +35 -35
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-zsg7tck2.js → plugin-y3h5g7g6.js} +25 -25
- package/dist/chunks/{persistent-pty-5ttg62tg.js → plugin-yfbpz9gr.js} +17 -17
- package/dist/chunks/{persistent-pty-rhraev7y.js → plugin-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-qm2kbj48.js → plugin-yy74f440.js} +45 -45
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-0r3c1bmw.js → plugin-z6c3x22d.js} +5 -5
- package/dist/chunks/{persistent-pty-ybpy5619.js → plugin-zdfqscx7.js} +37 -37
- package/dist/chunks/{persistent-pty-27v5mrzz.js → plugin-zekzssjs.js} +3 -3
- package/dist/chunks/{persistent-pty-4f0xd74p.js → plugin-zf67r54m.js} +32 -32
- package/dist/chunks/{persistent-pty-mw3kjfgh.js → plugin-zqskxcvf.js} +16 -16
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +104 -104
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -212
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +94 -94
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/plugin/provider/google-vertex.d.ts +5 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-67c7by3v.js +0 -26
- package/dist/chunks/persistent-pty-er5qhcv3.js +0 -253
- package/dist/chunks/persistent-pty-phz3h32g.js +0 -18
- package/dist/chunks/persistent-pty-qfqfjc74.js +0 -69
- package/dist/chunks/persistent-pty-vk7m4zfp.js +0 -507
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-db2wf4at.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-ga0hptyh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./plugin-07nvsf4k.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-h237y1hp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./plugin-c9rjf8cy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./plugin-05jdftm3.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-4m8vjzqx.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-xakhm4tn.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./plugin-q40dj8e5.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./plugin-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -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: ID9.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ 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*
|
|
166
|
+
const providers = yield* Service64;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID8.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID8.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID8.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID8.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID8.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID8.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./plugin-5f41ny5v.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-wv396vej.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./plugin-npzmw89e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./plugin-4xsb3hs6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin19
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin19 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service43;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
|
-
const location = yield*
|
|
43
|
-
const watcher = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
|
+
const watcher = yield* Service57;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin19, exports_instruction };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ga0hptyh.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-db2wf4at.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service65,
|
|
15
|
+
node69,
|
|
16
|
+
Event14
|
|
17
|
+
} from "./plugin-h237y1hp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./plugin-4xsb3hs6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,13 +38,13 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
41
|
+
Event: () => Event13,
|
|
42
|
+
ID: () => ID8,
|
|
43
|
+
Info: () => Info18,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
|
-
Request: () =>
|
|
47
|
-
Service: () =>
|
|
46
|
+
Request: () => Request2,
|
|
47
|
+
Service: () => Service64,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node68,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
72
|
+
var ID8 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -237,13 +237,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
237
237
|
return result;
|
|
238
238
|
}, new Map).values());
|
|
239
239
|
}
|
|
240
|
-
var
|
|
240
|
+
var Request2 = Provider.Request;
|
|
241
241
|
var Compaction3 = Provider.Compaction;
|
|
242
242
|
var Transport2 = Provider.Transport;
|
|
243
243
|
var Settings2 = Provider.Settings;
|
|
244
|
-
var
|
|
244
|
+
var Info18 = Provider.Info;
|
|
245
245
|
|
|
246
|
-
class
|
|
246
|
+
class Service64 extends Context.Service()("@opencode/Provider") {
|
|
247
247
|
}
|
|
248
248
|
var definitions = new WeakMap;
|
|
249
249
|
function index(providerID, models) {
|
|
@@ -256,10 +256,10 @@ function index(providerID, models) {
|
|
|
256
256
|
definitions.set(models, indexes);
|
|
257
257
|
return result;
|
|
258
258
|
}
|
|
259
|
-
var layer = Layer.effect(
|
|
259
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
260
260
|
const bus = yield* Service83;
|
|
261
|
-
const integrations = yield*
|
|
262
|
-
const location = yield*
|
|
261
|
+
const integrations = yield* Service65;
|
|
262
|
+
const location = yield* Service78;
|
|
263
263
|
const state = create3({
|
|
264
264
|
name: "provider",
|
|
265
265
|
initial: () => new Map,
|
|
@@ -270,7 +270,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
270
270
|
const current = records.get(id);
|
|
271
271
|
if (current)
|
|
272
272
|
return current;
|
|
273
|
-
const added = { provider:
|
|
273
|
+
const added = { provider: Info18.empty(id), models: new Map };
|
|
274
274
|
records.set(id, added);
|
|
275
275
|
maps.add(added.models);
|
|
276
276
|
return added;
|
|
@@ -351,7 +351,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
351
351
|
const available = Array.from(records.values()).filter((record) => {
|
|
352
352
|
if (record.provider.activation === "disabled")
|
|
353
353
|
return false;
|
|
354
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
354
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
355
355
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
356
356
|
return false;
|
|
357
357
|
if (record.provider.activation === "enabled")
|
|
@@ -377,8 +377,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
377
377
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
378
378
|
});
|
|
379
379
|
});
|
|
380
|
-
yield* bus.subscribe([
|
|
381
|
-
return
|
|
380
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
381
|
+
return Service64.of({
|
|
382
382
|
transform: state.transform,
|
|
383
383
|
reload: state.reload,
|
|
384
384
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -387,7 +387,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
387
387
|
snapshot
|
|
388
388
|
});
|
|
389
389
|
}));
|
|
390
|
-
var
|
|
390
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node87, node69, node82] });
|
|
391
391
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
392
392
|
const module = yield* Effect.tryPromise({
|
|
393
393
|
try: () => {
|
|
@@ -662,4 +662,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
662
662
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
663
663
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
664
664
|
|
|
665
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
665
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service64, node68, exports_provider3, Event13 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-ga0hptyh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service66,
|
|
11
|
+
node70
|
|
12
|
+
} from "./plugin-07nvsf4k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./plugin-4xsb3hs6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node62
|
|
20
|
+
} from "./plugin-j1n7agav.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service67,
|
|
24
|
+
node71
|
|
25
|
+
} from "./plugin-4e5pjfnh.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node69
|
|
35
|
+
} from "./plugin-h237y1hp.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./plugin-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const environment = yield* Service59;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service67;
|
|
119
|
+
const integration = yield* Service65;
|
|
120
|
+
const credentials = yield* Service66;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service66, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service66, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID11.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service32.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service32,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node82, node62, node87, node71, node69, node70]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node35 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer15, configured4, node35, exports_mcp4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./plugin-4xsb3hs6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make22,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-wv396vej.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
18
|
Service: () => Service26,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node30
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -25,11 +25,11 @@ class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
28
|
+
const location = yield* Service78;
|
|
29
29
|
return Service26.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make22({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make22({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node82] });
|
|
64
64
|
|
|
65
|
-
export { Service26,
|
|
65
|
+
export { Service26, node30, exports_builtins };
|