@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
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./git-
|
|
5
|
+
} from "./git-48kw51zw.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
8
|
} from "./git-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
11
|
node89
|
|
12
|
-
} from "./git-
|
|
12
|
+
} from "./git-gykybrp3.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./git-
|
|
17
|
+
} from "./git-4k8e88tr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./git-
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./git-f337py0x.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./git-
|
|
23
|
+
Service36,
|
|
24
|
+
node38
|
|
25
|
+
} from "./git-j5w2yx54.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
28
|
} from "./git-ec1grn59.js";
|
|
@@ -30,27 +30,27 @@ import {
|
|
|
30
30
|
SessionMessageTable2
|
|
31
31
|
} from "./git-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./git-
|
|
33
|
+
node39
|
|
34
|
+
} from "./git-266m7yvg.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./git-
|
|
37
|
+
} from "./git-wg81ww38.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./git-
|
|
40
|
+
} from "./git-ayrdz2nr.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
43
|
} from "./git-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./git-
|
|
46
|
+
node29
|
|
47
|
+
} from "./git-mza4dkfk.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./git-
|
|
50
|
+
node43
|
|
51
|
+
} from "./git-9nggydkc.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,55 +61,55 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./git-
|
|
64
|
+
} from "./git-zk35yz24.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./git-
|
|
67
|
+
Service78,
|
|
68
|
+
node82
|
|
69
|
+
} from "./git-g1hadtra.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./git-
|
|
71
|
+
Service53,
|
|
72
|
+
node56
|
|
73
|
+
} from "./git-7tfmmy5j.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./git-
|
|
75
|
+
Service34,
|
|
76
|
+
node37
|
|
77
|
+
} from "./git-7bjh6j87.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
80
|
} from "./git-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./git-
|
|
82
|
+
Service30,
|
|
83
|
+
node34
|
|
84
|
+
} from "./git-z0crbjfj.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./git-
|
|
87
|
+
} from "./git-hfkyxwzf.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./git-
|
|
90
|
+
} from "./git-e6ztw48d.js";
|
|
91
91
|
import {
|
|
92
92
|
Service74,
|
|
93
93
|
node78
|
|
94
|
-
} from "./git-
|
|
94
|
+
} from "./git-tzqb1zj9.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./git-
|
|
99
|
+
Service25,
|
|
100
|
+
node28
|
|
101
|
+
} from "./git-9tw20s6t.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./git-
|
|
103
|
+
Service42,
|
|
104
|
+
node45
|
|
105
|
+
} from "./git-9c3np669.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./git-
|
|
107
|
+
make12
|
|
108
|
+
} from "./git-zfvpt5cz.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./git-
|
|
112
|
+
} from "./git-b5r4mbce.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
115
|
} from "./git-9rqn6x4v.js";
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID15,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service20,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node23
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput5;
|
|
152
|
+
class Service20 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service84;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service34;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
162
|
+
const transport = yield* Service30;
|
|
163
|
+
const store = yield* Service78;
|
|
164
|
+
const instances = yield* Service36;
|
|
165
|
+
const moves = yield* Service25;
|
|
166
|
+
const jobs = yield* Service53;
|
|
167
|
+
const environments = yield* Service42;
|
|
168
168
|
const locations = yield* Service74;
|
|
169
|
-
const sessions = yield*
|
|
169
|
+
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service20.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service36, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node23 = Node.makeGlobalNode({
|
|
331
|
+
service: Service20,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node56,
|
|
335
|
+
node45,
|
|
336
336
|
node89,
|
|
337
337
|
node88,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node85,
|
|
339
|
+
node37,
|
|
340
|
+
node34,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
342
|
+
node82,
|
|
343
|
+
node38,
|
|
344
|
+
node39,
|
|
345
|
+
node28,
|
|
346
|
+
node29,
|
|
347
347
|
node78,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node43
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput2, Service20, node23, exports_session };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./git-
|
|
5
|
+
Service80
|
|
6
|
+
} from "./git-sam7rjxf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./git-9rqn6x4v.js";
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./git-
|
|
3
|
+
} from "./git-4k8e88tr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./git-
|
|
5
|
+
Service66
|
|
6
|
+
} from "./git-0ff5h7g9.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
inherit2
|
|
12
12
|
} from "./git-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./git-
|
|
16
|
+
} from "./git-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./git-
|
|
21
|
+
} from "./git-8xjp7fxv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./git-9rqn6x4v.js";
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node19
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, 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
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service84;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service66;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node19 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node19, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./git-
|
|
2
|
+
Service76
|
|
3
|
+
} from "./git-6q4rff1r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./git-
|
|
9
|
+
Service39
|
|
10
|
+
} from "./git-5mv525pg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./git-9rqn6x4v.js";
|
|
@@ -15,27 +15,27 @@ import {
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin4,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin4 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service39;
|
|
51
|
+
const permission = yield* Service76;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin11 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description2, toModelOutput2, Plugin4, exports_skill };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./git-
|
|
2
|
+
Service51
|
|
3
|
+
} from "./git-n5fp27ar.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./git-
|
|
8
|
+
} from "./git-2q9xg5p3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./git-
|
|
10
|
+
Service14
|
|
11
|
+
} from "./git-1468afn5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./git-
|
|
13
|
+
Service76
|
|
14
|
+
} from "./git-6q4rff1r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./git-
|
|
16
|
+
Service71
|
|
17
|
+
} from "./git-e5s7b6hf.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
20
|
} from "./git-6prwharc.js";
|
|
@@ -25,48 +25,48 @@ import {
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name11,
|
|
33
33
|
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin12 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service71;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service51;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service76;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent5, Plugin12, exports_write };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info25, SessionSchema2 };
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make20,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node66,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node66 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node66, exports_driver };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./git-
|
|
4
|
+
} from "./git-gykybrp3.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
8
|
} from "./git-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./git-
|
|
11
|
+
} from "./git-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./git-9rqn6x4v.js";
|