@opencode/core 0.0.0-dev-19717 → 0.0.0-dev-19718
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{ripgrep-ra013xzm.js → generate-09551h0f.js} +173 -173
- package/dist/chunks/{ripgrep-qr5gavn3.js → generate-0jndg8bm.js} +98 -98
- package/dist/chunks/{ripgrep-xrbn7m6p.js → generate-0nnbycen.js} +23 -23
- package/dist/chunks/{ripgrep-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0wye5eyr.js → generate-0pez6hmq.js} +18 -18
- package/dist/chunks/{ripgrep-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-q0pnn9mh.js → generate-0qyv1am0.js} +28 -28
- package/dist/chunks/{ripgrep-snqf7cqa.js → generate-0vhem1j6.js} +5 -5
- package/dist/chunks/{ripgrep-0vr1yn3m.js → generate-0xq1a1tf.js} +30 -30
- package/dist/chunks/{ripgrep-cmwkp3r5.js → generate-1ajx6rf5.js} +8 -8
- package/dist/chunks/{ripgrep-bhy6cqvp.js → generate-1cq6qk8s.js} +10 -10
- package/dist/chunks/{ripgrep-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-6gkg7239.js → generate-1f2vf3wk.js} +26 -26
- package/dist/chunks/{ripgrep-4b2gcxzv.js → generate-1sek2r54.js} +3 -3
- package/dist/chunks/{ripgrep-1v9czkrp.js → generate-1wej7d2p.js} +11 -11
- package/dist/chunks/{ripgrep-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-rhx683sy.js → generate-23pqda6t.js} +6 -6
- package/dist/chunks/{ripgrep-2w07hd5e.js → generate-245kzzgx.js} +18 -18
- package/dist/chunks/{ripgrep-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-hp192nm0.js → generate-2d5g3hk4.js} +32 -32
- package/dist/chunks/{ripgrep-a5zywq1e.js → generate-2nc469tz.js} +316 -316
- package/dist/chunks/{ripgrep-q4bhxwf1.js → generate-2nv59kjc.js} +6 -6
- package/dist/chunks/{ripgrep-wy86fnfk.js → generate-2p59gyhw.js} +16 -16
- package/dist/chunks/{ripgrep-vbhza6aq.js → generate-2qhmht9w.js} +11 -11
- package/dist/chunks/{ripgrep-16cm53yx.js → generate-2s1g73ny.js} +11 -11
- package/dist/chunks/{ripgrep-t6hfpj2q.js → generate-2sd7j3kg.js} +7 -7
- package/dist/chunks/{ripgrep-c765mh8b.js → generate-2sejkfem.js} +9 -9
- package/dist/chunks/{ripgrep-evq6r5pz.js → generate-2tfmgkzg.js} +4 -4
- package/dist/chunks/{ripgrep-56gdpj1q.js → generate-33w4ejhs.js} +6 -6
- package/dist/chunks/{ripgrep-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-hf568b34.js → generate-3fm6hxwr.js} +13 -13
- package/dist/chunks/{ripgrep-vdhn6285.js → generate-3g40ew2e.js} +11 -11
- package/dist/chunks/{ripgrep-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-6hbp69x0.js → generate-3kdxhzk6.js} +16 -16
- package/dist/chunks/{ripgrep-c769d21z.js → generate-3ktbe3hf.js} +6 -6
- package/dist/chunks/{ripgrep-bgy73yvf.js → generate-3rt67m89.js} +10 -10
- package/dist/chunks/{ripgrep-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-kvm7n8ax.js → generate-3sq4rc4r.js} +10 -10
- package/dist/chunks/{ripgrep-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-smtr1fa8.js → generate-43rrycvc.js} +8 -8
- package/dist/chunks/{ripgrep-rbzarhdn.js → generate-44428tee.js} +11 -11
- package/dist/chunks/{ripgrep-4dgbcxzg.js → generate-44h5tttr.js} +4 -4
- package/dist/chunks/{ripgrep-be3b1tam.js → generate-462sy4nj.js} +18 -18
- package/dist/chunks/{ripgrep-9wc34hp7.js → generate-499aqxej.js} +15 -15
- package/dist/chunks/{ripgrep-fch79rh9.js → generate-4jc5c4h4.js} +1 -1
- package/dist/chunks/{ripgrep-yrexg1hz.js → generate-4rpa749d.js} +44 -44
- package/dist/chunks/{ripgrep-6d6w9qck.js → generate-4tfpfnpj.js} +1 -1
- package/dist/chunks/{ripgrep-g969dh9g.js → generate-4v6gswfm.js} +301 -301
- package/dist/chunks/{ripgrep-hx7wd3hq.js → generate-4wn4k6h8.js} +40 -40
- package/dist/chunks/{ripgrep-1ffqy5kg.js → generate-4y95j70v.js} +11 -11
- package/dist/chunks/{ripgrep-c6ds0c94.js → generate-4y9pqhyv.js} +4 -4
- package/dist/chunks/{ripgrep-n5ejkpc3.js → generate-50p74krg.js} +32 -32
- package/dist/chunks/{ripgrep-p1a0e7a1.js → generate-529dm2b8.js} +19 -19
- package/dist/chunks/{ripgrep-d9s573fh.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-5c4hm403.js → generate-5c4hm403.js} +3 -3
- package/dist/chunks/{ripgrep-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-2nqnsm6a.js → generate-5ebykeg8.js} +4 -4
- package/dist/chunks/{ripgrep-b74b32zs.js → generate-5hqc04g4.js} +22 -22
- package/dist/chunks/{ripgrep-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-0kay6e6r.js → generate-5xg61hd5.js} +8 -8
- package/dist/chunks/{ripgrep-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → generate-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6gae77kq.js → generate-6hvydzsq.js} +21 -21
- package/dist/chunks/{ripgrep-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-0ga2naeg.js → generate-6xcr9gp4.js} +19 -19
- package/dist/chunks/{ripgrep-erw3y2xg.js → generate-72cemf6w.js} +5 -5
- package/dist/chunks/{ripgrep-7yh4e7ss.js → generate-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-0jwsre1p.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-3zpd9ph7.js → generate-7hbdrhxe.js} +3 -3
- package/dist/chunks/{ripgrep-s0khrqfx.js → generate-7rjvbzjc.js} +41 -41
- package/dist/chunks/{ripgrep-qkcw1qxw.js → generate-7w4zp1nj.js} +4 -4
- package/dist/chunks/{ripgrep-27ty0zkv.js → generate-7x9s4b7j.js} +9 -9
- package/dist/chunks/{ripgrep-s96e6pgg.js → generate-85rbctky.js} +50 -50
- package/dist/chunks/{ripgrep-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-tzf5anpc.js → generate-8fkyrc2y.js} +15 -15
- package/dist/chunks/{ripgrep-hv7mkmtw.js → generate-91aeks9h.js} +8 -8
- package/dist/chunks/{ripgrep-2pnbphja.js → generate-93p6vx8e.js} +19 -19
- package/dist/chunks/{ripgrep-b4fcpaas.js → generate-95cdgjbh.js} +24 -24
- package/dist/chunks/{ripgrep-bfxn3evd.js → generate-985htwn1.js} +8 -8
- package/dist/chunks/{ripgrep-h6jr292a.js → generate-9h41vc4j.js} +4 -4
- package/dist/chunks/{ripgrep-9bd97v1n.js → generate-9ph0deg1.js} +18 -18
- package/dist/chunks/{ripgrep-yvc6vaar.js → generate-9r7ck30v.js} +5 -5
- package/dist/chunks/{ripgrep-w0b43803.js → generate-9sjtbcdx.js} +12 -12
- package/dist/chunks/generate-9zdhvgqs.js +18 -0
- package/dist/chunks/{ripgrep-yfass4g2.js → generate-a0fmb4jf.js} +13 -13
- package/dist/chunks/{ripgrep-sbx5zq27.js → generate-a6j6gms6.js} +33 -33
- package/dist/chunks/{ripgrep-9dd8yftr.js → generate-a8mvjpmf.js} +30 -30
- package/dist/chunks/{ripgrep-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-4ejjyhbz.js → generate-ads95n74.js} +5 -5
- package/dist/chunks/{ripgrep-jwbqhvyy.js → generate-af04s6ss.js} +5 -5
- package/dist/chunks/{ripgrep-06j80fj8.js → generate-apjp79ge.js} +20 -20
- package/dist/chunks/{ripgrep-5adpw38w.js → generate-aywcewhf.js} +32 -32
- package/dist/chunks/{ripgrep-1hmjk71j.js → generate-b2394f8r.js} +49 -49
- package/dist/chunks/{ripgrep-5ftcbxhj.js → generate-b345kgaf.js} +14 -14
- package/dist/chunks/{ripgrep-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-0wf8n9wb.js → generate-be09x53t.js} +2 -2
- package/dist/chunks/{ripgrep-p42y1bm5.js → generate-c1np9tvh.js} +12 -12
- package/dist/chunks/{ripgrep-zqg0z02h.js → generate-c53djn0j.js} +22 -22
- package/dist/chunks/{ripgrep-2jxgd83q.js → generate-cp175807.js} +37 -37
- package/dist/chunks/{ripgrep-74fc06g0.js → generate-cp32dd3r.js} +3 -3
- package/dist/chunks/{ripgrep-ce96a3f4.js → generate-d2kbh68c.js} +46 -46
- package/dist/chunks/{ripgrep-g2fcvjzx.js → generate-d4yfazh8.js} +44 -44
- package/dist/chunks/{ripgrep-89fhj5wr.js → generate-d5g08vg8.js} +6 -6
- package/dist/chunks/{ripgrep-jewzahs7.js → generate-dbmc5gjs.js} +4 -4
- package/dist/chunks/{ripgrep-rxwmcpz9.js → generate-de1k8sfb.js} +13 -13
- package/dist/chunks/{ripgrep-vncycja5.js → generate-dfe8djrf.js} +4 -4
- package/dist/chunks/{ripgrep-dj2t23y0.js → generate-dj2t23y0.js} +2 -2
- package/dist/chunks/{ripgrep-8vyzqb02.js → generate-dn3zew5v.js} +58 -58
- package/dist/chunks/{ripgrep-xfkkasph.js → generate-drwq78ky.js} +4 -4
- package/dist/chunks/{ripgrep-zgtc2zpg.js → generate-dwmr6tc7.js} +29 -29
- package/dist/chunks/{ripgrep-3hfzbyz4.js → generate-dy9r9wmt.js} +9 -9
- package/dist/chunks/{ripgrep-10f9hb78.js → generate-e1pkjq6b.js} +10 -10
- package/dist/chunks/{ripgrep-z8cptg1g.js → generate-e609cybw.js} +29 -29
- package/dist/chunks/{ripgrep-5e19p4dw.js → generate-e6hmchc5.js} +5 -5
- package/dist/chunks/{ripgrep-ka6kncfk.js → generate-e91bva5k.js} +9 -9
- package/dist/chunks/{ripgrep-rhjbct0v.js → generate-eaj1djv9.js} +8 -8
- package/dist/chunks/{ripgrep-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-65kqan4d.js → generate-ek1wjtjp.js} +16 -16
- package/dist/chunks/{ripgrep-2q1yqkjn.js → generate-etc4j797.js} +23 -23
- package/dist/chunks/{ripgrep-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-nw3z9mgd.js → generate-etrqb7zh.js} +24 -24
- package/dist/chunks/{ripgrep-psshby7f.js → generate-etygsq17.js} +9 -9
- package/dist/chunks/{ripgrep-bsa7h6hp.js → generate-eva9hhxv.js} +17 -17
- package/dist/chunks/{ripgrep-thpyxg0z.js → generate-evy8qykr.js} +4 -4
- package/dist/chunks/{ripgrep-nhg0pbng.js → generate-f2497b3s.js} +25 -25
- package/dist/chunks/{ripgrep-1acjjqhc.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{ripgrep-3e7h1nqf.js → generate-fhhct1rs.js} +11 -11
- package/dist/chunks/{ripgrep-44ke2mar.js → generate-fkjmw100.js} +6 -6
- package/dist/chunks/{ripgrep-7erxqcgx.js → generate-fmbvnrte.js} +19 -19
- package/dist/chunks/{ripgrep-pq86cej6.js → generate-fs80k88f.js} +11 -11
- package/dist/chunks/{ripgrep-9c2zp3yz.js → generate-fx0jgyn6.js} +16 -16
- package/dist/chunks/{ripgrep-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-t29rrz2q.js → generate-g4wky4z1.js} +61 -61
- package/dist/chunks/{ripgrep-amedr8jj.js → generate-g6ykdawk.js} +19 -19
- package/dist/chunks/{ripgrep-65h8etg5.js → generate-gaq23dym.js} +5 -5
- package/dist/chunks/{ripgrep-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-rw5vh1xr.js → generate-gew6kykq.js} +4 -4
- package/dist/chunks/{ripgrep-2typb7cv.js → generate-gpszkcj3.js} +37 -37
- package/dist/chunks/{ripgrep-w27pwbs0.js → generate-gpwxg2sr.js} +7 -7
- package/dist/chunks/{ripgrep-2zmfhp2c.js → generate-gr1f03ws.js} +9 -9
- package/dist/chunks/{ripgrep-yyb7tjpc.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-xww6bh7n.js → generate-gy6bzdan.js} +83 -83
- package/dist/chunks/{ripgrep-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-8469bcfk.js → generate-h303pet5.js} +22 -22
- package/dist/chunks/{ripgrep-vbk87dp1.js → generate-h3tw3kam.js} +11 -11
- package/dist/chunks/{ripgrep-88wak04k.js → generate-h6rxrthx.js} +17 -17
- package/dist/chunks/{ripgrep-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-tcay1cqt.js → generate-h896pcm5.js} +6 -6
- package/dist/chunks/{ripgrep-hdnk95c8.js → generate-hdnk95c8.js} +2 -2
- package/dist/chunks/{ripgrep-8w6bg1p5.js → generate-hjd3tva6.js} +1 -1
- package/dist/chunks/{ripgrep-0t05qjwt.js → generate-hkg6xw8b.js} +21 -21
- package/dist/chunks/{ripgrep-bp9ps0dn.js → generate-hmb7ex2j.js} +15 -15
- package/dist/chunks/{ripgrep-dbk8tqpx.js → generate-hmmx6w6v.js} +17 -17
- package/dist/chunks/{ripgrep-x394xkn3.js → generate-hrakd785.js} +32 -32
- package/dist/chunks/{ripgrep-xrvbp7pq.js → generate-hvwcqm45.js} +32 -32
- package/dist/chunks/{ripgrep-66xhd0b7.js → generate-j2c1d6kw.js} +75 -75
- package/dist/chunks/{ripgrep-5pdgmv2b.js → generate-j4h6715w.js} +5 -5
- package/dist/chunks/{ripgrep-48ke2mt5.js → generate-j4szyasp.js} +24 -24
- package/dist/chunks/{ripgrep-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-prvjn4f8.js → generate-j5ptat0y.js} +15 -15
- package/dist/chunks/{ripgrep-rfkfgx1j.js → generate-jca4demv.js} +2 -2
- package/dist/chunks/{ripgrep-v1rkke7a.js → generate-jdys5gn6.js} +35 -35
- package/dist/chunks/{ripgrep-0chb6113.js → generate-jjyr91et.js} +6 -6
- package/dist/chunks/{ripgrep-baj0pmb5.js → generate-jmyjxqxq.js} +9 -9
- package/dist/chunks/{ripgrep-7cgd0b8x.js → generate-jne44bes.js} +15 -15
- package/dist/chunks/{ripgrep-jppvw2tx.js → generate-jppvw2tx.js} +2 -2
- package/dist/chunks/{ripgrep-ksfvzc7n.js → generate-jrxscs4j.js} +14 -14
- package/dist/chunks/{ripgrep-2s6rrn82.js → generate-jyn40vcp.js} +32 -32
- package/dist/chunks/generate-k0mhzwh3.js +252 -0
- package/dist/chunks/{ripgrep-35x71pnz.js → generate-k2pc4ppr.js} +6 -6
- package/dist/chunks/{ripgrep-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-yb8d1spx.js → generate-k4ftf09g.js} +36 -36
- package/dist/chunks/{ripgrep-98csfytg.js → generate-k59q3cz8.js} +24 -24
- package/dist/chunks/{ripgrep-s8ekygh5.js → generate-k6mkffyv.js} +9 -9
- package/dist/chunks/{ripgrep-41ekrs3j.js → generate-kd57g7g8.js} +4 -4
- package/dist/chunks/{ripgrep-7q799ka0.js → generate-kns1vj7f.js} +12 -12
- package/dist/chunks/{ripgrep-9fg01hnp.js → generate-kqv3m9jq.js} +4 -4
- package/dist/chunks/{ripgrep-xe79x87p.js → generate-kvha0fkb.js} +23 -23
- package/dist/chunks/{ripgrep-916531qe.js → generate-kwct6k0g.js} +11 -11
- package/dist/chunks/{ripgrep-m0jqrx5p.js → generate-m0jqrx5p.js} +2 -2
- package/dist/chunks/{ripgrep-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-gv98j9k3.js → generate-m5e961p9.js} +9 -9
- package/dist/chunks/{ripgrep-yx0qrgy7.js → generate-m76aapzr.js} +18 -18
- package/dist/chunks/{ripgrep-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-nkyq0h6x.js → generate-mcs1d4hh.js} +22 -22
- package/dist/chunks/{ripgrep-4rckqb7m.js → generate-mfgc5epb.js} +20 -20
- package/dist/chunks/{ripgrep-jw80jp6b.js → generate-mjymc32g.js} +4 -4
- package/dist/chunks/{ripgrep-q1a7cndp.js → generate-mkw2wvv0.js} +10 -10
- package/dist/chunks/{ripgrep-cchxfvcb.js → generate-mmwgktma.js} +34 -34
- package/dist/chunks/{ripgrep-0hz7rkg9.js → generate-nbyte2d9.js} +9 -9
- package/dist/chunks/{ripgrep-0f0tbkye.js → generate-nc9wyyhz.js} +13 -13
- package/dist/chunks/{ripgrep-ak9msbxp.js → generate-nd37ta7v.js} +8 -8
- package/dist/chunks/{ripgrep-tdtyk2hy.js → generate-npe2m2y7.js} +10 -10
- package/dist/chunks/{ripgrep-fnt8mwzs.js → generate-nt45zmhz.js} +30 -30
- package/dist/chunks/{ripgrep-vwp2p5yg.js → generate-nxnkfd71.js} +6 -6
- package/dist/chunks/{ripgrep-1vkatp8a.js → generate-p0x27jfb.js} +42 -42
- package/dist/chunks/{ripgrep-veewy5ht.js → generate-p1k8empd.js} +31 -31
- package/dist/chunks/{ripgrep-f059kxkg.js → generate-p31r6dsf.js} +5 -5
- package/dist/chunks/{ripgrep-c1fspxch.js → generate-p4whpyhs.js} +22 -22
- package/dist/chunks/{ripgrep-ccmrqh26.js → generate-pbx7rzha.js} +6 -6
- package/dist/chunks/{ripgrep-9g7y96wv.js → generate-pf9jpsr3.js} +13 -13
- package/dist/chunks/{ripgrep-cscyyb15.js → generate-pga4me39.js} +16 -16
- package/dist/chunks/{ripgrep-5d22xhcr.js → generate-ph3ssfgf.js} +17 -17
- package/dist/chunks/{ripgrep-npyv9w8d.js → generate-pj0c6xre.js} +14 -14
- package/dist/chunks/{ripgrep-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-2npvwvjx.js → generate-pk8v5v0h.js} +11 -11
- package/dist/chunks/{ripgrep-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-1cfp59qy.js → generate-pmbck2f2.js} +19 -19
- package/dist/chunks/{ripgrep-0mttffz2.js → generate-ppwp9pdh.js} +8 -8
- package/dist/chunks/{ripgrep-gw5n1b02.js → generate-q3hz49bq.js} +11 -11
- package/dist/chunks/{ripgrep-pxt4kznk.js → generate-q3t37ft6.js} +3 -3
- package/dist/chunks/{ripgrep-g74mfj6n.js → generate-qg0jgkcp.js} +9 -9
- package/dist/chunks/{ripgrep-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-sm965ndy.js → generate-qvb3nf84.js} +8 -8
- package/dist/chunks/{ripgrep-dd0whr6w.js → generate-qvq377nj.js} +33 -33
- package/dist/chunks/{ripgrep-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-hkxt5e62.js → generate-rqfmm2yz.js} +3 -3
- package/dist/chunks/{ripgrep-dj7c2atr.js → generate-rrazhqbx.js} +37 -37
- package/dist/chunks/{ripgrep-xnqjfwke.js → generate-rx8c6dst.js} +5 -5
- package/dist/chunks/{ripgrep-wchvnmpj.js → generate-ry4v6c28.js} +11 -11
- package/dist/chunks/{ripgrep-qr676gns.js → generate-s074mebx.js} +27 -27
- package/dist/chunks/{ripgrep-xebfb2y8.js → generate-s0q9sb33.js} +14 -14
- package/dist/chunks/{ripgrep-41j42zms.js → generate-sfktw221.js} +17 -17
- package/dist/chunks/{ripgrep-ng5d1qkh.js → generate-sj9senr9.js} +22 -22
- package/dist/chunks/{ripgrep-j1nykvsg.js → generate-skm2b6sy.js} +27 -27
- package/dist/chunks/{ripgrep-5sg19zwk.js → generate-smq7gas8.js} +54 -54
- package/dist/chunks/{ripgrep-76axavq8.js → generate-sras4g8f.js} +18 -18
- package/dist/chunks/{ripgrep-q5vtatqv.js → generate-sy6g3hkj.js} +32 -32
- package/dist/chunks/{ripgrep-n9ne52vg.js → generate-t0dxs742.js} +19 -19
- package/dist/chunks/{ripgrep-t2vpa3bp.js → generate-t0fxg8b9.js} +5 -5
- package/dist/chunks/{ripgrep-v5dkyp31.js → generate-t2fc4mz5.js} +4 -4
- package/dist/chunks/{ripgrep-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → generate-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-e8t73gnv.js → generate-tgf1ffsv.js} +30 -30
- package/dist/chunks/{ripgrep-5y480sgp.js → generate-thjxzeng.js} +8 -8
- package/dist/chunks/{ripgrep-22ddm4s9.js → generate-tkw1hkm7.js} +26 -26
- package/dist/chunks/{ripgrep-qjay5aq4.js → generate-tpjnekm0.js} +11 -11
- package/dist/chunks/{ripgrep-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-bf0we83k.js → generate-vn2je0zz.js} +22 -22
- package/dist/chunks/{ripgrep-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-mfhfdr54.js → generate-w1k39n5e.js} +4 -4
- package/dist/chunks/{ripgrep-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-skfgqrfs.js → generate-w8hhtpta.js} +32 -32
- package/dist/chunks/{ripgrep-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-sk2hk6tq.js → generate-wk5z6jzv.js} +9 -9
- package/dist/chunks/{ripgrep-0fxyxxca.js → generate-wssz113n.js} +8 -8
- package/dist/chunks/{ripgrep-1rrrc7bg.js → generate-wt1m8bf4.js} +25 -25
- package/dist/chunks/{ripgrep-m4pe68r8.js → generate-wy9t4htn.js} +15 -15
- package/dist/chunks/{ripgrep-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-fx9wyf9w.js → generate-x1qtbw2g.js} +24 -24
- package/dist/chunks/{ripgrep-59jdvym1.js → generate-x7152jjm.js} +3 -3
- package/dist/chunks/{ripgrep-rk5pnbm7.js → generate-xffdavwa.js} +10 -10
- package/dist/chunks/{ripgrep-v99fq4tb.js → generate-xgzdnwrr.js} +25 -25
- package/dist/chunks/{ripgrep-yxs4msbe.js → generate-xnjvq9af.js} +22 -22
- package/dist/chunks/{ripgrep-9xnzea6t.js → generate-xvk6qk2k.js} +21 -21
- package/dist/chunks/{ripgrep-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-kgbk2mf3.js → generate-y240vm7z.js} +12 -12
- package/dist/chunks/{ripgrep-zt4wjtzd.js → generate-y2neq2bn.js} +18 -18
- package/dist/chunks/{ripgrep-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{ripgrep-9pkkzrmj.js → generate-y906m0ew.js} +5 -5
- package/dist/chunks/{ripgrep-bscb95cy.js → generate-yq2cczkq.js} +9 -9
- package/dist/chunks/{ripgrep-njq0kgse.js → generate-yq4bc9ch.js} +5 -5
- package/dist/chunks/{ripgrep-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-6ndxkr15.js → generate-yt8pqh00.js} +13 -13
- package/dist/chunks/{ripgrep-abwvnrc2.js → generate-yva1rh9a.js} +20 -20
- package/dist/chunks/{ripgrep-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-630fnr66.js → generate-z7h6hg9y.js} +26 -26
- package/dist/chunks/{ripgrep-j6zdzr1b.js → generate-z7pa19wm.js} +26 -26
- package/dist/chunks/generate-z8gccqj3.js +26 -0
- package/dist/chunks/{ripgrep-3320jj3g.js → generate-z8sc4127.js} +47 -47
- package/dist/chunks/{ripgrep-m7xzz4kx.js → generate-z9y2nhky.js} +9 -9
- package/dist/chunks/{ripgrep-t7n9q6bq.js → generate-zav06jzw.js} +4 -4
- package/dist/chunks/{ripgrep-rq775frq.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +72 -72
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0t1ndrz7.js +0 -26
- package/dist/chunks/ripgrep-by5v678g.js +0 -18
- package/dist/chunks/ripgrep-cr8q4edw.js +0 -252
- /package/dist/chunks/{ripgrep-0mesazry.js → generate-0mesazry.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service82,
|
|
17
|
+
node86
|
|
18
|
+
} from "./generate-gr1f03ws.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service83,
|
|
21
|
+
node87
|
|
22
|
+
} from "./generate-thjxzeng.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service81,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node85
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service81 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service83;
|
|
58
|
+
const image = yield* Service82;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service81.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -272,10 +272,10 @@ function namespaceError(name) {
|
|
|
272
272
|
return;
|
|
273
273
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
274
274
|
}
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node85 = makeLocationNode({
|
|
276
|
+
service: Service81,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node87, node86]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { RegistrationError2,
|
|
281
|
+
export { RegistrationError2, Service81, node85, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service35.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node38 = makeGlobalNode({ service: Service35, layer: layer14, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service35, makeLayer2, layer14, node38, exports_model_transport };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./generate-pga4me39.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event17
|
|
7
|
+
} from "./generate-k4ftf09g.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-sy6g3hkj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-4v6gswfm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-tkw1hkm7.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID10.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service78;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID10.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID9.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID9.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./generate-b2394f8r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./generate-p1k8empd.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service42;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin13 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin30, exports_compaction };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./generate-pga4me39.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./generate-pj0c6xre.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./generate-smq7gas8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin21
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin21 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service76;
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
|
+
const bus = yield* Service78;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin21, exports_command };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./generate-3g40ew2e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./generate-pga4me39.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./generate-h896pcm5.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./generate-1f2vf3wk.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-pj0c6xre.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node63
|
|
27
|
+
} from "./generate-nbyte2d9.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./generate-3ktbe3hf.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service48
|
|
39
|
+
} from "./generate-zav06jzw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service72,
|
|
42
|
+
node76
|
|
43
|
+
} from "./generate-hmmx6w6v.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service49,
|
|
48
|
+
node51,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./generate-6hvydzsq.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service47,
|
|
53
|
+
node50
|
|
54
|
+
} from "./generate-4rpa749d.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./generate-p4whpyhs.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./generate-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service59;
|
|
93
|
+
const store = yield* Service72;
|
|
94
|
+
const execution = yield* Service47;
|
|
95
|
+
const instances = yield* Service50;
|
|
96
|
+
const admission = yield* Service49;
|
|
97
|
+
const database = yield* Service80;
|
|
98
|
+
const bus = yield* Service78;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service48.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
node47,
|
|
172
|
+
node81,
|
|
173
|
+
node63,
|
|
174
|
+
node76,
|
|
176
175
|
node50,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
176
|
+
node52,
|
|
177
|
+
node51,
|
|
178
|
+
node84,
|
|
179
|
+
node82,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
|