@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,65 +1,65 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID10,
|
|
26
|
+
Info: () => Info21,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service66,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node70
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
|
-
var
|
|
40
|
+
var Key3 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event15 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info21 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID10,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service66 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service84).db;
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info21({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service66.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info21({
|
|
82
|
+
id: input.id ?? ID10.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88, node87] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID10, OAuth3, Key3, External2, Value2, Event15, Info21, Service66, node70, exports_credential };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-xakhm4tn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-ga0hptyh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./plugin-07nvsf4k.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-db2wf4at.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-h237y1hp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./plugin-c9rjf8cy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID6,
|
|
25
|
+
Info16
|
|
26
|
+
} from "./plugin-05jdftm3.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID8.gitlab;
|
|
39
|
+
var integrationID = ID9.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service64;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info16.default(providerID, ID6.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info26,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-ss358qx3.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-4hrcm8j6.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-ga0hptyh.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./plugin-8e73z6s7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service42,
|
|
24
|
+
node44
|
|
25
|
+
} from "./plugin-sxzvkvgj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./plugin-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node43
|
|
34
|
+
} from "./plugin-nf6gg3qx.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./plugin-pkqb68ka.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./plugin-ek1j26r9.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node27
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./plugin-e7c78a3c.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
50
|
node52
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./plugin-xakhm4tn.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./plugin-e8vwfchq.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service74,
|
|
68
|
+
node78
|
|
69
|
+
} from "./plugin-mbwetfdd.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service51,
|
|
72
|
+
node54
|
|
73
|
+
} from "./plugin-nb1ky5fj.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service38,
|
|
76
|
+
node41
|
|
77
|
+
} from "./plugin-zdfqscx7.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./plugin-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service30,
|
|
83
|
+
node33
|
|
84
|
+
} from "./plugin-sntjch4w.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./plugin-jnqz9a2w.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./plugin-d82y3xth.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service46,
|
|
93
|
+
node48
|
|
94
|
+
} from "./plugin-q70t7gd8.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
99
|
+
Service23,
|
|
100
100
|
node26
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./plugin-4gaxa8kh.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service55,
|
|
104
|
+
node58
|
|
105
|
+
} from "./plugin-vgx6weyf.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./plugin-b18be9y0.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./plugin-snth2vya.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./plugin-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,14 +123,14 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID16,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info26,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
135
|
Service: () => Service22,
|
|
136
136
|
Session: () => exports_session,
|
|
@@ -148,7 +148,7 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
152
|
class Service22 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
154
|
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
@@ -156,16 +156,16 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service38;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service30;
|
|
163
|
+
const store = yield* Service74;
|
|
164
|
+
const instances = yield* Service42;
|
|
165
|
+
const moves = yield* Service23;
|
|
166
|
+
const jobs = yield* Service51;
|
|
167
|
+
const environments = yield* Service55;
|
|
168
|
+
const locations = yield* Service46;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
171
|
const result = Service22.of({
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -331,20 +331,20 @@ var node25 = Node.makeGlobalNode({
|
|
|
331
331
|
service: Service22,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node54,
|
|
335
|
+
node58,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node83,
|
|
339
|
+
node41,
|
|
340
|
+
node33,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
node78,
|
|
343
|
+
node44,
|
|
344
|
+
node43,
|
|
345
345
|
node26,
|
|
346
346
|
node27,
|
|
347
|
-
|
|
347
|
+
node48,
|
|
348
348
|
FSUtil.node,
|
|
349
349
|
node52
|
|
350
350
|
]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-vxp3kcg3.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./plugin-j1n7agav.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service59;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
14
|
Info: () => Info29,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
@@ -22,10 +22,10 @@ var ID18 = Project.ID;
|
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
23
|
var Info29 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3, Info29, UpdateInput4,
|
|
31
|
+
export { ID18, Current3, Info29, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-ga0hptyh.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-05jdftm3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service17,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./plugin-9wnskma6.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service17;
|
|
36
36
|
const bus = yield* Service83;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|