@opencode/core 0.0.0-dev-21062 → 0.0.0-dev-21069
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/agent.js +72 -72
- package/dist/aisdk-native.js +75 -75
- package/dist/aisdk.js +80 -80
- package/dist/app.js +9 -9
- package/dist/bus.js +61 -61
- package/dist/chunks/{git-rbpvdgf0.js → git-00bpreyp.js} +7 -7
- package/dist/chunks/{git-27sw9x7x.js → git-02614zk1.js} +17 -17
- package/dist/chunks/{git-3hk2ztfw.js → git-0ff5h7g9.js} +8 -8
- package/dist/chunks/{git-3md19t04.js → git-0qx6w01s.js} +14 -14
- package/dist/chunks/{git-ge8zn40h.js → git-0th69q4z.js} +5 -5
- package/dist/chunks/{git-qnjzkknc.js → git-0tz5f1ee.js} +7 -7
- package/dist/chunks/{git-2gbz9bkd.js → git-0yvmkw8f.js} +1 -1
- package/dist/chunks/{git-jt1egq2b.js → git-0zd41eb9.js} +9 -9
- package/dist/chunks/{git-0wgmrba7.js → git-1468afn5.js} +13 -13
- package/dist/chunks/{git-x61k1gv7.js → git-1jcrrg6s.js} +7 -7
- package/dist/chunks/{git-g6yfr6ja.js → git-1pxz8ven.js} +3 -3
- package/dist/chunks/{git-fxaymqdw.js → git-1w2wqhfv.js} +3 -3
- package/dist/chunks/{git-4p6eznaa.js → git-2119y00b.js} +18 -18
- package/dist/chunks/{git-6mp3ggm1.js → git-23wekjqs.js} +22 -22
- package/dist/chunks/{git-zvm05j0q.js → git-266m7yvg.js} +14 -14
- package/dist/chunks/{git-1hnmhrtt.js → git-2ayr3kwx.js} +10 -10
- package/dist/chunks/{git-3jq4fafe.js → git-2j3rh8vt.js} +13 -13
- package/dist/chunks/{git-v3qh3xqk.js → git-2jfq4a2k.js} +2 -2
- package/dist/chunks/{git-g97vj1p3.js → git-2q9xg5p3.js} +12 -12
- package/dist/chunks/{git-5te1apv5.js → git-2qsqy3dj.js} +29 -29
- package/dist/chunks/{git-cwa6csj7.js → git-2sejkfem.js} +7 -7
- package/dist/chunks/{git-jw0xc3ac.js → git-2tbsc6xa.js} +148 -148
- package/dist/chunks/{git-asvx1cy5.js → git-2yvprtqn.js} +44 -44
- package/dist/chunks/{git-kckqmhre.js → git-30aagwgp.js} +6 -6
- package/dist/chunks/{git-j9tkb0kk.js → git-3cpe3kw7.js} +81 -81
- package/dist/chunks/{git-geje6z9c.js → git-3gt9q2bb.js} +3 -3
- package/dist/chunks/{git-bcys5w9d.js → git-3hyqebky.js} +18 -18
- package/dist/chunks/{git-39381q6g.js → git-3vzj2kxg.js} +24 -24
- package/dist/chunks/{git-dnn66tcs.js → git-3w33sg6k.js} +27 -27
- package/dist/chunks/{git-vpm8vpz0.js → git-48kw51zw.js} +3 -3
- package/dist/chunks/{git-w6zk8pbt.js → git-4jk0qxj4.js} +5 -5
- package/dist/chunks/{git-n0freqwz.js → git-4k8e88tr.js} +2 -2
- package/dist/chunks/{git-8159bw5m.js → git-4kdqwsjh.js} +24 -24
- package/dist/chunks/{git-3es4phk5.js → git-4t5kpmng.js} +38 -38
- package/dist/chunks/{git-jq5qpyxf.js → git-4xhx7w4s.js} +17 -17
- package/dist/chunks/{git-xq7d7py0.js → git-4yjw5cbc.js} +18 -18
- package/dist/chunks/{git-3rx778rd.js → git-5f47q2sq.js} +9 -9
- package/dist/chunks/{git-r81t6b6n.js → git-5jyrmfvy.js} +9 -9
- package/dist/chunks/{git-28t5xsh3.js → git-5mv525pg.js} +20 -20
- package/dist/chunks/{git-h1n9eedh.js → git-5nvx1j92.js} +13 -13
- package/dist/chunks/{git-e80seqcp.js → git-5rzwp8tz.js} +2 -2
- package/dist/chunks/{git-4gw7zdme.js → git-5ycn1s57.js} +12 -12
- package/dist/chunks/{git-9tv8kj20.js → git-67w5jb7s.js} +17 -17
- package/dist/chunks/{git-mnns84tq.js → git-69crj1q0.js} +25 -25
- package/dist/chunks/{git-fe2th2wh.js → git-6f5t57mb.js} +4 -4
- package/dist/chunks/{git-s84ry3mb.js → git-6fw3c6yn.js} +23 -23
- package/dist/chunks/{git-gwcrv1gc.js → git-6jkg52sa.js} +44 -44
- package/dist/chunks/{git-8sze2n9a.js → git-6pc27hjz.js} +1 -1
- package/dist/chunks/{git-5mnnp3cw.js → git-6q4rff1r.js} +53 -53
- package/dist/chunks/{git-gyxaygr4.js → git-6tcpm8dw.js} +45 -45
- package/dist/chunks/{git-7kp85qqg.js → git-6v7mnssa.js} +19 -19
- package/dist/chunks/{git-c7rx12mq.js → git-73g798cj.js} +18 -18
- package/dist/chunks/{git-jnrq1n4d.js → git-7bjh6j87.js} +35 -35
- package/dist/chunks/{git-h1wet0ag.js → git-7c88d4gx.js} +8 -8
- package/dist/chunks/{git-k1am5yw9.js → git-7jwfj2aw.js} +10 -10
- package/dist/chunks/{git-4yt2kt0b.js → git-7tfmmy5j.js} +14 -14
- package/dist/chunks/{git-5y1ssq42.js → git-7venh9gk.js} +20 -20
- package/dist/chunks/{git-59gkzr6d.js → git-7xeqc4s4.js} +39 -39
- package/dist/chunks/{git-xybefm6f.js → git-7zt5x37y.js} +1 -1
- package/dist/chunks/{git-y8jmcg8k.js → git-831gmjmg.js} +4 -4
- package/dist/chunks/{git-jyc9d1z3.js → git-8a1xt0qe.js} +15 -15
- package/dist/chunks/{git-gjcxsqdv.js → git-8cptq6xk.js} +11 -11
- package/dist/chunks/{git-8myf2bph.js → git-8h31457k.js} +27 -27
- package/dist/chunks/{git-xt6nrjvw.js → git-8j6brnn0.js} +15 -15
- package/dist/chunks/{git-m9pkn1rm.js → git-8rta2mgv.js} +12 -12
- package/dist/chunks/{git-0y6maag9.js → git-8v7vnxqj.js} +30 -30
- package/dist/chunks/{git-fe40c1g9.js → git-8xjp7fxv.js} +181 -181
- package/dist/chunks/{git-52fpbh6z.js → git-9c3np669.js} +7 -7
- package/dist/chunks/{git-qpm7s57z.js → git-9nggydkc.js} +10 -10
- package/dist/chunks/{git-m7xf8rkm.js → git-9psrfwvx.js} +16 -16
- package/dist/chunks/{git-9bb8qht6.js → git-9q8t3w4w.js} +9 -9
- package/dist/chunks/{git-f81tjggh.js → git-9sh4wc5j.js} +4 -4
- package/dist/chunks/{git-0y0ec6ym.js → git-9tw20s6t.js} +48 -48
- package/dist/chunks/{git-vhnmz40v.js → git-a0vxgrxv.js} +9 -9
- package/dist/chunks/{git-4w5f3qm5.js → git-a2qe2ev9.js} +7 -7
- package/dist/chunks/{git-pmexrvbd.js → git-acbjzsa7.js} +9 -9
- package/dist/chunks/{git-ttqw03tt.js → git-aeg33gny.js} +9 -9
- package/dist/chunks/{git-at7t4gwn.js → git-afqskp6j.js} +7 -7
- package/dist/chunks/{git-y1gc13fs.js → git-ayrdz2nr.js} +13 -13
- package/dist/chunks/{git-6ees7pqa.js → git-b40n6ccn.js} +4 -4
- package/dist/chunks/{git-4a2776we.js → git-b5r4mbce.js} +8 -8
- package/dist/chunks/{git-f78dsz6n.js → git-bdpzzc2x.js} +8 -8
- package/dist/chunks/{git-myzt0ztr.js → git-bh4vy26f.js} +12 -12
- package/dist/chunks/{git-9hke9rzz.js → git-bnn5vwpb.js} +1 -1
- package/dist/chunks/{git-mshkz34v.js → git-bsps9kxp.js} +4 -4
- package/dist/chunks/{git-5e3m6ttb.js → git-c2jraa9j.js} +20 -20
- package/dist/chunks/{git-ssaywjka.js → git-ca80dkkt.js} +14 -14
- package/dist/chunks/{git-rybfjp7a.js → git-cmbb65yx.js} +17 -17
- package/dist/chunks/{git-dv1qgsyq.js → git-cmwkp3r5.js} +7 -7
- package/dist/chunks/{git-raz7n7tw.js → git-cnh20cya.js} +22 -22
- package/dist/chunks/{git-yrw4mpv0.js → git-ctwn6ggk.js} +10 -10
- package/dist/chunks/{git-gd01rr9s.js → git-cv9a3evq.js} +18 -18
- package/dist/chunks/{git-3y377wv9.js → git-db2wf4at.js} +3 -3
- package/dist/chunks/{git-7bznv11x.js → git-dfxpctz5.js} +21 -21
- package/dist/chunks/{git-chgyesm2.js → git-dkjqkvp1.js} +4 -4
- package/dist/chunks/{git-1a515dmz.js → git-dpxxdp3p.js} +6 -6
- package/dist/chunks/{git-hjwvg3qx.js → git-dq5d42ev.js} +37 -37
- package/dist/chunks/{git-xfkkasph.js → git-drwq78ky.js} +3 -3
- package/dist/chunks/{git-55s65rp4.js → git-dtkbkpn6.js} +15 -15
- package/dist/chunks/{git-b6an89mh.js → git-dywg3qh4.js} +19 -19
- package/dist/chunks/{git-nx34zgwq.js → git-e5s7b6hf.js} +16 -16
- package/dist/chunks/{git-3xn4xn8n.js → git-e6ztw48d.js} +7 -7
- package/dist/chunks/{git-hqbqqsx7.js → git-eaf53vd4.js} +8 -8
- package/dist/chunks/{git-s8d7rejh.js → git-eaj1djv9.js} +5 -5
- package/dist/chunks/{git-rr1z7ahj.js → git-edc28t1d.js} +32 -32
- package/dist/chunks/{git-6n0ste9k.js → git-eh27m2d1.js} +17 -17
- package/dist/chunks/{git-6vmt1kdw.js → git-ekmdazyf.js} +20 -20
- package/dist/chunks/{git-xyq213da.js → git-ex86cwx9.js} +9 -9
- package/dist/chunks/{git-2cahkbfy.js → git-eyh1wkb1.js} +38 -38
- package/dist/chunks/{git-1acjjqhc.js → git-f2n192rq.js} +3 -3
- package/dist/chunks/{git-00b36z4k.js → git-f337py0x.js} +42 -42
- package/dist/chunks/{git-y54hr7f3.js → git-f58gpcny.js} +7 -7
- package/dist/chunks/{git-133h4rxs.js → git-fag8vj58.js} +13 -13
- package/dist/chunks/{git-wtk2ksb2.js → git-fbzjpc5s.js} +19 -19
- package/dist/chunks/{git-wjk3jbnn.js → git-fdgewsy2.js} +49 -49
- package/dist/chunks/{git-e9v5qsfh.js → git-fntcccxw.js} +15 -15
- package/dist/chunks/{git-4434d9q2.js → git-fpecnkgp.js} +7 -7
- package/dist/chunks/{git-1zz9rj5d.js → git-fvkc5bdm.js} +4 -4
- package/dist/chunks/{git-5jebk2rh.js → git-fza1zbnh.js} +18 -18
- package/dist/chunks/{git-fn9hs14h.js → git-g182skvz.js} +3 -3
- package/dist/chunks/{git-2052heee.js → git-g1hadtra.js} +10 -10
- package/dist/chunks/{git-y0p3px76.js → git-g6g1f1f4.js} +30 -30
- package/dist/chunks/{git-a8037f1v.js → git-gaamej5p.js} +8 -8
- package/dist/chunks/{git-5jhv0vnb.js → git-gh1jkbka.js} +312 -312
- package/dist/chunks/{git-w6gd0mvv.js → git-gnh85nqw.js} +15 -15
- package/dist/chunks/{git-dmecs3pv.js → git-gqcfbtm3.js} +24 -24
- package/dist/chunks/git-gw4ygm76.js +26 -0
- package/dist/chunks/{git-d2czbp48.js → git-gw7cjrad.js} +3 -3
- package/dist/chunks/{git-zt0d3ekd.js → git-gykybrp3.js} +2 -2
- package/dist/chunks/{git-w91axksf.js → git-h1vtm10r.js} +12 -12
- package/dist/chunks/{git-02fz4yjj.js → git-ha3rtydb.js} +1 -1
- package/dist/chunks/{git-pvkdhk7d.js → git-hbb48s8v.js} +28 -28
- package/dist/chunks/{git-npw39rc8.js → git-hcv80w8f.js} +6 -6
- package/dist/chunks/{git-mqzqahne.js → git-hfkyxwzf.js} +11 -11
- package/dist/chunks/{git-510fpdjj.js → git-hmt9zk07.js} +33 -33
- package/dist/chunks/{git-q39cs03p.js → git-hrfjxse0.js} +2 -2
- package/dist/chunks/{git-d69z9xpr.js → git-j2fvhsza.js} +10 -10
- package/dist/chunks/{git-gpqws9nq.js → git-j4qww8c3.js} +3 -3
- package/dist/chunks/{git-yf4jcbx9.js → git-j5w2yx54.js} +5 -5
- package/dist/chunks/{git-n2srvep7.js → git-jewzahs7.js} +3 -3
- package/dist/chunks/{git-kprygma0.js → git-jhyzf99q.js} +25 -25
- package/dist/chunks/{git-fww2ha2b.js → git-jmecpmqm.js} +8 -8
- package/dist/chunks/{git-x2hbrvsn.js → git-jmksq526.js} +1 -1
- package/dist/chunks/{git-7wvrqce5.js → git-jrqabhyb.js} +13 -13
- package/dist/chunks/{git-7th6dh9e.js → git-jv7bf4eg.js} +8 -8
- package/dist/chunks/{git-xj1aydcy.js → git-k1n0z3hy.js} +3 -3
- package/dist/chunks/{git-19720hhg.js → git-k4ahcazb.js} +13 -13
- package/dist/chunks/{git-wwx8h3qn.js → git-kad49353.js} +7 -7
- package/dist/chunks/{git-7xe39psp.js → git-kdvnmn04.js} +1 -1
- package/dist/chunks/{git-cmqxwqzx.js → git-kpnmq009.js} +4 -4
- package/dist/chunks/{git-4327w5ky.js → git-krwp2252.js} +9 -9
- package/dist/chunks/{git-chhj7fee.js → git-kzp420br.js} +29 -29
- package/dist/chunks/{git-66mwys5v.js → git-m5pxmjnr.js} +16 -16
- package/dist/chunks/{git-z44656xp.js → git-mc8yk1sj.js} +32 -32
- package/dist/chunks/{git-j85zdcpy.js → git-mh6hy0t6.js} +14 -14
- package/dist/chunks/{git-2zs3ps38.js → git-mkgxfw47.js} +16 -16
- package/dist/chunks/{git-63d46qpn.js → git-mydantps.js} +8 -8
- package/dist/chunks/{git-161hqbep.js → git-mza4dkfk.js} +8 -8
- package/dist/chunks/{git-ds58hxpb.js → git-n5acq6xm.js} +31 -31
- package/dist/chunks/{git-00kba7x3.js → git-n5fp27ar.js} +19 -19
- package/dist/chunks/{git-0qymy61s.js → git-na5v7rrw.js} +33 -33
- package/dist/chunks/{git-svvm20fx.js → git-nb5p96ve.js} +5 -5
- package/dist/chunks/{git-ct2atp7x.js → git-np1yhkch.js} +25 -25
- package/dist/chunks/{git-08mr04zk.js → git-nq13secw.js} +1 -1
- package/dist/chunks/{git-ssf4yhs8.js → git-ns8t88d0.js} +7 -7
- package/dist/chunks/{git-vkjty8zp.js → git-p8q506w0.js} +5 -5
- package/dist/chunks/{git-96k8c7ca.js → git-perpg7kn.js} +27 -27
- package/dist/chunks/{git-mafhwm8q.js → git-pqbxjc4k.js} +8 -8
- package/dist/chunks/{git-y32r5m3m.js → git-qfqkgstd.js} +4 -4
- package/dist/chunks/{git-azh057g0.js → git-qkjhzd8c.js} +18 -18
- package/dist/chunks/{git-58w8wmj1.js → git-qmc0kwyt.js} +19 -19
- package/dist/chunks/{git-ytcapqcx.js → git-qnaf4t8h.js} +20 -20
- package/dist/chunks/{git-4q8aq0yj.js → git-qtpe9amp.js} +4 -4
- package/dist/chunks/{git-r186t613.js → git-qvpm0d7c.js} +19 -19
- package/dist/chunks/{git-e67s7wnb.js → git-r2fg6vv7.js} +6 -6
- package/dist/chunks/{git-nd4tfyg0.js → git-r70na3yp.js} +7 -7
- package/dist/chunks/{git-a16f6bk4.js → git-rj2hqavp.js} +1 -1
- package/dist/chunks/{git-ve85v3xb.js → git-rk7s9xkn.js} +3 -3
- package/dist/chunks/{git-ts0sm5wa.js → git-rmpjc43h.js} +3 -3
- package/dist/chunks/{git-2d0p9y9z.js → git-rqa1jxse.js} +1 -1
- package/dist/chunks/{git-352j6603.js → git-rwywfv65.js} +8 -8
- package/dist/chunks/{git-cm5f7pma.js → git-rxyg1hmn.js} +9 -9
- package/dist/chunks/{git-djyswthr.js → git-s132tc7h.js} +32 -32
- package/dist/chunks/{git-y56ehv6b.js → git-s1kvmffy.js} +8 -8
- package/dist/chunks/{git-kdazpp6j.js → git-s2rmhwt5.js} +28 -28
- package/dist/chunks/{git-5v8fgs5z.js → git-sam7rjxf.js} +16 -16
- package/dist/chunks/{git-gayeec0v.js → git-sgth7ws6.js} +10 -10
- package/dist/chunks/{git-qa3qhgw8.js → git-sxz6gkc3.js} +6 -6
- package/dist/chunks/{git-9rqfv6yv.js → git-t8jxbrbs.js} +5 -5
- package/dist/chunks/{git-747advjj.js → git-tf1zb054.js} +18 -18
- package/dist/chunks/{git-etnbc6at.js → git-tq31zwhn.js} +15 -15
- package/dist/chunks/{git-sz15zhhw.js → git-txm3e8qz.js} +3 -3
- package/dist/chunks/{git-ttqh24zm.js → git-tz4n1mmd.js} +3 -3
- package/dist/chunks/{git-fh3h2rrs.js → git-tzqb1zj9.js} +3 -3
- package/dist/chunks/{git-ev8bzsg1.js → git-v2rmwhj0.js} +6 -6
- package/dist/chunks/{git-7vdkza44.js → git-ve3sm23d.js} +9 -9
- package/dist/chunks/{git-qh6v5qqy.js → git-vhc6xrgv.js} +30 -30
- package/dist/chunks/{git-8e2wevyg.js → git-vrt7w025.js} +27 -27
- package/dist/chunks/{git-64wjsvpw.js → git-vvgkgf2d.js} +7 -7
- package/dist/chunks/{git-2z976w7f.js → git-w0ctrm3b.js} +4 -4
- package/dist/chunks/{git-hkffa77z.js → git-wg81ww38.js} +1 -1
- package/dist/chunks/{git-eq1gkzp1.js → git-wq8r3h7a.js} +7 -7
- package/dist/chunks/{git-kftjr2e3.js → git-wqz4eby1.js} +12 -12
- package/dist/chunks/{git-y3m021e8.js → git-wyhe0yhr.js} +30 -30
- package/dist/chunks/{git-1e8qp1yh.js → git-wyywahvm.js} +24 -24
- package/dist/chunks/{git-c872t358.js → git-x10x1rpr.js} +6 -6
- package/dist/chunks/{git-2qm80vd6.js → git-x3s9gwad.js} +10 -10
- package/dist/chunks/{git-ga0xp5gq.js → git-xknh7n4g.js} +86 -86
- package/dist/chunks/{git-c4nsn6b8.js → git-xrtj00bp.js} +311 -311
- package/dist/chunks/{git-dpkg50ah.js → git-y71avatq.js} +3 -3
- package/dist/chunks/{git-z6c3x22d.js → git-ygdna4kr.js} +3 -3
- package/dist/chunks/{git-bv2ny28d.js → git-yhjwftg3.js} +15 -15
- package/dist/chunks/{git-8jwr2qnf.js → git-ym80zgz3.js} +16 -16
- package/dist/chunks/{git-1ffvrpkg.js → git-ywt8jp22.js} +4 -4
- package/dist/chunks/{git-a09dvcfs.js → git-z0crbjfj.js} +9 -9
- package/dist/chunks/{git-fyn09b5n.js → git-z1sbw1b4.js} +52 -52
- package/dist/chunks/{git-2tj3byjt.js → git-z64re3f0.js} +30 -30
- package/dist/chunks/{git-4kvk04s5.js → git-zdkdeprt.js} +5 -5
- package/dist/chunks/{git-at87fsc1.js → git-zfvpt5cz.js} +29 -29
- package/dist/chunks/{git-ct331857.js → git-zgcpvakh.js} +9 -9
- package/dist/chunks/{git-aj2sbhs3.js → git-zk35yz24.js} +4 -4
- package/dist/chunks/{git-scgrse2b.js → git-zyk1yjk8.js} +3 -3
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +76 -76
- package/dist/config/discovery.js +68 -68
- package/dist/config/normalize.js +83 -83
- package/dist/config/plugin/agent.js +95 -95
- package/dist/config/plugin/command.js +169 -169
- package/dist/config/plugin/compaction.js +121 -121
- package/dist/config/plugin/compatibility.js +108 -108
- package/dist/config/plugin/formatter.js +94 -94
- package/dist/config/plugin/image.js +93 -93
- package/dist/config/plugin/instruction.js +94 -94
- package/dist/config/plugin/location-watcher.js +93 -93
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +94 -94
- package/dist/config/plugin/provider.js +93 -93
- package/dist/config/plugin/reference.js +95 -95
- package/dist/config/plugin/shell.js +93 -93
- package/dist/config/plugin/skill-file.js +83 -83
- package/dist/config/plugin/skill.js +111 -111
- package/dist/config/plugin/snapshot.js +93 -93
- package/dist/config/plugin/source.js +96 -96
- package/dist/config/plugin/tool-output.js +94 -94
- package/dist/config/plugin/websearch.js +92 -92
- package/dist/config/plugin/worktree.js +94 -94
- package/dist/config.js +95 -95
- package/dist/credential.js +75 -75
- package/dist/database/database.js +59 -59
- package/dist/database/drizzle/effect-sqlite/driver.js +11 -11
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +12 -12
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +12 -12
- package/dist/database/migration.gen.js +42 -42
- package/dist/database/migration.js +44 -44
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +228 -228
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +75 -75
- package/dist/environment/index.js +75 -75
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +86 -86
- package/dist/file-mutation.js +76 -76
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +180 -180
- package/dist/filesystem/search.js +83 -83
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +86 -86
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +73 -73
- package/dist/generate.js +85 -85
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +77 -77
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +311 -311
- package/dist/instruction-discovery.js +75 -75
- package/dist/instructions/builtins.js +73 -73
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +79 -79
- package/dist/job.js +69 -69
- package/dist/kv.js +64 -64
- package/dist/location-activity.js +51 -51
- package/dist/location-lifecycle.js +89 -89
- package/dist/location-service-map.js +68 -68
- package/dist/location-services.js +309 -309
- package/dist/location.js +75 -75
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +91 -91
- package/dist/mcp/instructions.js +104 -104
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +72 -72
- package/dist/modal/models.js +77 -77
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +84 -84
- package/dist/models-dev.js +92 -92
- package/dist/permission/saved.js +68 -68
- package/dist/permission.js +95 -95
- package/dist/persistent-pty/index.js +75 -75
- package/dist/persistent-pty.js +63 -63
- package/dist/plugin/agent.js +67 -67
- package/dist/plugin/command.js +84 -84
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +173 -173
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +285 -285
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +81 -81
- package/dist/plugin/module.js +92 -92
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +84 -84
- package/dist/plugin/provider/amazon-bedrock.js +76 -76
- package/dist/plugin/provider/azure.js +94 -94
- package/dist/plugin/provider/chatgpt.js +92 -92
- package/dist/plugin/provider/cloudflare-ai-gateway.js +91 -91
- package/dist/plugin/provider/cloudflare-workers-ai.js +91 -91
- package/dist/plugin/provider/configured.js +90 -90
- package/dist/plugin/provider/digitalocean.js +78 -78
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +78 -78
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/llmgateway.js +68 -68
- package/dist/plugin/provider/lmstudio.js +101 -101
- package/dist/plugin/provider/local.js +98 -98
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/ollama.js +101 -101
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +83 -83
- package/dist/plugin/provider/openrouter.js +77 -77
- package/dist/plugin/provider/poe.js +68 -68
- package/dist/plugin/provider/sap-ai-core.js +76 -76
- package/dist/plugin/provider/snowflake-cortex.js +92 -92
- package/dist/plugin/provider/vercel.js +76 -76
- package/dist/plugin/provider/vllm.js +101 -101
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider.js +138 -138
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +109 -109
- package/dist/plugin/supervisor.js +300 -300
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +72 -72
- package/dist/plugin/vcs/hg.js +72 -72
- package/dist/plugin/verbosity.js +79 -79
- package/dist/plugin/warming.js +92 -92
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +185 -185
- package/dist/project/schema.js +7 -7
- package/dist/project.js +76 -76
- package/dist/provider.js +87 -87
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +76 -76
- package/dist/reference.js +74 -74
- package/dist/repository-cache.js +69 -69
- package/dist/ripgrep.js +78 -78
- package/dist/rpc.js +72 -72
- package/dist/session/command.js +65 -65
- package/dist/session/compaction.js +106 -106
- package/dist/session/context.js +124 -124
- package/dist/session/diff.js +72 -72
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +110 -110
- package/dist/session/execution.js +109 -109
- package/dist/session/generate.js +123 -123
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +71 -71
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +67 -67
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +76 -76
- package/dist/session/model-request.js +96 -96
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +109 -109
- package/dist/session/projector.js +69 -69
- package/dist/session/prompt.js +86 -86
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +73 -73
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -182
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +94 -94
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +100 -100
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +135 -135
- package/dist/session/shell.js +105 -105
- package/dist/session/skill.js +85 -85
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +71 -71
- package/dist/session/subagent-job.js +164 -164
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +121 -121
- package/dist/session/to-session-error.js +93 -93
- package/dist/session/transfer.js +107 -107
- package/dist/session.js +176 -176
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +108 -108
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +89 -89
- package/dist/skill.js +92 -92
- package/dist/snapshot.js +79 -79
- package/dist/tool/mcp.js +101 -101
- package/dist/tool/plugin/edit.js +97 -97
- package/dist/tool/plugin/glob.js +100 -100
- package/dist/tool/plugin/grep.js +100 -100
- package/dist/tool/plugin/mcp-resource.js +95 -95
- package/dist/tool/plugin/opencode.js +89 -89
- package/dist/tool/plugin/patch.js +99 -99
- package/dist/tool/plugin/question.js +85 -85
- package/dist/tool/plugin/read.js +101 -101
- package/dist/tool/plugin/shell.js +168 -168
- package/dist/tool/plugin/skill.js +93 -93
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/webfetch.js +90 -90
- package/dist/tool/plugin/websearch.js +94 -94
- package/dist/tool/plugin/write.js +97 -97
- package/dist/tool/read-filesystem.js +76 -76
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +77 -77
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +77 -77
- package/dist/vcs.js +75 -75
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +64 -64
- package/dist/wellknown.js +71 -71
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +69 -69
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/strategies.js +74 -74
- package/dist/worktree.js +80 -80
- package/package.json +8 -8
- package/dist/chunks/git-28w77qnw.js +0 -26
- /package/dist/chunks/{git-0nde5ztd.js → git-762r0j46.js} +0 -0
- /package/dist/chunks/{git-jx6k168v.js → git-f8kkz21q.js} +0 -0
- /package/dist/chunks/{git-89embc53.js → git-r5y2frqw.js} +0 -0
- /package/dist/chunks/{git-7vtrn64f.js → git-tyxhgj5h.js} +0 -0
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info12,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info12 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service35,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service35 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service35, exports_runner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./git-
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./git-sam7rjxf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./git-9rqn6x4v.js";
|
|
@@ -39,7 +39,7 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
|
39
39
|
yield* Effect.logInfo("location services reloaded", { count: refs.length });
|
|
40
40
|
});
|
|
41
41
|
function canonical3(ref) {
|
|
42
|
-
return
|
|
42
|
+
return Ref4.make({
|
|
43
43
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
44
44
|
workspaceID: ref.workspaceID
|
|
45
45
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./git-
|
|
3
|
+
Service54
|
|
4
|
+
} from "./git-eyh1wkb1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./git-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin47,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin47 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin27 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin47, exports_warming };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./git-
|
|
3
|
+
Service54
|
|
4
|
+
} from "./git-eyh1wkb1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./git-
|
|
6
|
+
Service33
|
|
7
|
+
} from "./git-kzp420br.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./git-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const snapshot = yield* Service33;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin43 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_snapshot };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./git-
|
|
2
|
+
Service80
|
|
3
|
+
} from "./git-sam7rjxf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./git-
|
|
5
|
+
Service51
|
|
6
|
+
} from "./git-n5fp27ar.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service16,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./git-
|
|
11
|
+
} from "./git-2q9xg5p3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./git-
|
|
13
|
+
Service14
|
|
14
|
+
} from "./git-1468afn5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./git-
|
|
16
|
+
Service76
|
|
17
|
+
} from "./git-6q4rff1r.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service71,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./git-
|
|
21
|
+
} from "./git-e5s7b6hf.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
24
|
} from "./git-6prwharc.js";
|
|
@@ -30,17 +30,17 @@ import {
|
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin7,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin7 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service71;
|
|
197
|
+
const fileMutation = yield* Service16;
|
|
198
|
+
const environment = yield* Service51;
|
|
199
|
+
const formatter = yield* Service14;
|
|
200
|
+
const location = yield* Service80;
|
|
201
|
+
const permission = yield* Service76;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin6 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output5, Plugin7, exports_edit };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./git-
|
|
4
|
+
} from "./git-gykybrp3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./git-
|
|
8
|
+
} from "./git-4k8e88tr.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
11
|
} from "./git-pknna89w.js";
|
|
@@ -20,46 +20,46 @@ import {
|
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID11,
|
|
26
|
+
Info: () => Info21,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service70,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node74
|
|
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 ID11 = 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 Event17 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info21 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID11,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service85).db;
|
|
57
57
|
const bus = yield* Service84;
|
|
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(Service83, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service70.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(Service83, 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 ?? ID11.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(Service83, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event17.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(Service83, 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(Event17.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(Service83, 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(Event17.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(Service83, 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(Event17.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node89, node88] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID11, OAuth3, Key3, External2, Value2, Event17, Info21, Service70, node74, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./git-
|
|
2
|
+
Service54
|
|
3
|
+
} from "./git-eyh1wkb1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service9
|
|
6
|
-
} from "./git-
|
|
6
|
+
} from "./git-z64re3f0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./git-qsdy395h.js";
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin19
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin19 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin33 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin19, exports_compaction };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./git-
|
|
3
|
+
} from "./git-ca80dkkt.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make8 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make8();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
chunksByFile2
|
|
10
10
|
} from "./git-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./git-
|
|
12
|
+
Service80
|
|
13
|
+
} from "./git-sam7rjxf.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./git-
|
|
16
|
+
} from "./git-tf1zb054.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./git-9rqn6x4v.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin35 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin35, exports_hg };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./git-
|
|
2
|
+
Service63,
|
|
3
|
+
node67
|
|
4
|
+
} from "./git-2yvprtqn.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./git-
|
|
7
|
+
} from "./git-48kw51zw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./git-9rqn6x4v.js";
|
|
@@ -14,9 +14,9 @@ var exports_model = {};
|
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service38,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node40,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service63;
|
|
59
|
+
return Service38.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node40 = makeLocationNode({ service: Service38, layer, deps: [node67] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service38, resolved2, node40, exports_model };
|