@opencode/core 0.0.0-dev-20412 → 0.0.0-dev-20414
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{form-yy9n328t.js → plugin-03fbxtag.js} +5 -5
- package/dist/chunks/{form-avr0k1wy.js → plugin-05eqgg1f.js} +44 -44
- package/dist/chunks/{form-2whkppae.js → plugin-05y19q8d.js} +20 -20
- package/dist/chunks/{form-cx6mjm4v.js → plugin-09chyfxs.js} +43 -43
- package/dist/chunks/{form-aqwx0hpv.js → plugin-0a2a93z6.js} +16 -16
- package/dist/chunks/{form-51379vbm.js → plugin-0hbmy7r1.js} +11 -11
- package/dist/chunks/{form-fxdttn5n.js → plugin-0m3kpr1q.js} +320 -320
- package/dist/chunks/{form-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-a3nf4wda.js → plugin-0qya2vv4.js} +16 -16
- package/dist/chunks/{form-zwtk710j.js → plugin-0t85s976.js} +17 -17
- package/dist/chunks/{form-f4jcb7yd.js → plugin-11memm1s.js} +2 -2
- package/dist/chunks/{form-jpgdy5me.js → plugin-12r7ywha.js} +4 -4
- package/dist/chunks/{form-1383tqcj.js → plugin-15pq7v1x.js} +11 -11
- package/dist/chunks/{form-dm3fephj.js → plugin-17fsw95c.js} +15 -15
- package/dist/chunks/{form-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-h8sp7vvb.js → plugin-1eg1syt8.js} +13 -13
- package/dist/chunks/{form-eth69rd9.js → plugin-1fv57ab3.js} +34 -34
- package/dist/chunks/{form-r5e7g86y.js → plugin-1hzm6jbk.js} +33 -33
- package/dist/chunks/{form-f7emxd7s.js → plugin-1qesfn3a.js} +20 -20
- package/dist/chunks/{form-0e132phk.js → plugin-1v844xvg.js} +22 -22
- package/dist/chunks/{form-21r38tys.js → plugin-21r38tys.js} +1 -1
- package/dist/chunks/{form-kng42ehz.js → plugin-24sdwh53.js} +28 -28
- package/dist/chunks/{form-1kr046vj.js → plugin-2518j0hh.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-br9w0y1f.js → plugin-2nrn7pcv.js} +16 -16
- package/dist/chunks/{form-mtr4f1sg.js → plugin-3176ztkn.js} +16 -16
- package/dist/chunks/{form-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-g1m5tprf.js → plugin-3x79pmsk.js} +168 -168
- package/dist/chunks/{form-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-gg3hnhsj.js → plugin-427t97hr.js} +1 -1
- package/dist/chunks/{form-rbrwwrvt.js → plugin-49qycnny.js} +9 -9
- package/dist/chunks/{form-x8gz1y8e.js → plugin-4c8bw516.js} +8 -8
- package/dist/chunks/{form-9qwv067a.js → plugin-4m263vr9.js} +26 -26
- package/dist/chunks/{form-t9vtkxys.js → plugin-4xrvpr4d.js} +12 -12
- package/dist/chunks/{form-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{form-ckecvw8r.js → plugin-54tcyq79.js} +2 -2
- package/dist/chunks/{form-33w4ejhs.js → plugin-56gdpj1q.js} +6 -6
- package/dist/chunks/{form-57ez7d0k.js → plugin-57ez7d0k.js} +2 -2
- package/dist/chunks/{form-m0h7q6tr.js → plugin-584wdnyf.js} +20 -20
- package/dist/chunks/{form-kn3sd7pb.js → plugin-58en54fn.js} +23 -23
- package/dist/chunks/{form-k3bnpv1c.js → plugin-58gyjtks.js} +32 -32
- package/dist/chunks/{form-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{form-ktqfvxkf.js → plugin-5h7tpa83.js} +22 -22
- package/dist/chunks/{form-gnm7qbc7.js → plugin-5jt7jh4x.js} +26 -26
- package/dist/chunks/{form-5yeq06a0.js → plugin-5qkxfyep.js} +9 -9
- package/dist/chunks/{form-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{form-ck6p27qv.js → plugin-69tf3796.js} +24 -24
- package/dist/chunks/{form-a8xk5yxc.js → plugin-6gmp4gem.js} +8 -8
- package/dist/chunks/{form-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-ak8g251a.js → plugin-6p0xc422.js} +18 -18
- package/dist/chunks/{form-w3tzych1.js → plugin-6ysrkrkr.js} +8 -8
- package/dist/chunks/{form-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-79srn2sb.js → plugin-7cas8v75.js} +26 -26
- package/dist/chunks/{form-e53jq037.js → plugin-7k8qyt23.js} +41 -41
- package/dist/chunks/{form-sbfyssrk.js → plugin-7qsnhr75.js} +40 -40
- package/dist/chunks/{form-pqwkrn1n.js → plugin-7sjztwde.js} +3 -3
- package/dist/chunks/{form-xrzqtpt6.js → plugin-7x144p2c.js} +13 -13
- package/dist/chunks/{form-4eq8w0dz.js → plugin-7zpeh0yx.js} +4 -4
- package/dist/chunks/{form-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{form-s2vhc7se.js → plugin-88yg0haz.js} +10 -10
- package/dist/chunks/{form-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-r9wzjhcd.js → plugin-8pbv99c3.js} +15 -15
- package/dist/chunks/{form-ktq6eaza.js → plugin-8pkz3xqw.js} +3 -3
- package/dist/chunks/{form-z080dw0v.js → plugin-8rdjafsh.js} +20 -20
- package/dist/chunks/{form-vd7rzxqf.js → plugin-8zh4h089.js} +5 -5
- package/dist/chunks/{form-tx9a90rw.js → plugin-975ag91a.js} +15 -15
- package/dist/chunks/{form-twwe5s8t.js → plugin-9ctgc0g7.js} +4 -4
- package/dist/chunks/{form-yfbh22ck.js → plugin-9f2zepew.js} +24 -24
- package/dist/chunks/{form-w29whswb.js → plugin-9h1zctex.js} +83 -83
- package/dist/chunks/{form-k8dasee7.js → plugin-9nj21xqc.js} +5 -5
- package/dist/chunks/{form-pecb0brz.js → plugin-a1a50ys5.js} +5 -5
- package/dist/chunks/{form-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{form-dfx6jyd2.js → plugin-acne750a.js} +37 -37
- package/dist/chunks/{form-y0shf03z.js → plugin-ag1zf1n2.js} +9 -9
- package/dist/chunks/{form-mkpw75cb.js → plugin-ajzsbz6h.js} +11 -11
- package/dist/chunks/{form-x57dh78g.js → plugin-am9xhf4z.js} +42 -42
- package/dist/chunks/{form-6b8zegd2.js → plugin-apjtb6ta.js} +3 -3
- package/dist/chunks/{form-3gzvsdmq.js → plugin-at6hz7dy.js} +9 -9
- package/dist/chunks/{form-3qaj82j9.js → plugin-axs6pdy0.js} +5 -5
- package/dist/chunks/{form-jca4demv.js → plugin-b09hzw3k.js} +2 -2
- package/dist/chunks/{form-3pbjq009.js → plugin-b1h1c68h.js} +8 -8
- package/dist/chunks/{form-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-4gjgdck3.js → plugin-b7eck780.js} +24 -24
- package/dist/chunks/{form-rdvtzkt5.js → plugin-b95n020p.js} +3 -3
- package/dist/chunks/{form-f5mz60ba.js → plugin-be9ya69w.js} +15 -15
- package/dist/chunks/{form-d1asadna.js → plugin-bhdgc465.js} +27 -27
- package/dist/chunks/{form-3dpqgcjw.js → plugin-bhfwj6wv.js} +11 -11
- package/dist/chunks/{form-z07pqspn.js → plugin-bjtzbw4r.js} +3 -3
- package/dist/chunks/{form-hx33e937.js → plugin-bkhdeahw.js} +22 -22
- package/dist/chunks/{form-7792rvjp.js → plugin-brdxpnq2.js} +31 -31
- package/dist/chunks/{form-43qs6h8y.js → plugin-bxqb3hdk.js} +16 -16
- package/dist/chunks/{form-04sex2km.js → plugin-c9nqsd6p.js} +6 -6
- package/dist/chunks/{form-ew3waz83.js → plugin-cb4gr5k0.js} +15 -15
- package/dist/chunks/{form-wb08knpr.js → plugin-cg2at24b.js} +31 -31
- package/dist/chunks/{form-rhvyazt2.js → plugin-cg6bafnc.js} +15 -15
- package/dist/chunks/{form-qtde90xr.js → plugin-ckf6s1e3.js} +11 -11
- package/dist/chunks/{form-p37cw4rj.js → plugin-cmwkp3r5.js} +8 -8
- package/dist/chunks/{form-eeeg1rx2.js → plugin-cpxvd5mt.js} +10 -10
- package/dist/chunks/{form-pf2hb43r.js → plugin-cpy6gm2a.js} +6 -6
- package/dist/chunks/{form-snhgx2yx.js → plugin-cyward61.js} +10 -10
- package/dist/chunks/{form-r2m716tb.js → plugin-djszqvmq.js} +9 -9
- package/dist/chunks/{form-dxemrf9g.js → plugin-dnbh66kg.js} +10 -10
- package/dist/chunks/{form-addxnjmp.js → plugin-dnxkq42g.js} +4 -4
- package/dist/chunks/{form-tppyfh15.js → plugin-dp9x5mxp.js} +10 -10
- package/dist/chunks/{form-dpkg50ah.js → plugin-dpkg50ah.js} +1 -1
- package/dist/chunks/{form-1hgw54pr.js → plugin-dxm7jqgk.js} +25 -25
- package/dist/chunks/{form-kx4bd44t.js → plugin-dyyz5283.js} +6 -6
- package/dist/chunks/{form-h26y7kpm.js → plugin-e21rpbkk.js} +20 -20
- package/dist/chunks/{form-gkbrtqmq.js → plugin-e28cvq4c.js} +4 -4
- package/dist/chunks/{form-2zrrr7fc.js → plugin-e6ke0dsv.js} +23 -23
- package/dist/chunks/{form-p3nas0b7.js → plugin-e7vg2kgh.js} +8 -8
- package/dist/chunks/{form-qfzde7bh.js → plugin-edbfpfck.js} +6 -6
- package/dist/chunks/{form-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-n1bvmjr0.js → plugin-ep47vn57.js} +11 -11
- package/dist/chunks/{form-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-6s622yr1.js → plugin-evks0epg.js} +12 -12
- package/dist/chunks/{form-c7wag7sh.js → plugin-exkfp83h.js} +28 -28
- package/dist/chunks/{form-57b7p6ef.js → plugin-f13tjfqg.js} +2 -2
- package/dist/chunks/{form-bhpnxcqw.js → plugin-f4vj83tc.js} +32 -32
- package/dist/chunks/{form-d8tfsqjy.js → plugin-fawmbhh7.js} +15 -15
- package/dist/chunks/{form-ypnf7p79.js → plugin-febbbnbh.js} +8 -8
- package/dist/chunks/{form-8ev75r94.js → plugin-fh2psg6v.js} +10 -10
- package/dist/chunks/{form-s3hxg0yz.js → plugin-fjcvtvqr.js} +4 -4
- package/dist/chunks/{form-7szbwjj8.js → plugin-fk4rp2mh.js} +7 -7
- package/dist/chunks/{form-negn6anr.js → plugin-fn0g176e.js} +30 -30
- package/dist/chunks/{form-4rf4qvsy.js → plugin-fv3acgj2.js} +12 -12
- package/dist/chunks/{form-3s9sjvsa.js → plugin-fv4vgvy1.js} +20 -20
- package/dist/chunks/{form-2eegacq4.js → plugin-g1sxm558.js} +8 -8
- package/dist/chunks/{form-hz178y59.js → plugin-g1y398dd.js} +6 -6
- package/dist/chunks/{form-yxsyp4dd.js → plugin-g3zzmh5g.js} +16 -16
- package/dist/chunks/{form-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-94ek1h2f.js → plugin-gfvb90ym.js} +2 -2
- package/dist/chunks/{form-00yta6ex.js → plugin-gq1vhpes.js} +31 -31
- package/dist/chunks/{form-gv6a8nnw.js → plugin-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-xr95ft6x.js → plugin-gvpwdtw4.js} +45 -45
- package/dist/chunks/plugin-h090amsa.js +252 -0
- package/dist/chunks/{form-bhfv8e6g.js → plugin-h4ge2txa.js} +3 -3
- package/dist/chunks/{form-7ej9eenr.js → plugin-h5x33s9d.js} +30 -30
- package/dist/chunks/{form-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-h5jy7nq7.js → plugin-hbepx7tp.js} +2 -2
- package/dist/chunks/{form-fnvjx1z3.js → plugin-heny0ssz.js} +3 -3
- package/dist/chunks/{form-0sc0s359.js → plugin-hhz992g6.js} +33 -33
- package/dist/chunks/{form-7petwj60.js → plugin-hny4zpsq.js} +17 -17
- package/dist/chunks/{form-tn5p6gy2.js → plugin-hrw2t248.js} +24 -24
- package/dist/chunks/{form-dkk57f18.js → plugin-hyxv9c2g.js} +11 -11
- package/dist/chunks/{form-x3kxdb2m.js → plugin-j11cyqqw.js} +20 -20
- package/dist/chunks/{form-ayx4816r.js → plugin-j30qv9ss.js} +28 -28
- package/dist/chunks/{form-dffw36jk.js → plugin-j4t6xr1p.js} +22 -22
- package/dist/chunks/{form-asa9dae6.js → plugin-j54ngk1e.js} +24 -24
- package/dist/chunks/{form-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{form-mf3vnbqj.js → plugin-j6d0zdmd.js} +13 -13
- package/dist/chunks/{form-j7mrpw8s.js → plugin-jb3wjpks.js} +25 -25
- package/dist/chunks/{form-szq0718r.js → plugin-je1f8dtr.js} +10 -10
- package/dist/chunks/{form-fbk04ngm.js → plugin-jexmq6sz.js} +13 -13
- package/dist/chunks/{form-xcgbk8ac.js → plugin-jhh1k21k.js} +1 -1
- package/dist/chunks/{form-7gakqv64.js → plugin-jhnnbcrq.js} +6 -6
- package/dist/chunks/{form-f91nsgjm.js → plugin-jnmgvrcz.js} +15 -15
- package/dist/chunks/{form-cwth8e8t.js → plugin-jw9x1xkp.js} +24 -24
- package/dist/chunks/{form-ws804xn1.js → plugin-k074bh7n.js} +19 -19
- package/dist/chunks/{form-k3c624dm.js → plugin-k3c624dm.js} +3 -3
- package/dist/chunks/{form-19va3w8g.js → plugin-k4ezc13p.js} +71 -71
- package/dist/chunks/{form-fwg5rckv.js → plugin-khcv1f62.js} +14 -14
- package/dist/chunks/{form-dbr18nsg.js → plugin-kwaa1xej.js} +4 -4
- package/dist/chunks/{form-rhafb4aa.js → plugin-m2d0j7c0.js} +8 -8
- package/dist/chunks/{form-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-m58kmhef.js → plugin-m58kmhef.js} +2 -2
- package/dist/chunks/{form-607q5haz.js → plugin-m88agcr3.js} +5 -5
- package/dist/chunks/{form-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-f3ngv102.js → plugin-magykp64.js} +4 -4
- package/dist/chunks/{form-4r7zj1cp.js → plugin-mdm0twpa.js} +15 -15
- package/dist/chunks/{form-62c6kc7y.js → plugin-mkn2682r.js} +24 -24
- package/dist/chunks/{form-28r9wvkk.js → plugin-mp5dqp3x.js} +13 -13
- package/dist/chunks/{form-sz9cex58.js → plugin-mxvwwzz5.js} +11 -11
- package/dist/chunks/{form-myrr4y6j.js → plugin-mydmq7vy.js} +5 -5
- package/dist/chunks/{form-2mhsvxbb.js → plugin-mzywpf3p.js} +4 -4
- package/dist/chunks/{form-4wt6k2af.js → plugin-ndrk8r07.js} +11 -11
- package/dist/chunks/{form-ynx0nfek.js → plugin-njce9agh.js} +14 -14
- package/dist/chunks/{form-mrfy9381.js → plugin-njzrbw38.js} +11 -11
- package/dist/chunks/{form-q5kg28rm.js → plugin-nqygpcct.js} +13 -13
- package/dist/chunks/{form-h5b4kcx3.js → plugin-ntg2j34t.js} +8 -8
- package/dist/chunks/{form-mwka6n0f.js → plugin-p1np60n0.js} +22 -22
- package/dist/chunks/{form-wc0j6bn5.js → plugin-p3xcgj33.js} +17 -17
- package/dist/chunks/{form-em4dwj0d.js → plugin-p9kt6re1.js} +9 -9
- package/dist/chunks/{form-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-we65tews.js → plugin-pk1n9ynb.js} +7 -7
- package/dist/chunks/{form-9nrcf0sp.js → plugin-pk9r2dcy.js} +20 -20
- package/dist/chunks/{form-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{form-p2f1mjmn.js → plugin-pnmknv3a.js} +81 -81
- package/dist/chunks/{form-wd3x2cqz.js → plugin-psazpmmj.js} +2 -2
- package/dist/chunks/{form-32j0vqhw.js → plugin-psnbjtnb.js} +23 -23
- package/dist/chunks/{form-vf1famjq.js → plugin-pxr9jhng.js} +12 -12
- package/dist/chunks/{form-b4twkq7r.js → plugin-py3kkmfq.js} +6 -6
- package/dist/chunks/{form-52p6jhb7.js → plugin-pyg34pey.js} +5 -5
- package/dist/chunks/{form-7d2a7xbs.js → plugin-q17z9dx8.js} +5 -5
- package/dist/chunks/{form-63hm0962.js → plugin-q1zezmfs.js} +19 -19
- package/dist/chunks/{form-fw93tx3k.js → plugin-q6am2fr7.js} +12 -12
- package/dist/chunks/{form-dj68pnee.js → plugin-qbqbaz6q.js} +4 -4
- package/dist/chunks/plugin-qc068m1q.js +18 -0
- package/dist/chunks/{form-0e79vxqb.js → plugin-qdy6maa1.js} +5 -5
- package/dist/chunks/{form-fcrkznn8.js → plugin-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-gwxfwpyp.js → plugin-qk1af027.js} +18 -18
- package/dist/chunks/{form-5hb4d5x3.js → plugin-qk3qqkg0.js} +11 -11
- package/dist/chunks/{form-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{form-3pzn6v07.js → plugin-r3fve70j.js} +44 -44
- package/dist/chunks/{form-6hej3tez.js → plugin-r54g0ayv.js} +43 -43
- package/dist/chunks/{form-m9n4tjvj.js → plugin-r5cdkqmj.js} +15 -15
- package/dist/chunks/{form-eq1pz5kg.js → plugin-r5x6zcsm.js} +3 -3
- package/dist/chunks/{form-38f2syfx.js → plugin-r73hggny.js} +35 -35
- package/dist/chunks/{form-da5sjmfn.js → plugin-rd120rg1.js} +5 -5
- package/dist/chunks/{form-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rhraev7y.js → plugin-rhraev7y.js} +1 -1
- package/dist/chunks/{form-gst7axd9.js → plugin-rpg9c19m.js} +4 -4
- package/dist/chunks/{form-ydvr5jyf.js → plugin-rxyc52bh.js} +3 -3
- package/dist/chunks/{form-a47vmbxy.js → plugin-rz9grs9e.js} +13 -13
- package/dist/chunks/{form-dcs973ce.js → plugin-s06s152w.js} +30 -30
- package/dist/chunks/{form-54k1807y.js → plugin-s29xemwy.js} +22 -22
- package/dist/chunks/{form-8znqg4zs.js → plugin-s6tfd5w9.js} +25 -25
- package/dist/chunks/{form-wv396vej.js → plugin-s8d7rejh.js} +8 -8
- package/dist/chunks/{form-n6t8az49.js → plugin-sfzb50zm.js} +12 -12
- package/dist/chunks/{form-web6sm0f.js → plugin-shd19xyq.js} +5 -5
- package/dist/chunks/{form-z4ztj7g0.js → plugin-sk2hk6tq.js} +9 -9
- package/dist/chunks/{form-a81kfqvn.js → plugin-syf57q56.js} +4 -4
- package/dist/chunks/{form-kwhcmn7t.js → plugin-t4t1jkwq.js} +47 -47
- package/dist/chunks/{form-43pca6ma.js → plugin-t5xj5z8c.js} +8 -8
- package/dist/chunks/{form-p1sxxgam.js → plugin-t6z2tk8y.js} +14 -14
- package/dist/chunks/{form-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{form-1k324b4w.js → plugin-tqstf8pr.js} +18 -18
- package/dist/chunks/{form-tvtrv512.js → plugin-tvtrv512.js} +1 -1
- package/dist/chunks/{form-egtsvpcy.js → plugin-tvxp8bn7.js} +37 -37
- package/dist/chunks/{form-3w0fmcng.js → plugin-tz2bjj40.js} +5 -5
- package/dist/chunks/{form-k5qvh5pk.js → plugin-v1p7g5sn.js} +29 -29
- package/dist/chunks/{form-j7gkndj2.js → plugin-v1qjrw5t.js} +6 -6
- package/dist/chunks/{form-d216944b.js → plugin-v5dkyp31.js} +7 -7
- package/dist/chunks/{form-6gv3fntv.js → plugin-vcwynttf.js} +46 -46
- package/dist/chunks/{form-n4s80jvf.js → plugin-vemrnhxc.js} +11 -11
- package/dist/chunks/{form-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{form-6fmbwa3g.js → plugin-vjcy803z.js} +5 -5
- package/dist/chunks/{form-pmr4s4kc.js → plugin-vncycja5.js} +4 -4
- package/dist/chunks/{form-93c7xtw2.js → plugin-vyamxdws.js} +37 -37
- package/dist/chunks/{form-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-vgjktpc6.js → plugin-w0nye3zq.js} +15 -15
- package/dist/chunks/{form-xfqvn110.js → plugin-w1wprjtr.js} +11 -11
- package/dist/chunks/{form-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-f0pb03rr.js → plugin-w6deqnwt.js} +1 -1
- package/dist/chunks/{form-rpjgfq5s.js → plugin-wbt9zsn3.js} +9 -9
- package/dist/chunks/{form-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{form-9qwadtv4.js → plugin-wr8aqzky.js} +6 -6
- package/dist/chunks/{form-771qc15n.js → plugin-wtvb30sm.js} +9 -9
- package/dist/chunks/{form-werkkhzn.js → plugin-wyg24z1h.js} +48 -48
- package/dist/chunks/{form-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-9t3p1pkk.js → plugin-x25ckt5d.js} +8 -8
- package/dist/chunks/plugin-xc1fzwy2.js +26 -0
- package/dist/chunks/{form-g5w8qwbj.js → plugin-xfkkasph.js} +4 -4
- package/dist/chunks/{form-axjapqw2.js → plugin-xgd6vhan.js} +4 -4
- package/dist/chunks/{form-xe8645v7.js → plugin-xh8zq66e.js} +5 -5
- package/dist/chunks/{form-r84c3qcq.js → plugin-xk21n9zm.js} +21 -21
- package/dist/chunks/{form-dmqcgk4z.js → plugin-xkntkrq7.js} +5 -5
- package/dist/chunks/{form-h1na462b.js → plugin-xxtp1kj0.js} +21 -21
- package/dist/chunks/{form-pmb5sqpk.js → plugin-xzme5cs7.js} +7 -7
- package/dist/chunks/{form-hwpr0vav.js → plugin-y09xcvme.js} +12 -12
- package/dist/chunks/{form-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-vfjhn2wd.js → plugin-y5rf7nzv.js} +4 -4
- package/dist/chunks/{form-q3t37ft6.js → plugin-y6f0p4jw.js} +3 -3
- package/dist/chunks/{form-3jbe2gtq.js → plugin-ybgbsjbh.js} +9 -9
- package/dist/chunks/{form-hnr5yq9h.js → plugin-yjptyezs.js} +5 -5
- package/dist/chunks/{form-y6c5trjg.js → plugin-yqn3ptz9.js} +8 -8
- package/dist/chunks/{form-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → plugin-yrznvahk.js} +2 -2
- package/dist/chunks/{form-hkwpwydv.js → plugin-yxzgp43r.js} +9 -9
- package/dist/chunks/{form-wvrkefak.js → plugin-yyb3k5h4.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z63w68vq.js → plugin-z63w68vq.js} +2 -2
- package/dist/chunks/{form-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-3k1e7ny9.js → plugin-zg1t26g9.js} +3 -3
- package/dist/chunks/{form-r9h1t8dg.js → plugin-zhqmjxee.js} +8 -8
- package/dist/chunks/{form-8f8w3d8v.js → plugin-zpn7x7ph.js} +11 -11
- package/dist/chunks/{form-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-0vjtp4ym.js → plugin-zw04h7y9.js} +10 -10
- package/dist/chunks/{form-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +124 -124
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +226 -226
- 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 +100 -100
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- 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 +77 -77
- 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 +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +5 -5
- 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 +4 -4
- 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 +124 -124
- 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 +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- 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 +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +126 -126
- 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 +85 -85
- 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 +157 -157
- 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 +215 -215
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +124 -124
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- 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 +218 -218
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-6rv6cs98.js +0 -252
- package/dist/chunks/form-dxj72tfx.js +0 -18
- package/dist/chunks/form-ypqcm5g1.js +0 -26
- /package/dist/chunks/{form-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → plugin-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-hbepx7tp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./plugin-xxtp1kj0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./plugin-njce9agh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-rz9grs9e.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./plugin-r3fve70j.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service21,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-975ag91a.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./plugin-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
38
|
Input: () => Input5,
|
|
39
|
-
Output: () =>
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin24,
|
|
42
42
|
name: () => name5,
|
|
43
|
-
toModelContent: () =>
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -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 toModelContent2 = (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 Plugin24 = {
|
|
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* Service48;
|
|
112
|
+
const access = yield* Service21;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service14;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service64;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
121
|
input: Input5,
|
|
122
|
-
output:
|
|
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 Plugin6 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(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 { name5, Input5, Applied2,
|
|
329
|
+
export { name5, Input5, Applied2, Output3, toModelContent2, Plugin24, exports_patch };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-dnxkq42g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-fjcvtvqr.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./plugin-s06s152w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-fn0g176e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./plugin-v1p7g5sn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./plugin-bhdgc465.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-ndrk8r07.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-fh2psg6v.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./plugin-xk21n9zm.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./plugin-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service76;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node65
|
|
7
|
+
} from "./plugin-05eqgg1f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
layer: () => layer10,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var layer10 = Layer.effect(
|
|
39
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service61;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service23.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node26 = makeLocationNode({
|
|
74
|
+
service: Service23,
|
|
75
75
|
layer: layer10,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node65, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service23, layer10, node26, exports_generate };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-zg1t26g9.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-fjcvtvqr.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-m88agcr3.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,17 +8,17 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured6,
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
11
|
+
layer: () => layer18,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node45,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make17(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node45 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer18, configured6, node45, exports_app };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-zg1t26g9.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-fjcvtvqr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./plugin-s06s152w.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-f13tjfqg.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./plugin-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info28,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service77,
|
|
47
|
+
node: () => node81
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info28 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service78;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info28.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service77.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key4.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node81 = makeLocationNode({
|
|
603
|
+
service: Service77,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node82, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|