@opencode/core 0.0.0-dev-20365 → 0.0.0-dev-20367
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{instruction-discovery-xhbqa4nv.js → job-05y342xm.js} +42 -42
- package/dist/chunks/{instruction-discovery-s8d7rejh.js → job-0gdmqesm.js} +4 -4
- package/dist/chunks/{instruction-discovery-z2ay98k6.js → job-0gtfmam4.js} +6 -6
- package/dist/chunks/{instruction-discovery-5g55xj2w.js → job-0jbb0jam.js} +16 -16
- package/dist/chunks/{instruction-discovery-bw9zjykr.js → job-0jkw1j53.js} +6 -6
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{instruction-discovery-q3hw20gb.js → job-0m0bz9f8.js} +13 -13
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-drbbyxqc.js → job-11h6rw47.js} +34 -34
- package/dist/chunks/{instruction-discovery-xy09cv4h.js → job-12sfj3yb.js} +33 -33
- package/dist/chunks/{instruction-discovery-xje8bwn9.js → job-165xc91v.js} +24 -24
- package/dist/chunks/{instruction-discovery-sqbb0ctm.js → job-1cfb3ja4.js} +5 -5
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-7xme8kcs.js → job-1x60rae4.js} +26 -26
- package/dist/chunks/{instruction-discovery-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-v5kct8vj.js → job-231fkzn9.js} +12 -12
- package/dist/chunks/{instruction-discovery-mw6tp84c.js → job-232hvyf5.js} +11 -11
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-kbnbj767.js → job-2ae0w1q6.js} +20 -20
- package/dist/chunks/{instruction-discovery-e3y7q9w0.js → job-2bmjkj4c.js} +20 -20
- package/dist/chunks/{instruction-discovery-jfetez9m.js → job-2gavhfkn.js} +21 -21
- package/dist/chunks/{instruction-discovery-ver2fgbz.js → job-2j95z75a.js} +4 -4
- package/dist/chunks/job-2mnyaw3v.js +507 -0
- package/dist/chunks/{instruction-discovery-cyga4fvd.js → job-358np968.js} +15 -15
- package/dist/chunks/{instruction-discovery-zckc2zz5.js → job-36p0cvtp.js} +11 -11
- package/dist/chunks/{instruction-discovery-nw1axpkg.js → job-38gz42ha.js} +34 -34
- package/dist/chunks/{instruction-discovery-6128t9ck.js → job-39c9j40n.js} +33 -33
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-4k9r34b0.js → job-3fcw9sbf.js} +2 -2
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-a00me6k7.js → job-3kvemn9y.js} +14 -14
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-dymd75nb.js → job-3vdv0ks5.js} +5 -5
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-rk1r2hx8.js → job-427t97hr.js} +1 -1
- package/dist/chunks/{instruction-discovery-qwjmgwmn.js → job-428ep8fh.js} +8 -8
- package/dist/chunks/{instruction-discovery-pp173efe.js → job-43dc367v.js} +11 -11
- package/dist/chunks/{instruction-discovery-4x987a9f.js → job-4a37hdt9.js} +15 -15
- package/dist/chunks/{instruction-discovery-ezpw8a83.js → job-4f1k543z.js} +15 -15
- package/dist/chunks/{instruction-discovery-z5extsze.js → job-4f9vnbjh.js} +3 -3
- package/dist/chunks/{instruction-discovery-6619bm8v.js → job-4fjf8yxx.js} +12 -12
- package/dist/chunks/{instruction-discovery-3sm268de.js → job-4qart0q5.js} +20 -20
- package/dist/chunks/{instruction-discovery-cf8tr9ph.js → job-4r8dtk29.js} +6 -6
- package/dist/chunks/{instruction-discovery-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-qfcm5wty.js → job-54wnwdwm.js} +28 -28
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → job-56gdpj1q.js} +2 -2
- package/dist/chunks/{instruction-discovery-2fgn2we9.js → job-57ez7d0k.js} +9 -9
- package/dist/chunks/{instruction-discovery-1bvhx7th.js → job-59p0880v.js} +9 -9
- package/dist/chunks/{instruction-discovery-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-y90pccxx.js → job-5m26qgtd.js} +15 -15
- package/dist/chunks/{instruction-discovery-4975qbqg.js → job-5nq0nea2.js} +6 -6
- package/dist/chunks/{instruction-discovery-f58gpcny.js → job-5rnnm2b5.js} +9 -9
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-3snnmqxx.js → job-5tbemrdz.js} +62 -62
- package/dist/chunks/{instruction-discovery-rcc95wnw.js → job-5vvk8sqy.js} +11 -11
- package/dist/chunks/{instruction-discovery-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-2rt4b4vk.js → job-69srdcjj.js} +22 -22
- package/dist/chunks/{instruction-discovery-cyfct4w8.js → job-6e7sacjg.js} +83 -83
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-py3kkmfq.js → job-6pc27hjz.js} +6 -6
- package/dist/chunks/{instruction-discovery-grrqevyk.js → job-6ptmhvxc.js} +16 -16
- package/dist/chunks/{instruction-discovery-jg0vs890.js → job-6rf44sa9.js} +5 -5
- package/dist/chunks/{instruction-discovery-xbgsntj0.js → job-6vr4frws.js} +13 -13
- package/dist/chunks/{instruction-discovery-8xgekn8b.js → job-6x9kp8ex.js} +17 -17
- package/dist/chunks/{instruction-discovery-q4ha1nt6.js → job-70dyee8s.js} +8 -8
- package/dist/chunks/{instruction-discovery-r5x6zcsm.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/{instruction-discovery-k57zg0v1.js → job-76xremav.js} +18 -18
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-avae2qkj.js → job-7kvpsc06.js} +9 -9
- package/dist/chunks/{instruction-discovery-h6b02349.js → job-7pr2hkwv.js} +5 -5
- package/dist/chunks/{instruction-discovery-jrfr1c68.js → job-7td7z3fp.js} +18 -18
- package/dist/chunks/{instruction-discovery-84txncab.js → job-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-eht2pxda.js → job-882jhm7b.js} +32 -32
- package/dist/chunks/{instruction-discovery-kxw03s6f.js → job-8b98verr.js} +10 -10
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-aqr5jswe.js → job-8gf1193z.js} +4 -4
- package/dist/chunks/{instruction-discovery-fsz30s44.js → job-8kgw4qrf.js} +1 -1
- package/dist/chunks/{instruction-discovery-pnbbez7v.js → job-8qqrm4zt.js} +26 -26
- package/dist/chunks/{instruction-discovery-z1d7ddxf.js → job-8s4zmq6r.js} +6 -6
- package/dist/chunks/{instruction-discovery-xst8czg1.js → job-8v7ffv8d.js} +25 -25
- package/dist/chunks/{instruction-discovery-ss2kacyw.js → job-8vesgk6h.js} +13 -13
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{instruction-discovery-r4xhx5yy.js → job-9c3zczec.js} +12 -12
- package/dist/chunks/{instruction-discovery-gpmqmegr.js → job-9m0czbyn.js} +20 -20
- package/dist/chunks/job-9mag1gb4.js +26 -0
- package/dist/chunks/{instruction-discovery-ze1t0k39.js → job-9mczkx7c.js} +23 -23
- package/dist/chunks/{instruction-discovery-qyz68xr4.js → job-9ss7kw18.js} +10 -10
- package/dist/chunks/{instruction-discovery-vg5xy7fh.js → job-a5rgpd9n.js} +9 -9
- package/dist/chunks/{instruction-discovery-ns0djxc8.js → job-a8vb6yp3.js} +11 -11
- package/dist/chunks/{instruction-discovery-g01nxz4d.js → job-a8wt8y1z.js} +1 -1
- package/dist/chunks/{instruction-discovery-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-h52c3x43.js → job-awg97q1x.js} +5 -5
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-7t71radz.js → job-bdvsjrfp.js} +8 -8
- package/dist/chunks/{instruction-discovery-vb79pq1b.js → job-bfn9bqya.js} +33 -33
- package/dist/chunks/{instruction-discovery-6y0jnxwh.js → job-bpy3snnk.js} +12 -12
- package/dist/chunks/{instruction-discovery-32ymn5e1.js → job-bq2zwxzx.js} +6 -6
- package/dist/chunks/{instruction-discovery-qecqrgvf.js → job-bzyjzekh.js} +18 -18
- package/dist/chunks/{instruction-discovery-rr7h7dn4.js → job-bzzhr3zj.js} +14 -14
- package/dist/chunks/{instruction-discovery-7ntmn10c.js → job-c9p2pga3.js} +11 -11
- package/dist/chunks/{instruction-discovery-9vtsvkk2.js → job-cf8g1z1e.js} +6 -6
- package/dist/chunks/{instruction-discovery-54tcyq79.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{instruction-discovery-f312cjwv.js → job-crtzgn9t.js} +22 -22
- package/dist/chunks/{instruction-discovery-cf9ytn19.js → job-cvhge4xv.js} +27 -27
- package/dist/chunks/{instruction-discovery-1cge6xys.js → job-d4c4qgdk.js} +10 -10
- package/dist/chunks/{instruction-discovery-myy2c2wb.js → job-d75ppx60.js} +29 -29
- package/dist/chunks/{instruction-discovery-x4ewwgt8.js → job-d82nvbjp.js} +10 -10
- package/dist/chunks/{instruction-discovery-kqs3y8v2.js → job-da7kmwxg.js} +11 -11
- package/dist/chunks/{instruction-discovery-hw07rkan.js → job-dhpaedsx.js} +4 -4
- package/dist/chunks/{instruction-discovery-d4he2qe1.js → job-djszqvmq.js} +9 -9
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → job-dmqcgk4z.js} +2 -2
- package/dist/chunks/{instruction-discovery-xfkkasph.js → job-drwq78ky.js} +4 -4
- package/dist/chunks/{instruction-discovery-jmz48h02.js → job-dst4ms2e.js} +11 -11
- package/dist/chunks/job-dxj72tfx.js +18 -0
- package/dist/chunks/{instruction-discovery-34aseb2t.js → job-dy6g6r1x.js} +11 -11
- package/dist/chunks/{instruction-discovery-9wdq8f39.js → job-dyggpwm1.js} +17 -17
- package/dist/chunks/{instruction-discovery-ywfr5f7y.js → job-dyw1x60t.js} +22 -22
- package/dist/chunks/{instruction-discovery-38dw6rw7.js → job-e26zydd5.js} +9 -9
- package/dist/chunks/{instruction-discovery-wbkyxrgf.js → job-e6hmchc5.js} +5 -5
- package/dist/chunks/{instruction-discovery-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{instruction-discovery-p25pce50.js → job-eddp1xyx.js} +18 -18
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-hwt60xw2.js → job-eg9d22mh.js} +16 -16
- package/dist/chunks/{instruction-discovery-ery46gwm.js → job-ep21a2k1.js} +15 -15
- package/dist/chunks/{instruction-discovery-9gjc8sm6.js → job-epcpjtmm.js} +18 -18
- package/dist/chunks/{instruction-discovery-w3seyqvg.js → job-ervfjr3g.js} +15 -15
- package/dist/chunks/{instruction-discovery-m12n5y3f.js → job-es0c2gra.js} +47 -47
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-estn5yqz.js → job-ew0q6k30.js} +152 -152
- package/dist/chunks/{instruction-discovery-0yt0caxe.js → job-ey36844v.js} +10 -10
- package/dist/chunks/{instruction-discovery-9t7c31ty.js → job-f4m9nz49.js} +14 -14
- package/dist/chunks/{instruction-discovery-6pjjjzvh.js → job-fa6fex3m.js} +4 -4
- package/dist/chunks/{instruction-discovery-sppx2cm3.js → job-fbkspamq.js} +15 -15
- package/dist/chunks/{instruction-discovery-5x736p1g.js → job-g0knnnvb.js} +11 -11
- package/dist/chunks/{instruction-discovery-va34hpv2.js → job-g2zryj83.js} +3 -3
- package/dist/chunks/{instruction-discovery-cv5gvdp9.js → job-g64a4xw1.js} +32 -32
- package/dist/chunks/{instruction-discovery-3rxyecnx.js → job-g6sz4tq5.js} +32 -32
- package/dist/chunks/{instruction-discovery-ys989rq2.js → job-gayv5g80.js} +48 -48
- package/dist/chunks/{instruction-discovery-z9ntxpz7.js → job-gbra0ncn.js} +9 -9
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-e7dwzs0g.js → job-gdg5jmgt.js} +4 -4
- package/dist/chunks/{instruction-discovery-6mmqkzfc.js → job-gjjcw6rp.js} +50 -50
- package/dist/chunks/job-gnj94y4s.js +252 -0
- package/dist/chunks/{instruction-discovery-ych4f45t.js → job-gsn75v2a.js} +18 -18
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-cdk3gs1h.js → job-h46arez0.js} +7 -7
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdm1h4wf.js → job-h75mtxy7.js} +16 -16
- package/dist/chunks/{instruction-discovery-f4161tt7.js → job-hafpg71j.js} +19 -19
- package/dist/chunks/{instruction-discovery-9mgdqk3f.js → job-hr433y7c.js} +54 -54
- package/dist/chunks/{instruction-discovery-hz0q9sdq.js → job-hz0q9sdq.js} +1 -1
- package/dist/chunks/{instruction-discovery-36s4nkqj.js → job-j0axf2jn.js} +87 -87
- package/dist/chunks/{instruction-discovery-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-armsaks0.js → job-j82ypg12.js} +21 -21
- package/dist/chunks/{instruction-discovery-bacyfq49.js → job-j83z9j2w.js} +35 -35
- package/dist/chunks/{instruction-discovery-espax8zg.js → job-j8m1p4p1.js} +4 -4
- package/dist/chunks/{instruction-discovery-86bba7p5.js → job-jdcnnskf.js} +9 -9
- package/dist/chunks/{instruction-discovery-pse00pgs.js → job-jm9m13na.js} +13 -13
- package/dist/chunks/{instruction-discovery-vyqn3nqs.js → job-jz5sxy2v.js} +6 -6
- package/dist/chunks/{instruction-discovery-k3c624dm.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-ppxvzr57.js → job-k4t1mtpb.js} +46 -46
- package/dist/chunks/{instruction-discovery-q0d7s5js.js → job-k525kqyh.js} +3 -3
- package/dist/chunks/{instruction-discovery-s7b01nm3.js → job-k8j1cw5c.js} +2 -2
- package/dist/chunks/{instruction-discovery-vtdeafhw.js → job-kbcv0s8h.js} +5 -5
- package/dist/chunks/{instruction-discovery-yt3hy1g9.js → job-kbqjp078.js} +5 -5
- package/dist/chunks/{instruction-discovery-0jd5421x.js → job-ksdjh0p5.js} +26 -26
- package/dist/chunks/{instruction-discovery-rdmnr4g1.js → job-kvyy1gjj.js} +35 -35
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-pgxbze3j.js → job-m9yq670e.js} +39 -39
- package/dist/chunks/{instruction-discovery-k2h4r4s0.js → job-magykp64.js} +4 -4
- package/dist/chunks/{instruction-discovery-22kdfrga.js → job-mg69qb51.js} +10 -10
- package/dist/chunks/{instruction-discovery-xfyk0vde.js → job-mn3s1fwv.js} +15 -15
- package/dist/chunks/{instruction-discovery-mpk0rfs5.js → job-mpk0rfs5.js} +1 -1
- package/dist/chunks/{instruction-discovery-cbzddc70.js → job-mwb00zv6.js} +5 -5
- package/dist/chunks/{instruction-discovery-g0k6w0zm.js → job-mxkgvy0a.js} +17 -17
- package/dist/chunks/{instruction-discovery-nng2ktcm.js → job-nng2ktcm.js} +2 -2
- package/dist/chunks/{instruction-discovery-0w8rebe2.js → job-nyfjheeq.js} +9 -9
- package/dist/chunks/{instruction-discovery-cvbv1j0h.js → job-p0cqgnhb.js} +1 -1
- package/dist/chunks/{instruction-discovery-bfp5tavp.js → job-p0rf9kvp.js} +10 -10
- package/dist/chunks/{instruction-discovery-ndbev1fk.js → job-p0y4fdzp.js} +15 -15
- package/dist/chunks/{instruction-discovery-pa8pe2x7.js → job-pa8pe2x7.js} +1 -1
- package/dist/chunks/{instruction-discovery-6n88yxkj.js → job-pb1eahw5.js} +8 -8
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-rr0ej4qw.js → job-pna42hr7.js} +43 -43
- package/dist/chunks/{instruction-discovery-nq7qbqzc.js → job-pnv527nz.js} +9 -9
- package/dist/chunks/{instruction-discovery-8m5hcdr3.js → job-pse44q0r.js} +13 -13
- package/dist/chunks/{instruction-discovery-2zr3ta4f.js → job-ptg8ydkv.js} +33 -33
- package/dist/chunks/{instruction-discovery-mwben6dq.js → job-q01t0nhq.js} +28 -28
- package/dist/chunks/{instruction-discovery-t8bsretr.js → job-q0djyqnm.js} +10 -10
- package/dist/chunks/{instruction-discovery-bct739vz.js → job-q2b1ymqp.js} +4 -4
- package/dist/chunks/{instruction-discovery-gyzv7h5b.js → job-q2src7z2.js} +11 -11
- package/dist/chunks/{instruction-discovery-nysmp4a2.js → job-q80xae8x.js} +43 -43
- package/dist/chunks/{instruction-discovery-hr5bc81f.js → job-qpbc7zwf.js} +8 -8
- package/dist/chunks/{instruction-discovery-tn0aqsam.js → job-qr8csav2.js} +5 -5
- package/dist/chunks/{instruction-discovery-dxb4fe6m.js → job-qrwm1nmb.js} +15 -15
- package/dist/chunks/{instruction-discovery-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-tfgcfrdz.js → job-r1cbmm5y.js} +16 -16
- package/dist/chunks/{instruction-discovery-z1axqdyk.js → job-r1trvvnh.js} +20 -20
- package/dist/chunks/{instruction-discovery-yk46zzns.js → job-r2mmdhen.js} +1 -1
- package/dist/chunks/{instruction-discovery-2a57fqez.js → job-r790xmfm.js} +25 -25
- package/dist/chunks/{instruction-discovery-187m32rh.js → job-r8b1k8ga.js} +18 -18
- package/dist/chunks/{instruction-discovery-f38y7jqd.js → job-r96zx2xa.js} +36 -36
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-hhz91wcw.js → job-rgajyaf8.js} +6 -6
- package/dist/chunks/{instruction-discovery-a3t8nhns.js → job-rkw5xhpp.js} +21 -21
- package/dist/chunks/{instruction-discovery-zee1rnkq.js → job-rpg9c19m.js} +4 -4
- package/dist/chunks/{instruction-discovery-10bghtad.js → job-rrpxvh8q.js} +23 -23
- package/dist/chunks/{instruction-discovery-9fxqd1sf.js → job-rrqs6dcd.js} +9 -9
- package/dist/chunks/{instruction-discovery-wargq46t.js → job-rsc9fyh1.js} +8 -8
- package/dist/chunks/{instruction-discovery-fwwk8vbp.js → job-s1kvmffy.js} +9 -9
- package/dist/chunks/{instruction-discovery-3r66stpx.js → job-s82h7tsb.js} +3 -3
- package/dist/chunks/{instruction-discovery-0f9afca0.js → job-s8zy8myc.js} +5 -5
- package/dist/chunks/{instruction-discovery-nwqgzwhr.js → job-sh5w4k31.js} +11 -11
- package/dist/chunks/{instruction-discovery-frcg5mp6.js → job-skgkzd64.js} +21 -21
- package/dist/chunks/{instruction-discovery-rrkyb7d2.js → job-skh0f8k6.js} +15 -15
- package/dist/chunks/{instruction-discovery-7j2qha59.js → job-sm965ndy.js} +8 -8
- package/dist/chunks/{instruction-discovery-w2kn7s6g.js → job-ssx059rb.js} +11 -11
- package/dist/chunks/{instruction-discovery-vp7acvqa.js → job-st9cattx.js} +17 -17
- package/dist/chunks/{instruction-discovery-kdx8jt08.js → job-stn5vj2c.js} +14 -14
- package/dist/chunks/{instruction-discovery-f29mbr7f.js → job-syf57q56.js} +4 -4
- package/dist/chunks/{instruction-discovery-a2nkfp8g.js → job-t0xd0egn.js} +22 -22
- package/dist/chunks/{instruction-discovery-22yhfxxr.js → job-t15nrndc.js} +27 -27
- package/dist/chunks/{instruction-discovery-bhq1jhw6.js → job-t4f1bpyy.js} +2 -2
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-mzywpf3p.js → job-tazp3vs0.js} +4 -4
- package/dist/chunks/{instruction-discovery-1y283654.js → job-tbmac1c7.js} +4 -4
- package/dist/chunks/{instruction-discovery-qqgfay4a.js → job-tc2ag5qj.js} +6 -6
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-btr3megd.js → job-tghe7e42.js} +8 -8
- package/dist/chunks/{instruction-discovery-a2ew8a62.js → job-tkmwgdpd.js} +7 -7
- package/dist/chunks/{instruction-discovery-fr5dej3b.js → job-tp98q2hz.js} +25 -25
- package/dist/chunks/{instruction-discovery-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-5kvqrqtt.js → job-tx92n959.js} +4 -4
- package/dist/chunks/{instruction-discovery-srr58gm6.js → job-v0spscbj.js} +3 -3
- package/dist/chunks/{instruction-discovery-6z1zkmte.js → job-vawyqd0x.js} +3 -3
- package/dist/chunks/{instruction-discovery-gthj2xdw.js → job-vb0abph4.js} +26 -26
- package/dist/chunks/{instruction-discovery-79xc4wqz.js → job-vbcswfa9.js} +20 -20
- package/dist/chunks/{instruction-discovery-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-a8vp0knq.js → job-vexv4ykq.js} +7 -7
- package/dist/chunks/{instruction-discovery-cd1294k6.js → job-vh0p5v0t.js} +11 -11
- package/dist/chunks/{instruction-discovery-18szcvs2.js → job-vhfkbtqs.js} +1 -1
- package/dist/chunks/{instruction-discovery-cj1he048.js → job-vq2m4hzd.js} +23 -23
- package/dist/chunks/{instruction-discovery-jf9anmv7.js → job-vy4zg7qh.js} +12 -12
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-ab9238g2.js → job-w4arg62q.js} +6 -6
- package/dist/chunks/{instruction-discovery-0fnrp01p.js → job-w5bt4mtb.js} +31 -31
- package/dist/chunks/{instruction-discovery-psazpmmj.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-6ax496g1.js → job-wdgz3xr4.js} +49 -49
- package/dist/chunks/{instruction-discovery-yfnmz5ms.js → job-wkhb7dks.js} +7 -7
- package/dist/chunks/{instruction-discovery-ytvsh58e.js → job-wv91mkn5.js} +10 -10
- package/dist/chunks/{instruction-discovery-fyhkcpzz.js → job-x14d71ge.js} +6 -6
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-1gdh9z1g.js → job-xc87ya66.js} +10 -10
- package/dist/chunks/{instruction-discovery-151rgrdh.js → job-xehc972q.js} +3 -3
- package/dist/chunks/{instruction-discovery-1p5qk5ef.js → job-xtmqq4e3.js} +40 -40
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-6ymymyv8.js → job-ydgy0jv4.js} +6 -6
- package/dist/chunks/{instruction-discovery-r8xr0va3.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-k5fc4sd6.js → job-yy4jce8h.js} +24 -24
- package/dist/chunks/{instruction-discovery-z5bzs6kf.js → job-yyrw5ybt.js} +11 -11
- package/dist/chunks/{instruction-discovery-q9hsaf9y.js → job-yz3qhr3r.js} +18 -18
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-7vf0xt57.js → job-z5zeqmdz.js} +24 -24
- package/dist/chunks/{instruction-discovery-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-5cr7r7hg.js → job-za2wxfsn.js} +19 -19
- package/dist/chunks/{instruction-discovery-bfs5k0e6.js → job-za88e651.js} +17 -17
- package/dist/chunks/{instruction-discovery-b42kd364.js → job-zc5jecpb.js} +18 -18
- package/dist/chunks/{instruction-discovery-acnjys95.js → job-zd1qw503.js} +26 -26
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-bvtmakpj.js → job-zjtz4r8b.js} +10 -10
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-qrfkxqda.js → job-zx3b154r.js} +2 -2
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-mfnm4q8d.js → job-zz2t2kk4.js} +24 -24
- 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 +77 -77
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- 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 +123 -123
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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/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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +75 -75
- 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-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +70 -70
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- 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 +218 -218
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-64egkh2c.js +0 -252
- package/dist/chunks/instruction-discovery-7fj5dwt0.js +0 -18
- package/dist/chunks/instruction-discovery-g49e3836.js +0 -507
- package/dist/chunks/instruction-discovery-gk619p5m.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7w99qc9d.js → job-7w99qc9d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-g2zryj83.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID6,
|
|
17
|
+
Info: () => Info20,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service58,
|
|
21
|
+
node: () => node60
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID6 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service58 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID6.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service58.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node60 = makeGlobalNode({ service: Service58, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID6, Info20, ListInput4, AddInput2, Service58, node60, exports_saved };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-g2zryj83.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-8gf1193z.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-tghe7e42.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service59,
|
|
21
|
+
node61
|
|
22
|
+
} from "./job-bpy3snnk.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node26
|
|
26
|
+
} from "./job-j0axf2jn.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -61,8 +61,8 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
61
61
|
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service23;
|
|
65
|
+
const store = yield* Service59;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node4 = makeLocationNode({
|
|
151
151
|
service: Service3,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node87, llmClient2,
|
|
153
|
+
deps: [node87, llmClient2, node26, node61, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./job-vy4zg7qh.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service75,
|
|
16
|
+
node78
|
|
17
|
+
} from "./job-q0djyqnm.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service42,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node45,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service42 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service75;
|
|
110
|
+
return Service42.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node45 = makeGlobalNode({
|
|
171
|
+
service: Service42,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node78]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service42, isError2, validateBranch2, node45, exports_repository_cache };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./job-skgkzd64.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./job-eg9d22mh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./job-pna42hr7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service69,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-7td7z3fp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./job-6e7sacjg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make4
|
|
20
|
+
} from "./job-dy6g6r1x.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin22
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin22 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service39;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin11 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service69;
|
|
60
|
+
const sessions = yield* Service22;
|
|
61
|
+
const agents = yield* Service66;
|
|
62
|
+
const subagents = yield* make4;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin11 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin22, exports_command };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./job-zz2t2kk4.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service77,
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service77 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service77.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./job-eg9d22mh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./job-zz2t2kk4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./job-mn3s1fwv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-pse44q0r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./job-gjjcw6rp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-epcpjtmm.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin2 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service17;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin30 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-8gf1193z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service18,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./job-882jhm7b.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service18;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|