@opencode/core 0.0.0-dev-20229 → 0.0.0-dev-20237
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 +73 -73
- package/dist/chunks/{ripgrep-57ez7d0k.js → skill-01snebf5.js} +9 -9
- package/dist/chunks/{ripgrep-syaa2c6w.js → skill-02e79zmk.js} +41 -41
- package/dist/chunks/{ripgrep-0ebnstrp.js → skill-05jx979n.js} +30 -30
- package/dist/chunks/{ripgrep-p8n1apjv.js → skill-0729q2vn.js} +29 -29
- package/dist/chunks/{ripgrep-zf8wr47y.js → skill-0f3gj77r.js} +3 -3
- package/dist/chunks/{ripgrep-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-abt26qbx.js → skill-0pvgc5fc.js} +21 -21
- package/dist/chunks/{ripgrep-9rz3pcwr.js → skill-0t83qpjm.js} +3 -3
- package/dist/chunks/{ripgrep-j8m1p4p1.js → skill-0xqyf95c.js} +4 -4
- package/dist/chunks/{ripgrep-06zjq4kk.js → skill-0yjsrvv1.js} +23 -23
- package/dist/chunks/{ripgrep-dftdgzwf.js → skill-12mt9w14.js} +37 -37
- package/dist/chunks/{ripgrep-ey1ph643.js → skill-13n9hswx.js} +5 -5
- package/dist/chunks/{ripgrep-s5met55r.js → skill-166kng33.js} +8 -8
- package/dist/chunks/{ripgrep-xb3sekxh.js → skill-17hcg36f.js} +7 -7
- package/dist/chunks/{ripgrep-1ajx6rf5.js → skill-1ajx6rf5.js} +1 -1
- package/dist/chunks/{ripgrep-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-4vmfrt63.js → skill-1t26q381.js} +9 -9
- package/dist/chunks/{ripgrep-118kj19k.js → skill-1tk41c3c.js} +15 -15
- package/dist/chunks/{ripgrep-k4za7ts1.js → skill-1wfab70b.js} +11 -11
- package/dist/chunks/{ripgrep-8djh5arb.js → skill-1xjx0jcc.js} +8 -8
- package/dist/chunks/{ripgrep-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-j31cqb59.js → skill-22jhghmt.js} +1 -1
- package/dist/chunks/{ripgrep-bq2bgfnr.js → skill-24y2m8kc.js} +32 -32
- package/dist/chunks/{ripgrep-0j4spdcs.js → skill-29yd18qt.js} +11 -11
- package/dist/chunks/{ripgrep-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-82ynta9e.js → skill-2ppm8z92.js} +28 -28
- package/dist/chunks/{ripgrep-s239yvev.js → skill-2td3t4dt.js} +21 -21
- package/dist/chunks/{ripgrep-fp2xarvc.js → skill-2tsm52y3.js} +1 -1
- package/dist/chunks/{ripgrep-v6ef7kgk.js → skill-2x5js52h.js} +5 -5
- package/dist/chunks/{ripgrep-930djq8z.js → skill-31w1qp3s.js} +23 -23
- package/dist/chunks/{ripgrep-56gdpj1q.js → skill-33w4ejhs.js} +6 -6
- package/dist/chunks/{ripgrep-kkkads8k.js → skill-358qdn69.js} +15 -15
- package/dist/chunks/{ripgrep-qvm8wxam.js → skill-37rvd3xw.js} +17 -17
- package/dist/chunks/{ripgrep-84925a50.js → skill-39gcggxw.js} +15 -15
- package/dist/chunks/{ripgrep-0ryd0fps.js → skill-3bc8czyk.js} +5 -5
- package/dist/chunks/{ripgrep-3v0zm7c6.js → skill-3ddj4795.js} +13 -13
- package/dist/chunks/{ripgrep-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-jw4cy8r0.js → skill-3h2h1y40.js} +55 -55
- package/dist/chunks/{ripgrep-e73e9hqb.js → skill-3hcb6rdt.js} +25 -25
- package/dist/chunks/{ripgrep-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-pehm6tfq.js → skill-3kannwv6.js} +181 -181
- package/dist/chunks/{ripgrep-kyav30yg.js → skill-3ntmf9xr.js} +11 -11
- package/dist/chunks/{ripgrep-gra0vtax.js → skill-3pbjq009.js} +8 -8
- package/dist/chunks/{ripgrep-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-fqka1xvk.js → skill-3ssf1kws.js} +3 -3
- package/dist/chunks/{ripgrep-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-890ccxt6.js → skill-3xm9kejs.js} +13 -13
- package/dist/chunks/{ripgrep-czf913v6.js → skill-3xwzrf3b.js} +15 -15
- package/dist/chunks/{ripgrep-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-y9d0ewq8.js → skill-41n2mfp4.js} +8 -8
- package/dist/chunks/{ripgrep-2z7bsgcd.js → skill-42rnjcxf.js} +28 -28
- package/dist/chunks/{ripgrep-hrc132h6.js → skill-4ckgtqrh.js} +9 -9
- package/dist/chunks/{ripgrep-s3vkv9ay.js → skill-4f78rvnv.js} +4 -4
- package/dist/chunks/{ripgrep-hccrd3vs.js → skill-4jxxczjb.js} +32 -32
- package/dist/chunks/{ripgrep-b563cd88.js → skill-4y6x6qg6.js} +24 -24
- package/dist/chunks/{ripgrep-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-7j1nyp11.js → skill-5ekftjpa.js} +14 -14
- package/dist/chunks/{ripgrep-xf258je3.js → skill-5j0nb8qw.js} +18 -18
- package/dist/chunks/{ripgrep-egybd8b7.js → skill-5kmhhys3.js} +11 -11
- package/dist/chunks/{ripgrep-s7kjtx58.js → skill-5nt9epk8.js} +33 -33
- package/dist/chunks/{ripgrep-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-70f0pfem.js → skill-5v4xa2m0.js} +23 -23
- package/dist/chunks/{ripgrep-zes72mvx.js → skill-5xhambgh.js} +11 -11
- package/dist/chunks/{ripgrep-mzywpf3p.js → skill-5xpznt2d.js} +4 -4
- package/dist/chunks/{ripgrep-hbgnhwv0.js → skill-616ym9rn.js} +22 -22
- package/dist/chunks/{ripgrep-s63ncq3n.js → skill-61yxenrv.js} +47 -47
- package/dist/chunks/{ripgrep-1qxqsx3z.js → skill-62q6nj2w.js} +3 -3
- package/dist/chunks/{ripgrep-qyjfak0f.js → skill-63890ep3.js} +40 -40
- package/dist/chunks/{ripgrep-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-3h6g4yxf.js → skill-69h1251q.js} +12 -12
- package/dist/chunks/{ripgrep-6x4rvyv1.js → skill-6ae6vdbn.js} +19 -19
- package/dist/chunks/{ripgrep-3b1q5j1v.js → skill-6anwy9fs.js} +6 -6
- package/dist/chunks/{ripgrep-d216944b.js → skill-6hh8tjw2.js} +7 -7
- package/dist/chunks/{ripgrep-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-z2receq4.js → skill-6pesj18r.js} +9 -9
- package/dist/chunks/{ripgrep-7yh4e7ss.js → skill-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-8zj9r478.js → skill-75a1258m.js} +8 -8
- package/dist/chunks/{ripgrep-r3p02j26.js → skill-78cw4hvj.js} +12 -12
- package/dist/chunks/{ripgrep-48qwr564.js → skill-7b217tc9.js} +32 -32
- package/dist/chunks/{ripgrep-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-607tc6va.js → skill-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-w499dnd0.js → skill-7jpg9h8k.js} +10 -10
- package/dist/chunks/{ripgrep-c871hbrt.js → skill-7ys3fh6j.js} +19 -19
- package/dist/chunks/{ripgrep-j58c5xyq.js → skill-82rhge12.js} +9 -9
- package/dist/chunks/{ripgrep-02jfzr1n.js → skill-84kt9vsc.js} +9 -9
- package/dist/chunks/{ripgrep-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-v3r4yrhg.js → skill-8v90e2yj.js} +6 -6
- package/dist/chunks/{ripgrep-ntf1kdt7.js → skill-9267ka6q.js} +7 -7
- package/dist/chunks/{ripgrep-5pt14vhf.js → skill-930cty0c.js} +15 -15
- package/dist/chunks/{ripgrep-gfvb90ym.js → skill-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-p0n61q8f.js → skill-9d7p7x83.js} +5 -5
- package/dist/chunks/{ripgrep-v8w4r62m.js → skill-9kv5zmv8.js} +32 -32
- package/dist/chunks/{ripgrep-0fvk3drk.js → skill-9myccn1k.js} +20 -20
- package/dist/chunks/{ripgrep-m5nx04ee.js → skill-9r2nfyx7.js} +14 -14
- package/dist/chunks/skill-9zdhvgqs.js +18 -0
- package/dist/chunks/{ripgrep-p0tyvh4g.js → skill-a5654xsm.js} +11 -11
- package/dist/chunks/{ripgrep-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-by9ynfjg.js → skill-acr7r75c.js} +11 -11
- package/dist/chunks/{ripgrep-ds8dekzs.js → skill-ae7xvq94.js} +23 -23
- package/dist/chunks/{ripgrep-wqjhyw9m.js → skill-ak13h7x1.js} +24 -24
- package/dist/chunks/{ripgrep-g6eythae.js → skill-aq6xkhjv.js} +69 -69
- package/dist/chunks/{ripgrep-h5bh3ng3.js → skill-ay6x5qvq.js} +26 -26
- package/dist/chunks/{ripgrep-y2qsw3tz.js → skill-b56acg1n.js} +26 -26
- package/dist/chunks/{ripgrep-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-d7qrjzdq.js → skill-b79dj70a.js} +27 -27
- package/dist/chunks/{ripgrep-ftdfymg3.js → skill-bh8h4erd.js} +10 -10
- package/dist/chunks/{ripgrep-m52a8tfn.js → skill-bpavgjm0.js} +37 -37
- package/dist/chunks/{ripgrep-mqbk7dpn.js → skill-br47g7yq.js} +9 -9
- package/dist/chunks/{ripgrep-0antrmc1.js → skill-bzdcx9ae.js} +13 -13
- package/dist/chunks/{ripgrep-n3tj2r8q.js → skill-c0g7pnz1.js} +18 -18
- package/dist/chunks/{ripgrep-90ar7f1h.js → skill-c0kkjxwe.js} +6 -6
- package/dist/chunks/{ripgrep-gdesffbr.js → skill-c4y0dw4v.js} +12 -12
- package/dist/chunks/{ripgrep-7xyrrtj6.js → skill-c5c0bz0t.js} +5 -5
- package/dist/chunks/{ripgrep-xdt98d5a.js → skill-c7jmze4g.js} +45 -45
- package/dist/chunks/{ripgrep-ay0dkb9c.js → skill-c8xqcx36.js} +6 -6
- package/dist/chunks/{ripgrep-q22sh36z.js → skill-chb5khpn.js} +40 -40
- package/dist/chunks/{ripgrep-4k61gtt7.js → skill-ck9ayhb2.js} +36 -36
- package/dist/chunks/{ripgrep-54tcyq79.js → skill-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-0yp90j0g.js → skill-cmn3mj5r.js} +6 -6
- package/dist/chunks/{ripgrep-cwa6csj7.js → skill-cwa6csj7.js} +2 -2
- package/dist/chunks/{ripgrep-hf37sfna.js → skill-d90ttvv0.js} +39 -39
- package/dist/chunks/{ripgrep-3tvqrhj3.js → skill-da5vet0q.js} +11 -11
- package/dist/chunks/{ripgrep-mdvcq96a.js → skill-dh06npjf.js} +1 -1
- package/dist/chunks/{ripgrep-5e76c55v.js → skill-dhf01b5r.js} +25 -25
- package/dist/chunks/{ripgrep-saxh7epz.js → skill-dqqwsh7m.js} +5 -5
- package/dist/chunks/{ripgrep-drwq78ky.js → skill-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-7cj56fr8.js → skill-e1fx3kkg.js} +18 -18
- package/dist/chunks/{ripgrep-t8nr5fwz.js → skill-e2902ssh.js} +28 -28
- package/dist/chunks/{ripgrep-qjs6n2vb.js → skill-e87a8knz.js} +13 -13
- package/dist/chunks/{ripgrep-ecfe7b91.js → skill-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-b31k3rgg.js → skill-eke78wcn.js} +11 -11
- package/dist/chunks/{ripgrep-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-47txkgwg.js → skill-ew2gb6aq.js} +22 -22
- package/dist/chunks/{ripgrep-yk5x40hx.js → skill-f03reshw.js} +22 -22
- package/dist/chunks/{ripgrep-cavr175a.js → skill-f3ngv102.js} +4 -4
- package/dist/chunks/{ripgrep-5jt9y05x.js → skill-f5xysf8q.js} +46 -46
- package/dist/chunks/{ripgrep-qksvzkeq.js → skill-famy2f9q.js} +47 -47
- package/dist/chunks/{ripgrep-35atjjte.js → skill-fbspgn15.js} +32 -32
- package/dist/chunks/{ripgrep-28nksq6y.js → skill-fe2ac55b.js} +10 -10
- package/dist/chunks/skill-fwm3t8qh.js +26 -0
- package/dist/chunks/{ripgrep-c1w9r3v6.js → skill-fysvmm5d.js} +17 -17
- package/dist/chunks/{ripgrep-7pr2hkwv.js → skill-g5agzp2h.js} +5 -5
- package/dist/chunks/{ripgrep-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-3f3jy9nt.js → skill-gdb981cj.js} +24 -24
- package/dist/chunks/{ripgrep-6b77vcbw.js → skill-gkz2nmdk.js} +10 -10
- package/dist/chunks/{ripgrep-cp62wjev.js → skill-gnt09e10.js} +15 -15
- package/dist/chunks/{ripgrep-dhmh7aw6.js → skill-gst7axd9.js} +4 -4
- package/dist/chunks/{ripgrep-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-qwgw6s1s.js → skill-gwtsjvj9.js} +325 -325
- package/dist/chunks/{ripgrep-fj7pyrjd.js → skill-gxs9g1kt.js} +29 -29
- package/dist/chunks/{ripgrep-9satsa0x.js → skill-h0bsqr2d.js} +28 -28
- package/dist/chunks/{ripgrep-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-44pdqs77.js → skill-hehaxqkv.js} +4 -4
- package/dist/chunks/{ripgrep-11skqav9.js → skill-hk0w59rs.js} +96 -96
- package/dist/chunks/{ripgrep-jny2x7hk.js → skill-hpvsmwsq.js} +51 -51
- package/dist/chunks/{ripgrep-mebw3mav.js → skill-hv0qy6mp.js} +93 -93
- package/dist/chunks/{ripgrep-tvfehy0g.js → skill-j1r0ka2e.js} +20 -20
- package/dist/chunks/{ripgrep-5wbzy8nn.js → skill-j41a475f.js} +8 -8
- package/dist/chunks/{ripgrep-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-3mr58zvy.js → skill-je40c4e6.js} +5 -5
- package/dist/chunks/{ripgrep-bmc4xpke.js → skill-jfga7b6d.js} +26 -26
- package/dist/chunks/{ripgrep-9jy5zj8y.js → skill-jjw1v7g2.js} +16 -16
- package/dist/chunks/{ripgrep-0t9wd588.js → skill-jn0tk1mz.js} +8 -8
- package/dist/chunks/{ripgrep-nefgvkw2.js → skill-jwcbjk8m.js} +22 -22
- package/dist/chunks/{ripgrep-nd8hshm2.js → skill-k06xh4tx.js} +29 -29
- package/dist/chunks/{ripgrep-k3c624dm.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-agkcfxfp.js → skill-k5cqq88k.js} +6 -6
- package/dist/chunks/{ripgrep-rtathh62.js → skill-k8dasee7.js} +8 -8
- package/dist/chunks/{ripgrep-m7b8vgv2.js → skill-k9rg1vcq.js} +20 -20
- package/dist/chunks/{ripgrep-ajetnjhk.js → skill-kaeqdmt3.js} +45 -45
- package/dist/chunks/{ripgrep-kfm9rn2s.js → skill-ksb7a39g.js} +14 -14
- package/dist/chunks/{ripgrep-sdjhnzhs.js → skill-kt88g7f7.js} +5 -5
- package/dist/chunks/{ripgrep-tyw4mndc.js → skill-kvq9gs2a.js} +22 -22
- package/dist/chunks/{ripgrep-ncpeyn96.js → skill-kvspnhsc.js} +48 -48
- package/dist/chunks/{ripgrep-1w79vp60.js → skill-kvxk94as.js} +37 -37
- package/dist/chunks/{ripgrep-65asva9x.js → skill-m2gt79bm.js} +22 -22
- package/dist/chunks/{ripgrep-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-0ks27nrh.js → skill-mnzpn3j7.js} +62 -62
- package/dist/chunks/{ripgrep-zqcthdv3.js → skill-mppm81rk.js} +15 -15
- package/dist/chunks/{ripgrep-v8rep1gr.js → skill-n31131qv.js} +8 -8
- package/dist/chunks/{ripgrep-rzhjeyb2.js → skill-n9bzg1w7.js} +38 -38
- package/dist/chunks/{ripgrep-jb20k743.js → skill-nb9s5zz7.js} +9 -9
- package/dist/chunks/{ripgrep-k1qrnqst.js → skill-ncjresk4.js} +8 -8
- package/dist/chunks/{ripgrep-j49kr4wg.js → skill-nm56gsv2.js} +24 -24
- package/dist/chunks/{ripgrep-8zf437sr.js → skill-nn73yg3e.js} +14 -14
- package/dist/chunks/{ripgrep-h9vcqc78.js → skill-nq344hgp.js} +11 -11
- package/dist/chunks/{ripgrep-ywkfy99j.js → skill-nscznvay.js} +9 -9
- package/dist/chunks/{ripgrep-cr07tj7n.js → skill-nxhqveyz.js} +5 -5
- package/dist/chunks/{ripgrep-h6r3nrb9.js → skill-nzyhnfxz.js} +4 -4
- package/dist/chunks/{ripgrep-c4qkmtec.js → skill-p999qeks.js} +12 -12
- package/dist/chunks/{ripgrep-1j2r6vf4.js → skill-pfh7wc7b.js} +7 -7
- package/dist/chunks/{ripgrep-pfzqt8w6.js → skill-pjj8fg0r.js} +12 -12
- package/dist/chunks/{ripgrep-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-f3gec5hw.js → skill-ppnbyhnm.js} +6 -6
- package/dist/chunks/{ripgrep-6egqwrjf.js → skill-pw9cs8ty.js} +17 -17
- package/dist/chunks/{ripgrep-68y7phbn.js → skill-pxrjaj7s.js} +12 -12
- package/dist/chunks/{ripgrep-0nxbz9g5.js → skill-q8tdcmtc.js} +30 -30
- package/dist/chunks/{ripgrep-m9k4p762.js → skill-qd8bqnjp.js} +44 -44
- package/dist/chunks/{ripgrep-marnn1hp.js → skill-qq8x5mwt.js} +9 -9
- package/dist/chunks/{ripgrep-c5csqyae.js → skill-qqbwnzxa.js} +12 -12
- package/dist/chunks/{ripgrep-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-tpebh6ag.js → skill-qzqd9bbs.js} +8 -8
- package/dist/chunks/{ripgrep-at9pxffm.js → skill-r0765b4t.js} +13 -13
- package/dist/chunks/{ripgrep-bmxgdxm8.js → skill-r2hayn6q.js} +18 -18
- package/dist/chunks/{ripgrep-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-mjyv029k.js → skill-rfphxygr.js} +8 -8
- package/dist/chunks/{ripgrep-rkprpv83.js → skill-rkprpv83.js} +2 -2
- package/dist/chunks/{ripgrep-p22k9wg5.js → skill-rktsyv27.js} +35 -35
- package/dist/chunks/{ripgrep-b5rg9k2a.js → skill-ryt2ydd6.js} +4 -4
- package/dist/chunks/{ripgrep-c35597j6.js → skill-rywzfdxh.js} +4 -4
- package/dist/chunks/{ripgrep-1y283654.js → skill-s26hbv8p.js} +4 -4
- package/dist/chunks/{ripgrep-jh1t293c.js → skill-s3qt3bff.js} +16 -16
- package/dist/chunks/{ripgrep-fcwgv8gv.js → skill-s88d2qhj.js} +21 -21
- package/dist/chunks/{ripgrep-s8d7rejh.js → skill-s8d7rejh.js} +1 -1
- package/dist/chunks/{ripgrep-hncg30kp.js → skill-speq931g.js} +28 -28
- package/dist/chunks/{ripgrep-w18xh17a.js → skill-stpd6zpk.js} +4 -4
- package/dist/chunks/{ripgrep-3w0fmcng.js → skill-t0fxg8b9.js} +5 -5
- package/dist/chunks/{ripgrep-ak8wweg5.js → skill-t16rew40.js} +2 -2
- package/dist/chunks/{ripgrep-e3x42eyx.js → skill-t9kmsb73.js} +4 -4
- package/dist/chunks/{ripgrep-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-jrrknm56.js → skill-tb58a56a.js} +13 -13
- package/dist/chunks/{ripgrep-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-zr0mv0xb.js → skill-tkw0q3t4.js} +24 -24
- package/dist/chunks/{ripgrep-3849nkrv.js → skill-tsxjjv1e.js} +16 -16
- package/dist/chunks/{ripgrep-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-a2w83xt4.js → skill-vb37bbhn.js} +28 -28
- package/dist/chunks/{ripgrep-rxqb97gr.js → skill-vcj7ze88.js} +28 -28
- package/dist/chunks/{ripgrep-hxfzz81b.js → skill-vecs23p9.js} +20 -20
- package/dist/chunks/skill-vekpjwn7.js +252 -0
- package/dist/chunks/{ripgrep-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-j83byb14.js → skill-vncycja5.js} +4 -4
- package/dist/chunks/{ripgrep-efbjszw7.js → skill-vnrd2pbf.js} +3 -3
- package/dist/chunks/{ripgrep-t590yz96.js → skill-vv97ra8n.js} +11 -11
- package/dist/chunks/{ripgrep-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-qzqk0by0.js → skill-wawnfvrj.js} +13 -13
- package/dist/chunks/{ripgrep-t9ym9qvh.js → skill-wcjyc11q.js} +6 -6
- package/dist/chunks/{ripgrep-psazpmmj.js → skill-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-x1158p12.js → skill-wddca7rf.js} +11 -11
- package/dist/chunks/{ripgrep-pjfmr211.js → skill-wyqfhbgc.js} +24 -24
- package/dist/chunks/{ripgrep-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-sv8vja0m.js → skill-x1f6mcey.js} +13 -13
- package/dist/chunks/{ripgrep-09r6bem7.js → skill-x4yqaege.js} +17 -17
- package/dist/chunks/{ripgrep-dpeqjypf.js → skill-x9c38wyg.js} +16 -16
- package/dist/chunks/{ripgrep-kgxnw31j.js → skill-xaqw7sw8.js} +11 -11
- package/dist/chunks/{ripgrep-422mtr2z.js → skill-xbe6bypq.js} +5 -5
- package/dist/chunks/{ripgrep-hsfvbcm9.js → skill-xg6r1qgc.js} +8 -8
- package/dist/chunks/{ripgrep-4400tn2z.js → skill-xh99yx0k.js} +33 -33
- package/dist/chunks/{ripgrep-cd5qxzby.js → skill-xk3p1ns3.js} +31 -31
- package/dist/chunks/{ripgrep-dmqcgk4z.js → skill-xkntkrq7.js} +5 -5
- package/dist/chunks/{ripgrep-r4nkyxgj.js → skill-xre8zksc.js} +5 -5
- package/dist/chunks/{ripgrep-4pvhcca7.js → skill-xrg1vf6w.js} +13 -13
- package/dist/chunks/{ripgrep-7znnsvj9.js → skill-xvh5apvq.js} +17 -17
- package/dist/chunks/{ripgrep-83a3b7v7.js → skill-xw95mvqy.js} +25 -25
- package/dist/chunks/{ripgrep-gq3f66va.js → skill-xy6b16vx.js} +2 -2
- package/dist/chunks/{ripgrep-kvmq8xfb.js → skill-y18e6gev.js} +7 -7
- package/dist/chunks/{ripgrep-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-dpkg50ah.js → skill-y71avatq.js} +4 -4
- package/dist/chunks/{ripgrep-bgxcxs0p.js → skill-yjptyezs.js} +5 -5
- package/dist/chunks/{ripgrep-s12cwej7.js → skill-ymhhb4xg.js} +10 -10
- package/dist/chunks/{ripgrep-99sz5wqb.js → skill-ynkewxt4.js} +17 -17
- package/dist/chunks/{ripgrep-yp2x3t23.js → skill-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-by02v520.js → skill-yt5a1n88.js} +9 -9
- package/dist/chunks/{ripgrep-bjtzbw4r.js → skill-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-tehpmbzs.js → skill-z4b8nh6b.js} +20 -20
- package/dist/chunks/{ripgrep-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-nztkb09y.js → skill-z6nedmjx.js} +3 -3
- package/dist/chunks/{ripgrep-v8jfbz3g.js → skill-zcqf6png.js} +6 -6
- package/dist/chunks/{ripgrep-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-5ztw1556.js → skill-zfayrh6s.js} +9 -9
- package/dist/chunks/{ripgrep-cy08etkj.js → skill-zfq83p86.js} +43 -43
- package/dist/chunks/{ripgrep-qhtcadmq.js → skill-zqz91wsf.js} +27 -27
- package/dist/chunks/{ripgrep-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +84 -84
- 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 +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- 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 +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 +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 +81 -81
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +74 -74
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- 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 +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- 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 +99 -99
- 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 +111 -111
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +92 -92
- 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 +78 -78
- 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 +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- 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 +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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- 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 +229 -229
- 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 +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +125 -125
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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/ripgrep-3g47k8bj.js +0 -26
- package/dist/chunks/ripgrep-7kmmr6nj.js +0 -252
- package/dist/chunks/ripgrep-dxj72tfx.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-7b217tc9.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service57
|
|
8
|
+
} from "./skill-61yxenrv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./skill-k5cqq88k.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin30
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin30 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service57;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin3 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve2({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin30, exports_provider };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service84,
|
|
6
|
-
node88
|
|
7
|
-
} from "./ripgrep-egybd8b7.js";
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service83,
|
|
10
6
|
node87
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./skill-5kmhhys3.js";
|
|
12
8
|
import {
|
|
13
9
|
Service82,
|
|
14
10
|
node86
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./skill-x9c38wyg.js";
|
|
12
|
+
import {
|
|
13
|
+
Service72,
|
|
14
|
+
node76
|
|
15
|
+
} from "./skill-pxrjaj7s.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-01snebf5.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID13,
|
|
40
|
+
Info: () => Info30,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node75,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID13 = ID14;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID13
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service71 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service72;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
|
+
const db = (yield* Service83).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID13.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event16.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID13.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID13.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID13.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID13.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID13.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID13.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID13.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service71.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node75 = makeGlobalNode({
|
|
288
|
+
service: Service71,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node86, node87, FSUtil.node, node76, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID13, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service71, node75, exports_project };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-x9c38wyg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node61
|
|
7
|
+
} from "./skill-m2gt79bm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./skill-zqz91wsf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service30
|
|
14
|
+
} from "./skill-9zdhvgqs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node18,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./skill-0pvgc5fc.js";
|
|
19
19
|
import {
|
|
20
20
|
Service8,
|
|
21
21
|
node10
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-1ajx6rf5.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-gwtsjvj9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-41n2mfp4.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service6,
|
|
35
|
+
node8
|
|
36
|
+
} from "./skill-3xm9kejs.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service7,
|
|
39
|
+
node9
|
|
40
|
+
} from "./skill-82rhge12.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./skill-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
49
|
layer: () => layer4,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID2.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
128
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
129
|
+
const registry = yield* Service30;
|
|
130
|
+
const sdk = yield* Service6;
|
|
131
131
|
const instance = yield* Service8;
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
132
|
+
const sources = yield* Service9;
|
|
133
|
+
const modules = yield* make4();
|
|
134
|
+
const bus = yield* Service82;
|
|
135
|
+
const updates = yield* Service7;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
node18,
|
|
211
|
+
node8,
|
|
212
212
|
node10,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
node11,
|
|
214
|
+
node9,
|
|
215
|
+
node86,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node61,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export { layer4,
|
|
227
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-nzyhnfxz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./skill-x9c38wyg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-dhf01b5r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID15,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-ae7xvq94.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./skill-7b217tc9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./skill-5nt9epk8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./skill-jwcbjk8m.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-j41a475f.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./skill-ak13h7x1.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
62
62
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
63
63
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
64
64
|
var oauth = (app) => ({
|
|
65
|
-
integrationID:
|
|
65
|
+
integrationID: ID15.make("github-copilot"),
|
|
66
66
|
method: {
|
|
67
67
|
id: methodID,
|
|
68
68
|
type: "oauth",
|
|
@@ -160,8 +160,8 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
164
|
-
const bus = yield*
|
|
163
|
+
const providers = yield* Service64;
|
|
164
|
+
const bus = yield* Service82;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
167
167
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -177,9 +177,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
|
-
const provider = yield* providers.get(
|
|
180
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
|
-
try: () =>
|
|
182
|
+
try: () => load3(url, {
|
|
183
183
|
...provider?.headers,
|
|
184
184
|
Authorization: `Bearer ${credential.refresh}`,
|
|
185
185
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -199,13 +199,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
199
199
|
editor.method.update(oauth(ctx.app));
|
|
200
200
|
});
|
|
201
201
|
yield* ctx.provider.transform((evt) => {
|
|
202
|
-
const item = evt.get(
|
|
202
|
+
const item = evt.get(ID7.githubCopilot);
|
|
203
203
|
if (!item)
|
|
204
204
|
return;
|
|
205
205
|
if (loaded.models) {
|
|
206
206
|
evt.add({
|
|
207
207
|
info: item.provider,
|
|
208
|
-
models: Array.from(
|
|
208
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
209
209
|
sourceConnection: loaded.connection
|
|
210
210
|
});
|
|
211
211
|
return;
|
|
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(
|
|
223
|
-
models.update(
|
|
222
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
229
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
|
-
if (evt.model.providerID !==
|
|
232
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
233
233
|
return;
|
|
234
234
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
235
235
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
239
239
|
}));
|
|
240
240
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
244
244
|
return;
|
|
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
248
248
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
249
249
|
if (interaction !== "conversation-agent")
|
|
250
250
|
evt.headers["x-initiator"] = "agent";
|
|
251
|
-
}), { providerID:
|
|
251
|
+
}), { providerID: ID7.githubCopilot });
|
|
252
252
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
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(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
|
-
}), { providerID:
|
|
268
|
+
}), { providerID: ID7.githubCopilot });
|
|
269
269
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
270
|
-
if (evt.model.providerID !==
|
|
270
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
271
271
|
return;
|
|
272
272
|
const token = evt.request.headers.get("x-api-key");
|
|
273
273
|
if (!token)
|
|
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
276
276
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
277
277
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID7.githubCopilot });
|
|
279
279
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
280
|
-
if (evt.model.providerID !==
|
|
280
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
281
281
|
return;
|
|
282
282
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
283
283
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|