@opencode/core 0.0.0-dev-20156 → 0.0.0-dev-20157
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 +61 -61
- package/dist/aisdk-native.js +60 -60
- package/dist/aisdk.js +65 -65
- package/dist/app.js +5 -5
- package/dist/bus.js +50 -50
- package/dist/chunks/{repository-0qs0ha18.js → repository-02r4f2yh.js} +13 -13
- package/dist/chunks/{repository-a4jmhcge.js → repository-0dea7hqg.js} +4 -4
- package/dist/chunks/{repository-3cmt985g.js → repository-0dtc7saj.js} +9 -9
- package/dist/chunks/{repository-bd71zrs1.js → repository-0mp9629n.js} +22 -22
- package/dist/chunks/{repository-hcz3zddy.js → repository-0r7yqxbf.js} +3 -3
- package/dist/chunks/{repository-8t72k94d.js → repository-13dgep1z.js} +17 -17
- package/dist/chunks/{repository-vwt4a1k1.js → repository-1bfc10mg.js} +12 -12
- package/dist/chunks/{repository-065k3gj0.js → repository-1khmhcax.js} +8 -8
- package/dist/chunks/{repository-nf73ch59.js → repository-1tdtc034.js} +20 -20
- package/dist/chunks/{repository-dwhtnrsj.js → repository-1xpzac98.js} +17 -17
- package/dist/chunks/{repository-qq7xvnxm.js → repository-1z5ysepc.js} +10 -10
- package/dist/chunks/{repository-r8x54e6p.js → repository-21akxfrh.js} +60 -60
- package/dist/chunks/{repository-6h73sxmp.js → repository-2402vzrj.js} +4 -4
- package/dist/chunks/{repository-erw3g6b6.js → repository-2531bb5a.js} +11 -11
- package/dist/chunks/{repository-42swhqez.js → repository-2cjsxekc.js} +12 -12
- package/dist/chunks/{repository-xxhb4jr7.js → repository-2fgn2we9.js} +7 -7
- package/dist/chunks/{repository-5ft7x73b.js → repository-2j74qy9w.js} +1 -1
- package/dist/chunks/{repository-fcrkznn8.js → repository-2k8khapm.js} +4 -4
- package/dist/chunks/{repository-kv3csxch.js → repository-2nzc6ac3.js} +4 -4
- package/dist/chunks/{repository-k53npxr2.js → repository-32h4nn8p.js} +1 -1
- package/dist/chunks/{repository-0z8rxnnb.js → repository-38nmpqef.js} +20 -20
- package/dist/chunks/{repository-tgey6qrj.js → repository-3f66bwfz.js} +1 -1
- package/dist/chunks/{repository-rbmmr3kj.js → repository-3nhsj318.js} +19 -19
- package/dist/chunks/{repository-ykh5ygyr.js → repository-3petje8f.js} +3 -3
- package/dist/chunks/{repository-1p9j9tg9.js → repository-3rbef5jj.js} +2 -2
- package/dist/chunks/{repository-fqgxath9.js → repository-3x8fysj4.js} +17 -17
- package/dist/chunks/{repository-fvhjkb74.js → repository-3zz7237p.js} +6 -6
- package/dist/chunks/{repository-gf7f2369.js → repository-45g6rp4p.js} +3 -3
- package/dist/chunks/{repository-zfjkfzpq.js → repository-4bqx1nme.js} +10 -10
- package/dist/chunks/{repository-9rgfjqpd.js → repository-4d31bbse.js} +8 -8
- package/dist/chunks/{repository-m6jnjmfw.js → repository-4e5ccp43.js} +16 -16
- package/dist/chunks/{repository-96ctqc5x.js → repository-4eq8w0dz.js} +3 -3
- package/dist/chunks/{repository-w7t1fehg.js → repository-4f06rze2.js} +5 -5
- package/dist/chunks/{repository-jc7dnxay.js → repository-4gxz33t2.js} +13 -13
- package/dist/chunks/{repository-x2dtej9w.js → repository-4j5v26y0.js} +4 -4
- package/dist/chunks/{repository-fw5xg2y4.js → repository-4shp4sr3.js} +25 -25
- package/dist/chunks/{repository-f3tdbywg.js → repository-4t037ma6.js} +12 -12
- package/dist/chunks/{repository-8pnn1d33.js → repository-4tjr6zkn.js} +35 -35
- package/dist/chunks/{repository-fzxsvrpf.js → repository-50nkx4g5.js} +31 -31
- package/dist/chunks/{repository-6wkx2yew.js → repository-50zpe24t.js} +11 -11
- package/dist/chunks/{repository-2v0htzv5.js → repository-54cht2md.js} +16 -16
- package/dist/chunks/{repository-33w4ejhs.js → repository-56gdpj1q.js} +4 -4
- package/dist/chunks/{repository-vhag6pqf.js → repository-580xkvb2.js} +15 -15
- package/dist/chunks/{repository-st0xa5p1.js → repository-5gbgdf63.js} +23 -23
- package/dist/chunks/{repository-n4a7gw4r.js → repository-5ke24xg0.js} +24 -24
- package/dist/chunks/{repository-z2sk8n0r.js → repository-5qedxm44.js} +9 -9
- package/dist/chunks/{repository-4jztms0b.js → repository-5rfaxrsd.js} +19 -19
- package/dist/chunks/{repository-apzhk4s8.js → repository-61b773qj.js} +4 -4
- package/dist/chunks/{repository-nr8zx6fk.js → repository-62gx00z5.js} +17 -17
- package/dist/chunks/{repository-a7hkkdqn.js → repository-68pety7q.js} +7 -7
- package/dist/chunks/{repository-k5p7g1tb.js → repository-6j3j64eb.js} +73 -73
- package/dist/chunks/{repository-wxgegas4.js → repository-6t9zdyzr.js} +6 -6
- package/dist/chunks/{repository-bj7255yx.js → repository-70we0w58.js} +12 -12
- package/dist/chunks/{repository-jm8vc8yh.js → repository-76eezes8.js} +3 -3
- package/dist/chunks/{repository-a4fnzf47.js → repository-7hrknbh1.js} +3 -3
- package/dist/chunks/{repository-njhqdk9p.js → repository-82rhge12.js} +7 -7
- package/dist/chunks/{repository-hz0q9sdq.js → repository-86m00gc1.js} +7 -7
- package/dist/chunks/{repository-bce8mqt3.js → repository-89e14fg5.js} +6 -6
- package/dist/chunks/{repository-qzpey3h0.js → repository-8e412960.js} +25 -25
- package/dist/chunks/{repository-jh3wktsd.js → repository-8g5424td.js} +17 -17
- package/dist/chunks/{repository-9xfpc63v.js → repository-8jyfh64s.js} +17 -17
- package/dist/chunks/{repository-n96r89fz.js → repository-8vn4cfgq.js} +13 -13
- package/dist/chunks/{repository-k6pkmzhs.js → repository-8xdzh0gy.js} +26 -26
- package/dist/chunks/{repository-8z1vhx7d.js → repository-92kfgbvy.js} +12 -12
- package/dist/chunks/{repository-j624rcj2.js → repository-9c7cfx9k.js} +9 -9
- package/dist/chunks/{repository-77znwksv.js → repository-9t9nwrjp.js} +6 -6
- package/dist/chunks/{repository-3w2b2yj4.js → repository-9xvq3m7s.js} +3 -3
- package/dist/chunks/{repository-b34mrygk.js → repository-a6aff8z8.js} +17 -17
- package/dist/chunks/{repository-zk63fk94.js → repository-a70bg6dx.js} +7 -7
- package/dist/chunks/{repository-5v50ez44.js → repository-a8eh5f32.js} +16 -16
- package/dist/chunks/{repository-8x661zms.js → repository-agv6b8k2.js} +2 -2
- package/dist/chunks/{repository-jca4demv.js → repository-ak8wweg5.js} +1 -1
- package/dist/chunks/{repository-gd2mrfha.js → repository-akcepp6y.js} +8 -8
- package/dist/chunks/{repository-metfybw1.js → repository-an66nx3z.js} +27 -27
- package/dist/chunks/{repository-p8tnfkxq.js → repository-asvap28k.js} +19 -19
- package/dist/chunks/{repository-7jk1t73m.js → repository-atcwnc5a.js} +17 -17
- package/dist/chunks/{repository-8j12t1bv.js → repository-az4a6sax.js} +85 -85
- package/dist/chunks/{repository-1cxq3z7p.js → repository-b57g7gde.js} +1 -1
- package/dist/chunks/{repository-x1c0jm0v.js → repository-b6szjc2b.js} +4 -4
- package/dist/chunks/{repository-705e2ap1.js → repository-b7b4ctej.js} +3 -3
- package/dist/chunks/{repository-kgj7nn0t.js → repository-bakxampr.js} +10 -10
- package/dist/chunks/{repository-05b749yd.js → repository-bm2y31hv.js} +13 -13
- package/dist/chunks/{repository-de275n1f.js → repository-bx3fq6aw.js} +13 -13
- package/dist/chunks/{repository-619r8v3y.js → repository-by5v678g.js} +4 -4
- package/dist/chunks/{repository-hkqypw3r.js → repository-cc2shgt9.js} +30 -30
- package/dist/chunks/{repository-gfwr3rnv.js → repository-cfmzrcj7.js} +10 -10
- package/dist/chunks/{repository-v42zcc13.js → repository-ch64seem.js} +23 -23
- package/dist/chunks/{repository-npg39zw6.js → repository-crsexzag.js} +30 -30
- package/dist/chunks/repository-d0jzkfbr.js +252 -0
- package/dist/chunks/repository-dbc9r3hj.js +26 -0
- package/dist/chunks/{repository-3a2j1hjr.js → repository-dh4q5s77.js} +9 -9
- package/dist/chunks/{repository-73yrdnyd.js → repository-dhkwabp0.js} +14 -14
- package/dist/chunks/{repository-cwa6csj7.js → repository-djszqvmq.js} +7 -7
- package/dist/chunks/{repository-xfkkasph.js → repository-drwq78ky.js} +3 -3
- package/dist/chunks/{repository-agjv8c5g.js → repository-e59tsew2.js} +11 -11
- package/dist/chunks/{repository-5etm4xsh.js → repository-e7ws6ec8.js} +37 -37
- package/dist/chunks/{repository-512hw42y.js → repository-eahms454.js} +37 -37
- package/dist/chunks/{repository-56ky7bs0.js → repository-ehsk5wsv.js} +25 -25
- package/dist/chunks/{repository-9vrq4vn2.js → repository-epfpd7cv.js} +8 -8
- package/dist/chunks/{repository-hq7yghhm.js → repository-eyn5j564.js} +6 -6
- package/dist/chunks/{repository-yp2x3t23.js → repository-f2n192rq.js} +3 -3
- package/dist/chunks/{repository-fc523kt6.js → repository-f334w0pg.js} +32 -32
- package/dist/chunks/{repository-mr0mmcj5.js → repository-f5fspc7b.js} +4 -4
- package/dist/chunks/{repository-db9prhsp.js → repository-fp35vcn1.js} +45 -45
- package/dist/chunks/{repository-q3t37ft6.js → repository-fqka1xvk.js} +3 -3
- package/dist/chunks/{repository-w9vf9qqj.js → repository-fsbk27r1.js} +7 -7
- package/dist/chunks/{repository-byrrs48t.js → repository-ftjt2372.js} +4 -4
- package/dist/chunks/{repository-0xezjjjn.js → repository-g1sxm558.js} +7 -7
- package/dist/chunks/{repository-1vnc4v1d.js → repository-geakp29a.js} +9 -9
- package/dist/chunks/{repository-16j5ke9h.js → repository-gqnw29hq.js} +9 -9
- package/dist/chunks/{repository-y8kkdtzr.js → repository-gwahz6hz.js} +11 -11
- package/dist/chunks/{repository-5ev1zspt.js → repository-h3r85v63.js} +7 -7
- package/dist/chunks/{repository-5mtzsd3b.js → repository-h6r3nrb9.js} +3 -3
- package/dist/chunks/{repository-2rscg1y3.js → repository-h70nwwcc.js} +9 -9
- package/dist/chunks/{repository-bdz0bbmb.js → repository-har18r6r.js} +17 -17
- package/dist/chunks/{repository-fsf6v8qm.js → repository-hqxn6csc.js} +179 -179
- package/dist/chunks/{repository-thk6jfdx.js → repository-hqxxrcsw.js} +19 -19
- package/dist/chunks/{repository-1jp2mfrr.js → repository-hr7nhsg3.js} +1 -1
- package/dist/chunks/{repository-zte1js4p.js → repository-hr9sx13n.js} +19 -19
- package/dist/chunks/{repository-e912ms8z.js → repository-htpfkpfv.js} +3 -3
- package/dist/chunks/{repository-hgbqxczd.js → repository-hx10j1ep.js} +9 -9
- package/dist/chunks/{repository-qjwr0tpp.js → repository-hyyftsxg.js} +5 -5
- package/dist/chunks/{repository-5tnkgdfk.js → repository-j4dredde.js} +15 -15
- package/dist/chunks/{repository-kc96dfb8.js → repository-j64jv97n.js} +7 -7
- package/dist/chunks/{repository-pmr4s4kc.js → repository-j83byb14.js} +3 -3
- package/dist/chunks/{repository-ky1kh8n9.js → repository-jb8f8bdw.js} +25 -25
- package/dist/chunks/{repository-ftm3dexp.js → repository-jdt82a65.js} +5 -5
- package/dist/chunks/{repository-hq8qt6ng.js → repository-jewqmp23.js} +6 -6
- package/dist/chunks/{repository-dg2cj1yd.js → repository-jjzf804t.js} +3 -3
- package/dist/chunks/{repository-swwpqdcy.js → repository-jsknnxm0.js} +14 -14
- package/dist/chunks/{repository-6q0ntw2a.js → repository-jvzh73h3.js} +16 -16
- package/dist/chunks/{repository-8b72xbs9.js → repository-jw7mqvhb.js} +18 -18
- package/dist/chunks/{repository-90g9zkdy.js → repository-k4xenmvj.js} +12 -12
- package/dist/chunks/{repository-5t7jqs97.js → repository-kjjzdt6z.js} +26 -26
- package/dist/chunks/{repository-6r6vp6ha.js → repository-kma5cn94.js} +24 -24
- package/dist/chunks/{repository-kstbhh6a.js → repository-kt8nfkp3.js} +24 -24
- package/dist/chunks/{repository-t4vj6rvz.js → repository-m7byf6m1.js} +24 -24
- package/dist/chunks/{repository-0paz3kdb.js → repository-mnrg3sxj.js} +23 -23
- package/dist/chunks/{repository-p9z73tm2.js → repository-mp5r29aw.js} +5 -5
- package/dist/chunks/{repository-929cfnf2.js → repository-mzvn4c0x.js} +20 -20
- package/dist/chunks/{repository-jj202axs.js → repository-n2yeqzr5.js} +2 -2
- package/dist/chunks/{repository-fgg720tk.js → repository-n34cz6pc.js} +9 -9
- package/dist/chunks/{repository-6hbqnsja.js → repository-n4qk2p21.js} +5 -5
- package/dist/chunks/{repository-azyzdvnn.js → repository-ncvdxrbg.js} +14 -14
- package/dist/chunks/{repository-xr86ydmg.js → repository-ndz0f2pv.js} +11 -11
- package/dist/chunks/{repository-7w3s9kd0.js → repository-nkcwakxz.js} +5 -5
- package/dist/chunks/{repository-jw80jp6b.js → repository-nrdmrqsx.js} +3 -3
- package/dist/chunks/{repository-9zqrb8fx.js → repository-nz1w7233.js} +27 -27
- package/dist/chunks/{repository-h2r7bbkd.js → repository-p26nknmg.js} +6 -6
- package/dist/chunks/{repository-79272cb5.js → repository-p4w1wdw7.js} +16 -16
- package/dist/chunks/{repository-czfptnv9.js → repository-pa8pe2x7.js} +3 -3
- package/dist/chunks/{repository-47bkxv40.js → repository-pca6s4fg.js} +20 -20
- package/dist/chunks/{repository-mvksx64m.js → repository-pccq72bz.js} +1 -1
- package/dist/chunks/{repository-zz37z2qt.js → repository-pdgybe9w.js} +4 -4
- package/dist/chunks/{repository-d29nyfm4.js → repository-pnpn4wz1.js} +11 -11
- package/dist/chunks/{repository-nscznvay.js → repository-pnv527nz.js} +7 -7
- package/dist/chunks/{repository-9fcb53ey.js → repository-prd1yc4e.js} +15 -15
- package/dist/chunks/{repository-9v05265v.js → repository-pxbjxcby.js} +29 -29
- package/dist/chunks/{repository-j5rxtxht.js → repository-qbqbaz6q.js} +3 -3
- package/dist/chunks/{repository-h7gb4ryr.js → repository-qernpydw.js} +5 -5
- package/dist/chunks/{repository-r52g2zhe.js → repository-qfdxmfvr.js} +3 -3
- package/dist/chunks/{repository-kst1pkph.js → repository-qk5kxcbj.js} +17 -17
- package/dist/chunks/{repository-scbkt9q8.js → repository-qn9vy89p.js} +30 -30
- package/dist/chunks/{repository-qxmaq0sm.js → repository-qvb3nf84.js} +7 -7
- package/dist/chunks/{repository-kpqs54h7.js → repository-r040zy0g.js} +25 -25
- package/dist/chunks/{repository-6ycw4w1t.js → repository-r1zrj47q.js} +30 -30
- package/dist/chunks/{repository-r5m1ty2t.js → repository-r6vv5p3m.js} +43 -43
- package/dist/chunks/{repository-b4vexebs.js → repository-r7t6v39w.js} +24 -24
- package/dist/chunks/{repository-77wtpmj0.js → repository-rdmyapgx.js} +12 -12
- package/dist/chunks/{repository-8sze2n9a.js → repository-rkprpv83.js} +5 -5
- package/dist/chunks/{repository-6sj6xmv4.js → repository-rpbss5j3.js} +32 -32
- package/dist/chunks/{repository-hbyaebar.js → repository-s6k3yhqj.js} +322 -322
- package/dist/chunks/{repository-0hmet0j7.js → repository-sae9kgks.js} +10 -10
- package/dist/chunks/{repository-c4ppv1by.js → repository-sdmk119x.js} +2 -2
- package/dist/chunks/{repository-m9144ht3.js → repository-sm84vfww.js} +9 -9
- package/dist/chunks/{repository-ffcsw7yh.js → repository-smxxsx11.js} +16 -16
- package/dist/chunks/{repository-q5dpec9v.js → repository-stv887d7.js} +10 -10
- package/dist/chunks/{repository-kwe5n90t.js → repository-svv95awx.js} +23 -23
- package/dist/chunks/{repository-v5dkyp31.js → repository-sxz6gkc3.js} +6 -6
- package/dist/chunks/{repository-r0p67dnr.js → repository-t041a9x4.js} +21 -21
- package/dist/chunks/{repository-rhjbct0v.js → repository-t550f9t1.js} +3 -3
- package/dist/chunks/{repository-zvt5dnpc.js → repository-t7n9q6bq.js} +3 -3
- package/dist/chunks/{repository-2gy1bqwa.js → repository-t8730cdn.js} +12 -12
- package/dist/chunks/{repository-ydx1ak1r.js → repository-tcj9ww28.js} +16 -16
- package/dist/chunks/{repository-2zy9bvam.js → repository-tfzy1df7.js} +28 -28
- package/dist/chunks/{repository-dwdeeedv.js → repository-tqr3fgz4.js} +43 -43
- package/dist/chunks/{repository-hcd63823.js → repository-v4028cvv.js} +14 -14
- package/dist/chunks/{repository-e3z9p67s.js → repository-vhyze3e3.js} +18 -18
- package/dist/chunks/{repository-5m4tc1r8.js → repository-vp03n2p3.js} +11 -11
- package/dist/chunks/{repository-a204ka05.js → repository-vrwms5ta.js} +1 -1
- package/dist/chunks/{repository-tma09pjv.js → repository-vsfnjfd7.js} +10 -10
- package/dist/chunks/{repository-3gqan0f7.js → repository-vsrax324.js} +19 -19
- package/dist/chunks/{repository-da533g22.js → repository-w3x6xwqj.js} +1 -1
- package/dist/chunks/{repository-dpsvckea.js → repository-w3zzd7fq.js} +15 -15
- package/dist/chunks/{repository-fvanntqq.js → repository-w4arg62q.js} +5 -5
- package/dist/chunks/{repository-k07p368a.js → repository-w6pxqv2r.js} +14 -14
- package/dist/chunks/{repository-8hbfdwcy.js → repository-w6zk8pbt.js} +5 -5
- package/dist/chunks/{repository-5y4gd2sb.js → repository-wa5jjdw0.js} +10 -10
- package/dist/chunks/{repository-etzz3kcr.js → repository-was7srj9.js} +7 -7
- package/dist/chunks/{repository-h5qvqr7w.js → repository-wbfjc2h1.js} +10 -10
- package/dist/chunks/{repository-tyzy9g51.js → repository-wjdksev2.js} +36 -36
- package/dist/chunks/{repository-n953eyzk.js → repository-wtb2nkxw.js} +3 -3
- package/dist/chunks/{repository-384p91kd.js → repository-www228tn.js} +32 -32
- package/dist/chunks/{repository-df54n7py.js → repository-wzvzbcsg.js} +8 -8
- package/dist/chunks/{repository-xxv802jd.js → repository-x3g34f3v.js} +1 -1
- package/dist/chunks/{repository-pgp1nwjn.js → repository-x3gqap9d.js} +3 -3
- package/dist/chunks/{repository-4b9fhhm9.js → repository-x4m537wk.js} +4 -4
- package/dist/chunks/{repository-qz02d4gv.js → repository-x5h44zm2.js} +7 -7
- package/dist/chunks/{repository-33y1b8yt.js → repository-xkv170v4.js} +8 -8
- package/dist/chunks/{repository-kgcknfzw.js → repository-xm24773m.js} +37 -37
- package/dist/chunks/{repository-k9p9jwpd.js → repository-xqn8f2xc.js} +17 -17
- package/dist/chunks/{repository-3rh9rajd.js → repository-y0rg8wwx.js} +8 -8
- package/dist/chunks/{repository-e28ag5bw.js → repository-y14362pj.js} +12 -12
- package/dist/chunks/{repository-95qqca5m.js → repository-y2sxsfvk.js} +12 -12
- package/dist/chunks/{repository-9rdt4sv8.js → repository-y9kjq5j3.js} +9 -9
- package/dist/chunks/{repository-gmjjhz4f.js → repository-yq9bhs5j.js} +1 -1
- package/dist/chunks/{repository-c8xyt3x2.js → repository-z139kjpf.js} +7 -7
- package/dist/chunks/{repository-8mkxvtcz.js → repository-zbzxhk8m.js} +10 -10
- package/dist/chunks/{repository-g9apv6nb.js → repository-zcj9g204.js} +4 -4
- package/dist/chunks/{repository-dsped3ts.js → repository-zd8hcvy8.js} +17 -17
- package/dist/chunks/{repository-nmxw05nd.js → repository-ztjbcj90.js} +39 -39
- package/dist/chunks/{repository-y3k1g0t3.js → repository-zxptzjm7.js} +17 -17
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +61 -61
- package/dist/config/discovery.js +54 -54
- package/dist/config/normalize.js +74 -74
- package/dist/config/plugin/agent.js +88 -88
- package/dist/config/plugin/command.js +172 -172
- package/dist/config/plugin/compaction.js +121 -121
- package/dist/config/plugin/compatibility.js +101 -101
- package/dist/config/plugin/formatter.js +86 -86
- package/dist/config/plugin/image.js +86 -86
- package/dist/config/plugin/instruction.js +59 -59
- package/dist/config/plugin/location-watcher.js +86 -86
- package/dist/config/plugin/mcp.js +96 -96
- package/dist/config/plugin/policy.js +86 -86
- package/dist/config/plugin/provider.js +86 -86
- package/dist/config/plugin/reference.js +88 -88
- package/dist/config/plugin/shell.js +86 -86
- package/dist/config/plugin/skill-file.js +69 -69
- package/dist/config/plugin/skill.js +104 -104
- package/dist/config/plugin/snapshot.js +86 -86
- package/dist/config/plugin/source.js +89 -89
- package/dist/config/plugin/tool-output.js +88 -88
- package/dist/config/plugin/websearch.js +85 -85
- package/dist/config/plugin/worktree.js +88 -88
- package/dist/config.js +92 -92
- package/dist/credential.js +60 -60
- package/dist/database/database.js +49 -49
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +38 -38
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +228 -228
- package/dist/environment/environment.js +60 -60
- package/dist/environment/index.js +60 -60
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +72 -72
- package/dist/file-mutation.js +61 -61
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +178 -178
- package/dist/filesystem/search.js +68 -68
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +67 -67
- package/dist/form.js +59 -59
- package/dist/formatter.js +58 -58
- package/dist/generate.js +74 -74
- 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 +62 -62
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- 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.js +304 -304
- package/dist/instruction-discovery.js +64 -64
- package/dist/instructions/builtins.js +59 -59
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +64 -64
- package/dist/job.js +59 -59
- package/dist/kv.js +54 -54
- package/dist/location-activity.js +51 -51
- package/dist/location-lifecycle.js +71 -71
- package/dist/location-mutation.js +29 -29
- package/dist/location-service-map.js +58 -58
- package/dist/location-services.js +305 -305
- package/dist/location.js +61 -61
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +16 -16
- package/dist/mcp/index.js +68 -68
- package/dist/mcp/instructions.js +92 -92
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +57 -57
- package/dist/modal/models.js +62 -62
- package/dist/model-resolver.js +69 -69
- package/dist/model.js +73 -73
- package/dist/models-dev.js +70 -70
- package/dist/permission/saved.js +58 -58
- package/dist/permission.js +75 -75
- package/dist/persistent-pty/index.js +66 -66
- package/dist/persistent-pty.js +52 -52
- package/dist/plugin/agent.js +72 -72
- package/dist/plugin/command.js +67 -67
- package/dist/plugin/compaction.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +175 -175
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +279 -279
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +67 -67
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +70 -70
- package/dist/plugin/provider/amazon-bedrock.js +61 -61
- package/dist/plugin/provider/azure.js +85 -85
- package/dist/plugin/provider/cloudflare-ai-gateway.js +84 -84
- package/dist/plugin/provider/cloudflare-workers-ai.js +84 -84
- package/dist/plugin/provider/configured.js +83 -83
- package/dist/plugin/provider/digitalocean.js +63 -63
- package/dist/plugin/provider/github-copilot.js +64 -64
- package/dist/plugin/provider/gitlab.js +63 -63
- package/dist/plugin/provider/google-vertex.js +61 -61
- package/dist/plugin/provider/llmgateway.js +55 -55
- package/dist/plugin/provider/lmstudio.js +86 -86
- package/dist/plugin/provider/modal.js +63 -63
- package/dist/plugin/provider/ollama.js +86 -86
- package/dist/plugin/provider/openai.js +64 -64
- package/dist/plugin/provider/opencode.js +66 -66
- package/dist/plugin/provider/openrouter.js +62 -62
- package/dist/plugin/provider/poe.js +55 -55
- package/dist/plugin/provider/prompt-cache-key.js +61 -61
- package/dist/plugin/provider/sap-ai-core.js +61 -61
- package/dist/plugin/provider/snowflake-cortex.js +85 -85
- package/dist/plugin/provider/vercel.js +61 -61
- package/dist/plugin/provider/vllm.js +86 -86
- package/dist/plugin/provider/xai.js +62 -62
- package/dist/plugin/provider.js +118 -118
- package/dist/plugin/sdk.js +57 -57
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +102 -102
- package/dist/plugin/supervisor.js +298 -298
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +57 -57
- package/dist/plugin/vcs/hg.js +57 -57
- package/dist/plugin/verbosity.js +64 -64
- package/dist/plugin/warming.js +85 -85
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +182 -182
- package/dist/project/schema.js +7 -7
- package/dist/project.js +60 -60
- package/dist/provider.js +70 -70
- package/dist/pty.js +59 -59
- package/dist/reference/instructions.js +63 -63
- package/dist/reference.js +63 -63
- package/dist/repository-cache.js +57 -57
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +61 -61
- package/dist/rpc.js +58 -58
- package/dist/session/command.js +53 -53
- package/dist/session/compaction.js +98 -98
- package/dist/session/context.js +115 -115
- package/dist/session/diff.js +58 -58
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +114 -114
- package/dist/session/execution.js +93 -93
- package/dist/session/generate.js +115 -115
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +64 -64
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +3 -3
- package/dist/session/instructions.js +68 -68
- package/dist/session/model-request.js +87 -87
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +96 -96
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +72 -72
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +59 -59
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +185 -185
- package/dist/session/runner/model.js +69 -69
- package/dist/session/runner/retry.js +82 -82
- package/dist/session/runner/step.js +92 -92
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +132 -132
- package/dist/session/shell.js +101 -101
- package/dist/session/skill.js +70 -70
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +168 -168
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +118 -118
- package/dist/session/to-session-error.js +79 -79
- package/dist/session/transfer.js +111 -111
- package/dist/session.js +177 -177
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +102 -102
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +75 -75
- package/dist/skill.js +78 -78
- package/dist/snapshot.js +60 -60
- package/dist/tool/mcp.js +89 -89
- package/dist/tool/plugin/edit.js +80 -80
- package/dist/tool/plugin/glob.js +87 -87
- package/dist/tool/plugin/grep.js +87 -87
- package/dist/tool/plugin/mcp-resource.js +79 -79
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +84 -84
- package/dist/tool/plugin/question.js +69 -69
- package/dist/tool/plugin/read.js +88 -88
- package/dist/tool/plugin/shell.js +174 -174
- package/dist/tool/plugin/skill.js +79 -79
- package/dist/tool/plugin/subagent.js +169 -169
- package/dist/tool/plugin/webfetch.js +76 -76
- package/dist/tool/plugin/websearch.js +76 -76
- package/dist/tool/plugin/write.js +86 -86
- package/dist/tool/read-filesystem.js +65 -65
- 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/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/migrate.js +62 -62
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +64 -64
- package/dist/vcs.js +58 -58
- package/dist/websearch.js +58 -58
- package/dist/wellknown/plugin.js +55 -55
- package/dist/wellknown.js +60 -60
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +61 -61
- package/dist/worktree/git.js +3 -3
- package/dist/worktree/strategies.js +59 -59
- package/dist/worktree.js +65 -65
- package/package.json +8 -8
- package/dist/chunks/repository-tewh99a4.js +0 -26
- package/dist/chunks/repository-vgmd07b2.js +0 -252
- /package/dist/chunks/{repository-p5c89f54.js → repository-21zq8aa1.js} +0 -0
- /package/dist/chunks/{repository-n3wcrd3g.js → repository-cm0f77dr.js} +0 -0
- /package/dist/chunks/{repository-nzks3jc8.js → repository-k3c624dm.js} +0 -0
- /package/dist/chunks/{repository-vnwmzs4a.js → repository-sqbb0ctm.js} +0 -0
- /package/dist/chunks/{repository-6s8c70gj.js → repository-y99ygqqg.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./repository-
|
|
2
|
+
Service55
|
|
3
|
+
} from "./repository-r6vv5p3m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./repository-
|
|
9
|
+
Service53
|
|
10
|
+
} from "./repository-38nmpqef.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./repository-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: () => Input10,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin13,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name10,
|
|
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 name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
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 description2 = [
|
|
|
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 Plugin13 = {
|
|
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* Service53;
|
|
51
|
+
const permission = yield* Service55;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output6,
|
|
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: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin3 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output6, description4, toModelOutput2, Plugin13, exports_skill };
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service33, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer12, node37, exports_model_transport };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./repository-
|
|
4
|
+
} from "./repository-3f66bwfz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./repository-rdw6cm16.js";
|
|
@@ -14,31 +14,31 @@ var exports_agent4 = {};
|
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info21,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service58,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node61
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info21 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service58 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info21.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service58.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info21, Service58, node61, exports_agent4, Event13 };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./repository-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./repository-
|
|
6
|
+
} from "./repository-2nzc6ac3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ var exports_retry = {};
|
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make9, exports_retry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./repository-
|
|
2
|
+
Service60,
|
|
3
|
+
node63
|
|
4
|
+
} from "./repository-ch64seem.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./repository-
|
|
10
|
+
} from "./repository-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service30,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service60;
|
|
64
|
+
return Service30.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node63] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service30, node34, exports_instructions4 };
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
chunksByFile2
|
|
10
10
|
} from "./repository-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./repository-
|
|
12
|
+
Service79
|
|
13
|
+
} from "./repository-tcj9ww28.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./repository-
|
|
16
|
+
} from "./repository-jsknnxm0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./repository-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: () => Plugin34,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/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 Plugin34 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin34, exports_hg };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info22,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./repository-
|
|
5
|
+
} from "./repository-fqka1xvk.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
8
|
} from "./repository-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./repository-
|
|
12
|
+
} from "./repository-n2yeqzr5.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./repository-
|
|
17
|
+
} from "./repository-3f66bwfz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./repository-
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./repository-cc2shgt9.js";
|
|
22
22
|
import {
|
|
23
23
|
Service47,
|
|
24
24
|
node49
|
|
@@ -30,25 +30,25 @@ import {
|
|
|
30
30
|
SessionMessageTable2
|
|
31
31
|
} from "./repository-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./repository-
|
|
33
|
+
node48
|
|
34
|
+
} from "./repository-580xkvb2.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./repository-
|
|
37
|
+
} from "./repository-pccq72bz.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./repository-
|
|
40
|
+
} from "./repository-02r4f2yh.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
43
|
} from "./repository-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./repository-
|
|
46
|
+
node31
|
|
47
|
+
} from "./repository-xkv170v4.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./repository-
|
|
50
|
+
node56
|
|
51
|
+
} from "./repository-4f06rze2.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,55 +61,55 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./repository-
|
|
64
|
+
} from "./repository-yq9bhs5j.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./repository-
|
|
67
|
+
Service56,
|
|
68
|
+
node59
|
|
69
|
+
} from "./repository-4bqx1nme.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./repository-
|
|
71
|
+
Service50,
|
|
72
|
+
node52
|
|
73
|
+
} from "./repository-v4028cvv.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./repository-
|
|
75
|
+
Service44,
|
|
76
|
+
node47
|
|
77
|
+
} from "./repository-50nkx4g5.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
80
|
} from "./repository-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./repository-
|
|
82
|
+
Service33,
|
|
83
|
+
node37
|
|
84
|
+
} from "./repository-5qedxm44.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./repository-
|
|
87
|
+
} from "./repository-y2sxsfvk.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./repository-
|
|
90
|
+
} from "./repository-f5fspc7b.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./repository-
|
|
92
|
+
Service70,
|
|
93
|
+
node74
|
|
94
|
+
} from "./repository-wa5jjdw0.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./repository-
|
|
99
|
+
Service27,
|
|
100
|
+
node30
|
|
101
|
+
} from "./repository-fp35vcn1.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./repository-
|
|
103
|
+
Service41,
|
|
104
|
+
node44
|
|
105
|
+
} from "./repository-qvb3nf84.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./repository-
|
|
107
|
+
make12
|
|
108
|
+
} from "./repository-3nhsj318.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./repository-
|
|
112
|
+
} from "./repository-y0rg8wwx.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
115
|
} from "./repository-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: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info22,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service26,
|
|
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: () => node29
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput4;
|
|
152
|
-
class
|
|
152
|
+
class Service26 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service80;
|
|
160
|
+
const execution = yield* Service44;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
162
|
+
const transport = yield* Service33;
|
|
163
|
+
const store = yield* Service56;
|
|
164
164
|
const instances = yield* Service47;
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
165
|
+
const moves = yield* Service27;
|
|
166
|
+
const jobs = yield* Service50;
|
|
167
|
+
const environments = yield* Service41;
|
|
168
|
+
const locations = yield* Service70;
|
|
169
|
+
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service26.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);
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node29 = Node.makeGlobalNode({
|
|
331
|
+
service: Service26,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node52,
|
|
335
|
+
node44,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node84,
|
|
339
|
+
node47,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
342
|
+
node59,
|
|
343
343
|
node49,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
344
|
+
node48,
|
|
345
|
+
node30,
|
|
346
|
+
node31,
|
|
347
|
+
node74,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node56
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service26, node29, exports_session };
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./repository-
|
|
5
|
+
Service37
|
|
6
|
+
} from "./repository-e7ws6ec8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./repository-
|
|
8
|
+
Service55
|
|
9
|
+
} from "./repository-r6vv5p3m.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -22,8 +22,8 @@ import { Effect, Schema } from "effect";
|
|
|
22
22
|
var Plugin11 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service37;
|
|
26
|
+
const permission = yield* Service55;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|