@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-ak13h7x1.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-3h2h1y40.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin27
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin27 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin45 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID11.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID11.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin45 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID11.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID11.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID11.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin45 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin27, exports_agent };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./skill-bzdcx9ae.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-3ssf1kws.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service48,
|
|
23
|
+
make: () => make19,
|
|
24
|
+
node: () => node51
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service48 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make19 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service81;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make18 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service48.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make18 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service48, make19);
|
|
362
|
+
var node51 = makeGlobalNode({ service: Service48, layer, deps: [node85] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service48, make19, node51, exports_job };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./skill-pw9cs8ty.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./skill-61yxenrv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./skill-s88d2qhj.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin41
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin41 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service57;
|
|
34
|
+
const location = yield* Service70;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service43;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin17 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin41, exports_worktree };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin25,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin25 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin25, exports_tool_input_repair };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node74
|
|
4
|
+
} from "./skill-pw9cs8ty.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service25,
|
|
19
|
+
node: () => node29
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service25 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service70;
|
|
29
|
+
return Service25.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [Global.node, node74] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service25, node29, exports_builtins };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-x9c38wyg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node74
|
|
8
|
+
} from "./skill-pw9cs8ty.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./skill-ak13h7x1.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./skill-8v90e2yj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./skill-930cty0c.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node72
|
|
27
|
+
} from "./skill-vecs23p9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node79
|
|
31
|
+
} from "./skill-166kng33.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
|
+
ID: () => ID9,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service66,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node70
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID9,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service66 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service82;
|
|
132
|
+
const location = yield* Service70;
|
|
133
|
+
const agents = yield* Service69;
|
|
134
|
+
const sessions = yield* Service67;
|
|
135
|
+
const saved = yield* Service68;
|
|
136
|
+
const hooks = yield* Service75;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID9.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID9.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service66.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node70 = makeLocationNode({
|
|
303
|
+
service: Service66,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node86, node74, node73, node71, node72, node79]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID9, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node70, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./skill-pw9cs8ty.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service13
|
|
9
|
+
} from "./skill-e1fx3kkg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service4
|
|
12
|
+
} from "./skill-kvq9gs2a.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-yt5a1n88.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin4,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin4 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service13;
|
|
63
|
+
const sessionInstructions = yield* Service4;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service70;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin32 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent3 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin4, toModelContent3, exports_read };
|