@opencode/core 0.0.0-dev-19459 → 0.0.0-dev-19460
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{kv-4whayx0s.js → instance-00mqm9kf.js} +1 -1
- package/dist/chunks/{kv-pevfk95c.js → instance-01e6h18d.js} +18 -18
- package/dist/chunks/{kv-wc35t2q8.js → instance-0fff669n.js} +34 -34
- package/dist/chunks/instance-0hb33qq5.js +247 -0
- package/dist/chunks/{kv-7dqw4kz8.js → instance-0jwsre1p.js} +5 -5
- package/dist/chunks/{kv-v79g31x1.js → instance-0npvrs75.js} +12 -12
- package/dist/chunks/{kv-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-q123vns4.js → instance-1htf0826.js} +16 -16
- package/dist/chunks/{kv-6r8zamjg.js → instance-1hyf0ktd.js} +10 -10
- package/dist/chunks/instance-1x11rq2a.js +18 -0
- package/dist/chunks/{kv-33w4ejhs.js → instance-1ygqh575.js} +6 -6
- package/dist/chunks/{kv-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{kv-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-j7wq2tw5.js → instance-2f04pwep.js} +3 -3
- package/dist/chunks/{kv-jg1xt47z.js → instance-2fp9d9g6.js} +29 -29
- package/dist/chunks/{kv-7fda20w6.js → instance-2jf0xkbq.js} +5 -5
- package/dist/chunks/{kv-6qk3rsrc.js → instance-2nvwtj61.js} +11 -11
- package/dist/chunks/{kv-vrx6ppv4.js → instance-3e7k8psb.js} +24 -24
- package/dist/chunks/{kv-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-qyy1k97r.js → instance-3jmtav0z.js} +19 -19
- package/dist/chunks/{kv-432xgzw3.js → instance-3q9njtk1.js} +32 -32
- package/dist/chunks/{kv-qrek7wem.js → instance-3qhd9431.js} +12 -12
- package/dist/chunks/{kv-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-h6z8d5tn.js → instance-3ythc6yv.js} +4 -4
- package/dist/chunks/{kv-g9245y80.js → instance-4066mr2m.js} +1 -1
- package/dist/chunks/{kv-23k62ntz.js → instance-474kxs8d.js} +6 -6
- package/dist/chunks/{kv-e8mc6xww.js → instance-4avx5zv7.js} +13 -13
- package/dist/chunks/{kv-7fsaq6e9.js → instance-4gqp7vx6.js} +14 -14
- package/dist/chunks/{kv-y6j5wgpg.js → instance-4gw1ygcb.js} +20 -20
- package/dist/chunks/{kv-a04mvahc.js → instance-4swqe0r2.js} +4 -4
- package/dist/chunks/{kv-hm622x1n.js → instance-4wjenyrf.js} +8 -8
- package/dist/chunks/{kv-4y66k410.js → instance-4y66k410.js} +2 -2
- package/dist/chunks/{kv-zwy6c5hz.js → instance-4zj18f1w.js} +9 -9
- package/dist/chunks/{kv-j438vazm.js → instance-53x3k2qp.js} +4 -4
- package/dist/chunks/{kv-pwb1y8eh.js → instance-5b639kvd.js} +25 -25
- package/dist/chunks/{kv-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-q08m8exk.js → instance-5eec6bhb.js} +33 -33
- package/dist/chunks/{kv-ddgw6qpw.js → instance-5g8am1g7.js} +27 -27
- package/dist/chunks/{kv-w2xthqm8.js → instance-5hk2mk3t.js} +7 -7
- package/dist/chunks/{kv-mntm3pyc.js → instance-5jvjxkgj.js} +25 -25
- package/dist/chunks/{kv-t0x5rdq8.js → instance-5kptn8c0.js} +9 -9
- package/dist/chunks/{kv-qvav3tk2.js → instance-5nabpchd.js} +23 -23
- package/dist/chunks/{kv-acz5m649.js → instance-5sh9vvh6.js} +42 -42
- package/dist/chunks/{kv-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-3j6dd1ze.js → instance-5wdht1ra.js} +14 -14
- package/dist/chunks/{kv-mn0apyfm.js → instance-5x592y6b.js} +22 -22
- package/dist/chunks/{kv-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{kv-mqh518cc.js → instance-6990g2pv.js} +24 -24
- package/dist/chunks/{kv-m9xbxedm.js → instance-6ckg68qj.js} +4 -4
- package/dist/chunks/{kv-sj7m3pc4.js → instance-6gt9cz4a.js} +23 -23
- package/dist/chunks/{kv-6h73sxmp.js → instance-6h73sxmp.js} +1 -1
- package/dist/chunks/instance-6javrp0c.js +22 -0
- package/dist/chunks/{kv-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-71q4at8m.js → instance-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-2tavq0r4.js → instance-76myzc3f.js} +4 -4
- package/dist/chunks/{kv-q6trkzsx.js → instance-797mct3s.js} +12 -12
- package/dist/chunks/{kv-mp045f7j.js → instance-79r1wrqa.js} +1 -1
- package/dist/chunks/{kv-35nm4m8d.js → instance-7b3cx9a6.js} +11 -11
- package/dist/chunks/{kv-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-t6rmzs9c.js → instance-7kehdj5a.js} +17 -17
- package/dist/chunks/{kv-23279rje.js → instance-7m5f9412.js} +8 -8
- package/dist/chunks/{kv-c156ep7e.js → instance-7v41m4wd.js} +9 -9
- package/dist/chunks/{kv-ehrv1rgr.js → instance-7v5s04dc.js} +8 -8
- package/dist/chunks/{kv-pjedbq3k.js → instance-7w3s9kd0.js} +4 -4
- package/dist/chunks/{kv-1ym52s0g.js → instance-7yzvrxe0.js} +13 -13
- package/dist/chunks/{kv-9z6bc1tk.js → instance-80va5zpe.js} +12 -12
- package/dist/chunks/{kv-9pv0dm11.js → instance-81swgkk7.js} +9 -9
- package/dist/chunks/{kv-q26tgv94.js → instance-844ef7ks.js} +8 -8
- package/dist/chunks/{kv-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-8b7x386w.js → instance-8gvpyqpt.js} +22 -22
- package/dist/chunks/{kv-s6awdsy0.js → instance-8jpcqb93.js} +7 -7
- package/dist/chunks/{kv-8p4f9s12.js → instance-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-nbddwgy7.js → instance-8pngxq2x.js} +10 -10
- package/dist/chunks/{kv-p3ke781q.js → instance-8yv9dkvg.js} +5 -5
- package/dist/chunks/{kv-xk03nfws.js → instance-92wpxnfv.js} +27 -27
- package/dist/chunks/{kv-035y26vf.js → instance-94nfxf8g.js} +15 -15
- package/dist/chunks/{kv-0evvd92y.js → instance-94w0tq81.js} +55 -55
- package/dist/chunks/{kv-909q3sbg.js → instance-97ym3vp3.js} +24 -24
- package/dist/chunks/{kv-8ykkmn9r.js → instance-9br9ay0g.js} +4 -4
- package/dist/chunks/{kv-12v07r08.js → instance-9jdakqgh.js} +12 -12
- package/dist/chunks/{kv-rwtq93ad.js → instance-9kt49dv5.js} +4 -4
- package/dist/chunks/{kv-ytfav154.js → instance-9xrk3ywp.js} +9 -9
- package/dist/chunks/{kv-b1fbxvtj.js → instance-9ydgybmy.js} +33 -33
- package/dist/chunks/{kv-hm2z15f1.js → instance-9yfkjt1j.js} +13 -13
- package/dist/chunks/{kv-wvt7nan9.js → instance-a0kt5faw.js} +27 -27
- package/dist/chunks/{kv-a1bz86dw.js → instance-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-3x2xmk5f.js → instance-a49gwv9f.js} +20 -20
- package/dist/chunks/{kv-32t7e08w.js → instance-a9yaghht.js} +87 -87
- package/dist/chunks/{kv-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-8ytb3y3t.js → instance-afxp662r.js} +15 -15
- package/dist/chunks/{kv-818pfwc9.js → instance-aj39p006.js} +8 -8
- package/dist/chunks/{kv-x9zkcjgp.js → instance-akeqy7zp.js} +11 -11
- package/dist/chunks/{kv-4eh77v0x.js → instance-aq9mty43.js} +15 -15
- package/dist/chunks/{kv-gt76p7gm.js → instance-az8292sr.js} +23 -23
- package/dist/chunks/{kv-mn5tqr63.js → instance-b1hwkhhg.js} +8 -8
- package/dist/chunks/{kv-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-244ny2pf.js → instance-b6t5s1br.js} +15 -15
- package/dist/chunks/{kv-a1haqd7r.js → instance-bcej9406.js} +3 -3
- package/dist/chunks/{kv-6s9eyz9r.js → instance-bha4atvq.js} +4 -4
- package/dist/chunks/{kv-gke945h8.js → instance-bj3v68q1.js} +14 -14
- package/dist/chunks/{kv-ebea0m75.js → instance-bn0vw2w5.js} +301 -301
- package/dist/chunks/{kv-7amrkpe1.js → instance-bnhb7h7f.js} +47 -47
- package/dist/chunks/{kv-5755hzzr.js → instance-bqffehkf.js} +22 -22
- package/dist/chunks/{kv-4b1heq7g.js → instance-c1am2a09.js} +27 -27
- package/dist/chunks/{kv-0bp11ksp.js → instance-c2p50z10.js} +20 -20
- package/dist/chunks/{kv-g6ew7cqr.js → instance-c3kepfq8.js} +1 -1
- package/dist/chunks/{kv-v4wxntct.js → instance-c6cqrv02.js} +11 -11
- package/dist/chunks/{kv-jmqs6zxy.js → instance-cdd71vqt.js} +37 -37
- package/dist/chunks/{kv-cfpkc3c9.js → instance-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-b63ht0s6.js → instance-cgjdea0z.js} +20 -20
- package/dist/chunks/{kv-qz49fwgp.js → instance-cpy6gm2a.js} +4 -4
- package/dist/chunks/{kv-59qrh9ax.js → instance-ctbddv3x.js} +19 -19
- package/dist/chunks/{kv-98bbrenc.js → instance-cwxc4gr4.js} +16 -16
- package/dist/chunks/{kv-gr5gf9xe.js → instance-cz0yq1r5.js} +13 -13
- package/dist/chunks/{kv-t8bhz2vr.js → instance-dc76j9wz.js} +8 -8
- package/dist/chunks/{kv-ezn8zr4k.js → instance-dcj77ap2.js} +1 -1
- package/dist/chunks/{kv-e1czfjpt.js → instance-dczqr3tw.js} +17 -17
- package/dist/chunks/{kv-1a6p2twq.js → instance-dfe8djrf.js} +4 -4
- package/dist/chunks/{kv-m8rz97y9.js → instance-e1pbcaz3.js} +16 -16
- package/dist/chunks/{kv-6x37xp33.js → instance-e2ktfq78.js} +22 -22
- package/dist/chunks/{kv-q4vcefqv.js → instance-e3kfg8te.js} +11 -11
- package/dist/chunks/{kv-f5xpd0e7.js → instance-e4vf26f2.js} +39 -39
- package/dist/chunks/{kv-nhy5jxhy.js → instance-e82z9tr0.js} +7 -7
- package/dist/chunks/{kv-eaj1djv9.js → instance-eaj1djv9.js} +1 -1
- package/dist/chunks/{kv-d38t1zvd.js → instance-ebd64nsa.js} +15 -15
- package/dist/chunks/{kv-qpny3c6v.js → instance-egwjr9wj.js} +21 -21
- package/dist/chunks/{kv-zxxfqb5b.js → instance-eh0vk0nd.js} +11 -11
- package/dist/chunks/{kv-wzq4pq7r.js → instance-eq4db09p.js} +9 -9
- package/dist/chunks/{kv-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-tn0aqsam.js → instance-evbgk2k8.js} +5 -5
- package/dist/chunks/{kv-yp2x3t23.js → instance-f2n192rq.js} +4 -4
- package/dist/chunks/{kv-g190xswt.js → instance-f3ngv102.js} +4 -4
- package/dist/chunks/{kv-f828m53h.js → instance-f828m53h.js} +2 -2
- package/dist/chunks/{kv-dvvjdwja.js → instance-f8sfb1xa.js} +43 -43
- package/dist/chunks/{kv-m6qnr7jw.js → instance-fb49k8r9.js} +15 -15
- package/dist/chunks/{kv-kzd68pqg.js → instance-ff0htmxq.js} +6 -6
- package/dist/chunks/{kv-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-pmk1pqd6.js → instance-fzz1ppzm.js} +4 -4
- package/dist/chunks/{kv-992nrvv2.js → instance-g4qa8rgv.js} +7 -7
- package/dist/chunks/{kv-gmqjg5t3.js → instance-gaenrpkk.js} +88 -88
- package/dist/chunks/{kv-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-rmk2c50f.js → instance-gebtr55s.js} +5 -5
- package/dist/chunks/{kv-m2d0j7c0.js → instance-gsx0ryk4.js} +9 -9
- package/dist/chunks/{kv-fafk78t6.js → instance-gy5rmdef.js} +8 -8
- package/dist/chunks/{kv-5ta5rkt1.js → instance-gztqh0zw.js} +15 -15
- package/dist/chunks/{kv-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-1ze9rnbj.js → instance-hbhtg0wg.js} +12 -12
- package/dist/chunks/{kv-979jzsrn.js → instance-hm0vq5pv.js} +3 -3
- package/dist/chunks/{kv-dam6jesc.js → instance-hpnxyswt.js} +15 -15
- package/dist/chunks/{kv-g8few7yj.js → instance-hrefkxfb.js} +18 -18
- package/dist/chunks/{kv-11xwek3f.js → instance-htjr2jsf.js} +15 -15
- package/dist/chunks/{kv-9v1bvhx1.js → instance-htq8vem7.js} +33 -33
- package/dist/chunks/{kv-8jjhk1q2.js → instance-hwgmy1nm.js} +23 -23
- package/dist/chunks/{kv-x82mgsnk.js → instance-hwh1rkay.js} +1 -1
- package/dist/chunks/{kv-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-kge3p68p.js → instance-jp567p5q.js} +23 -23
- package/dist/chunks/{kv-pzb7ssjr.js → instance-jpdv4j7q.js} +27 -27
- package/dist/chunks/{kv-gst7axd9.js → instance-jvf3yq6v.js} +4 -4
- package/dist/chunks/{kv-wk5z6jzv.js → instance-jwx4y25k.js} +8 -8
- package/dist/chunks/{kv-kgxz8xde.js → instance-jx7qxkfa.js} +12 -12
- package/dist/chunks/{kv-k1867beh.js → instance-k7ms9p37.js} +9 -9
- package/dist/chunks/{kv-576fhmq5.js → instance-k8re6p8h.js} +15 -15
- package/dist/chunks/{kv-kg06axw8.js → instance-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-37pkes6r.js → instance-kgp7vr2h.js} +36 -36
- package/dist/chunks/{kv-hx55d56e.js → instance-kmv022h3.js} +1 -1
- package/dist/chunks/{kv-98wca9vv.js → instance-ktb8qv4m.js} +13 -13
- package/dist/chunks/{kv-b6xmsvfe.js → instance-kw732hfc.js} +23 -23
- package/dist/chunks/{kv-jmpfmt8q.js → instance-kztjw4ps.js} +12 -12
- package/dist/chunks/{kv-fj3qsqhh.js → instance-m12hp6p6.js} +3 -3
- package/dist/chunks/{kv-pepqf6ga.js → instance-m5m2byhr.js} +22 -22
- package/dist/chunks/{kv-qj0wk3h6.js → instance-m658jftz.js} +9 -9
- package/dist/chunks/{kv-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-73tb2d7t.js → instance-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-va68n4y2.js → instance-mr7f4zr7.js} +26 -26
- package/dist/chunks/{kv-n3fvjmy7.js → instance-mscy8054.js} +9 -9
- package/dist/chunks/{kv-rckresz4.js → instance-msd3nfsh.js} +6 -6
- package/dist/chunks/{kv-n91raeq2.js → instance-n1wztqq6.js} +2 -2
- package/dist/chunks/{kv-b3xeh6c9.js → instance-n23hwv43.js} +10 -10
- package/dist/chunks/{kv-b5kvjmnm.js → instance-ncc2gq8r.js} +11 -11
- package/dist/chunks/{kv-ead3g9p8.js → instance-nxhqveyz.js} +5 -5
- package/dist/chunks/{kv-9r3t3x4q.js → instance-nz4732ve.js} +5 -5
- package/dist/chunks/{kv-4zph1b4r.js → instance-p1p8k1ef.js} +2 -2
- package/dist/chunks/{kv-79fkffh7.js → instance-p7xz3n9p.js} +18 -18
- package/dist/chunks/{kv-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{kv-fy32pdpb.js → instance-pz6pfz31.js} +11 -11
- package/dist/chunks/{kv-qpxqmgt2.js → instance-q5j1bp2v.js} +4 -4
- package/dist/chunks/{kv-khbrytmr.js → instance-q6a3er2p.js} +18 -18
- package/dist/chunks/{kv-qtmr6th1.js → instance-q6ykya8e.js} +39 -39
- package/dist/chunks/{kv-swe4yj3v.js → instance-q8ym26hm.js} +10 -10
- package/dist/chunks/{kv-gey3b743.js → instance-qcfsefxz.js} +2 -2
- package/dist/chunks/{kv-s3r3b7q0.js → instance-qfp8jhvv.js} +8 -8
- package/dist/chunks/{kv-zdeqbp5y.js → instance-qh1ybmbw.js} +40 -40
- package/dist/chunks/{kv-386yacj4.js → instance-qk6tq941.js} +2 -2
- package/dist/chunks/{kv-vmq7ehpy.js → instance-qn4ba14w.js} +5 -5
- package/dist/chunks/{kv-ktqs2y9f.js → instance-qprd5bsr.js} +34 -34
- package/dist/chunks/{kv-rh0baf1b.js → instance-qs8d7aj9.js} +17 -17
- package/dist/chunks/{kv-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-g9gcz8s8.js → instance-qt7rgn5q.js} +38 -38
- package/dist/chunks/{kv-71d1h0hm.js → instance-qvnmx2mh.js} +33 -33
- package/dist/chunks/{kv-v6ee2h3v.js → instance-r06n6mdt.js} +9 -9
- package/dist/chunks/{kv-r9mregkx.js → instance-r9mregkx.js} +2 -2
- package/dist/chunks/{kv-zx4zts51.js → instance-reebgg6a.js} +47 -47
- package/dist/chunks/{kv-w79zsp0s.js → instance-rfnzy394.js} +1 -1
- package/dist/chunks/{kv-hw39y2t2.js → instance-rh63tm4e.js} +6 -6
- package/dist/chunks/{kv-sp3462fq.js → instance-rj04r327.js} +23 -23
- package/dist/chunks/{kv-5xcehd92.js → instance-rxfnx53z.js} +28 -28
- package/dist/chunks/{kv-a2ew8a62.js → instance-ryr25ayn.js} +4 -4
- package/dist/chunks/{kv-njyck951.js → instance-rz0qknjf.js} +1 -1
- package/dist/chunks/{kv-vt44rdpy.js → instance-s4anq1bw.js} +4 -4
- package/dist/chunks/{kv-xg9t41r3.js → instance-s8610hey.js} +2 -2
- package/dist/chunks/{kv-h5e4r8jw.js → instance-s9269tm1.js} +44 -44
- package/dist/chunks/{kv-ccgygnta.js → instance-sc4tqsmf.js} +3 -3
- package/dist/chunks/{kv-baymfvbz.js → instance-sefvx11y.js} +4 -4
- package/dist/chunks/{kv-cwx08fmw.js → instance-sz14040b.js} +28 -28
- package/dist/chunks/{kv-z7xewpzj.js → instance-t02gjz1k.js} +8 -8
- package/dist/chunks/{kv-vxfhm8bf.js → instance-t1fx2e77.js} +7 -7
- package/dist/chunks/{kv-yt2qvb82.js → instance-t69nnh3p.js} +4 -4
- package/dist/chunks/{kv-ev7pw2j0.js → instance-t6msp11s.js} +6 -6
- package/dist/chunks/{kv-hthfj41c.js → instance-t7qt7tsq.js} +4 -4
- package/dist/chunks/{kv-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{kv-th5km1p3.js → instance-th5km1p3.js} +2 -2
- package/dist/chunks/{kv-zbb7c5wr.js → instance-tkdeev4y.js} +21 -21
- package/dist/chunks/{kv-54envfdg.js → instance-tmc6cqr1.js} +8 -8
- package/dist/chunks/{kv-34pkvy5y.js → instance-trz99jr3.js} +30 -30
- package/dist/chunks/{kv-py5wtr6h.js → instance-tsw5vdbk.js} +7 -7
- package/dist/chunks/{kv-b49wezdf.js → instance-tt9qh18q.js} +16 -16
- package/dist/chunks/{kv-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-45h5n6eh.js → instance-tw2jnezv.js} +9 -9
- package/dist/chunks/{kv-20y2msxf.js → instance-v2m40jqb.js} +26 -26
- package/dist/chunks/{kv-3xjx3nnr.js → instance-v44bh1q6.js} +14 -14
- package/dist/chunks/{kv-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-nygmpey9.js → instance-vhek6w9n.js} +16 -16
- package/dist/chunks/{kv-mg3wmayr.js → instance-vkpj7gz2.js} +5 -5
- package/dist/chunks/{kv-gqawmzqm.js → instance-vkt5fbj2.js} +8 -8
- package/dist/chunks/{kv-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-paegk39x.js → instance-w1k39n5e.js} +4 -4
- package/dist/chunks/{kv-0yz71n10.js → instance-w1w0h0f3.js} +19 -19
- package/dist/chunks/{kv-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-pasxfhjk.js → instance-w5avqc4c.js} +7 -7
- package/dist/chunks/{kv-5b2ja83v.js → instance-w65exc3e.js} +7 -7
- package/dist/chunks/{kv-mrn7qyex.js → instance-w6mexamk.js} +9 -9
- package/dist/chunks/{kv-yhpgskpg.js → instance-wc04nxwd.js} +163 -163
- package/dist/chunks/{kv-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{kv-thtv50x5.js → instance-wf01ajmr.js} +9 -9
- package/dist/chunks/{kv-d8j2ny38.js → instance-wfdys92q.js} +27 -27
- package/dist/chunks/{kv-1h6gjd8c.js → instance-wj7qkkw3.js} +30 -30
- package/dist/chunks/{kv-n1r2whpk.js → instance-wmarrwkd.js} +42 -42
- package/dist/chunks/{kv-qwkytnft.js → instance-wqkncbjv.js} +3 -3
- package/dist/chunks/{kv-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-2kty7x0k.js → instance-xzgs3hrm.js} +34 -34
- package/dist/chunks/{kv-d0vn5wzd.js → instance-xzxpqg3d.js} +26 -26
- package/dist/chunks/{kv-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-5h4p6p65.js → instance-y5ymnhx1.js} +32 -32
- package/dist/chunks/{kv-y71avatq.js → instance-y71avatq.js} +1 -1
- package/dist/chunks/{kv-c09xw0p7.js → instance-yd6hd2a1.js} +29 -29
- package/dist/chunks/{kv-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → instance-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-47r3zz0x.js → instance-z7xj2rat.js} +1 -1
- package/dist/chunks/instance-z926abd4.js +4 -0
- package/dist/chunks/{kv-ax7cneaf.js → instance-z99anz7q.js} +13 -13
- package/dist/chunks/{kv-n017zbq8.js → instance-zbhy9hv2.js} +13 -13
- package/dist/chunks/{kv-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-7nff8x50.js → instance-zgtva3a0.js} +24 -24
- package/dist/chunks/{kv-j41a475f.js → instance-zj91daq9.js} +11 -11
- package/dist/chunks/{kv-711jmqzf.js → instance-zqmn5v3j.js} +3 -3
- package/dist/chunks/{kv-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-mymqxebx.js → instance-zsqve7wd.js} +8 -8
- package/dist/chunks/{kv-tph2fk4h.js → instance-zw4px37v.js} +9 -9
- package/dist/chunks/{kv-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-8w7wj211.js → instance-zzhy6shz.js} +67 -67
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +95 -95
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- 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 +120 -120
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- 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 +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/kv-0kwcw7fy.js +0 -4
- package/dist/chunks/kv-18nhnycp.js +0 -22
- package/dist/chunks/kv-715d9qs0.js +0 -247
- package/dist/chunks/kv-pf31ssb9.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-paphc93g.js → instance-paphc93g.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./instance-e1pbcaz3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./instance-k8re6p8h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./instance-e2ktfq78.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./instance-94nfxf8g.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-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: () => Input10,
|
|
36
|
+
Plugin: () => Plugin41,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
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 name10 = "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 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin41 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service17;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
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: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin3 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(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)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent5 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name10, Input10, Plugin41, toModelContent5, exports_read };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./instance-e1pbcaz3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service16,
|
|
10
|
+
node19
|
|
11
|
+
} from "./instance-p7xz3n9p.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node18,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service16;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service15.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service15.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node81, node19] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node18 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./instance-s9269tm1.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service51
|
|
13
|
+
} from "./instance-rj04r327.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service59
|
|
16
|
+
} from "./instance-qs8d7aj9.js";
|
|
17
17
|
import {
|
|
18
18
|
Service71
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-yd6hd2a1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-k8re6p8h.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service70,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-w1w0h0f3.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError4,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service37
|
|
37
|
+
} from "./instance-reebgg6a.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./instance-a9yaghht.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instance-53x3k2qp.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./instance-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin33,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin33 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service24;
|
|
122
|
+
const jobs = yield* Service59;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service51;
|
|
125
|
+
const access = yield* Service17;
|
|
126
|
+
const shell = yield* Service37;
|
|
127
|
+
const shellSelect = yield* Service70;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
129
|
const permission = yield* Service71;
|
|
130
|
-
const config = yield*
|
|
130
|
+
const config = yield* Service48;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin8 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name2,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin8 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name2,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input2,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name2,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name2];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin33, exports_shell2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-2f04pwep.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./instance-e1pbcaz3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./instance-rj04r327.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./instance-afxp662r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-4avx5zv7.js";
|
|
20
20
|
import {
|
|
21
21
|
Service71
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-yd6hd2a1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-k8re6p8h.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin37 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
111
|
+
const environment = yield* Service51;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service76;
|
|
116
116
|
const permission = yield* Service71;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin13 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name6, Input6, Applied2, Output4, toModelContent3, Plugin37, exports_patch };
|