@opencode/core 0.0.0-dev-20154 → 0.0.0-dev-20155
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{formatter-cwtz3r9h.js → schema-05ensxqt.js} +31 -31
- package/dist/chunks/{formatter-xspb0jaw.js → schema-07739wyb.js} +1 -1
- package/dist/chunks/{formatter-4t0vqfa4.js → schema-07f32r4c.js} +2 -2
- package/dist/chunks/{formatter-22zp2z9f.js → schema-07fk4vdp.js} +5 -5
- package/dist/chunks/{formatter-7fdq7649.js → schema-0bhxxk9k.js} +10 -10
- package/dist/chunks/{formatter-cy3xvb8m.js → schema-0h0a48ec.js} +10 -10
- package/dist/chunks/{formatter-tfj9sgam.js → schema-0hj7f8b1.js} +12 -12
- package/dist/chunks/{formatter-7sq8yzkh.js → schema-0mezm8v3.js} +41 -41
- package/dist/chunks/{formatter-e6qka3d3.js → schema-0naybkd4.js} +47 -47
- package/dist/chunks/{formatter-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-9nsvfy1y.js → schema-0qmq1g2y.js} +3 -3
- package/dist/chunks/{formatter-5sh5mty0.js → schema-0w6h42sd.js} +23 -23
- package/dist/chunks/{formatter-ffkgrkm6.js → schema-0xdddkhd.js} +25 -25
- package/dist/chunks/{formatter-d8e4wj50.js → schema-0yxpqf9q.js} +23 -23
- package/dist/chunks/{formatter-mwvjswkd.js → schema-13q95dca.js} +11 -11
- package/dist/chunks/{formatter-11xftm32.js → schema-157g1820.js} +24 -24
- package/dist/chunks/{formatter-p1a9ajhc.js → schema-16q9vxtt.js} +27 -27
- package/dist/chunks/{formatter-rpdcp9d6.js → schema-16s9kdw5.js} +28 -28
- package/dist/chunks/{formatter-yp2x3t23.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{formatter-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-kxpygcw9.js → schema-1s3p39g4.js} +6 -6
- package/dist/chunks/{formatter-1k7ys8s2.js → schema-1tmpsw1r.js} +24 -24
- package/dist/chunks/{formatter-cz5kh9x9.js → schema-1xkahdzt.js} +81 -81
- package/dist/chunks/{formatter-1ygqh575.js → schema-1ygqh575.js} +2 -2
- package/dist/chunks/{formatter-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{formatter-4v6j91f0.js → schema-27hrx2m2.js} +4 -4
- package/dist/chunks/{formatter-7apqwha9.js → schema-27prgbw4.js} +17 -17
- package/dist/chunks/{formatter-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-qcnsepw6.js → schema-2af3vg7e.js} +9 -9
- package/dist/chunks/{formatter-43d6531p.js → schema-2b17ndm2.js} +12 -12
- package/dist/chunks/{formatter-yjcmw3qg.js → schema-2h1ppkz8.js} +13 -13
- package/dist/chunks/{formatter-fhb1f05r.js → schema-2nzqjkgh.js} +15 -15
- package/dist/chunks/{formatter-4000bm05.js → schema-2qqmafn9.js} +22 -22
- package/dist/chunks/{formatter-c765mh8b.js → schema-2sejkfem.js} +9 -9
- package/dist/chunks/{formatter-znf1d9xg.js → schema-2tr3yddq.js} +29 -29
- package/dist/chunks/{formatter-65tn6s1e.js → schema-31nz5m34.js} +13 -13
- package/dist/chunks/{formatter-deh802mt.js → schema-32nda6gh.js} +8 -8
- package/dist/chunks/{formatter-ydbbb7n3.js → schema-39ctaptd.js} +7 -7
- package/dist/chunks/{formatter-v45qnrg9.js → schema-3dg2xvfq.js} +21 -21
- package/dist/chunks/{formatter-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-z6f8ymea.js → schema-3gsz5zgg.js} +12 -12
- package/dist/chunks/{formatter-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-66g1srzz.js → schema-3pghag89.js} +28 -28
- package/dist/chunks/{formatter-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-fsr35fn4.js → schema-3tnj4nc2.js} +22 -22
- package/dist/chunks/{formatter-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-6skxyfkw.js → schema-3x6k1mts.js} +5 -5
- package/dist/chunks/{formatter-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-3fsxnh3r.js → schema-404v594m.js} +9 -9
- package/dist/chunks/{formatter-6g36ydm3.js → schema-42v6676k.js} +31 -31
- package/dist/chunks/{formatter-p11x5atc.js → schema-48vb8zcm.js} +8 -8
- package/dist/chunks/{formatter-x2rw7g36.js → schema-4n607a2z.js} +5 -5
- package/dist/chunks/{formatter-08hn3w1t.js → schema-4ng17raw.js} +3 -3
- package/dist/chunks/{formatter-kr0xcp8s.js → schema-4rgrvx78.js} +14 -14
- package/dist/chunks/{formatter-q8rsswcz.js → schema-4tq94sws.js} +4 -4
- package/dist/chunks/{formatter-5d4fs1ac.js → schema-4w8174cf.js} +20 -20
- package/dist/chunks/{formatter-7gvwkz6m.js → schema-4xz89tjk.js} +5 -5
- package/dist/chunks/{formatter-k9d40v1y.js → schema-53fyba40.js} +4 -4
- package/dist/chunks/{formatter-ckecvw8r.js → schema-54tcyq79.js} +2 -2
- package/dist/chunks/{formatter-axz2hwv9.js → schema-5aegf1xj.js} +32 -32
- package/dist/chunks/{formatter-fvxg17y2.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{formatter-r9wn2x15.js → schema-5cv6t2zq.js} +19 -19
- package/dist/chunks/{formatter-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-yjptyezs.js → schema-5e19p4dw.js} +5 -5
- package/dist/chunks/{formatter-d9axs6w3.js → schema-5jk2m439.js} +11 -11
- package/dist/chunks/{formatter-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-pnc9qwkd.js → schema-5xwq33r5.js} +43 -43
- package/dist/chunks/{formatter-5age93ge.js → schema-637bt013.js} +29 -29
- package/dist/chunks/{formatter-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{formatter-jhq43s5h.js → schema-686bxqs3.js} +11 -11
- package/dist/chunks/{formatter-x6wkahxa.js → schema-6mb9rkag.js} +11 -11
- package/dist/chunks/{formatter-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-q07xjvq6.js → schema-6v8w5ehg.js} +3 -3
- package/dist/chunks/schema-6z3xdhh4.js +252 -0
- package/dist/chunks/{formatter-mhkvc446.js → schema-73tb2d7t.js} +3 -3
- package/dist/chunks/{formatter-931f43hd.js → schema-79t7xk98.js} +13 -13
- package/dist/chunks/{formatter-m3v5f3y9.js → schema-79wrnan4.js} +11 -11
- package/dist/chunks/{formatter-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-r7jcr2kw.js → schema-7bmwqyq6.js} +5 -5
- package/dist/chunks/{formatter-rkprpv83.js → schema-7fkffz83.js} +4 -4
- package/dist/chunks/{formatter-khshe69x.js → schema-7j016h96.js} +9 -9
- package/dist/chunks/{formatter-kmb8tf68.js → schema-7mggrsj0.js} +16 -16
- package/dist/chunks/{formatter-xe7vm6z4.js → schema-81fh9vc9.js} +11 -11
- package/dist/chunks/{formatter-vme3s0y6.js → schema-85k8ep8b.js} +15 -15
- package/dist/chunks/{formatter-xzhq159g.js → schema-87j1vk5m.js} +26 -26
- package/dist/chunks/{formatter-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-83mkg5xj.js → schema-8f4y0pp5.js} +18 -18
- package/dist/chunks/{formatter-v0xfw1m3.js → schema-8gm0xqx6.js} +8 -8
- package/dist/chunks/{formatter-j3m92qrb.js → schema-8gxfpvk4.js} +18 -18
- package/dist/chunks/{formatter-gfsc44x2.js → schema-8n2g1t1q.js} +1 -1
- package/dist/chunks/{formatter-29eb1e1z.js → schema-8n8aydd2.js} +7 -7
- package/dist/chunks/{formatter-725ga7b7.js → schema-8p3bvsm6.js} +14 -14
- package/dist/chunks/{formatter-xx72zbe5.js → schema-8re3920x.js} +19 -19
- package/dist/chunks/{formatter-3zynn388.js → schema-99yn8t20.js} +6 -6
- package/dist/chunks/{formatter-1mnksntc.js → schema-9mz9sh48.js} +2 -2
- package/dist/chunks/{formatter-526x9cfz.js → schema-9r2n4vbx.js} +4 -4
- package/dist/chunks/{formatter-9w14rhya.js → schema-9rfkbpbj.js} +4 -4
- package/dist/chunks/{formatter-48h2kp0z.js → schema-9z0cwd9w.js} +6 -6
- package/dist/chunks/{formatter-2eegacq4.js → schema-a2qe2ev9.js} +8 -8
- package/dist/chunks/{formatter-9fz1q3tm.js → schema-a3m0kdh5.js} +12 -12
- package/dist/chunks/{formatter-r0w37vnc.js → schema-a9dbrvcp.js} +33 -33
- package/dist/chunks/{formatter-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-y4a0ndt6.js → schema-ac760hkj.js} +24 -24
- package/dist/chunks/{formatter-xxndcd6m.js → schema-afjydgk3.js} +4 -4
- package/dist/chunks/{formatter-0t9wd588.js → schema-ahd542yp.js} +8 -8
- package/dist/chunks/{formatter-4ykhr99h.js → schema-anbjwd12.js} +29 -29
- package/dist/chunks/{formatter-9sjhkssp.js → schema-anbm6d0v.js} +14 -14
- package/dist/chunks/{formatter-hna2c7ca.js → schema-anz3vhts.js} +19 -19
- package/dist/chunks/{formatter-5601sb2r.js → schema-b3hkrvzm.js} +3 -3
- package/dist/chunks/{formatter-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-za3g8gy4.js → schema-b7nzzxtj.js} +26 -26
- package/dist/chunks/{formatter-z07pqspn.js → schema-bjtzbw4r.js} +3 -3
- package/dist/chunks/{formatter-fym05vea.js → schema-c05pc369.js} +20 -20
- package/dist/chunks/{formatter-j8rcbgwk.js → schema-c4p53n0j.js} +15 -15
- package/dist/chunks/{formatter-fsnf83td.js → schema-c4q1b81p.js} +3 -3
- package/dist/chunks/{formatter-1cfb3ja4.js → schema-c5c0bz0t.js} +5 -5
- package/dist/chunks/{formatter-d7zs612j.js → schema-ccjk4f54.js} +35 -35
- package/dist/chunks/{formatter-yz5r218v.js → schema-ccx1dw7q.js} +32 -32
- package/dist/chunks/{formatter-gxfd8hef.js → schema-chd5dxat.js} +7 -7
- package/dist/chunks/{formatter-cmwkp3r5.js → schema-cmwkp3r5.js} +1 -1
- package/dist/chunks/{formatter-8m98rn39.js → schema-csxrjpxm.js} +19 -19
- package/dist/chunks/{formatter-fdvpjyek.js → schema-d1c25d3q.js} +7 -7
- package/dist/chunks/{formatter-qvfxvj2b.js → schema-d41te630.js} +5 -5
- package/dist/chunks/{formatter-mfaaf469.js → schema-d50xxcr3.js} +5 -5
- package/dist/chunks/{formatter-2w6fc0zt.js → schema-d9s573fh.js} +7 -7
- package/dist/chunks/{formatter-k4q8v3a9.js → schema-dbt5d3v2.js} +11 -11
- package/dist/chunks/{formatter-0996nyz8.js → schema-depwzj9d.js} +9 -9
- package/dist/chunks/{formatter-t3tkefaq.js → schema-dfm2zw35.js} +5 -5
- package/dist/chunks/{formatter-ehm6q3mk.js → schema-djpyvzbj.js} +9 -9
- package/dist/chunks/{formatter-d5fhp67k.js → schema-dk7kjneb.js} +15 -15
- package/dist/chunks/{formatter-c8ft1bdk.js → schema-drysh76x.js} +20 -20
- package/dist/chunks/{formatter-3051r0mf.js → schema-dst2nx90.js} +20 -20
- package/dist/chunks/{formatter-rg6pqn6b.js → schema-dvm4mghw.js} +14 -14
- package/dist/chunks/{formatter-c6d91fap.js → schema-dxan09mr.js} +6 -6
- package/dist/chunks/{formatter-qgcrhj3x.js → schema-e2wbz5rg.js} +8 -8
- package/dist/chunks/{formatter-0f9zpd1z.js → schema-e3qz6zmn.js} +22 -22
- package/dist/chunks/{formatter-eaj1djv9.js → schema-eaj1djv9.js} +1 -1
- package/dist/chunks/{formatter-v4zfgca1.js → schema-eca2xt2e.js} +27 -27
- package/dist/chunks/{formatter-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-cmfqg0mx.js → schema-eg0rmd38.js} +323 -323
- package/dist/chunks/{formatter-11fqwpp6.js → schema-ep74v7fx.js} +13 -13
- package/dist/chunks/{formatter-r04gnbv5.js → schema-eq20ba7x.js} +6 -6
- package/dist/chunks/{formatter-9eww13ym.js → schema-eqmd3425.js} +13 -13
- package/dist/chunks/{formatter-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-6k0ykvm3.js → schema-exf3dd23.js} +35 -35
- package/dist/chunks/{formatter-s20e8eba.js → schema-f2xfk6hw.js} +41 -41
- package/dist/chunks/{formatter-pnv527nz.js → schema-f7j90zp2.js} +9 -9
- package/dist/chunks/{formatter-cfb9s96d.js → schema-f84xm9jy.js} +23 -23
- package/dist/chunks/{formatter-hdthj1pw.js → schema-fa0vx1vq.js} +8 -8
- package/dist/chunks/{formatter-qa3qhgw8.js → schema-fdv30zvt.js} +5 -5
- package/dist/chunks/{formatter-7yb49614.js → schema-fn0717px.js} +27 -27
- package/dist/chunks/{formatter-pw9v3g6d.js → schema-g2y161wv.js} +8 -8
- package/dist/chunks/{formatter-vhpkrxj6.js → schema-g9a18t79.js} +8 -8
- package/dist/chunks/{formatter-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-94ek1h2f.js → schema-gfvb90ym.js} +2 -2
- package/dist/chunks/{formatter-3w0fmcng.js → schema-gqchpbtd.js} +5 -5
- package/dist/chunks/{formatter-g5zgqdyh.js → schema-h088vvky.js} +163 -163
- package/dist/chunks/{formatter-jy0qaq37.js → schema-h5n6cr9x.js} +23 -23
- package/dist/chunks/{formatter-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-92qtda8h.js → schema-hjssj8fz.js} +17 -17
- package/dist/chunks/{formatter-h69103sp.js → schema-hv2hgy02.js} +13 -13
- package/dist/chunks/{formatter-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-ae1cz8vk.js → schema-j8mz9s4x.js} +11 -11
- package/dist/chunks/{formatter-rrfze9aq.js → schema-jbz4z0yy.js} +24 -24
- package/dist/chunks/{formatter-9r4gdqmt.js → schema-jdgpxcbk.js} +9 -9
- package/dist/chunks/{formatter-9thbxafe.js → schema-jeqr0vjg.js} +33 -33
- package/dist/chunks/{formatter-7z59ztsa.js → schema-jz40f57j.js} +17 -17
- package/dist/chunks/{formatter-3syeyv6h.js → schema-k6a20zcv.js} +14 -14
- package/dist/chunks/{formatter-jqtwzasb.js → schema-k8z9p47p.js} +15 -15
- package/dist/chunks/{formatter-5nvg4m9b.js → schema-kgey82cw.js} +11 -11
- package/dist/chunks/{formatter-1085njgr.js → schema-kvk0vnsc.js} +31 -31
- package/dist/chunks/{formatter-w6hxg8ga.js → schema-kvy0p52m.js} +18 -18
- package/dist/chunks/{formatter-x6qvwyqy.js → schema-m1vshg1d.js} +4 -4
- package/dist/chunks/{formatter-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{formatter-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-aew6e1r0.js → schema-ma8x6edw.js} +21 -21
- package/dist/chunks/{formatter-f3ngv102.js → schema-magykp64.js} +4 -4
- package/dist/chunks/{formatter-k562kksb.js → schema-maqbyvg5.js} +13 -13
- package/dist/chunks/{formatter-928yj5t7.js → schema-mnsrx4h9.js} +4 -4
- package/dist/chunks/{formatter-d3vcvacx.js → schema-mnwje68x.js} +10 -10
- package/dist/chunks/{formatter-v1ceefev.js → schema-mq740twr.js} +10 -10
- package/dist/chunks/{formatter-cx34d9wd.js → schema-my33rnxx.js} +6 -6
- package/dist/chunks/{formatter-1ad61yzs.js → schema-na0j43z6.js} +15 -15
- package/dist/chunks/{formatter-25b126yv.js → schema-ndxbn6j7.js} +22 -22
- package/dist/chunks/{formatter-6zxhhdw2.js → schema-nf54004p.js} +8 -8
- package/dist/chunks/{formatter-sgsfh0h8.js → schema-nkxtb3dm.js} +10 -10
- package/dist/chunks/{formatter-nrryk3yj.js → schema-nqvz83n0.js} +9 -9
- package/dist/chunks/{formatter-nfgj4eq6.js → schema-nyp9r3yv.js} +5 -5
- package/dist/chunks/{formatter-k3c624dm.js → schema-nzks3jc8.js} +3 -3
- package/dist/chunks/{formatter-nzyhnfxz.js → schema-nzyhnfxz.js} +1 -1
- package/dist/chunks/{formatter-cmtkhjf7.js → schema-p31rxwxp.js} +16 -16
- package/dist/chunks/{formatter-j517qxmb.js → schema-pcp3kjxr.js} +9 -9
- package/dist/chunks/{formatter-23rszh6g.js → schema-pd58mre0.js} +9 -9
- package/dist/chunks/{formatter-fkkzdrjv.js → schema-pgsr89hy.js} +1 -1
- package/dist/chunks/{formatter-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-wd3x2cqz.js → schema-psazpmmj.js} +2 -2
- package/dist/chunks/{formatter-g07qwdrd.js → schema-psqa84kj.js} +15 -15
- package/dist/chunks/{formatter-0fvxp85d.js → schema-pt110b9x.js} +24 -24
- package/dist/chunks/{formatter-1fw82rrz.js → schema-q3hm2ja7.js} +36 -36
- package/dist/chunks/schema-q509s3k3.js +18 -0
- package/dist/chunks/{formatter-kjqk90ac.js → schema-q6pbqyca.js} +38 -38
- package/dist/chunks/{formatter-0en4mdfg.js → schema-q8d50280.js} +3 -3
- package/dist/chunks/{formatter-6t2yfq6r.js → schema-q9trfcxy.js} +46 -46
- package/dist/chunks/{formatter-t43ffz5t.js → schema-qan3rc7n.js} +15 -15
- package/dist/chunks/{formatter-2k8khapm.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{formatter-a4fy1m9y.js → schema-qm6nak0e.js} +52 -52
- package/dist/chunks/{formatter-ct1vechy.js → schema-qn0byfb6.js} +11 -11
- package/dist/chunks/{formatter-drwq78ky.js → schema-qqeeq2t9.js} +7 -7
- package/dist/chunks/{formatter-7qjsfbt0.js → schema-qr81hr1d.js} +81 -81
- package/dist/chunks/{formatter-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-p5bpgybb.js → schema-qz25ctfn.js} +29 -29
- package/dist/chunks/{formatter-sqy4ahhk.js → schema-r3c4069c.js} +1 -1
- package/dist/chunks/{formatter-05bs18sm.js → schema-r5cmcmkd.js} +7 -7
- package/dist/chunks/{formatter-s2pdfmmv.js → schema-r6kw3eaj.js} +16 -16
- package/dist/chunks/{formatter-4z1dccvf.js → schema-r8503ksh.js} +16 -16
- package/dist/chunks/{formatter-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-684eg8p8.js → schema-rgad3y2c.js} +48 -48
- package/dist/chunks/{formatter-acej97kd.js → schema-rmeqj50k.js} +16 -16
- package/dist/chunks/{formatter-zeh9ct20.js → schema-rq775frq.js} +2 -2
- package/dist/chunks/{formatter-1szmg2fp.js → schema-rw5zsebr.js} +22 -22
- package/dist/chunks/{formatter-4j5rd3nb.js → schema-ry6yywad.js} +17 -17
- package/dist/chunks/{formatter-8vsvfqbf.js → schema-s271antv.js} +16 -16
- package/dist/chunks/{formatter-4y72ap3v.js → schema-s2ynmxvy.js} +12 -12
- package/dist/chunks/{formatter-akqk8sab.js → schema-s8ac38hc.js} +10 -10
- package/dist/chunks/{formatter-w29yw4p7.js → schema-s9ny3s1p.js} +16 -16
- package/dist/chunks/{formatter-3ppptnan.js → schema-sd5f6jdk.js} +6 -6
- package/dist/chunks/{formatter-rdwveckh.js → schema-sk3sbtp0.js} +4 -4
- package/dist/chunks/{formatter-dfe8djrf.js → schema-sx1n432n.js} +4 -4
- package/dist/chunks/{formatter-aq6m5w8t.js → schema-syyemct7.js} +16 -16
- package/dist/chunks/{formatter-866na523.js → schema-szwj1mk0.js} +30 -30
- package/dist/chunks/{formatter-a8eqz3x1.js → schema-t6s1y3ss.js} +39 -39
- package/dist/chunks/{formatter-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-xj3z6972.js → schema-tmddb601.js} +6 -6
- package/dist/chunks/{formatter-hn57h045.js → schema-ttqh24zm.js} +4 -4
- package/dist/chunks/{formatter-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-44ak30pa.js → schema-v7z2bvyd.js} +4 -4
- package/dist/chunks/{formatter-3e147rt9.js → schema-va5qff5x.js} +9 -9
- package/dist/chunks/{formatter-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-kb3wdknj.js → schema-vfnexndp.js} +6 -6
- package/dist/chunks/{formatter-9csj8dz4.js → schema-vhsgvesh.js} +10 -10
- package/dist/chunks/{formatter-64hfcqtn.js → schema-vjf4vvvf.js} +20 -20
- package/dist/chunks/{formatter-d2anxpr8.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{formatter-qrc64xzg.js → schema-vmwh049b.js} +3 -3
- package/dist/chunks/{formatter-y3kwjdg3.js → schema-vnd02eqn.js} +15 -15
- package/dist/chunks/{formatter-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-xzb3sydb.js → schema-w31gwtfd.js} +6 -6
- package/dist/chunks/{formatter-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-3wgaynme.js → schema-wgzfjrfp.js} +15 -15
- package/dist/chunks/{formatter-wq4mmp7m.js → schema-wpwj4s2y.js} +4 -4
- package/dist/chunks/{formatter-cv5z6vfr.js → schema-wsh63xm2.js} +14 -14
- package/dist/chunks/{formatter-fkgw8j18.js → schema-wvdys2zg.js} +29 -29
- package/dist/chunks/{formatter-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-y7pvd72b.js → schema-x46rem9p.js} +3 -3
- package/dist/chunks/{formatter-4arb9zza.js → schema-x74r3nk3.js} +8 -8
- package/dist/chunks/{formatter-32hkxnxv.js → schema-xdrt6sd9.js} +5 -5
- package/dist/chunks/{formatter-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
- package/dist/chunks/{formatter-xep4qe5p.js → schema-xm5mtrqn.js} +25 -25
- package/dist/chunks/{formatter-6wf7w9m0.js → schema-xreqyrjh.js} +43 -43
- package/dist/chunks/{formatter-kvjzkr2v.js → schema-xsgk3b13.js} +9 -9
- package/dist/chunks/{formatter-5tfn2ep9.js → schema-xtrjfq07.js} +8 -8
- package/dist/chunks/{formatter-dbmc5gjs.js → schema-xxxym934.js} +4 -4
- package/dist/chunks/{formatter-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-j8a6srd3.js → schema-ybnjss4v.js} +24 -24
- package/dist/chunks/{formatter-fs6pqh0k.js → schema-ynwt6cba.js} +20 -20
- package/dist/chunks/{formatter-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-gv6a8nnw.js → schema-yyb7tjpc.js} +2 -2
- package/dist/chunks/{formatter-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-wbe2v8yt.js → schema-z59jkery.js} +26 -26
- package/dist/chunks/{formatter-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-ne59kr8e.js → schema-z7cbn86z.js} +5 -5
- package/dist/chunks/{formatter-z0zbz97e.js → schema-zjycbmx8.js} +7 -7
- package/dist/chunks/{formatter-j3a689hg.js → schema-zksm58n9.js} +55 -55
- package/dist/chunks/{formatter-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-s0fdkca3.js → schema-zwrpf1jc.js} +36 -36
- package/dist/chunks/{formatter-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-wyzbecmn.js → schema-zysz17mm.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- 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 +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/formatter-7t0nnsk4.js +0 -252
- package/dist/chunks/formatter-9zdhvgqs.js +0 -18
- /package/dist/chunks/{formatter-0mesazry.js → schema-0mesazry.js} +0 -0
- /package/dist/chunks/{formatter-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-27hrx2m2.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./schema-4rgrvx78.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service45,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service45 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service45.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node49 = makeLocationNode({ service: Service45, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service45, node49, exports_rpc, define2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-6v8w5ehg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-27hrx2m2.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-53fyba40.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-xtrjfq07.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-r3c4069c.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-h5n6cr9x.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-9r2n4vbx.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schema-b3hkrvzm.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./schema-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./schema-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./schema-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node11,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
301
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service9.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node11 = makeLocationNode({
|
|
619
|
+
service: Service9,
|
|
620
620
|
layer: layer7,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node11, exports_compaction3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service11.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service11, node13, exports_location_watcher_policy };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-27hrx2m2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./schema-0mezm8v3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./schema-5xwq33r5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./schema-ybnjss4v.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service75;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node30 = makeLocationNode({
|
|
124
|
+
service: Service27,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node42, node33, node87, node79]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service27, layer12, node30, exports_mcp3 };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service58,
|
|
9
|
+
node61
|
|
10
|
+
} from "./schema-a9dbrvcp.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-5cmxdwv8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service56,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node59,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service56 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service58;
|
|
77
|
+
return Service56.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node61] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, resolved2, node59, exports_model };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-16q9vxtt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./schema-t6s1y3ss.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-tmddb601.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service41;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make4();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make4, OllamaPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-fn0717px.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
@@ -15,7 +15,7 @@ __export(exports_aisdk, {
|
|
|
15
15
|
InitError: () => InitError2,
|
|
16
16
|
Service: () => Service66,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node69
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID8,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node69 = makeLocationNode({ service: Service66, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2, Service66, locationLayer2,
|
|
867
|
+
export { InitError2, Service66, locationLayer2, node69, exports_aisdk };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-5xwq33r5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service30,
|
|
12
|
+
node33
|
|
13
|
+
} from "./schema-0mezm8v3.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./schema-2tr3yddq.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service26,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node29
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service26 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service30;
|
|
68
|
+
return Service26.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make21({
|
|
71
71
|
key: Key4.make("core/mcp-guidance"),
|
|
@@ -86,7 +86,7 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node29 = makeLocationNode({ service: Service26, layer: layer11, deps: [node33] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service26, layer11, node29, exports_instructions2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./schema-4rgrvx78.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service28,
|
|
19
19
|
node: () => node31
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service28.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var node31 = makeLocationNode({ service:
|
|
64
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service28, node31, exports_builtins };
|