@opencode-ai/core 0.0.0-dev-19148 → 0.0.0-dev-19152
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{location-service-map-bbmnfd9a.js → git-01ns8z8m.js} +14 -14
- package/dist/chunks/{location-service-map-jcs5m68w.js → git-02nqpn9k.js} +19 -19
- package/dist/chunks/{location-service-map-hdeag583.js → git-03trxjpd.js} +22 -22
- package/dist/chunks/{location-service-map-5gdkses6.js → git-03v82kyy.js} +10 -10
- package/dist/chunks/{location-service-map-0e0xafbb.js → git-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-service-map-r9n9aa8b.js → git-0ez61b8c.js} +2 -2
- package/dist/chunks/{location-service-map-v01argkf.js → git-0fgbm3tz.js} +25 -25
- package/dist/chunks/{location-service-map-06qbn9zd.js → git-0k45et74.js} +9 -9
- package/dist/chunks/{location-service-map-m3550wrf.js → git-0nwt5npc.js} +2 -2
- package/dist/chunks/{location-service-map-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-zj32m2et.js → git-0qhj2dys.js} +16 -16
- package/dist/chunks/{location-service-map-0s9ayhjt.js → git-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-service-map-34xzfs1b.js → git-0twy4jn9.js} +11 -11
- package/dist/chunks/{location-service-map-4s85dwcq.js → git-0x2ny62j.js} +19 -19
- package/dist/chunks/{location-service-map-b1whx416.js → git-0z2q6qd2.js} +31 -31
- package/dist/chunks/{location-service-map-qvy9613d.js → git-0zyzm3y4.js} +20 -20
- package/dist/chunks/{location-service-map-r0msr716.js → git-11tw25g0.js} +4 -4
- package/dist/chunks/{location-service-map-h9gn2f9p.js → git-14hmenm3.js} +3 -3
- package/dist/chunks/{location-service-map-eq1pz5kg.js → git-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-service-map-1ct4r87x.js → git-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-service-map-1cn285vq.js → git-1jk1zpn7.js} +15 -15
- package/dist/chunks/{location-service-map-zn99fp6v.js → git-1tda89k7.js} +13 -13
- package/dist/chunks/{location-service-map-hbdj4dt2.js → git-1yrh2hz8.js} +14 -14
- package/dist/chunks/{location-service-map-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-tb55j0q1.js → git-2239fvjv.js} +7 -7
- package/dist/chunks/{location-service-map-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{location-service-map-26bgett0.js → git-256zxpde.js} +9 -9
- package/dist/chunks/{location-service-map-6e958v7x.js → git-28pcbh69.js} +4 -4
- package/dist/chunks/{location-service-map-z63w68vq.js → git-29x78va6.js} +6 -6
- package/dist/chunks/{location-service-map-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-3ktfk1t2.js → git-2f60pf4m.js} +4 -4
- package/dist/chunks/{location-service-map-2ht70gj7.js → git-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-service-map-fq756qpp.js → git-2hyswaq2.js} +25 -25
- package/dist/chunks/{location-service-map-kxpygcw9.js → git-2jmaghvr.js} +4 -4
- package/dist/chunks/{location-service-map-2jqmte8w.js → git-2jqmte8w.js} +2 -2
- package/dist/chunks/{location-service-map-xr5vwsd4.js → git-2rcn8zjb.js} +2 -2
- package/dist/chunks/{location-service-map-4fqze2qj.js → git-2tb9hyx2.js} +11 -11
- package/dist/chunks/{location-service-map-6dbgywry.js → git-2tm39pz1.js} +13 -13
- package/dist/chunks/{location-service-map-t07aqm32.js → git-357rxt8c.js} +24 -24
- package/dist/chunks/{location-service-map-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-yswn773t.js → git-3fh1yz3r.js} +46 -46
- package/dist/chunks/{location-service-map-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-5njwjxt6.js → git-3jb0x30q.js} +10 -10
- package/dist/chunks/{location-service-map-rh8zvq4z.js → git-3mpn79e8.js} +88 -88
- package/dist/chunks/{location-service-map-3qzbfqsy.js → git-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-service-map-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-wbwz2vz2.js → git-3tqdhrak.js} +8 -8
- package/dist/chunks/{location-service-map-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-rcgkk9bt.js → git-3vsz3p7m.js} +9 -9
- package/dist/chunks/{location-service-map-f9anq697.js → git-3wfq9j39.js} +10 -10
- package/dist/chunks/{location-service-map-711hfp6y.js → git-3x6030n9.js} +2 -2
- package/dist/chunks/{location-service-map-w4600456.js → git-42tkewwq.js} +10 -6
- package/dist/chunks/{location-service-map-454k5vzh.js → git-454k5vzh.js} +1 -1
- package/dist/chunks/{location-service-map-kd8v050h.js → git-48ajhrad.js} +12 -12
- package/dist/chunks/{location-service-map-ke05zhk0.js → git-48pwx2w2.js} +2 -2
- package/dist/chunks/{location-service-map-wnp6vcex.js → git-49z5p9jd.js} +6 -6
- package/dist/chunks/{location-service-map-4r2nyarf.js → git-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-service-map-v8jtv36f.js → git-4w29j2bz.js} +27 -27
- package/dist/chunks/{location-service-map-hv939mdw.js → git-4w4v4hff.js} +10 -10
- package/dist/chunks/{location-service-map-bve5bdy4.js → git-4z6b0fg6.js} +6 -6
- package/dist/chunks/{location-service-map-1j3hrkr2.js → git-576eqkb7.js} +9 -9
- package/dist/chunks/{location-service-map-4hk62fah.js → git-5c6acc4z.js} +3 -3
- package/dist/chunks/{location-service-map-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-5fmxt4p5.js → git-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-service-map-5jvc5tg2.js → git-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-service-map-jfw3kf1b.js → git-5k3f87xj.js} +3 -3
- package/dist/chunks/{location-service-map-j935v87r.js → git-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-jejm9xps.js → git-5s6em07e.js} +25 -25
- package/dist/chunks/{location-service-map-4he2j10r.js → git-5xfzsdsy.js} +3 -3
- package/dist/chunks/{location-service-map-ssvfzqqs.js → git-64mbz47k.js} +6 -6
- package/dist/chunks/{location-service-map-yckmqyn2.js → git-6b40c87x.js} +10 -10
- package/dist/chunks/{location-service-map-npnkh76t.js → git-6c91nz2w.js} +6 -6
- package/dist/chunks/{location-service-map-yh9kry66.js → git-6ew8bvbb.js} +24 -24
- package/dist/chunks/{location-service-map-w0k1he6w.js → git-6g5f7dmn.js} +5 -5
- package/dist/chunks/{location-service-map-1xk0mwxe.js → git-6m2bw32x.js} +26 -26
- package/dist/chunks/{location-service-map-zjf1vt57.js → git-6pkw9ygr.js} +11 -11
- package/dist/chunks/{location-service-map-2rgv953f.js → git-6qmj2164.js} +16 -16
- package/dist/chunks/{location-service-map-jssmxfgq.js → git-6xaf4e55.js} +27 -27
- package/dist/chunks/{location-service-map-2d7153kf.js → git-6xppn8bd.js} +20 -20
- package/dist/chunks/{location-service-map-72nftnjy.js → git-72nftnjy.js} +2 -2
- package/dist/chunks/{location-service-map-774scpz9.js → git-75ydt1pr.js} +37 -37
- package/dist/chunks/{location-service-map-ccj0fzck.js → git-790wkyyc.js} +5 -5
- package/dist/chunks/{location-service-map-drxrg1v0.js → git-7ad5acx5.js} +10 -10
- package/dist/chunks/{location-service-map-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-service-map-dhtfc8dh.js → git-7mgtj72g.js} +13 -13
- package/dist/chunks/{location-service-map-qq8x5mwt.js → git-7sd9q442.js} +4 -4
- package/dist/chunks/{location-service-map-305k387t.js → git-86s3977f.js} +1 -1
- package/dist/chunks/git-88z38vzy.js +22 -0
- package/dist/chunks/{location-service-map-9bextr3s.js → git-89b0hn0k.js} +20 -20
- package/dist/chunks/{location-service-map-vz6qr5p1.js → git-8gtnf6t2.js} +6 -6
- package/dist/chunks/{location-service-map-zt5m6zxd.js → git-8k3x1tmb.js} +5 -5
- package/dist/chunks/{location-service-map-v7nee8yx.js → git-8t7rpfs0.js} +47 -47
- package/dist/chunks/{location-service-map-tppvcy65.js → git-8x14xe82.js} +7 -7
- package/dist/chunks/{location-service-map-4nxabq38.js → git-8yyhgdt3.js} +7 -7
- package/dist/chunks/{location-service-map-k4cqv5tf.js → git-91h1kd54.js} +34 -34
- package/dist/chunks/{location-service-map-3kx0c57q.js → git-94b080c3.js} +8 -8
- package/dist/chunks/{location-service-map-85d6r8k5.js → git-95t4wctn.js} +24 -24
- package/dist/chunks/{location-service-map-r89567m1.js → git-989d4g0q.js} +8 -8
- package/dist/chunks/{location-service-map-t6pqvm63.js → git-99kegj5v.js} +7 -7
- package/dist/chunks/{location-service-map-h722e297.js → git-99vgbsyy.js} +5 -5
- package/dist/chunks/{location-service-map-637qq8n2.js → git-9d4vrqc0.js} +9 -9
- package/dist/chunks/{location-service-map-mpy0vy60.js → git-9jtnr53s.js} +24 -24
- package/dist/chunks/{location-service-map-xprfjhwy.js → git-9p8m1ync.js} +15 -15
- package/dist/chunks/{location-service-map-t1pem4kq.js → git-9xrx0nj0.js} +18 -18
- package/dist/chunks/{location-service-map-9qfxk1ve.js → git-a2wkfh4c.js} +11 -11
- package/dist/chunks/{location-service-map-mwb1rh8h.js → git-a615ws19.js} +4 -4
- package/dist/chunks/{location-service-map-2wyksmet.js → git-a738ra00.js} +25 -25
- package/dist/chunks/{location-service-map-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-y1jf9cpr.js → git-ajeh18pz.js} +32 -32
- package/dist/chunks/{location-service-map-p1agt55m.js → git-am4pcxvr.js} +20 -20
- package/dist/chunks/{location-service-map-aqpaxnrv.js → git-asmayx9p.js} +13 -13
- package/dist/chunks/{location-service-map-wswvwwqg.js → git-av4m0z60.js} +34 -34
- package/dist/chunks/{location-service-map-dc7c5a2v.js → git-ay4nvzy9.js} +10 -10
- package/dist/chunks/{location-service-map-h6b1rn69.js → git-azgzp121.js} +166 -166
- package/dist/chunks/{location-service-map-ghrf58bv.js → git-b185tj8s.js} +3 -3
- package/dist/chunks/{location-service-map-1cngsnb6.js → git-b5gjhjfs.js} +20 -20
- package/dist/chunks/{location-service-map-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-nk2q8z3f.js → git-b7bn4zzd.js} +29 -29
- package/dist/chunks/{location-service-map-b9wsbatv.js → git-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-service-map-rjkxpsgg.js → git-bbdkjdrd.js} +11 -11
- package/dist/chunks/{location-service-map-khbq8y0e.js → git-bdzhwkq1.js} +8 -8
- package/dist/chunks/{location-service-map-j83byb14.js → git-bf0ztrs3.js} +4 -4
- package/dist/chunks/{location-service-map-6rs7g6rh.js → git-bp7pam25.js} +8 -8
- package/dist/chunks/{location-service-map-je9hks3h.js → git-bphmvjfp.js} +5 -5
- package/dist/chunks/{location-service-map-h7av1qnn.js → git-bpvetzyt.js} +14 -14
- package/dist/chunks/{location-service-map-2sqcrgzp.js → git-bsgbf39w.js} +14 -14
- package/dist/chunks/{location-service-map-wztj94nr.js → git-cfmkmvf9.js} +3 -3
- package/dist/chunks/{location-service-map-vpy2en2a.js → git-cnpjj00n.js} +32 -32
- package/dist/chunks/{location-service-map-x4bfd8a5.js → git-cpcypa0y.js} +9 -9
- package/dist/chunks/{location-service-map-zbnhqhy2.js → git-dcavesng.js} +5 -5
- package/dist/chunks/{location-service-map-wa5x9jhc.js → git-dchnan0w.js} +13 -13
- package/dist/chunks/{location-service-map-w50kyf6f.js → git-dde5yshk.js} +50 -50
- package/dist/chunks/{location-service-map-padredns.js → git-de7edjxw.js} +23 -23
- package/dist/chunks/{location-service-map-nmyxnhrv.js → git-dgp4s6zg.js} +3 -3
- package/dist/chunks/{location-service-map-7qyqz0tn.js → git-dmj0gzeb.js} +36 -36
- package/dist/chunks/{location-service-map-tmxxvs2x.js → git-dn1bcd64.js} +16 -16
- package/dist/chunks/git-e3ze3pba.js +4 -0
- package/dist/chunks/{location-service-map-y6apgg1j.js → git-e5b0qn1c.js} +1 -1
- package/dist/chunks/{location-service-map-1r54br2e.js → git-e993tk0q.js} +9 -9
- package/dist/chunks/{location-service-map-ntdby5a8.js → git-efc5hrs6.js} +11 -11
- package/dist/chunks/{location-service-map-g3abhybn.js → git-eh2mpbhy.js} +31 -31
- package/dist/chunks/{location-service-map-8rq2gk94.js → git-eh802jd0.js} +71 -71
- package/dist/chunks/{location-service-map-b6f3m773.js → git-ejwtzsrd.js} +13 -13
- package/dist/chunks/{location-service-map-pzhbq0pe.js → git-em41q4xm.js} +41 -41
- package/dist/chunks/{location-service-map-k66gpt8e.js → git-enc6jm7h.js} +9 -9
- package/dist/chunks/{location-service-map-yhe2m301.js → git-eqe7bhk4.js} +33 -33
- package/dist/chunks/{location-service-map-42yj134d.js → git-ewbbbgk7.js} +35 -35
- package/dist/chunks/{location-service-map-ymvww241.js → git-ewjppg9k.js} +22 -22
- package/dist/chunks/{location-service-map-n8perk2c.js → git-ewvwwfm6.js} +20 -20
- package/dist/chunks/{location-service-map-jyxp5v4e.js → git-f69meha8.js} +11 -11
- package/dist/chunks/{location-service-map-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-fxypknc8.js → git-fxypknc8.js} +1 -1
- package/dist/chunks/{location-service-map-bggmj1hg.js → git-fz7f4s5e.js} +13 -13
- package/dist/chunks/{location-service-map-g2dy4bvs.js → git-g2dy4bvs.js} +3 -3
- package/dist/chunks/{location-service-map-g2gt0w0k.js → git-g2gt0w0k.js} +2 -2
- package/dist/chunks/git-g3dk9xws.js +460 -0
- package/dist/chunks/{location-service-map-j7a4wd22.js → git-g41n1fn3.js} +5 -5
- package/dist/chunks/{location-service-map-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-0p7avtcr.js → git-gfs7stvq.js} +42 -42
- package/dist/chunks/{location-service-map-30tfae0y.js → git-ggk96kdt.js} +4 -4
- package/dist/chunks/{location-service-map-pbx4fq0c.js → git-gh7ynw45.js} +32 -32
- package/dist/chunks/{location-service-map-sx71jems.js → git-h25e6w8y.js} +11 -11
- package/dist/chunks/{location-service-map-af95cbph.js → git-h2xm238p.js} +41 -41
- package/dist/chunks/{location-service-map-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-w8c40dj8.js → git-hawqa09c.js} +2 -2
- package/dist/chunks/{location-service-map-heyhwy2w.js → git-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-service-map-93a8yfjt.js → git-hhpzk61m.js} +2 -2
- package/dist/chunks/git-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-service-map-0w5rjm18.js → git-j0bvmw6p.js} +39 -39
- package/dist/chunks/{location-service-map-s8jnn1en.js → git-j20qt8ny.js} +11 -11
- package/dist/chunks/{location-service-map-c5nvwva5.js → git-j3x781zd.js} +28 -28
- package/dist/chunks/{location-service-map-33vth67a.js → git-jfzpv47d.js} +18 -18
- package/dist/chunks/{location-service-map-3s21hx6e.js → git-jgwcdxcs.js} +56 -56
- package/dist/chunks/{location-service-map-n3jkd22a.js → git-jj3qxa52.js} +4 -4
- package/dist/chunks/{location-service-map-5jv3vqzx.js → git-jndv8ypt.js} +29 -29
- package/dist/chunks/{location-service-map-6mbcg25b.js → git-jy77g1jk.js} +34 -34
- package/dist/chunks/{location-service-map-fm2qvscf.js → git-jzvp32eb.js} +4 -4
- package/dist/chunks/{location-service-map-x5hde6ee.js → git-k01ak1rc.js} +4 -4
- package/dist/chunks/{location-service-map-cwpgvrxg.js → git-k28yxd6c.js} +20 -20
- package/dist/chunks/{location-service-map-k4bwy1x5.js → git-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-service-map-g1efgppa.js → git-k9snrmvg.js} +23 -23
- package/dist/chunks/{location-service-map-t00n1yfv.js → git-kcv7778q.js} +8 -8
- package/dist/chunks/{location-service-map-rmdavfxa.js → git-kebpsn0t.js} +20 -20
- package/dist/chunks/{location-service-map-kg06axw8.js → git-kg06axw8.js} +1 -1
- package/dist/chunks/{location-service-map-yfbd16n1.js → git-kk3rr3qh.js} +5 -5
- package/dist/chunks/{location-service-map-wx7kwpmt.js → git-kp3pprh7.js} +41 -41
- package/dist/chunks/{location-service-map-hw4pv20g.js → git-kvsjn1dr.js} +2 -2
- package/dist/chunks/{location-service-map-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-s0qrzs9n.js → git-mab9d0v5.js} +22 -22
- package/dist/chunks/{location-service-map-bwt96rmt.js → git-mcxg6pmm.js} +1 -1
- package/dist/chunks/{location-service-map-742et1pq.js → git-mkanh8av.js} +7 -7
- package/dist/chunks/{location-service-map-5sg4xzjf.js → git-mkyvm1mp.js} +84 -70
- package/dist/chunks/{location-service-map-ych9xzme.js → git-mmj3jx9j.js} +18 -18
- package/dist/chunks/{location-service-map-6t4qscpp.js → git-n8xc4bye.js} +22 -22
- package/dist/chunks/{location-service-map-emcanb2k.js → git-nnv36dam.js} +32 -32
- package/dist/chunks/{location-service-map-88xjs5sb.js → git-nzk95x83.js} +21 -21
- package/dist/chunks/{location-service-map-hefhysf4.js → git-paap86ds.js} +59 -59
- package/dist/chunks/{location-service-map-mtb0v59f.js → git-pfhdk2d4.js} +37 -37
- package/dist/chunks/{location-service-map-r71sk144.js → git-pfnxmpv6.js} +5 -5
- package/dist/chunks/{location-service-map-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-2d84wbrn.js → git-q93h2s66.js} +23 -23
- package/dist/chunks/{location-service-map-5pgcnsdx.js → git-q9t1pswy.js} +29 -29
- package/dist/chunks/{location-service-map-03ptcy8q.js → git-qcnqc9zy.js} +14 -14
- package/dist/chunks/{location-service-map-wybz6hrf.js → git-qd1dw6kz.js} +9 -9
- package/dist/chunks/{location-service-map-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-x4wv9fw4.js → git-qta1pbte.js} +13 -13
- package/dist/chunks/{location-service-map-qvbcabdc.js → git-qvbcabdc.js} +2 -2
- package/dist/chunks/{location-service-map-8n1tzgm3.js → git-qyhzj9g1.js} +1 -1
- package/dist/chunks/{location-service-map-58ny9r5s.js → git-qzw8yrfq.js} +87 -87
- package/dist/chunks/{location-service-map-r8dhm0tv.js → git-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-service-map-kss3zgg4.js → git-rc2f37hd.js} +4 -4
- package/dist/chunks/{location-service-map-a4zgtt71.js → git-rdsqqr2s.js} +17 -17
- package/dist/chunks/{location-service-map-ytf4r5bp.js → git-rft8amsn.js} +11 -11
- package/dist/chunks/{location-service-map-g1aevtqk.js → git-rmy3e5eg.js} +3 -3
- package/dist/chunks/{location-service-map-2a1acymz.js → git-rpstmqvz.js} +8 -8
- package/dist/chunks/{location-service-map-c3739vpd.js → git-rq5pxryv.js} +20 -20
- package/dist/chunks/{location-service-map-8n4wb1gp.js → git-rzsjt7my.js} +18 -18
- package/dist/chunks/{location-service-map-0g6sf9st.js → git-s0vczy7e.js} +28 -28
- package/dist/chunks/{location-service-map-famd3pv6.js → git-s141a68e.js} +2 -2
- package/dist/chunks/{location-service-map-4ex15pvw.js → git-s3eqpch7.js} +1 -1
- package/dist/chunks/{location-service-map-w3jym6ha.js → git-saak5ttd.js} +9 -9
- package/dist/chunks/{location-service-map-sba4qhjf.js → git-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-service-map-mb2xgx49.js → git-snakeby2.js} +14 -14
- package/dist/chunks/{location-service-map-m9wp1512.js → git-snxw7857.js} +6 -6
- package/dist/chunks/{location-service-map-t6xnk39e.js → git-sskteryb.js} +8 -8
- package/dist/chunks/{location-service-map-b3wd6krr.js → git-swp4cd5a.js} +13 -13
- package/dist/chunks/{location-service-map-t45hhd0m.js → git-sxyem01p.js} +28 -28
- package/dist/chunks/{location-service-map-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-kbj2dgab.js → git-tdpndm1c.js} +5 -5
- package/dist/chunks/{location-service-map-139hay1k.js → git-thre64ft.js} +26 -26
- package/dist/chunks/{location-service-map-tjykrgmx.js → git-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-service-map-646rggwr.js → git-tzw81pya.js} +7 -7
- package/dist/chunks/{location-service-map-8rxwk6s8.js → git-v08zexc0.js} +10 -10
- package/dist/chunks/{location-service-map-z3xgatyd.js → git-vep9yay1.js} +4 -4
- package/dist/chunks/{location-service-map-mkhaqzvs.js → git-vy6f12p8.js} +28 -28
- package/dist/chunks/{location-service-map-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-re9ss62v.js → git-wgxn7ww3.js} +4 -4
- package/dist/chunks/{location-service-map-4v5fevzd.js → git-wv35vjx4.js} +4 -4
- package/dist/chunks/{location-service-map-8gyx1w2m.js → git-wyydh2b2.js} +11 -11
- package/dist/chunks/{location-service-map-bg6s5wh8.js → git-x0w2mwfz.js} +21 -21
- package/dist/chunks/{location-service-map-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-rpjwm3hx.js → git-xky9ppev.js} +15 -15
- package/dist/chunks/{location-service-map-j6cmfp9d.js → git-xpqkh19y.js} +10 -10
- package/dist/chunks/{location-service-map-nztqyx29.js → git-xqfjvwcm.js} +12 -12
- package/dist/chunks/{location-service-map-sms1b131.js → git-xqsy6kp0.js} +1 -1
- package/dist/chunks/{location-service-map-vqrbp603.js → git-xqych8xx.js} +26 -26
- package/dist/chunks/{location-service-map-9s7vkc9y.js → git-xtcz8ppp.js} +27 -27
- package/dist/chunks/{location-service-map-wzv8aag1.js → git-y01np14z.js} +17 -17
- package/dist/chunks/{location-service-map-qe2f72y1.js → git-y10z6ja5.js} +15 -15
- package/dist/chunks/{location-service-map-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-3nyamjvt.js → git-y2ccy3rm.js} +11 -11
- package/dist/chunks/{location-service-map-xbph54b9.js → git-y3pv78j9.js} +4 -4
- package/dist/chunks/{location-service-map-sd2gs3s8.js → git-y5dvpqkh.js} +46 -46
- package/dist/chunks/{location-service-map-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-x4mvr2jw.js → git-yaec1nge.js} +7 -7
- package/dist/chunks/{location-service-map-yg7sb877.js → git-yg7sb877.js} +2 -2
- package/dist/chunks/{location-service-map-we0g4f80.js → git-ygd99mp3.js} +11 -11
- package/dist/chunks/{location-service-map-thcxaxg6.js → git-ykcesz1b.js} +4 -4
- package/dist/chunks/{location-service-map-49r71nez.js → git-yrmm4d0n.js} +32 -32
- package/dist/chunks/{location-service-map-bz49fxc8.js → git-yt248q8q.js} +6 -6
- package/dist/chunks/{location-service-map-3gz3fae6.js → git-ytqcjkjx.js} +6 -6
- package/dist/chunks/{location-service-map-qyqf3spn.js → git-z109bg2r.js} +33 -33
- package/dist/chunks/{location-service-map-z1k01bn4.js → git-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-service-map-1xdzyqy5.js → git-z56ty9r2.js} +17 -17
- package/dist/chunks/{location-service-map-rktzyqm1.js → git-z8f0y67p.js} +17 -17
- package/dist/chunks/{location-service-map-2ymxpdsa.js → git-zeapr5n1.js} +11 -11
- package/dist/chunks/{location-service-map-gc2czm5n.js → git-zhyn27n2.js} +31 -31
- package/dist/chunks/git-zjbrkj3w.js +247 -0
- package/dist/chunks/{location-service-map-z3jc06sm.js → git-zn2pq4p8.js} +5 -5
- package/dist/chunks/{location-service-map-553dkgs2.js → git-zpwsjmm7.js} +16 -16
- package/dist/chunks/{location-service-map-e2meq0rc.js → git-zwasfec5.js} +26 -26
- package/dist/chunks/{location-service-map-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-xchzmsnd.js → git-zypqn6cf.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- 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 +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +7 -7
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- 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 +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- 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 +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +2 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +99 -99
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +112 -112
- 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 +15 -15
- package/dist/types/plugin/system-prompt.d.ts +1 -2
- package/dist/types/session/system-prompt.d.ts +1 -0
- 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 +7 -7
- 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 +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/location-service-map-54837pgm.js +0 -247
- package/dist/chunks/location-service-map-7zk4hah4.js +0 -4
- package/dist/chunks/location-service-map-by5v678g.js +0 -18
- package/dist/chunks/location-service-map-e9xse5em.js +0 -22
- package/dist/chunks/location-service-map-fqk2gtzq.js +0 -460
- /package/dist/chunks/{location-service-map-0fabt78z.js → git-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t738kvx.js → git-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-41nvscxy.js → git-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-982e01ww.js → git-982e01ww.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a1tpkmh4.js → git-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mntxs535.js → git-mntxs535.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-p8qxwesx.js → git-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-se0s1eqw.js → git-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x1b8g1yb.js → git-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → git-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-service-map-zbjnn3ac.js → git-zbjnn3ac.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./git-0qhj2dys.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./git-nzk95x83.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./git-5s6em07e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./git-48ajhrad.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-enc6jm7h.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-wv35vjx4.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-bphmvjfp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make6
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make6 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service41;
|
|
58
|
+
const toolOutput = yield* Service38;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make6, exports_step };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-hawqa09c.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-k28yxd6c.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin15,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin15 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
31
|
const location = yield* Service76;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin15, exports_git };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
render3
|
|
3
|
+
} from "./git-42tkewwq.js";
|
|
1
4
|
import {
|
|
2
5
|
__export
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
4
7
|
|
|
5
8
|
// src/plugin/system-prompt.ts
|
|
6
9
|
var exports_system_prompt = {};
|
|
7
10
|
__export(exports_system_prompt, {
|
|
8
|
-
AnthropicPlugin: () => AnthropicPlugin2,
|
|
9
11
|
ArceePlugin: () => ArceePlugin2,
|
|
10
12
|
KimiPlugin: () => KimiPlugin2,
|
|
11
13
|
MetaPlugin: () => MetaPlugin2,
|
|
@@ -15,84 +17,97 @@ __export(exports_system_prompt, {
|
|
|
15
17
|
});
|
|
16
18
|
import { SystemPart } from "@opencode-ai/ai";
|
|
17
19
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
20
|
+
import { Model } from "@opencode-ai/schema/model";
|
|
18
21
|
import { Effect } from "effect";
|
|
19
22
|
|
|
20
|
-
// src/plugin/system-prompt/
|
|
21
|
-
var
|
|
23
|
+
// src/plugin/system-prompt/gpt.txt
|
|
24
|
+
var gpt_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
22
25
|
|
|
23
|
-
|
|
26
|
+
# Harness
|
|
27
|
+
- Responses are rendered as GitHub-flavored Markdown.
|
|
28
|
+
- \`<system-reminder>\` blocks are harness instructions, not user-authored content. Read and follow them.
|
|
29
|
+
- Prefer parallelizing independent tool calls.
|
|
30
|
+
\${OPENCODE_TOOL_GUIDANCE}
|
|
24
31
|
|
|
25
|
-
|
|
32
|
+
# Communication
|
|
26
33
|
|
|
27
|
-
|
|
28
|
-
- ctrl+p to list available actions
|
|
29
|
-
- To give feedback, users should report the issue at
|
|
30
|
-
https://github.com/anomalyco/opencode
|
|
34
|
+
Use clear file paths when referring to files. Keep responses clear and concise, and avoid unnecessary technical jargon.
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
## Intermediate Commentary
|
|
33
37
|
|
|
34
|
-
|
|
35
|
-
- Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.
|
|
36
|
-
- Your output will be displayed on a command line interface. Your responses should be short and concise. You can use GitHub-flavored markdown for formatting, and will be rendered in a monospace font using the CommonMark specification.
|
|
37
|
-
- Output text to communicate with the user; all text you output outside of tool use is displayed to the user. Only use tools to complete tasks. Never use tools like the shell tool or code comments as means to communicate with the user during the session.
|
|
38
|
-
- NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one. This includes markdown files.
|
|
38
|
+
As you work, you send messages to the commentary channel. These are how you collaborate with the user while you work: stating assumptions and providing updates. Keep them concise and quickly scannable, and send them only when they add real information, such as a discovery, a tradeoff, or a blocker. Do not narrate routine reads, searches, or edits.
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without any unnecessary superlatives, praise, or emotional validation. It is best for the user if OpenCode honestly applies the same rigorous standards to all ideas and disagrees when necessary, even if it may not be what the user wants to hear. Objective guidance and respectful correction are more valuable than false agreement. Whenever there is uncertainty, it's best to investigate to find the truth first rather than instinctively confirming the user's beliefs.
|
|
40
|
+
By default, treat new messages received during ongoing work as steering the active task rather than replacing it. Incorporate corrections and constraints, and answer questions briefly in commentary before continuing. Replace the task only when the user clearly cancels it or requests an incompatible objective.
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
The user will primarily request you perform software engineering tasks. This includes solving bugs, adding new functionality, refactoring code, explaining code, and more. For these tasks the following steps are recommended:
|
|
45
|
-
- Tool results and user messages may include <system-reminder> tags. <system-reminder> tags contain useful information and reminders. They are automatically added by the system, and bear no direct relation to the specific tool results or user messages in which they appear.
|
|
42
|
+
Do not put a final response, such as a blocking or clarifying question, in the commentary channel. The final answer must always be fully self-contained.
|
|
46
43
|
|
|
44
|
+
## Final Answer
|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
- When doing file search, prefer to use the subagent tool in order to reduce context usage.
|
|
50
|
-
- You should proactively use the subagent tool with specialized agents when the task at hand matches the agent's description.
|
|
46
|
+
In the final answer, lead with the outcome, not the steps you took to reach it. Cover the most important information, use only as much structure as the answer needs, and avoid long-winded explanations unless necessary. Include technical detail only where it helps.
|
|
51
47
|
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
- Use specialized tools instead of shell commands when possible, as this provides a better user experience. For file operations, use dedicated tools: read for reading files instead of cat/head/tail, edit for editing instead of sed/awk, and write for creating files instead of cat with heredoc or echo redirection. Reserve the shell tool exclusively for actual system commands and terminal operations that require shell execution. NEVER use shell echo or other command-line tools to communicate thoughts, explanations, or instructions to the user. Output all communication directly in your response text instead.
|
|
56
|
-
- VERY IMPORTANT: When exploring the codebase to gather context or to answer a question that is not a needle query for a specific file/class/function, it is CRITICAL that you use the subagent tool instead of running search commands directly.
|
|
57
|
-
<example>
|
|
58
|
-
user: Where are errors from the client handled?
|
|
59
|
-
assistant: [Uses the subagent tool to find the files that handle client errors instead of using glob or grep directly]
|
|
60
|
-
</example>
|
|
61
|
-
<example>
|
|
62
|
-
user: What is the codebase structure?
|
|
63
|
-
assistant: [Uses the subagent tool]
|
|
64
|
-
</example>
|
|
48
|
+
# Working in codebases
|
|
49
|
+
- Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
|
|
50
|
+
- Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
|
|
65
51
|
|
|
66
|
-
#
|
|
52
|
+
# Delegation
|
|
67
53
|
|
|
68
|
-
|
|
54
|
+
Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
|
|
69
55
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
56
|
+
# Destructive actions
|
|
57
|
+
|
|
58
|
+
Do not revert, reset, or discard changes you did not make. Never run destructive commands such as \`git reset --hard\`, \`git checkout --\`, or recursive deletes on broad paths unless the user clearly asked for that operation; if the target or scope is unclear, ask first. Prefer non-interactive git commands.
|
|
59
|
+
|
|
60
|
+
# Autonomy
|
|
61
|
+
|
|
62
|
+
Do not infer authorization for work beyond the user's request. Assumptions that help you make progress are fine as long as they stay within the user's intent and the scope of the task.
|
|
74
63
|
`;
|
|
75
64
|
|
|
76
|
-
// src/plugin/system-prompt/gpt-
|
|
77
|
-
var
|
|
65
|
+
// src/plugin/system-prompt/gpt-astra.txt
|
|
66
|
+
var gpt_astra_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
67
|
+
|
|
68
|
+
# Harness
|
|
69
|
+
- Responses are rendered as GitHub-flavored Markdown.
|
|
70
|
+
- \`<system-reminder>\` blocks are harness instructions, not user-authored content. Read and follow them.
|
|
71
|
+
- Prefer parallelizing independent tool calls.
|
|
72
|
+
- Do not use a skill based solely on keywords, superficial relevance, or its availability. Avoid re-reading skills already available in the conversation unless needed.
|
|
73
|
+
\${OPENCODE_TOOL_GUIDANCE}
|
|
74
|
+
|
|
75
|
+
# Communication
|
|
76
|
+
|
|
77
|
+
State the main point clearly and early. Keep responses clear and concise, and avoid unnecessary technical jargon. Use only as much structure as needed, and include technical detail only when it helps the conversation. Use clear file paths when referring to files.
|
|
78
|
+
|
|
79
|
+
When describing your work, avoid adding what you won't do, what will remain unchanged, or how you'll separate or categorize results. Do not introduce unprompted alternatives through framing such as "X, not Y" or "This isn't about X. It's about Y."
|
|
80
|
+
|
|
81
|
+
## Autonomy
|
|
82
|
+
|
|
83
|
+
Infer the user's intent and your task scope from their instructions and the prior conversation context. You should bias towards action and carry out the user's intended task until it is completed. If the intent is unclear, progress towards the goal using the available information and ask for clarification while continuing independent work when possible.
|
|
84
|
+
|
|
85
|
+
When the user's prompt indicates a request for action, such as "can you...", "I want to...", "help me..." and similar expressions, treat these as instructions to take action. Do not stop at acknowledging capability (e.g. "Yes…"), proposing a plan, or offering to continue. Do not settle for a partial or "helpful enough" solution to save time, effort, or tokens. Continue until the user's intended goal is fulfilled, even when it requires sustained work.
|
|
86
|
+
|
|
87
|
+
## Intermediate Commentary
|
|
78
88
|
|
|
79
89
|
As you work, you send messages to the commentary channel. These are how you collaborate with the user while you work: stating assumptions and providing updates. Keep them concise and quickly scannable, and send them only when they add real information, such as a discovery, a tradeoff, or a blocker. Do not narrate routine reads, searches, or edits.
|
|
80
90
|
|
|
91
|
+
By default, treat new messages received during ongoing work as steering the active task rather than replacing it. Incorporate corrections and constraints, and answer questions briefly in commentary before continuing. Replace the task only when the user clearly cancels it or requests an incompatible objective.
|
|
92
|
+
|
|
81
93
|
Do not put a final response, such as a blocking or clarifying question, in the commentary channel. The final answer must always be fully self-contained.
|
|
82
94
|
|
|
83
|
-
|
|
95
|
+
## Final Answer
|
|
84
96
|
|
|
85
|
-
|
|
97
|
+
In your final answer back to the user, focus on the most important information.
|
|
86
98
|
|
|
87
|
-
|
|
99
|
+
# Working in codebases
|
|
88
100
|
|
|
89
|
-
|
|
101
|
+
- Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
|
|
102
|
+
- Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
|
|
103
|
+
- Do not introduce unsolicited warnings, disclaimers, approval flows, or safety/compliance checklists due to hypothetical risk.
|
|
104
|
+
- Do not write tests for reversible, low-impact changes or that mirror the implementation. If you do choose to verify your work with tests, make sure that the tests are meaningful and necessary to verify implementation.
|
|
105
|
+
- Run tests appropriate to the change and complete required checks. Once those pass, broaden or repeat testing only when new changes, failures, or unresolved concerns justify it; otherwise, continue toward completing the task.
|
|
90
106
|
|
|
91
|
-
Do not revert, reset, or discard changes you did not make. Never run destructive commands such as \`git reset --hard\`, \`git checkout --\`, or recursive deletes on broad paths unless the user clearly asked for that operation; if the target or scope is unclear, ask first. Prefer non-interactive git commands.
|
|
92
107
|
|
|
93
|
-
#
|
|
108
|
+
# Delegation
|
|
94
109
|
|
|
95
|
-
Do not
|
|
110
|
+
Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
|
|
96
111
|
`;
|
|
97
112
|
|
|
98
113
|
// src/plugin/system-prompt/kimi.txt
|
|
@@ -356,25 +371,23 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
356
371
|
`;
|
|
357
372
|
|
|
358
373
|
// src/plugin/system-prompt.ts
|
|
359
|
-
var OpenAIPlugin2 = make("openai", (
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
});
|
|
368
|
-
var ArceePlugin2 = make("arcee", (id) => id.includes("trinity") ? trinity_default : undefined, {
|
|
374
|
+
var OpenAIPlugin2 = make("openai", (model) => {
|
|
375
|
+
if (!model.id.toLowerCase().includes("gpt"))
|
|
376
|
+
return;
|
|
377
|
+
if (model.id.toLowerCase().includes("gpt-6"))
|
|
378
|
+
return gpt_astra_default;
|
|
379
|
+
return gpt_default;
|
|
380
|
+
}, { operation: "replace" });
|
|
381
|
+
var KimiPlugin2 = make("kimi", (model) => model.id.toLowerCase().includes("kimi") ? kimi_default : undefined, {
|
|
369
382
|
operation: "replace"
|
|
370
383
|
});
|
|
371
|
-
var
|
|
372
|
-
|
|
384
|
+
var ArceePlugin2 = make("arcee", (model) => model.id.toLowerCase().includes("trinity") ? trinity_default : undefined, { operation: "replace" });
|
|
385
|
+
var MetaPlugin2 = make("meta", (model) => {
|
|
386
|
+
if (!model.id.toLowerCase().includes("muse"))
|
|
373
387
|
return;
|
|
374
|
-
|
|
375
|
-
return meta_default.replaceAll("{{MODEL_NAME}}", name);
|
|
388
|
+
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
376
389
|
}, { operation: "replace" });
|
|
377
|
-
var Plugins2 = [OpenAIPlugin2,
|
|
390
|
+
var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
378
391
|
function make(id, getPrompt, options) {
|
|
379
392
|
return define({
|
|
380
393
|
id: `opencode.prompt.${id}`,
|
|
@@ -386,9 +399,10 @@ function make(id, getPrompt, options) {
|
|
|
386
399
|
if (!system)
|
|
387
400
|
return;
|
|
388
401
|
const model = (yield* ctx.catalog.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id);
|
|
389
|
-
const
|
|
390
|
-
if (!
|
|
402
|
+
const template = getPrompt(model ?? Model.Info.default(event.model.providerID, event.model.id));
|
|
403
|
+
if (!template)
|
|
391
404
|
return;
|
|
405
|
+
const prompt = render3(template, Object.keys(event.tools));
|
|
392
406
|
if (options.operation === "append") {
|
|
393
407
|
event.system.splice(1, 0, SystemPart.make(prompt));
|
|
394
408
|
return;
|
|
@@ -399,4 +413,4 @@ function make(id, getPrompt, options) {
|
|
|
399
413
|
});
|
|
400
414
|
}
|
|
401
415
|
|
|
402
|
-
export { OpenAIPlugin2,
|
|
416
|
+
export { OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./git-x0w2mwfz.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service68,
|
|
24
|
+
node: () => node72
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service69;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service68.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node73, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error4, InvalidPatternError2, Service68, node72, exports_ripgrep };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-hawqa09c.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./git-zypqn6cf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content3,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event16,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput5,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service66,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node70
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
|
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Content3 = Schema.Struct({
|
|
46
46
|
uri: Schema.String,
|
|
47
47
|
name: Schema.String.pipe(Schema.optional),
|
|
48
48
|
content: Schema.String,
|
|
49
49
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
50
50
|
mime: Schema.String
|
|
51
51
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
52
|
-
var
|
|
52
|
+
var ListInput5 = Schema.Struct({
|
|
53
53
|
path: Schema.String.pipe(Schema.optional)
|
|
54
54
|
});
|
|
55
55
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event16 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service66 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
81
|
const location = yield* Service76;
|
|
82
|
-
const search = yield*
|
|
82
|
+
const search = yield* Service67;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service66.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node70 = makeLocationNode({
|
|
126
|
+
service: Service66,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node, node81,
|
|
128
|
+
deps: [FSUtil.node, node81, node71]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event16, Service66, node70, exports_filesystem, Entry2, Match2, Submatch2 };
|