@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./skill-x9c38wyg.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service41,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer24 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer24 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service41.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer24 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service41,
|
|
110
|
+
layer: layer19(options),
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node44 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options5, Service41, layer19, configured6, node44, exports_instruction_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./skill-4ckgtqrh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./skill-zcqf6png.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9zdhvgqs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service75
|
|
15
|
+
} from "./skill-166kng33.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-8v90e2yj.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service65
|
|
23
|
+
} from "./skill-h0bsqr2d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service39;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service75;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service65;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service74;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service56,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node59
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service56 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service56, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service56.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service34, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node59 = makeGlobalNode({ service: Service56, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service56, node59, exports_environment };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-7b217tc9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./skill-5nt9epk8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID6.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID7.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID6.make(remote.id),
|
|
125
|
+
providerID: ID7.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-x9c38wyg.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node49
|
|
18
|
+
} from "./skill-z4b8nh6b.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node48
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node48 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node49]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service45, node48, exports_reference2, Event8 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-7b217tc9.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-5nt9epk8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -491,4 +491,4 @@ var PROTOCOLS = {
|
|
|
491
491
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
492
492
|
};
|
|
493
493
|
|
|
494
|
-
export {
|
|
494
|
+
export { resolve2, exports_variant };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin22 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin34 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin22, exports_exa };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./skill-ak13h7x1.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./skill-3pbjq009.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-t9kmsb73.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./skill-61yxenrv.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin42
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin42 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service57;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin6 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin42, exports_agent2 };
|