@opencode/core 0.0.0-dev-20352 → 0.0.0-dev-20355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-h9pnpq88.js → config-0br3sbwn.js} +4 -4
- package/dist/chunks/{repository-j2xcdt51.js → config-0g10vfc5.js} +12 -12
- package/dist/chunks/{repository-6ersrjne.js → config-0gaj4617.js} +4 -4
- package/dist/chunks/{repository-7x45ykdv.js → config-0nrzv7mn.js} +7 -7
- package/dist/chunks/{repository-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-j6t7fyz5.js → config-0txs8bjp.js} +27 -27
- package/dist/chunks/{repository-68nshxa6.js → config-10ta830h.js} +8 -8
- package/dist/chunks/{repository-pgtgcehs.js → config-162srmwc.js} +16 -16
- package/dist/chunks/{repository-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-189qmn9h.js → config-1p8j1n52.js} +17 -17
- package/dist/chunks/{repository-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{repository-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{repository-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-ct075mb4.js → config-2avywn8b.js} +25 -25
- package/dist/chunks/{repository-xkvh4geq.js → config-2b3v10ng.js} +14 -14
- package/dist/chunks/{repository-261mrjx3.js → config-2cn5yk36.js} +16 -16
- package/dist/chunks/{repository-ceye5a6y.js → config-2jbk0za2.js} +13 -13
- package/dist/chunks/{repository-gfx92qwz.js → config-2pr397y0.js} +5 -5
- package/dist/chunks/{repository-6vjt9qdm.js → config-2tzr0bja.js} +10 -10
- package/dist/chunks/{repository-hysc82bv.js → config-2vtmp13x.js} +3 -3
- package/dist/chunks/{repository-j6f48vym.js → config-2wcrr15b.js} +25 -25
- package/dist/chunks/{repository-zc13yrkz.js → config-319ksv5t.js} +29 -29
- package/dist/chunks/{repository-va3kv9qe.js → config-3dbk1ny7.js} +19 -19
- package/dist/chunks/{repository-z3bmnw1t.js → config-3edhtdw1.js} +17 -17
- package/dist/chunks/{repository-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-ggxxq9e3.js → config-3gwkw8np.js} +20 -20
- package/dist/chunks/{repository-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-w7zbkbxn.js → config-3yn68g8e.js} +24 -24
- package/dist/chunks/{repository-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-zy5m56k1.js → config-4k6z9pjw.js} +50 -50
- package/dist/chunks/{repository-2m2430dv.js → config-4ry3n659.js} +15 -15
- package/dist/chunks/{repository-d2aac7k2.js → config-4xz89tjk.js} +5 -5
- package/dist/chunks/{repository-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-54tcyq79.js → config-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-zm8ah4y0.js → config-5700x16n.js} +3 -3
- package/dist/chunks/{repository-hrr95837.js → config-5b5ps9v8.js} +28 -28
- package/dist/chunks/{repository-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-ncxk7mek.js → config-5p2qc7sm.js} +12 -12
- package/dist/chunks/{repository-qg932bxn.js → config-5srq2jph.js} +9 -9
- package/dist/chunks/{repository-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-p8zygv0q.js → config-5tcj83g5.js} +2 -2
- package/dist/chunks/{repository-cjq0wb7m.js → config-616rnhbn.js} +10 -10
- package/dist/chunks/{repository-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{repository-wfv0ggfj.js → config-6csmb8tf.js} +17 -17
- package/dist/chunks/{repository-11dqjexa.js → config-6hjx5zpb.js} +9 -9
- package/dist/chunks/{repository-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-73tb2d7t.js → config-73tb2d7t.js} +1 -1
- package/dist/chunks/{repository-9nepbqpa.js → config-75my1bc5.js} +6 -6
- package/dist/chunks/{repository-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-c78bbtc9.js → config-7bmx80wk.js} +5 -5
- package/dist/chunks/{repository-mw7g4815.js → config-7d2xgerr.js} +10 -10
- package/dist/chunks/{repository-qgn6gcr1.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-1p07q0wb.js → config-7fkffz83.js} +2 -2
- package/dist/chunks/{repository-gtvp5jzx.js → config-7gvbvycy.js} +14 -14
- package/dist/chunks/{repository-hjxf57fq.js → config-7k5facj4.js} +5 -5
- package/dist/chunks/{repository-a3rxqfj7.js → config-7k8511dc.js} +17 -17
- package/dist/chunks/{repository-9pwzs4p0.js → config-7kjz6mzj.js} +16 -16
- package/dist/chunks/{repository-6q6c536h.js → config-7mrdz8js.js} +20 -20
- package/dist/chunks/{repository-yt87a29d.js → config-7tqntkc3.js} +8 -8
- package/dist/chunks/{repository-q5eaght4.js → config-7vr7a34q.js} +13 -13
- package/dist/chunks/{repository-7sgf9crj.js → config-7xr0zv6b.js} +11 -11
- package/dist/chunks/{repository-624pvf4j.js → config-7yw5590a.js} +16 -16
- package/dist/chunks/{repository-t7rh5px3.js → config-83g341n7.js} +8 -8
- package/dist/chunks/{repository-84txncab.js → config-84txncab.js} +1 -1
- package/dist/chunks/{repository-vmej4yqe.js → config-88q60gsj.js} +10 -10
- package/dist/chunks/{repository-8y978tw0.js → config-88y9tsxz.js} +15 -15
- package/dist/chunks/{repository-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-8tpf93gf.js → config-8em9bzzy.js} +5 -5
- package/dist/chunks/{repository-90ns4yw4.js → config-8k7613hp.js} +13 -13
- package/dist/chunks/{repository-mevypv3g.js → config-8yap2z1s.js} +11 -11
- package/dist/chunks/{repository-c4tdq55k.js → config-943aygxv.js} +23 -23
- package/dist/chunks/{repository-e9ggwzdx.js → config-972w6esq.js} +30 -30
- package/dist/chunks/{repository-679fyftg.js → config-9e53y001.js} +48 -48
- package/dist/chunks/{repository-k0afheae.js → config-9fw5nwrv.js} +26 -26
- package/dist/chunks/{repository-3evcb5zj.js → config-9g1ap5hr.js} +16 -16
- package/dist/chunks/{repository-9hn6k4tm.js → config-9hn6k4tm.js} +1 -1
- package/dist/chunks/{repository-hyd6jxmg.js → config-9ttkv238.js} +34 -34
- package/dist/chunks/{repository-1t78xq53.js → config-9vthwn7z.js} +32 -32
- package/dist/chunks/{repository-rk6rxajv.js → config-9wkrrryx.js} +45 -45
- package/dist/chunks/{repository-xgq8gdmp.js → config-9yxvdnkq.js} +17 -17
- package/dist/chunks/{repository-0t8pzcx6.js → config-a487dyjh.js} +169 -169
- package/dist/chunks/{repository-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-j7ym9e45.js → config-acmtdz4s.js} +6 -6
- package/dist/chunks/{repository-eeaf82dq.js → config-ahd542yp.js} +8 -8
- package/dist/chunks/{repository-1w6vsqf1.js → config-axthvv5m.js} +26 -26
- package/dist/chunks/{repository-5et3b08f.js → config-b2wbrq12.js} +10 -10
- package/dist/chunks/{repository-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-nhhjke7j.js → config-bakv4saz.js} +32 -32
- package/dist/chunks/{repository-qhb41jv0.js → config-bbnkg0gp.js} +9 -9
- package/dist/chunks/{repository-714k4hxg.js → config-bc7ekn7c.js} +11 -11
- package/dist/chunks/{repository-d30kejrb.js → config-bd6kjdv5.js} +8 -8
- package/dist/chunks/{repository-dpvyfqkt.js → config-bep6646j.js} +13 -13
- package/dist/chunks/{repository-bjtzbw4r.js → config-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-4zvzj0v8.js → config-bm8pzper.js} +25 -25
- package/dist/chunks/{repository-5nnetc6k.js → config-bn0s77k4.js} +13 -13
- package/dist/chunks/{repository-2bvh0we5.js → config-c0ddf2f2.js} +5 -5
- package/dist/chunks/{repository-cxvvms8d.js → config-c5c2gpas.js} +25 -25
- package/dist/chunks/{repository-ty11c6cb.js → config-cb7fn0dy.js} +45 -45
- package/dist/chunks/{repository-45155fbs.js → config-ctsjrx6d.js} +9 -9
- package/dist/chunks/{repository-qmqgtz8f.js → config-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-0k2wfs9t.js → config-d1cshys9.js} +11 -11
- package/dist/chunks/{repository-vphpe97r.js → config-d8dhtf3t.js} +11 -11
- package/dist/chunks/{repository-0cksrbmj.js → config-d94e4xtm.js} +4 -4
- package/dist/chunks/{repository-57ez7d0k.js → config-d9s573fh.js} +2 -2
- package/dist/chunks/{repository-vgepzxbh.js → config-d9sgy5v4.js} +4 -4
- package/dist/chunks/{repository-nepvhc7d.js → config-dce9mh7m.js} +35 -35
- package/dist/chunks/{repository-cs5pa8hc.js → config-dcsrwca8.js} +15 -15
- package/dist/chunks/{repository-ryxzv394.js → config-dd5x4v6f.js} +1 -1
- package/dist/chunks/{repository-t9zs3egg.js → config-dfe8djrf.js} +4 -4
- package/dist/chunks/{repository-kn49tj2b.js → config-dmds1qg6.js} +22 -22
- package/dist/chunks/{repository-cgrhxsa3.js → config-dvxev2r4.js} +86 -86
- package/dist/chunks/config-dxj72tfx.js +18 -0
- package/dist/chunks/{repository-17e1d76f.js → config-e2myrb2c.js} +22 -22
- package/dist/chunks/{repository-c7wcnyb2.js → config-e6s5dmrj.js} +13 -13
- package/dist/chunks/{repository-mbkc2shv.js → config-e9z3mbyr.js} +30 -30
- package/dist/chunks/{repository-rhjbct0v.js → config-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-jds6geqk.js → config-ecssg2x3.js} +9 -9
- package/dist/chunks/{repository-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cq196h5x.js → config-emcmr64k.js} +17 -17
- package/dist/chunks/{repository-4h65bg6x.js → config-es2rve70.js} +25 -25
- package/dist/chunks/{repository-2bkc2hwm.js → config-esws4yc1.js} +32 -32
- package/dist/chunks/{repository-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-gm80mkxd.js → config-ey1pyqkw.js} +11 -11
- package/dist/chunks/{repository-j6rk38x8.js → config-eyz64kwr.js} +6 -6
- package/dist/chunks/{repository-1acjjqhc.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-fm6sh9qr.js → config-fc4rny0x.js} +8 -8
- package/dist/chunks/config-fg2j47vv.js +252 -0
- package/dist/chunks/{repository-tkcsd86e.js → config-fh3xdd54.js} +6 -6
- package/dist/chunks/{repository-phrv7jvf.js → config-fkvwhn5v.js} +9 -9
- package/dist/chunks/{repository-p5r3qn5k.js → config-fnw7qhq3.js} +38 -38
- package/dist/chunks/{repository-q31akcb0.js → config-fszqq5v7.js} +22 -22
- package/dist/chunks/{repository-n39pqsm3.js → config-fz6pp08f.js} +29 -29
- package/dist/chunks/{repository-dr6rw3cj.js → config-g0jbxjrg.js} +14 -14
- package/dist/chunks/{repository-kg69vmj2.js → config-g1r7w4ks.js} +4 -4
- package/dist/chunks/{repository-t5mjxwy3.js → config-g9baqw06.js} +11 -11
- package/dist/chunks/{repository-c28rbkyy.js → config-gc85nk87.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-gfvb90ym.js → config-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-6tea82hd.js → config-gqfjb3jf.js} +14 -14
- package/dist/chunks/{repository-fds2nvya.js → config-gvge6fyn.js} +17 -17
- package/dist/chunks/{repository-z8m9sg1x.js → config-gvhsxvct.js} +8 -8
- package/dist/chunks/{repository-ze5v0a14.js → config-gwydwvmj.js} +8 -8
- package/dist/chunks/{repository-t4mkatd1.js → config-gz4c6301.js} +13 -13
- package/dist/chunks/{repository-57v3ej5y.js → config-h6btmnmt.js} +29 -29
- package/dist/chunks/{repository-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-fqkxgm96.js → config-h74m16ec.js} +24 -24
- package/dist/chunks/{repository-nd3xy12x.js → config-h9p0vmeg.js} +9 -9
- package/dist/chunks/{repository-z4wz31t7.js → config-hbkf5vp5.js} +85 -85
- package/dist/chunks/{repository-427t97hr.js → config-hekxc47r.js} +1 -1
- package/dist/chunks/{repository-w8jykqna.js → config-hsjjhsgv.js} +17 -17
- package/dist/chunks/{repository-2f1nz937.js → config-hw2pg0yt.js} +13 -13
- package/dist/chunks/{repository-rh2hsk8b.js → config-hwnecj10.js} +21 -21
- package/dist/chunks/{repository-5qkxfyep.js → config-j5208yae.js} +4 -4
- package/dist/chunks/{repository-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-f14sxx3q.js → config-j6665ac3.js} +54 -54
- package/dist/chunks/{repository-amygrq69.js → config-jac1nddy.js} +5 -5
- package/dist/chunks/{repository-nq7qbqzc.js → config-jc520kcq.js} +9 -9
- package/dist/chunks/{repository-5frpvc34.js → config-jca4demv.js} +2 -2
- package/dist/chunks/{repository-kwr781mf.js → config-jh23s5s4.js} +30 -30
- package/dist/chunks/{repository-jdmpkwnd.js → config-jqz3tc2a.js} +12 -12
- package/dist/chunks/{repository-62ejqpb6.js → config-jxv8j2py.js} +15 -15
- package/dist/chunks/{repository-pmrjrcra.js → config-jywpbkd4.js} +4 -4
- package/dist/chunks/{repository-kcwt9byc.js → config-k7ygaa38.js} +3 -3
- package/dist/chunks/{repository-z0tnxes5.js → config-k8cz140w.js} +7 -7
- package/dist/chunks/{repository-2wzypx1n.js → config-k8t93mz4.js} +17 -17
- package/dist/chunks/{repository-xwh5h11n.js → config-kbyvr83t.js} +16 -16
- package/dist/chunks/{repository-mws1fs1s.js → config-keg5m478.js} +6 -6
- package/dist/chunks/{repository-t9qyc2v5.js → config-kparprvv.js} +13 -13
- package/dist/chunks/{repository-xgz7xnxt.js → config-kw76cvvq.js} +46 -46
- package/dist/chunks/{repository-e926va73.js → config-kxt3why0.js} +2 -2
- package/dist/chunks/{repository-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-hsf9s0cc.js → config-ma59zj1p.js} +29 -29
- package/dist/chunks/{repository-6zchv2y5.js → config-mcqx6cxj.js} +65 -65
- package/dist/chunks/config-mfmx3rdh.js +26 -0
- package/dist/chunks/{repository-g913nc6q.js → config-mhz751dn.js} +37 -37
- package/dist/chunks/{repository-2h1t32pr.js → config-mjfyzmpn.js} +34 -34
- package/dist/chunks/{repository-ay26b5gj.js → config-n341z0m1.js} +18 -18
- package/dist/chunks/{repository-pfsc0j31.js → config-n45k7n27.js} +11 -11
- package/dist/chunks/{repository-5cc8va4r.js → config-nbs4d3ze.js} +27 -27
- package/dist/chunks/{repository-1qts0z0q.js → config-nff2xnmx.js} +11 -11
- package/dist/chunks/{repository-7jvsaej3.js → config-nfkqadef.js} +33 -33
- package/dist/chunks/{repository-h95gg6ea.js → config-njdgr89h.js} +23 -23
- package/dist/chunks/{repository-nzks3jc8.js → config-nzks3jc8.js} +3 -3
- package/dist/chunks/{repository-xp1f59hc.js → config-p1g1bd5b.js} +11 -11
- package/dist/chunks/{repository-hqz04k4r.js → config-p3k34w4t.js} +5 -5
- package/dist/chunks/{repository-syf57q56.js → config-p6wxjpka.js} +4 -4
- package/dist/chunks/{repository-5g3whhj5.js → config-p9kt6re1.js} +9 -9
- package/dist/chunks/{repository-818pfwc9.js → config-pcxypjb1.js} +8 -8
- package/dist/chunks/{repository-sqzb8cf5.js → config-pf8rdz4g.js} +17 -17
- package/dist/chunks/{repository-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{repository-psazpmmj.js → config-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-kafqk5jk.js → config-py78efw1.js} +11 -11
- package/dist/chunks/{repository-8q7cq0y1.js → config-q3t37ft6.js} +3 -3
- package/dist/chunks/{repository-sk0a9wxs.js → config-q6aktynx.js} +24 -24
- package/dist/chunks/{repository-jykef5d1.js → config-qcgjm0wy.js} +6 -6
- package/dist/chunks/{repository-sthvb5x1.js → config-qdjv5azd.js} +5 -5
- package/dist/chunks/{repository-g190xswt.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{repository-57b9ws8p.js → config-qqeeq2t9.js} +4 -4
- package/dist/chunks/{repository-1x8cbfj5.js → config-qrgezcgk.js} +6 -6
- package/dist/chunks/{repository-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-4sgdpdjj.js → config-r0ydeprc.js} +6 -6
- package/dist/chunks/{repository-n118nb8y.js → config-r6y07db7.js} +31 -31
- package/dist/chunks/{repository-v5dkyp31.js → config-ratrq7cm.js} +4 -4
- package/dist/chunks/{repository-5vkcqs6a.js → config-rbpcvdrh.js} +20 -20
- package/dist/chunks/{repository-egzk107n.js → config-rc05v628.js} +30 -30
- package/dist/chunks/{repository-fm7pkbpd.js → config-rd3m0h4h.js} +44 -44
- package/dist/chunks/{repository-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-q6xx7p24.js → config-rff1fyms.js} +26 -26
- package/dist/chunks/{repository-zeh9ct20.js → config-rq775frq.js} +2 -2
- package/dist/chunks/{repository-sz5fezm3.js → config-rwm97vnv.js} +3 -3
- package/dist/chunks/{repository-68y7phbn.js → config-s2ynmxvy.js} +5 -5
- package/dist/chunks/{repository-gb4bvp6x.js → config-s5ep9pgt.js} +12 -12
- package/dist/chunks/{repository-e1yepcxr.js → config-scetc9yh.js} +3 -3
- package/dist/chunks/{repository-84hyfrea.js → config-sejwdkef.js} +11 -11
- package/dist/chunks/{repository-wvk32vad.js → config-sfqkah5g.js} +23 -23
- package/dist/chunks/{repository-kba3fr7g.js → config-sh7eas6r.js} +43 -43
- package/dist/chunks/{repository-ctst3a0g.js → config-shdcsder.js} +27 -27
- package/dist/chunks/{repository-f6crgew4.js → config-sj42vzd6.js} +33 -33
- package/dist/chunks/{repository-r24thsjn.js → config-spcmba9v.js} +4 -4
- package/dist/chunks/{repository-4w4r35f3.js → config-t09twmyv.js} +43 -43
- package/dist/chunks/{repository-bm7e081z.js → config-t6g6kcnx.js} +4 -4
- package/dist/chunks/{repository-k76fn4kw.js → config-t7n9q6bq.js} +4 -4
- package/dist/chunks/{repository-ntffmwex.js → config-ta36bvhe.js} +10 -10
- package/dist/chunks/{repository-n3zs05y3.js → config-ta9yw25j.js} +6 -6
- package/dist/chunks/{repository-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-0hf9g8pg.js → config-tcay1cqt.js} +6 -6
- package/dist/chunks/{repository-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-1q5awywt.js → config-tdpndm1c.js} +5 -5
- package/dist/chunks/{repository-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{repository-g71p6t9p.js → config-tsr8fc0r.js} +11 -11
- package/dist/chunks/{repository-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-68hr7k1q.js → config-twm3e32h.js} +12 -12
- package/dist/chunks/{repository-3a83a0n4.js → config-tx9w5tca.js} +8 -8
- package/dist/chunks/{repository-5wekx1sj.js → config-v4m0f3qj.js} +22 -22
- package/dist/chunks/{repository-510m7gjw.js → config-v5hpcsb0.js} +5 -5
- package/dist/chunks/{repository-tv69crpr.js → config-vappnkcy.js} +12 -12
- package/dist/chunks/{repository-651j3map.js → config-ve3nfm4c.js} +21 -21
- package/dist/chunks/{repository-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-jegft3cb.js → config-vk05pa3r.js} +3 -3
- package/dist/chunks/{repository-tf07drr7.js → config-vqexsrzk.js} +11 -11
- package/dist/chunks/{repository-js6wsnat.js → config-vs2s4k4a.js} +7 -7
- package/dist/chunks/{repository-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-pg6spdy4.js → config-vzm910sv.js} +22 -22
- package/dist/chunks/{repository-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-g7ah9nn8.js → config-w0p1bkhd.js} +4 -4
- package/dist/chunks/{repository-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{repository-fcbbdvr4.js → config-wh5k880y.js} +5 -5
- package/dist/chunks/{repository-k446xp98.js → config-wkpys4ba.js} +315 -315
- package/dist/chunks/{repository-bk7jaeqh.js → config-wpwj4s2y.js} +4 -4
- package/dist/chunks/{repository-8v0wpe9a.js → config-ww0d9pr3.js} +1 -1
- package/dist/chunks/{repository-07770t2t.js → config-wwkjqs8e.js} +6 -6
- package/dist/chunks/{repository-w83eeq1m.js → config-x0azedwb.js} +28 -28
- package/dist/chunks/{repository-nqs75tn6.js → config-x1cxck2x.js} +20 -20
- package/dist/chunks/{repository-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-3801kdgp.js → config-x2rw7g36.js} +5 -5
- package/dist/chunks/{repository-xkntkrq7.js → config-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-7v81x33d.js → config-xsgk3b13.js} +9 -9
- package/dist/chunks/{repository-g5agzp2h.js → config-xvp1j2dc.js} +5 -5
- package/dist/chunks/{repository-ajmvp7mk.js → config-xwr95ks0.js} +3 -3
- package/dist/chunks/{repository-ph842b28.js → config-xxxym934.js} +4 -4
- package/dist/chunks/{repository-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dnxkq42g.js → config-y6bex35g.js} +4 -4
- package/dist/chunks/{repository-dpkg50ah.js → config-y71avatq.js} +4 -4
- package/dist/chunks/{repository-cqwfdt06.js → config-y8s41nnw.js} +25 -25
- package/dist/chunks/{repository-c004dztw.js → config-ycmgt2y6.js} +12 -12
- package/dist/chunks/{repository-yf10kn3d.js → config-yf10kn3d.js} +1 -1
- package/dist/chunks/{repository-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-f4w8v7wm.js → config-yvn3f1cv.js} +32 -32
- package/dist/chunks/{repository-gv6a8nnw.js → config-yyb7tjpc.js} +2 -2
- package/dist/chunks/{repository-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-d3k17np3.js → config-z7j0b7x5.js} +7 -7
- package/dist/chunks/{repository-1htr6rpv.js → config-zejb8zb5.js} +9 -9
- package/dist/chunks/{repository-y8gv42p7.js → config-zg51sg0n.js} +21 -21
- package/dist/chunks/{repository-rac6q0fx.js → config-zh2v5ckm.js} +17 -17
- package/dist/chunks/{repository-eqbts54k.js → config-zhmq0md4.js} +8 -8
- package/dist/chunks/{repository-h713wcgv.js → config-zmx684ze.js} +15 -15
- package/dist/chunks/{repository-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-1x11rq2a.js +0 -18
- package/dist/chunks/repository-cxer2zqt.js +0 -26
- package/dist/chunks/repository-qj0neyac.js +0 -252
- /package/dist/chunks/{repository-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-jywpbkd4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-5tcj83g5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./config-zg51sg0n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./config-eyz64kwr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./config-g0jbxjrg.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service77,
|
|
26
|
+
node81
|
|
27
|
+
} from "./config-hsjjhsgv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service78,
|
|
30
|
+
node82
|
|
31
|
+
} from "./config-tx9w5tca.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./config-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,30 +42,30 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service75,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node79
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID16.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service75 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
132
|
const location = yield* Service80;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service79;
|
|
134
|
+
const sessions = yield* Service76;
|
|
135
|
+
const saved = yield* Service77;
|
|
136
|
+
const hooks = yield* Service78;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID13.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID13.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service75.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node79 = makeLocationNode({
|
|
303
|
+
service: Service75,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87, node84,
|
|
305
|
+
deps: [node87, node84, node83, node80, node81, node82]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./config-rc05v628.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* Service72;
|
|
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(ID10.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service6.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node7, exports_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-q3t37ft6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-5tcj83g5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./config-hwnecj10.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service18
|
|
16
|
+
} from "./config-n341z0m1.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-sfqkah5g.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service75
|
|
26
|
+
} from "./config-j6665ac3.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service64
|
|
29
|
+
} from "./config-dcsrwca8.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin36,
|
|
41
|
+
name: () => name2,
|
|
42
42
|
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin36 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service52;
|
|
90
|
+
const ripgrep = yield* Service18;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service64;
|
|
93
|
+
const permission = yield* Service75;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin22 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin36, exports_grep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info7,
|
|
6
|
-
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-dmds1qg6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./config-fnw7qhq3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin11,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin11 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
433
|
editor.add(Info7.make({
|
|
434
|
-
id:
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
440
|
editor.add(Info7.make({
|
|
441
|
-
id:
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service65;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-jywpbkd4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./config-2tzr0bja.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
|
|
|
19
19
|
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node71,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service67 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
51
|
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service69;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.publish(Event13.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service67.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node73, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event13, inspect2, resolve4, node71, exports_wellknown };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-vk05pa3r.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./config-ma59zj1p.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|