@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./repository-
|
|
6
|
+
} from "./repository-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./repository-
|
|
9
|
+
} from "./repository-r6vv5p3m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./repository-
|
|
11
|
+
Service37,
|
|
12
|
+
node40
|
|
13
|
+
} from "./repository-e7ws6ec8.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./repository-
|
|
17
|
+
} from "./repository-m7byf6m1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions5 = {};
|
|
24
|
+
__export(exports_instructions5, {
|
|
25
|
+
McpInstructions: () => exports_instructions5,
|
|
26
|
+
Service: () => Service35,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node38
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service37;
|
|
68
|
+
return Service35.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node38 = makeLocationNode({ service: Service35, layer: layer13, deps: [node40] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service35, layer13, node38, exports_instructions5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./repository-
|
|
3
|
+
} from "./repository-3f66bwfz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./repository-
|
|
5
|
+
Service51,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./repository-hqxxrcsw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service51;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin50 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./repository-
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./repository-svv95awx.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./repository-
|
|
3
|
+
} from "./repository-4f06rze2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./repository-
|
|
6
|
+
} from "./repository-3f66bwfz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./repository-
|
|
10
|
+
Service78
|
|
11
|
+
} from "./repository-zxptzjm7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./repository-
|
|
15
|
+
Service77
|
|
16
|
+
} from "./repository-svv95awx.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
20
|
} from "./repository-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./repository-
|
|
22
|
+
ID13
|
|
23
|
+
} from "./repository-8xdzh0gy.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./repository-
|
|
26
|
+
} from "./repository-3zz7237p.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
|
+
const integrations = yield* Service77;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./repository-
|
|
2
|
+
Service66
|
|
3
|
+
} from "./repository-fsbk27r1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service47
|
|
6
6
|
} from "./repository-2a6rn6yr.js";
|
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
} from "./repository-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./repository-
|
|
12
|
+
} from "./repository-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./repository-
|
|
14
|
+
Service67
|
|
15
|
+
} from "./repository-g1sxm558.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./repository-
|
|
19
|
+
} from "./repository-yq9bhs5j.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./repository-
|
|
22
|
+
Service53
|
|
23
|
+
} from "./repository-38nmpqef.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -42,7 +42,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
42
42
|
const instances = yield* Service47;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service67;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service53;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service66;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info11
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info11, exports_formatter3 };
|
|
@@ -7,7 +7,7 @@ var exports_permission = {};
|
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info10,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info10, exports_permission };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
RelativePath2
|
|
3
3
|
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./repository-
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./repository-tcj9ww28.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./repository-
|
|
9
|
+
Service25,
|
|
10
|
+
node28
|
|
11
|
+
} from "./repository-e59tsew2.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node27,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service24 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service25;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service24.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service24.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service24.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured4(options) {
|
|
186
|
+
return makeLocationNode({ service: Service24, layer: layer10(options), deps: [node83, node28] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node27 = configured4();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service24, ripgrepLayer2, fffLayer2, layer10, configured4, node27, exports_search };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
PositiveInt2
|
|
3
3
|
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./repository-
|
|
5
|
+
Info10
|
|
6
|
+
} from "./repository-nrdmrqsx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info7
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info10)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info7 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info7, exports_agent3 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./repository-
|
|
4
|
+
} from "./repository-3f66bwfz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./repository-
|
|
6
|
+
Service71,
|
|
7
|
+
node75
|
|
8
|
+
} from "./repository-4d31bbse.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
11
|
} from "./repository-rdw6cm16.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
21
|
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service19 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service71;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service19.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node22 = makeLocationNode({
|
|
188
|
+
service: Service19,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node22, exports_websearch3, Event5 };
|
|
@@ -8,14 +8,14 @@ __export(exports_instance2, {
|
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
9
|
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
16
|
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
19
|
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
@@ -29,4 +29,4 @@ function bound2(plugins) {
|
|
|
29
29
|
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Service6,
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|