@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./plugin-4xsb3hs6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./plugin-j1n7agav.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service20
|
|
15
|
+
} from "./plugin-paa5t61c.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-88wnevm5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service72
|
|
24
|
+
} from "./plugin-f1p9y8zj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service71
|
|
27
|
+
} from "./plugin-amvtxfe6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin42,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input4 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin42 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service59;
|
|
70
|
+
const ripgrep = yield* Service20;
|
|
71
|
+
const location = yield* Service78;
|
|
72
|
+
const access = yield* Service71;
|
|
73
|
+
const permission = yield* Service72;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin39 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output5, toModelContent3, Plugin42, exports_glob };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ga0hptyh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node71
|
|
8
|
+
} from "./plugin-4e5pjfnh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./plugin-8e73z6s7.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service78,
|
|
16
|
+
node82
|
|
17
|
+
} from "./plugin-4xsb3hs6.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-q70t7gd8.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node76
|
|
27
|
+
} from "./plugin-f1p9y8zj.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service77,
|
|
30
|
+
node81
|
|
31
|
+
} from "./plugin-7adggac6.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
@@ -49,11 +49,11 @@ class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
|
49
49
|
}
|
|
50
50
|
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
|
+
const permission = yield* Service72;
|
|
54
|
+
const forms = yield* Service67;
|
|
55
|
+
const rpc = yield* Service77;
|
|
56
|
+
const project = yield* Service79;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
83
83
|
var node15 = makeLocationNode({
|
|
84
84
|
service: Service13,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node82, node76, node83, node71, node81]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
89
|
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-4hrcm8j6.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service73,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service73 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service73.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info23, ListInput4, AddInput2, Service73, node77, exports_saved };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service65,
|
|
4
|
+
node69
|
|
5
|
+
} from "./plugin-h237y1hp.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service64,
|
|
18
|
+
node68
|
|
19
|
+
} from "./plugin-c9rjf8cy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service63,
|
|
22
|
+
node67
|
|
23
|
+
} from "./plugin-tgp6r9x7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID6,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service58,
|
|
29
|
+
node61,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-05jdftm3.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service47,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer20,
|
|
51
|
+
node: () => node49,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID8,
|
|
62
|
+
modelID: ID6,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID8,
|
|
72
|
+
modelID: ID6,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID8,
|
|
83
|
+
modelID: ID6,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID8,
|
|
94
|
+
modelID: ID6,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID8,
|
|
106
|
+
modelID: ID6,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID8,
|
|
116
|
+
modelID: ID6,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service47 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
235
235
|
return tokenSettings(specifier, credential.access);
|
|
236
236
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
237
237
|
return { auth: "sigv4" };
|
|
238
|
-
if (model.providerID ===
|
|
238
|
+
if (model.providerID === ID8.azure)
|
|
239
239
|
return tokenSettings(specifier, "azure-cli");
|
|
240
240
|
return {};
|
|
241
241
|
};
|
|
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service64;
|
|
275
|
+
const models = yield* Service58;
|
|
276
|
+
const integrations = yield* Service65;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service63;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
281
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
282
282
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
283
283
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
284
284
|
const runtimeInfo = {
|
|
@@ -305,7 +305,7 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service47.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node49 = makeLocationNode({
|
|
326
|
+
service: Service47,
|
|
327
|
+
layer: layer20,
|
|
328
|
+
deps: [node68, node61, node69, Npm.node, node67]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node49, exports_model_resolver };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info13 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|