@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
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-5tcj83g5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./config-hwnecj10.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./config-nff2xnmx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-7vr7a34q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./config-j6665ac3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service64,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-dcsrwca8.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin37 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service52;
|
|
112
|
+
const access = yield* Service64;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service75;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin29 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output3, toModelContent3, Plugin37, exports_patch };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./config-hwnecj10.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service52;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [node54, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-5tcj83g5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./config-fnw7qhq3.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9fw5nwrv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin32 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service65;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin32, exports_reference };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-jywpbkd4.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-5tcj83g5.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node75,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./config-ma59zj1p.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service68,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node72,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
51
|
+
var ID8 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service71;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service68.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node75, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service68, node72, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-5tcj83g5.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service13 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service13.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node15 = makeLocationNode({
|
|
91
|
+
service: Service13,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service13, node15, exports_formatter2 };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-vk05pa3r.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-jywpbkd4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./config-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-eyz64kwr.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service76
|
|
29
|
+
} from "./config-g0jbxjrg.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service47
|
|
34
|
+
} from "./config-3dbk1ny7.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service44
|
|
37
|
+
} from "./config-9ttkv238.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-9g1ap5hr.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./config-x1cxck2x.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./config-h9p0vmeg.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./config-ecssg2x3.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./config-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service76;
|
|
69
|
+
const instances = yield* Service48;
|
|
70
|
+
const execution = yield* Service44;
|
|
71
|
+
const admission = yield* Service47;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|