@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-4hrcm8j6.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-ga0hptyh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service42,
|
|
11
|
+
node44
|
|
12
|
+
} from "./plugin-sxzvkvgj.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./plugin-8e73z6s7.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-4xsb3hs6.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service46,
|
|
26
|
+
node48
|
|
27
|
+
} from "./plugin-q70t7gd8.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./plugin-e8vwfchq.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./plugin-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service39
|
|
39
|
+
} from "./plugin-06x8he3q.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service74,
|
|
42
|
+
node78
|
|
43
|
+
} from "./plugin-mbwetfdd.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service41,
|
|
48
|
+
node43,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./plugin-nf6gg3qx.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service38,
|
|
53
|
+
node41
|
|
54
|
+
} from "./plugin-zdfqscx7.js";
|
|
55
55
|
import {
|
|
56
56
|
node27
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./plugin-e7c78a3c.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./plugin-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,7 +65,7 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service23,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
70
|
node: () => node26
|
|
71
71
|
});
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service23 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service46;
|
|
93
|
+
const store = yield* Service74;
|
|
94
|
+
const execution = yield* Service38;
|
|
95
|
+
const instances = yield* Service42;
|
|
96
|
+
const admission = yield* Service41;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service39.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service23.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -164,21 +164,21 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
166
|
var node26 = makeGlobalNode({
|
|
167
|
-
service:
|
|
167
|
+
service: Service23,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
node85,
|
|
173
172
|
node83,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node48,
|
|
174
|
+
node78,
|
|
175
|
+
node41,
|
|
176
|
+
node44,
|
|
177
|
+
node43,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
180
|
node27
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-32q55df5.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-zekzssjs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node64,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node64 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node64, exports_driver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-c9rjf8cy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info16
|
|
11
|
+
} from "./plugin-05jdftm3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID6.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info16.make({
|
|
122
|
+
...Info16.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID6.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-c9rjf8cy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-05jdftm3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin12 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin12, exports_tool_input_repair };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin37 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin44 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin37, exports_opencode };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./plugin-8e73z6s7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node82,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service78 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node82 = LayerNode.unbound(Service78, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service79;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service78.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service78,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node83]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info27, Ref4, response2,
|
|
43
|
+
export { Info27, Ref4, response2, Service78, node82, boundNode2, exports_location };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./plugin-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-ht5y0zrb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./plugin-ssrwn3ya.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ga0hptyh.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info10,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service50,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node53
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info10 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info10.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service50.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node53 = makeLocationNode({
|
|
75
|
+
service: Service50,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info10, NotFoundError5, ExecutionError2, Service50, layer22, node53, exports_command4, Event10 };
|