@opencode/core 0.0.0-dev-21069 → 0.0.0-dev-21071
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +3 -3
- package/dist/bus.js +75 -75
- package/dist/chunks/{git-wqz4eby1.js → file-mutation-04gahc5k.js} +13 -13
- package/dist/chunks/{git-afqskp6j.js → file-mutation-0bc7m438.js} +8 -8
- package/dist/chunks/{git-7dqw4kz8.js → file-mutation-0jwsre1p.js} +5 -5
- package/dist/chunks/{git-qnaf4t8h.js → file-mutation-0mpedbbb.js} +25 -25
- package/dist/chunks/{git-ygdna4kr.js → file-mutation-0r3c1bmw.js} +5 -5
- package/dist/chunks/{git-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-s132tc7h.js → file-mutation-0yhk6gp6.js} +31 -31
- package/dist/chunks/{git-f58gpcny.js → file-mutation-0ypwzj5g.js} +9 -9
- package/dist/chunks/{git-yhjwftg3.js → file-mutation-11b27e8f.js} +18 -18
- package/dist/chunks/{git-tyxhgj5h.js → file-mutation-14yva1n7.js} +50 -50
- package/dist/chunks/{git-jv7bf4eg.js → file-mutation-1cq4pe0m.js} +12 -12
- package/dist/chunks/{git-ywt8jp22.js → file-mutation-1ffvrpkg.js} +6 -6
- package/dist/chunks/{git-hbb48s8v.js → file-mutation-1j8qaxwj.js} +30 -30
- package/dist/chunks/{git-gqcfbtm3.js → file-mutation-1jj86a1g.js} +24 -24
- package/dist/chunks/{git-perpg7kn.js → file-mutation-1r21y0zf.js} +22 -22
- package/dist/chunks/{git-8rta2mgv.js → file-mutation-21gy9x8d.js} +29 -29
- package/dist/chunks/{git-vrt7w025.js → file-mutation-25jsarnm.js} +17 -17
- package/dist/chunks/{git-02614zk1.js → file-mutation-2anmfb28.js} +13 -13
- package/dist/chunks/{git-qmc0kwyt.js → file-mutation-2pky7py4.js} +18 -18
- package/dist/chunks/{git-na5v7rrw.js → file-mutation-39crmc22.js} +27 -27
- package/dist/chunks/{git-cmbb65yx.js → file-mutation-3b2a3n6q.js} +20 -20
- package/dist/chunks/{git-6v7mnssa.js → file-mutation-3dz6ahwr.js} +17 -17
- package/dist/chunks/{git-jmecpmqm.js → file-mutation-3ed11w8s.js} +10 -10
- package/dist/chunks/{git-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-fntcccxw.js → file-mutation-3nh75wq8.js} +15 -15
- package/dist/chunks/{git-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-0yvmkw8f.js → file-mutation-3vnbg786.js} +4 -4
- package/dist/chunks/{git-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-gh1jkbka.js → file-mutation-4ahhhrmd.js} +319 -319
- package/dist/chunks/{git-krwp2252.js → file-mutation-4rseknjd.js} +14 -14
- package/dist/chunks/{git-4yjw5cbc.js → file-mutation-50dehnmn.js} +12 -12
- package/dist/chunks/{git-0zd41eb9.js → file-mutation-59zkjk3y.js} +13 -13
- package/dist/chunks/{git-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-edc28t1d.js → file-mutation-5wap4m0x.js} +20 -20
- package/dist/chunks/{git-gykybrp3.js → file-mutation-5yssak3t.js} +11 -11
- package/dist/chunks/{git-rqa1jxse.js → file-mutation-63db42yp.js} +2 -2
- package/dist/chunks/{git-jrqabhyb.js → file-mutation-6hr6wpb4.js} +10 -10
- package/dist/chunks/{git-5mv525pg.js → file-mutation-6mr69mjb.js} +30 -30
- package/dist/chunks/{git-73g798cj.js → file-mutation-6vav3wr9.js} +16 -16
- package/dist/chunks/{git-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-bh4vy26f.js → file-mutation-7020efnj.js} +13 -13
- package/dist/chunks/{git-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{git-69crj1q0.js → file-mutation-776yvj3q.js} +21 -21
- package/dist/chunks/{git-f8kkz21q.js → file-mutation-77qt7e0z.js} +7 -7
- package/dist/chunks/{git-s2rmhwt5.js → file-mutation-79xjmmb5.js} +39 -39
- package/dist/chunks/{git-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-r5y2frqw.js → file-mutation-7hb0ye5y.js} +6 -6
- package/dist/chunks/{git-3cpe3kw7.js → file-mutation-7m8s928w.js} +64 -64
- package/dist/chunks/{git-266m7yvg.js → file-mutation-7n0883x4.js} +25 -25
- package/dist/chunks/{git-8j6brnn0.js → file-mutation-7s7hm91v.js} +18 -18
- package/dist/chunks/{git-g6g1f1f4.js → file-mutation-7sjtwm11.js} +32 -32
- package/dist/chunks/{git-7zt5x37y.js → file-mutation-7zt5x37y.js} +1 -1
- package/dist/chunks/{git-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{git-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-1468afn5.js → file-mutation-90d8cn73.js} +3 -3
- package/dist/chunks/{git-2119y00b.js → file-mutation-92c2cc71.js} +8 -8
- package/dist/chunks/{git-831gmjmg.js → file-mutation-92ddkf58.js} +4 -4
- package/dist/chunks/{git-5nvx1j92.js → file-mutation-92gn8zss.js} +14 -14
- package/dist/chunks/{git-txm3e8qz.js → file-mutation-97aeaand.js} +4 -4
- package/dist/chunks/{git-4xhx7w4s.js → file-mutation-995g38qh.js} +17 -17
- package/dist/chunks/{git-mc8yk1sj.js → file-mutation-9e8th0kv.js} +28 -28
- package/dist/chunks/{git-3w33sg6k.js → file-mutation-9h5yh638.js} +28 -28
- package/dist/chunks/{git-dq5d42ev.js → file-mutation-9rrwnz2a.js} +28 -28
- package/dist/chunks/{git-hfkyxwzf.js → file-mutation-9s6resbq.js} +14 -14
- package/dist/chunks/{git-9sh4wc5j.js → file-mutation-9sh4wc5j.js} +1 -1
- package/dist/chunks/{git-7jwfj2aw.js → file-mutation-a0zqwv0t.js} +9 -9
- package/dist/chunks/{git-n5fp27ar.js → file-mutation-a4wsassf.js} +21 -21
- package/dist/chunks/{git-acbjzsa7.js → file-mutation-afy8vrty.js} +11 -11
- package/dist/chunks/{git-fza1zbnh.js → file-mutation-amw107g8.js} +29 -29
- package/dist/chunks/{git-6jkg52sa.js → file-mutation-awj2nbsy.js} +18 -18
- package/dist/chunks/{git-zyk1yjk8.js → file-mutation-b3f8fkhc.js} +5 -5
- package/dist/chunks/{git-k4ahcazb.js → file-mutation-b43vfdes.js} +14 -14
- package/dist/chunks/{git-4k8e88tr.js → file-mutation-b7enqntx.js} +16 -16
- package/dist/chunks/{git-rwywfv65.js → file-mutation-b8bhhzxn.js} +17 -17
- package/dist/chunks/file-mutation-b9d8dn4y.js +26 -0
- package/dist/chunks/{git-3hyqebky.js → file-mutation-bt7w1kje.js} +17 -17
- package/dist/chunks/{git-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{git-2yvprtqn.js → file-mutation-c32pkzs5.js} +28 -28
- package/dist/chunks/{git-f337py0x.js → file-mutation-c6ayj5b9.js} +36 -36
- package/dist/chunks/{git-9nggydkc.js → file-mutation-c9hdf14c.js} +5 -5
- package/dist/chunks/{git-p8q506w0.js → file-mutation-cadd5v4z.js} +3 -3
- package/dist/chunks/{git-5jyrmfvy.js → file-mutation-cdyhe1ya.js} +11 -11
- package/dist/chunks/{git-j2fvhsza.js → file-mutation-cf7y9c8p.js} +11 -11
- package/dist/chunks/{git-5ycn1s57.js → file-mutation-cn9ad67s.js} +22 -22
- package/dist/chunks/{git-9psrfwvx.js → file-mutation-csq5hgpx.js} +15 -15
- package/dist/chunks/{git-ha3rtydb.js → file-mutation-ctc6ed33.js} +1 -1
- package/dist/chunks/{git-ekmdazyf.js → file-mutation-cxnfkyxa.js} +19 -19
- package/dist/chunks/{git-wyywahvm.js → file-mutation-d45jvkea.js} +25 -25
- package/dist/chunks/{git-db2wf4at.js → file-mutation-db2wf4at.js} +1 -1
- package/dist/chunks/{git-ex86cwx9.js → file-mutation-dj3cg100.js} +13 -13
- package/dist/chunks/{git-dqxsqydv.js → file-mutation-dqxsqydv.js} +1 -1
- package/dist/chunks/{git-z1sbw1b4.js → file-mutation-drh946jm.js} +64 -64
- package/dist/chunks/{git-drwq78ky.js → file-mutation-drwq78ky.js} +1 -1
- package/dist/chunks/{git-dtkbkpn6.js → file-mutation-e2hxmdav.js} +13 -13
- package/dist/chunks/{git-7tfmmy5j.js → file-mutation-e6n8rayc.js} +16 -16
- package/dist/chunks/{git-eaj1djv9.js → file-mutation-eaj1djv9.js} +1 -1
- package/dist/chunks/{git-j4qww8c3.js → file-mutation-ec4k3znj.js} +4 -4
- package/dist/chunks/{git-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-8a1xt0qe.js → file-mutation-efqq20xs.js} +18 -18
- package/dist/chunks/{git-vhc6xrgv.js → file-mutation-eha4acjp.js} +26 -26
- package/dist/chunks/{git-jmksq526.js → file-mutation-eyck5g6r.js} +4 -4
- package/dist/chunks/{git-tf1zb054.js → file-mutation-f2dsd17s.js} +14 -14
- package/dist/chunks/{git-30aagwgp.js → file-mutation-f741zez9.js} +10 -10
- package/dist/chunks/{git-bdpzzc2x.js → file-mutation-f78dsz6n.js} +11 -11
- package/dist/chunks/{git-s1kvmffy.js → file-mutation-fdms3n6w.js} +9 -9
- package/dist/chunks/{git-x10x1rpr.js → file-mutation-fdwveq8c.js} +6 -6
- package/dist/chunks/{git-zfvpt5cz.js → file-mutation-fefg9bmw.js} +29 -29
- package/dist/chunks/{git-a0vxgrxv.js → file-mutation-ffrvhpw6.js} +13 -13
- package/dist/chunks/{git-a2qe2ev9.js → file-mutation-fgem0d3n.js} +8 -8
- package/dist/chunks/{git-xknh7n4g.js → file-mutation-fp1pr8tk.js} +78 -78
- package/dist/chunks/{git-w0ctrm3b.js → file-mutation-fq5ew60m.js} +4 -4
- package/dist/chunks/{git-cmwkp3r5.js → file-mutation-g0445xdp.js} +4 -4
- package/dist/chunks/{git-1pxz8ven.js → file-mutation-g6yfr6ja.js} +5 -5
- package/dist/chunks/{git-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-2sejkfem.js → file-mutation-gjwgx2c5.js} +9 -9
- package/dist/chunks/{git-z64re3f0.js → file-mutation-gn5h8pq0.js} +44 -44
- package/dist/chunks/{git-4t5kpmng.js → file-mutation-grdcrf3d.js} +44 -44
- package/dist/chunks/{git-tzqb1zj9.js → file-mutation-gsqcb970.js} +9 -9
- package/dist/chunks/{git-gw7cjrad.js → file-mutation-gw7cjrad.js} +1 -1
- package/dist/chunks/{git-eaf53vd4.js → file-mutation-gy17075n.js} +3 -3
- package/dist/chunks/{git-zdkdeprt.js → file-mutation-gzn03n0s.js} +8 -8
- package/dist/chunks/{git-dkjqkvp1.js → file-mutation-h26t4a67.js} +4 -4
- package/dist/chunks/{git-qfqkgstd.js → file-mutation-h3z9m7dx.js} +3 -3
- package/dist/chunks/{git-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-31xfzrxg.js → file-mutation-h7s7r6s9.js} +5 -5
- package/dist/chunks/{git-6f5t57mb.js → file-mutation-h95evsxh.js} +2 -2
- package/dist/chunks/{git-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-qvpm0d7c.js → file-mutation-hhn1ddy0.js} +22 -22
- package/dist/chunks/{git-b40n6ccn.js → file-mutation-hjt1hbfa.js} +3 -3
- package/dist/chunks/{git-91qna3x0.js → file-mutation-j09zfasm.js} +3 -3
- package/dist/chunks/{git-9tw20s6t.js → file-mutation-j0ya2rs8.js} +43 -43
- package/dist/chunks/{git-gaamej5p.js → file-mutation-j33d5bbd.js} +9 -9
- package/dist/chunks/{git-cnh20cya.js → file-mutation-j41s7mqx.js} +28 -28
- package/dist/chunks/{git-5f47q2sq.js → file-mutation-j5cagssa.js} +14 -14
- package/dist/chunks/{git-sam7rjxf.js → file-mutation-jfrbrgfz.js} +5 -5
- package/dist/chunks/{git-t8jxbrbs.js → file-mutation-jhm1x23d.js} +1 -1
- package/dist/chunks/{git-mza4dkfk.js → file-mutation-jq0sr216.js} +24 -24
- package/dist/chunks/{git-ctwn6ggk.js → file-mutation-jr64ns26.js} +12 -12
- package/dist/chunks/{git-eh27m2d1.js → file-mutation-k0j14s5e.js} +18 -18
- package/dist/chunks/{git-pqbxjc4k.js → file-mutation-k1pj957b.js} +6 -6
- package/dist/chunks/{git-m5pxmjnr.js → file-mutation-k6q4wxba.js} +18 -18
- package/dist/chunks/{git-qkjhzd8c.js → file-mutation-k9dhbhwr.js} +14 -14
- package/dist/chunks/{git-9q8t3w4w.js → file-mutation-kf57y49z.js} +14 -14
- package/dist/chunks/{git-0ff5h7g9.js → file-mutation-kszxvpmf.js} +13 -13
- package/dist/chunks/{git-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{git-6q4rff1r.js → file-mutation-m3accaze.js} +21 -21
- package/dist/chunks/{git-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{git-0tz5f1ee.js → file-mutation-mk6dfvp6.js} +9 -9
- package/dist/chunks/{git-ve3sm23d.js → file-mutation-mnx7pdmv.js} +11 -11
- package/dist/chunks/{git-2q9xg5p3.js → file-mutation-mp3r2yw7.js} +13 -13
- package/dist/chunks/{git-nb5p96ve.js → file-mutation-mx57q4zt.js} +5 -5
- package/dist/chunks/{git-mydantps.js → file-mutation-mydantps.js} +5 -5
- package/dist/chunks/{git-c2jraa9j.js → file-mutation-n2mhxj6d.js} +28 -28
- package/dist/chunks/{git-7c88d4gx.js → file-mutation-n3xc443j.js} +3 -3
- package/dist/chunks/{git-hcv80w8f.js → file-mutation-n61013np.js} +8 -8
- package/dist/chunks/{git-e6ztw48d.js → file-mutation-nbk7mhjt.js} +8 -8
- package/dist/chunks/{git-3gt9q2bb.js → file-mutation-nexgpjkt.js} +8 -8
- package/dist/chunks/{git-qtpe9amp.js → file-mutation-ng5ntxb6.js} +2 -2
- package/dist/chunks/{git-5rzwp8tz.js → file-mutation-nma959mg.js} +3 -3
- package/dist/chunks/{git-fag8vj58.js → file-mutation-nq9e2zk5.js} +13 -13
- package/dist/chunks/{git-1w2wqhfv.js → file-mutation-ny8edt06.js} +4 -4
- package/dist/chunks/{git-8xjp7fxv.js → file-mutation-nz114yw4.js} +130 -130
- package/dist/chunks/{git-j5w2yx54.js → file-mutation-p7a39gy5.js} +6 -6
- package/dist/chunks/{git-6tcpm8dw.js → file-mutation-p7zy3mv1.js} +47 -47
- package/dist/chunks/{git-fdgewsy2.js → file-mutation-pcnfwazn.js} +42 -42
- package/dist/chunks/{git-kzp420br.js → file-mutation-pebh026f.js} +18 -18
- package/dist/chunks/{git-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{git-ym80zgz3.js → file-mutation-psezng9k.js} +13 -13
- package/dist/chunks/{git-r2fg6vv7.js → file-mutation-pw7kcs4h.js} +8 -8
- package/dist/chunks/{git-fbzjpc5s.js → file-mutation-q25spqw2.js} +24 -24
- package/dist/chunks/{git-rj2hqavp.js → file-mutation-q41etg39.js} +2 -2
- package/dist/chunks/{git-gnh85nqw.js → file-mutation-q6mv5x85.js} +25 -25
- package/dist/chunks/{git-ayrdz2nr.js → file-mutation-qbycd7ce.js} +16 -16
- package/dist/chunks/{git-mh6hy0t6.js → file-mutation-qcm1q03w.js} +16 -16
- package/dist/chunks/{git-k1n0z3hy.js → file-mutation-qf76qvkk.js} +5 -5
- package/dist/chunks/{git-00bpreyp.js → file-mutation-qkx8anmh.js} +8 -8
- package/dist/chunks/{git-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-0th69q4z.js → file-mutation-qp2gy7tz.js} +3 -3
- package/dist/chunks/{git-23wekjqs.js → file-mutation-qqjckzrk.js} +34 -34
- package/dist/chunks/{git-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{git-h1vtm10r.js → file-mutation-qygy1hkm.js} +13 -13
- package/dist/chunks/{git-g182skvz.js → file-mutation-qzex3fqc.js} +6 -6
- package/dist/chunks/{git-2ayr3kwx.js → file-mutation-r536j0mf.js} +16 -16
- package/dist/chunks/{git-54ma36ye.js → file-mutation-r94pvvab.js} +4 -4
- package/dist/chunks/{git-nq13secw.js → file-mutation-rbjx1tqt.js} +3 -3
- package/dist/chunks/{git-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-kdvnmn04.js → file-mutation-re1xywfy.js} +3 -3
- package/dist/chunks/{git-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{git-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{git-sgth7ws6.js → file-mutation-rjet8g1d.js} +5 -5
- package/dist/chunks/{git-6fw3c6yn.js → file-mutation-rk0h5111.js} +26 -26
- package/dist/chunks/{git-6pc27hjz.js → file-mutation-rkprpv83.js} +6 -6
- package/dist/chunks/{git-kpnmq009.js → file-mutation-rqg54x9b.js} +3 -3
- package/dist/chunks/{git-zgcpvakh.js → file-mutation-rzxj16tr.js} +8 -8
- package/dist/chunks/{git-8h31457k.js → file-mutation-s3g42skr.js} +27 -27
- package/dist/chunks/{git-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{git-4jk0qxj4.js → file-mutation-sbapmza5.js} +6 -6
- package/dist/chunks/{git-dpxxdp3p.js → file-mutation-sc1pjph2.js} +6 -6
- package/dist/chunks/{git-rxyg1hmn.js → file-mutation-sdma8epe.js} +11 -11
- package/dist/chunks/{git-cv9a3evq.js → file-mutation-sk8sk1p2.js} +15 -15
- package/dist/chunks/{git-v2rmwhj0.js → file-mutation-skb1qz6x.js} +7 -7
- package/dist/chunks/{git-48kw51zw.js → file-mutation-ss358qx3.js} +3 -3
- package/dist/chunks/{git-762r0j46.js → file-mutation-sykc9y4a.js} +5 -5
- package/dist/chunks/{git-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{git-2qsqy3dj.js → file-mutation-t1qtpgnt.js} +19 -19
- package/dist/chunks/{git-bnn5vwpb.js → file-mutation-t5dtnmtq.js} +1 -1
- package/dist/chunks/{git-2jfq4a2k.js → file-mutation-t8zq0xng.js} +6 -6
- package/dist/chunks/{git-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{git-ns8t88d0.js → file-mutation-teamcsp1.js} +8 -8
- package/dist/chunks/{git-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{git-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{git-tz4n1mmd.js → file-mutation-tz4n1mmd.js} +1 -1
- package/dist/chunks/{git-fpecnkgp.js → file-mutation-v0es1rhs.js} +9 -9
- package/dist/chunks/{git-r70na3yp.js → file-mutation-v1vh7s4p.js} +9 -9
- package/dist/chunks/{git-rmpjc43h.js → file-mutation-v2s2yk6j.js} +1 -1
- package/dist/chunks/{git-zk35yz24.js → file-mutation-v3dgmss6.js} +3 -3
- package/dist/chunks/{git-sxz6gkc3.js → file-mutation-v5dkyp31.js} +7 -7
- package/dist/chunks/{git-x3s9gwad.js → file-mutation-v7jrjpm7.js} +11 -11
- package/dist/chunks/{git-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-0qx6w01s.js → file-mutation-v9jtffcg.js} +9 -9
- package/dist/chunks/{git-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{git-ca80dkkt.js → file-mutation-vf3ky1a3.js} +10 -10
- package/dist/chunks/{git-rk7s9xkn.js → file-mutation-vfjhn2wd.js} +4 -4
- package/dist/chunks/file-mutation-vk909ydq.js +253 -0
- package/dist/chunks/{git-jewzahs7.js → file-mutation-vkfdnwpx.js} +4 -4
- package/dist/chunks/{git-bsps9kxp.js → file-mutation-vw7ed3qr.js} +8 -8
- package/dist/chunks/{git-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-3vzj2kxg.js → file-mutation-w48m6n7x.js} +23 -23
- package/dist/chunks/{git-g1hadtra.js → file-mutation-w4k8vqpf.js} +9 -9
- package/dist/chunks/{git-hmt9zk07.js → file-mutation-w6j04hb9.js} +30 -30
- package/dist/chunks/{git-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{git-wg81ww38.js → file-mutation-wg81ww38.js} +4 -4
- package/dist/chunks/{git-dywg3qh4.js → file-mutation-wkngazx7.js} +25 -25
- package/dist/chunks/{git-2j3rh8vt.js → file-mutation-wnc0h338.js} +7 -7
- package/dist/chunks/{git-4kdqwsjh.js → file-mutation-x478ts87.js} +12 -12
- package/dist/chunks/{git-tq31zwhn.js → file-mutation-x9be270t.js} +10 -10
- package/dist/chunks/{git-7bjh6j87.js → file-mutation-xck5qdb4.js} +28 -28
- package/dist/chunks/{git-8cptq6xk.js → file-mutation-xeprvqqe.js} +6 -6
- package/dist/chunks/{git-aeg33gny.js → file-mutation-xftmsjnm.js} +16 -16
- package/dist/chunks/{git-7xeqc4s4.js → file-mutation-xkvyqfan.js} +41 -41
- package/dist/chunks/{git-np1yhkch.js → file-mutation-xkz95gf0.js} +18 -18
- package/dist/chunks/{git-8v7vnxqj.js → file-mutation-xnbc6z54.js} +39 -39
- package/dist/chunks/{git-vvgkgf2d.js → file-mutation-xsa0zxax.js} +11 -11
- package/dist/chunks/{git-wyhe0yhr.js → file-mutation-xsg9rpyw.js} +21 -21
- package/dist/chunks/{git-7venh9gk.js → file-mutation-xxbj5h6b.js} +22 -22
- package/dist/chunks/{git-kad49353.js → file-mutation-xya6rnzh.js} +10 -10
- package/dist/chunks/{git-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-fvkc5bdm.js → file-mutation-y3xej2bp.js} +5 -5
- package/dist/chunks/{git-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{git-67w5jb7s.js → file-mutation-y7htv6vf.js} +14 -14
- package/dist/chunks/{git-wq8r3h7a.js → file-mutation-yfajwj4k.js} +7 -7
- package/dist/chunks/{git-b5r4mbce.js → file-mutation-ym04y10s.js} +11 -11
- package/dist/chunks/{git-f2n192rq.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-xrtj00bp.js → file-mutation-yrqbsmq1.js} +301 -301
- package/dist/chunks/{git-9c3np669.js → file-mutation-yvvvp4gn.js} +8 -8
- package/dist/chunks/{git-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-z0crbjfj.js → file-mutation-z0crbjfj.js} +2 -2
- package/dist/chunks/{git-eyh1wkb1.js → file-mutation-z8jpgmyn.js} +43 -43
- package/dist/chunks/{git-jhyzf99q.js → file-mutation-zbtksm62.js} +24 -24
- package/dist/chunks/{git-mkgxfw47.js → file-mutation-zcrnfbce.js} +15 -15
- package/dist/chunks/{git-hrfjxse0.js → file-mutation-zm0086f9.js} +4 -4
- package/dist/chunks/{git-1jcrrg6s.js → file-mutation-zpbp9e8h.js} +9 -9
- package/dist/chunks/{git-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-e5s7b6hf.js → file-mutation-zrhjcpcd.js} +12 -12
- package/dist/chunks/{git-dfxpctz5.js → file-mutation-zty7337v.js} +25 -25
- package/dist/chunks/{git-n5acq6xm.js → file-mutation-zv357qg3.js} +18 -18
- package/dist/chunks/{git-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +72 -72
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +93 -93
- 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 +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +98 -98
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +208 -208
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/git-2tbsc6xa.js +0 -253
- package/dist/chunks/git-gw4ygm76.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node63
|
|
9
|
+
} from "./file-mutation-a4wsassf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-mutation-5wap4m0x.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service3,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node4,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service60;
|
|
335
|
+
return Service3.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node4 = makeLocationNode({ service: Service3, layer, deps: [node63] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin23
|
|
3
|
+
} from "./file-mutation-qkx8anmh.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin20
|
|
6
|
+
} from "./file-mutation-k1pj957b.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin21
|
|
9
|
+
} from "./file-mutation-j33d5bbd.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin22
|
|
12
|
+
} from "./file-mutation-vw7ed3qr.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin24
|
|
15
|
+
} from "./file-mutation-jr64ns26.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin23,
|
|
20
|
+
Plugin20,
|
|
21
|
+
Plugin21,
|
|
22
|
+
Plugin22,
|
|
23
|
+
Plugin24
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./file-mutation-b7enqntx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./file-mutation-kszxvpmf.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-nz114yw4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
33
|
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
43
|
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service57;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
226
|
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service71,
|
|
4
|
+
node75
|
|
5
|
+
} from "./file-mutation-xsg9rpyw.js";
|
|
6
6
|
import {
|
|
7
7
|
ID9,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74
|
|
20
|
+
} from "./file-mutation-yrqbsmq1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service65,
|
|
23
|
+
node69
|
|
24
|
+
} from "./file-mutation-a0zqwv0t.js";
|
|
25
25
|
import {
|
|
26
26
|
ID8,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service69,
|
|
30
|
+
node73,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-1r21y0zf.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service64,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
|
+
node: () => node68,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer26 = Layer.effect(Service64, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service70;
|
|
276
|
+
const models = yield* Service69;
|
|
277
|
+
const integrations = yield* Service71;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service65;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
282
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
@@ -306,7 +306,7 @@ var layer25 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service64.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node68 = makeLocationNode({
|
|
327
|
+
service: Service64,
|
|
328
|
+
layer: layer26,
|
|
329
|
+
deps: [node74, node73, node75, Npm.node, node69]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node68, exports_model_resolver };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service85,
|
|
6
|
-
node89
|
|
7
|
-
} from "./git-gykybrp3.js";
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service84,
|
|
10
6
|
node88
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-5yssak3t.js";
|
|
8
|
+
import {
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./file-mutation-b7enqntx.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-mydantps.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service81,
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -102,8 +102,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const git = yield* Service82;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
|
+
const db = (yield* Service84).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event21.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
307
|
return Service81.of({ list, update, activate, resolve, sweep });
|
|
@@ -309,7 +309,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
309
309
|
var node85 = makeGlobalNode({
|
|
310
310
|
service: Service81,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
@@ -320,4 +320,4 @@ var sweepNode2 = makeGlobalNode({
|
|
|
320
320
|
deps: [node85]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, sweepNode2, exports_project };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured5,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer20,
|
|
12
12
|
make: () => make17,
|
|
13
13
|
node: () => node43,
|
|
14
14
|
useragent: () => useragent2
|
|
@@ -28,8 +28,8 @@ function make17(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
33
|
var node43 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make17, useragent2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer20, configured5, node43, exports_app };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./file-mutation-xsg9rpyw.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service71;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./file-mutation-z8jpgmyn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./file-mutation-csq5hgpx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin36 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const shell = yield* Service63;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin27 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin36, exports_shell2 };
|