@opencode/core 0.0.0-dev-525 → 0.0.0-dev-526
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +86 -86
- package/dist/chunks/{command-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{command-0abspak8.js → repository-cache-04tv7frf.js} +9 -9
- package/dist/chunks/{command-ffcb8kyb.js → repository-cache-0570svrq.js} +47 -47
- package/dist/chunks/{command-2yy5117a.js → repository-cache-08wcsawn.js} +8 -8
- package/dist/chunks/{command-zma2brvv.js → repository-cache-09mtnzdp.js} +2 -2
- package/dist/chunks/{command-0j7gp832.js → repository-cache-0j7gp832.js} +1 -1
- package/dist/chunks/{command-e4n6nz14.js → repository-cache-0jgpnbrv.js} +34 -34
- package/dist/chunks/{command-0ma9gw4f.js → repository-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-eysjq4yd.js → repository-cache-0mw6d3es.js} +11 -11
- package/dist/chunks/{command-0gnxgj27.js → repository-cache-0p9dpm4j.js} +9 -9
- package/dist/chunks/{command-v5jcrjch.js → repository-cache-0zmxd749.js} +21 -21
- package/dist/chunks/{command-wayr15s4.js → repository-cache-12x6ka2x.js} +12 -12
- package/dist/chunks/{command-h9xvjfqn.js → repository-cache-17b8a7h3.js} +11 -11
- package/dist/chunks/{command-1aqsckx4.js → repository-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-w2280fc1.js → repository-cache-1cr485gj.js} +11 -11
- package/dist/chunks/{command-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-0h86f0az.js → repository-cache-1v2g13eq.js} +4 -4
- package/dist/chunks/{command-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → repository-cache-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-z3hx70ce.js → repository-cache-23frs6jw.js} +5 -5
- package/dist/chunks/{command-b1xvtxqp.js → repository-cache-2axc9xxh.js} +5 -5
- package/dist/chunks/{command-v3km2bj0.js → repository-cache-2cjdhjtw.js} +9 -9
- package/dist/chunks/{command-074d9wa5.js → repository-cache-2dj158v7.js} +34 -34
- package/dist/chunks/{command-zj1a0tt8.js → repository-cache-2hetaxtn.js} +31 -31
- package/dist/chunks/{command-2kg89srt.js → repository-cache-2kg89srt.js} +1 -1
- package/dist/chunks/{command-s1ba0vj0.js → repository-cache-2p60zmnr.js} +2 -2
- package/dist/chunks/{command-s11d7eb9.js → repository-cache-2tehddh2.js} +7 -7
- package/dist/chunks/{command-23ews3mh.js → repository-cache-30dm8cba.js} +5 -5
- package/dist/chunks/{command-5xfssjfj.js → repository-cache-3345d27s.js} +51 -51
- package/dist/chunks/{command-bkdrj0zy.js → repository-cache-36njk8b9.js} +19 -19
- package/dist/chunks/{command-3r4w7sja.js → repository-cache-39v36dn9.js} +3 -3
- package/dist/chunks/{command-khz19zrw.js → repository-cache-3h88s19f.js} +31 -31
- package/dist/chunks/{command-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-8t99kr38.js → repository-cache-3qgwywyc.js} +4 -4
- package/dist/chunks/{command-6d042k20.js → repository-cache-3t2h34xm.js} +3 -3
- package/dist/chunks/{command-s320htan.js → repository-cache-3yycz9r1.js} +8 -8
- package/dist/chunks/{command-1zb12d2z.js → repository-cache-3yzzx9pt.js} +10 -10
- package/dist/chunks/{command-cpvyzsr2.js → repository-cache-408b6q7j.js} +40 -40
- package/dist/chunks/{command-0tpp4vdc.js → repository-cache-40xydpb7.js} +16 -16
- package/dist/chunks/{command-40y6dtc2.js → repository-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-r41sfy63.js → repository-cache-40za9wsf.js} +6 -6
- package/dist/chunks/{command-4p7jmbsw.js → repository-cache-415p058j.js} +43 -43
- package/dist/chunks/{command-jxd6f16v.js → repository-cache-44pmzq9c.js} +2 -2
- package/dist/chunks/{command-psrmseec.js → repository-cache-45bqgdt1.js} +43 -43
- package/dist/chunks/{command-1jstmwa4.js → repository-cache-46qwxyyd.js} +15 -15
- package/dist/chunks/{command-hnea1j6a.js → repository-cache-481fdjcd.js} +20 -20
- package/dist/chunks/{command-bjh3vmv5.js → repository-cache-4cgc2mha.js} +41 -41
- package/dist/chunks/{command-k6881rgx.js → repository-cache-4cqdfm9b.js} +20 -20
- package/dist/chunks/{command-4dx1dgte.js → repository-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-c4a7emrx.js → repository-cache-4evpypsk.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → repository-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-cmvfhmsb.js → repository-cache-4r7b9kq0.js} +92 -92
- package/dist/chunks/{command-m7v4y796.js → repository-cache-4sphdqh8.js} +14 -14
- package/dist/chunks/{command-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{command-ks6aa6e4.js → repository-cache-4w8rtzkq.js} +30 -30
- package/dist/chunks/{command-0rnqyjrn.js → repository-cache-4zed97g7.js} +9 -9
- package/dist/chunks/{command-rgr196vp.js → repository-cache-50emzza2.js} +9 -9
- package/dist/chunks/{command-f222tsah.js → repository-cache-51wjgk96.js} +27 -27
- package/dist/chunks/{command-4y1sz0ad.js → repository-cache-5gnsew3j.js} +19 -19
- package/dist/chunks/{command-e7y4cz54.js → repository-cache-5m2mrva3.js} +9 -9
- package/dist/chunks/{command-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-82d3wjfb.js → repository-cache-5skedt4e.js} +12 -12
- package/dist/chunks/{command-8mfptry9.js → repository-cache-5v8na3sb.js} +15 -15
- package/dist/chunks/{command-aszkk4sv.js → repository-cache-5y9anawa.js} +38 -38
- package/dist/chunks/{command-rjeg9c4a.js → repository-cache-5zpqhmp2.js} +6 -6
- package/dist/chunks/{command-cqas00yk.js → repository-cache-6avt71pb.js} +35 -35
- package/dist/chunks/{command-5fcjamkr.js → repository-cache-6dcr0hza.js} +23 -23
- package/dist/chunks/{command-wg0s4x2q.js → repository-cache-6fbmsmtz.js} +9 -9
- package/dist/chunks/{command-qpe3mzzm.js → repository-cache-6jh19kms.js} +21 -21
- package/dist/chunks/{command-wvr8xscb.js → repository-cache-6y2b864j.js} +4 -4
- package/dist/chunks/{command-qcc200rj.js → repository-cache-72jpt517.js} +8 -8
- package/dist/chunks/{command-e44wstv1.js → repository-cache-72mm92v7.js} +4 -4
- package/dist/chunks/{command-f51s9hem.js → repository-cache-749e7hnk.js} +35 -35
- package/dist/chunks/{command-775hqbnd.js → repository-cache-775hqbnd.js} +3 -3
- package/dist/chunks/{command-6am4kvx9.js → repository-cache-77y14vvw.js} +18 -18
- package/dist/chunks/{command-rawbcf75.js → repository-cache-782sfg4x.js} +7 -7
- package/dist/chunks/{command-v97q42wb.js → repository-cache-7994hmqy.js} +8 -8
- package/dist/chunks/{command-44s91745.js → repository-cache-7aa28e26.js} +19 -19
- package/dist/chunks/{command-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-4kbwy8va.js → repository-cache-7e8fzpbf.js} +25 -25
- package/dist/chunks/{command-27qw66hx.js → repository-cache-7f08ed09.js} +11 -11
- package/dist/chunks/{command-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → repository-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{command-byf0b6xm.js → repository-cache-848ppjek.js} +5 -5
- package/dist/chunks/{command-9epwes7t.js → repository-cache-882qc2za.js} +35 -35
- package/dist/chunks/{command-89287pr7.js → repository-cache-89287pr7.js} +1 -1
- package/dist/chunks/{command-8b3vzgkx.js → repository-cache-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-8cg7mtm3.js → repository-cache-8cg7mtm3.js} +1 -1
- package/dist/chunks/repository-cache-8d14trmr.js +265 -0
- package/dist/chunks/{command-sabmrbhf.js → repository-cache-8g483503.js} +33 -33
- package/dist/chunks/{command-256e7gvp.js → repository-cache-8h2qa1n6.js} +11 -11
- package/dist/chunks/{command-e7tn3wyq.js → repository-cache-8h4cqdcj.js} +21 -21
- package/dist/chunks/{command-vsz0eq6m.js → repository-cache-8m9wc8b7.js} +12 -12
- package/dist/chunks/{command-cne7cqc5.js → repository-cache-8qehcy0c.js} +78 -78
- package/dist/chunks/{command-4z1vr99c.js → repository-cache-8qsk2vh0.js} +17 -17
- package/dist/chunks/{command-8sxe6kv8.js → repository-cache-8sxe6kv8.js} +2 -2
- package/dist/chunks/{command-rmv7fhs4.js → repository-cache-8wjgamp7.js} +3 -3
- package/dist/chunks/{command-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-rj3dsn2w.js → repository-cache-8x7spqqh.js} +15 -15
- package/dist/chunks/{command-e9wyjjw9.js → repository-cache-8z0w46qk.js} +29 -29
- package/dist/chunks/{command-anvcme1c.js → repository-cache-90ct6wq4.js} +4 -4
- package/dist/chunks/{command-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{command-f4krjp8e.js → repository-cache-93xmyh8q.js} +7 -7
- package/dist/chunks/{command-cs46pczn.js → repository-cache-94fryj18.js} +25 -25
- package/dist/chunks/{command-k1efc4wa.js → repository-cache-96y7z9qn.js} +6 -6
- package/dist/chunks/{command-sepd17dr.js → repository-cache-9b3d18bp.js} +9 -9
- package/dist/chunks/{command-57bahrw8.js → repository-cache-9j5jnrz7.js} +18 -18
- package/dist/chunks/{command-w87hzrb3.js → repository-cache-9nkjg9qd.js} +6 -6
- package/dist/chunks/{command-g30c98sx.js → repository-cache-9qh0s6d7.js} +33 -33
- package/dist/chunks/{command-m17k7hhh.js → repository-cache-9rgr5dz2.js} +4 -4
- package/dist/chunks/{command-4krz84m7.js → repository-cache-9rqhy0gk.js} +5 -5
- package/dist/chunks/{command-p0x9twv5.js → repository-cache-a0vq4gya.js} +17 -17
- package/dist/chunks/{command-g61rwqe2.js → repository-cache-a4jgyqzw.js} +20 -20
- package/dist/chunks/{command-yc3ccsjh.js → repository-cache-aa1zzdyt.js} +2 -2
- package/dist/chunks/{command-r89d1c3z.js → repository-cache-ag70g5yp.js} +5 -5
- package/dist/chunks/{command-cq5y4bwh.js → repository-cache-akk783yh.js} +4 -4
- package/dist/chunks/{command-h59r6t73.js → repository-cache-aptmk1eg.js} +11 -11
- package/dist/chunks/{command-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-q6dw3yv1.js → repository-cache-b3bsgr18.js} +59 -59
- package/dist/chunks/{command-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{command-a07cmgbn.js → repository-cache-b7ph2qht.js} +11 -11
- package/dist/chunks/{command-wh82crey.js → repository-cache-b8rw9snj.js} +15 -15
- package/dist/chunks/{command-bhfd478d.js → repository-cache-bhfd478d.js} +1 -1
- package/dist/chunks/{command-tt1t8ta0.js → repository-cache-bkscep7p.js} +26 -26
- package/dist/chunks/{command-064m87rv.js → repository-cache-bm75jts0.js} +27 -27
- package/dist/chunks/{command-81g68a4p.js → repository-cache-bnn3kspk.js} +8 -8
- package/dist/chunks/{command-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{command-nemnqzpn.js → repository-cache-btnkw9ag.js} +4 -4
- package/dist/chunks/{command-cstc266c.js → repository-cache-btzjsk5g.js} +21 -21
- package/dist/chunks/{command-t2pg5vzh.js → repository-cache-bvatbj32.js} +29 -29
- package/dist/chunks/{command-z8c7spxp.js → repository-cache-bvzx78na.js} +17 -17
- package/dist/chunks/{command-7gf2jzy9.js → repository-cache-cfydbn62.js} +46 -46
- package/dist/chunks/{command-351t3psw.js → repository-cache-cg17g3bh.js} +15 -15
- package/dist/chunks/{command-saq60637.js → repository-cache-chjd737s.js} +20 -20
- package/dist/chunks/{command-grxrsdxn.js → repository-cache-cmbezbpz.js} +20 -20
- package/dist/chunks/{command-c7mdr3tt.js → repository-cache-cnn6pg0y.js} +19 -19
- package/dist/chunks/{command-z3v3hmej.js → repository-cache-crg9fqw5.js} +30 -30
- package/dist/chunks/{command-xdngrvng.js → repository-cache-ct4sd734.js} +8 -8
- package/dist/chunks/{command-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-hvcfry8a.js → repository-cache-cxd6nj8e.js} +5 -5
- package/dist/chunks/{command-02nh6cag.js → repository-cache-cxj8s5x6.js} +52 -52
- package/dist/chunks/{command-11mfvh52.js → repository-cache-czmr4k41.js} +5 -5
- package/dist/chunks/{command-hjnjc3ts.js → repository-cache-d390zwf3.js} +6 -6
- package/dist/chunks/{command-2twam6pg.js → repository-cache-d4tnbbq2.js} +32 -32
- package/dist/chunks/{command-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-9za8by3m.js → repository-cache-d77r7qc3.js} +18 -18
- package/dist/chunks/repository-cache-db88sqcr.js +563 -0
- package/dist/chunks/{command-bxe0aw9e.js → repository-cache-dgn1jfts.js} +12 -12
- package/dist/chunks/{command-etfbz5bk.js → repository-cache-dgw19g0z.js} +13 -13
- package/dist/chunks/{command-5ab64ye4.js → repository-cache-dqxfp8w4.js} +9 -9
- package/dist/chunks/{command-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{command-cp8y7shp.js → repository-cache-dwj3j26y.js} +15 -15
- package/dist/chunks/{command-qsjwh50e.js → repository-cache-e0cv4dhg.js} +33 -33
- package/dist/chunks/{command-peh6qfeq.js → repository-cache-e5p1c2fw.js} +22 -22
- package/dist/chunks/{command-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{command-362dybbw.js → repository-cache-e9q4wrrf.js} +11 -11
- package/dist/chunks/{command-qbx41anh.js → repository-cache-eab5fpag.js} +48 -48
- package/dist/chunks/{command-1y4mz3vx.js → repository-cache-ee0tfk34.js} +27 -27
- package/dist/chunks/{command-6kw9fchk.js → repository-cache-efmq5t8s.js} +6 -6
- package/dist/chunks/{command-tqw0ps8q.js → repository-cache-em1gn7m5.js} +4 -4
- package/dist/chunks/{command-gbn2r6bs.js → repository-cache-enqnnpc3.js} +6 -6
- package/dist/chunks/{command-eqw4pqj1.js → repository-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-agm27xf5.js → repository-cache-ewd1gnqy.js} +20 -20
- package/dist/chunks/{command-nc1mwh0d.js → repository-cache-f3y09a63.js} +16 -16
- package/dist/chunks/{command-ebg34qcc.js → repository-cache-f9hv1gb2.js} +3 -3
- package/dist/chunks/{command-mhkz5fvf.js → repository-cache-fdk2wax1.js} +6 -6
- package/dist/chunks/{command-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-90ej8wzb.js → repository-cache-ffqnykrn.js} +4 -4
- package/dist/chunks/{command-fg9p65nk.js → repository-cache-fg9p65nk.js} +2 -2
- package/dist/chunks/repository-cache-fjk5hyjg.js +26 -0
- package/dist/chunks/{command-ve22198q.js → repository-cache-fjxa2fmg.js} +28 -28
- package/dist/chunks/{command-5xmc3nyq.js → repository-cache-fp2na9w8.js} +11 -11
- package/dist/chunks/{command-m7gzp546.js → repository-cache-ftsszdwq.js} +19 -19
- package/dist/chunks/{command-5qnv1593.js → repository-cache-fvz47e7v.js} +10 -10
- package/dist/chunks/{command-nhvhxvdt.js → repository-cache-fzbvjw9m.js} +12 -12
- package/dist/chunks/{command-b6z35kmf.js → repository-cache-fznmdakp.js} +4 -4
- package/dist/chunks/{command-rha71f46.js → repository-cache-g1e2r5aa.js} +4 -4
- package/dist/chunks/{command-3r5g8d5e.js → repository-cache-g5mabqyd.js} +30 -30
- package/dist/chunks/{command-917fdf9n.js → repository-cache-g9m7dw8y.js} +28 -28
- package/dist/chunks/{command-gbjdnr5j.js → repository-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-ghrv1g9c.js → repository-cache-ghrv1g9c.js} +1 -1
- package/dist/chunks/{command-fzjqfzm5.js → repository-cache-gm5b10kj.js} +19 -19
- package/dist/chunks/{command-x56px1pc.js → repository-cache-gp7aa7a5.js} +198 -198
- package/dist/chunks/{command-3ge6n67g.js → repository-cache-grkapvb9.js} +29 -29
- package/dist/chunks/repository-cache-grzehpz7.js +18 -0
- package/dist/chunks/{command-wcytbmeq.js → repository-cache-gsdm4vs4.js} +3 -3
- package/dist/chunks/{command-v7a5f7fs.js → repository-cache-gv2m5n15.js} +13 -13
- package/dist/chunks/{command-tg7s7b5t.js → repository-cache-gxs71cxp.js} +4 -4
- package/dist/chunks/{command-saykm3qf.js → repository-cache-h03b4h8m.js} +12 -12
- package/dist/chunks/{command-5vzraghn.js → repository-cache-h2wazp8s.js} +18 -18
- package/dist/chunks/{command-yahhwfnh.js → repository-cache-hprj54m4.js} +18 -18
- package/dist/chunks/{command-9q6w3bb8.js → repository-cache-hqvawb3t.js} +12 -12
- package/dist/chunks/{command-vabkyy3n.js → repository-cache-hy1zxe59.js} +54 -54
- package/dist/chunks/{command-ydsespw1.js → repository-cache-hy8c1z76.js} +8 -8
- package/dist/chunks/{command-r0wrga32.js → repository-cache-j0p3wt22.js} +8 -8
- package/dist/chunks/{command-c6x7d2ts.js → repository-cache-j3f8hyeg.js} +4 -4
- package/dist/chunks/{command-j9nxzz3g.js → repository-cache-j9nxzz3g.js} +3 -3
- package/dist/chunks/repository-cache-jaq18jgp.js +16 -0
- package/dist/chunks/{command-fq7y9kdg.js → repository-cache-jcb581g0.js} +5 -5
- package/dist/chunks/{command-ah83p6t6.js → repository-cache-jhwvvc0w.js} +6 -6
- package/dist/chunks/{command-snhag6t6.js → repository-cache-jqzkmxe2.js} +42 -42
- package/dist/chunks/{command-s0t7g96k.js → repository-cache-js2thteb.js} +7 -7
- package/dist/chunks/{command-6e9v7fez.js → repository-cache-k0h67er9.js} +19 -19
- package/dist/chunks/{command-kh8gdsej.js → repository-cache-kh8gdsej.js} +1 -1
- package/dist/chunks/{command-qfz6bxfd.js → repository-cache-kj9n5bvh.js} +4 -4
- package/dist/chunks/{command-x1z6a9tw.js → repository-cache-kpgqb8fa.js} +12 -12
- package/dist/chunks/{command-yd55qw15.js → repository-cache-kse531ts.js} +6 -6
- package/dist/chunks/{command-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-kzczzf4v.js → repository-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{command-v8r6m231.js → repository-cache-m5net9xv.js} +26 -26
- package/dist/chunks/{command-b5bymvf0.js → repository-cache-m756dwb2.js} +11 -11
- package/dist/chunks/{command-4eq227ph.js → repository-cache-m8g39vpr.js} +10 -10
- package/dist/chunks/{command-crfxy42b.js → repository-cache-m9k28zk8.js} +20 -20
- package/dist/chunks/{command-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-6cabf9xq.js → repository-cache-mawwhskg.js} +35 -35
- package/dist/chunks/{command-mb7mbhnz.js → repository-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-syhk5kgt.js → repository-cache-mbdnt60s.js} +11 -11
- package/dist/chunks/{command-vjkzj3kq.js → repository-cache-mfmzhgah.js} +34 -34
- package/dist/chunks/{command-8d9df08g.js → repository-cache-mg4rrfgc.js} +8 -8
- package/dist/chunks/{command-q04nr405.js → repository-cache-mre5t62n.js} +10 -10
- package/dist/chunks/{command-xdhgxatc.js → repository-cache-n2byyn4z.js} +16 -16
- package/dist/chunks/{command-mb94ewcq.js → repository-cache-n2r2ftb0.js} +6 -6
- package/dist/chunks/{command-ntzzxe9p.js → repository-cache-n56q8w6a.js} +5 -5
- package/dist/chunks/{command-h3tnm1rt.js → repository-cache-nc3gng7j.js} +16 -16
- package/dist/chunks/{command-e13bmjpy.js → repository-cache-nn7wnkbg.js} +6 -6
- package/dist/chunks/{command-bdtsfe6m.js → repository-cache-npycpjef.js} +38 -38
- package/dist/chunks/{command-ga2ynj5d.js → repository-cache-nrv2xqv3.js} +15 -15
- package/dist/chunks/{command-fzk0xcgn.js → repository-cache-nwnjpwmn.js} +33 -33
- package/dist/chunks/{command-dnvyz10m.js → repository-cache-p0rg1a2b.js} +5 -5
- package/dist/chunks/{command-3k081308.js → repository-cache-p32tcm88.js} +29 -29
- package/dist/chunks/{command-acnzt9vb.js → repository-cache-paw95bap.js} +4 -4
- package/dist/chunks/{command-kyq531r4.js → repository-cache-pcfp8313.js} +34 -34
- package/dist/chunks/{command-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{command-czvsneg4.js → repository-cache-ppwt3tm7.js} +12 -12
- package/dist/chunks/{command-82phgae0.js → repository-cache-pyc3gczw.js} +5 -5
- package/dist/chunks/{command-r92wkm9m.js → repository-cache-pzth02e8.js} +38 -38
- package/dist/chunks/{command-55g5r261.js → repository-cache-q1zvvpt4.js} +13 -13
- package/dist/chunks/{command-8whgbgnz.js → repository-cache-q2582vz5.js} +12 -12
- package/dist/chunks/{command-6dqyy18z.js → repository-cache-q65mdntm.js} +4 -4
- package/dist/chunks/{command-eaq9psqk.js → repository-cache-qg88eyhy.js} +3 -3
- package/dist/chunks/{command-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-gew2tfps.js → repository-cache-qpwcpmm3.js} +15 -15
- package/dist/chunks/{command-qqvy8y24.js → repository-cache-qqvy8y24.js} +1 -1
- package/dist/chunks/{command-jg11hrrc.js → repository-cache-qsdghx1p.js} +4 -4
- package/dist/chunks/{command-vnjc296t.js → repository-cache-qtf35215.js} +3 -3
- package/dist/chunks/{command-9sq79qyq.js → repository-cache-qvvdt2ja.js} +22 -22
- package/dist/chunks/{command-na3mw78m.js → repository-cache-qwz295ec.js} +6 -6
- package/dist/chunks/{command-esrpj8rw.js → repository-cache-r5f9wcnz.js} +11 -11
- package/dist/chunks/{command-dtzqnag0.js → repository-cache-r9g39hxh.js} +53 -53
- package/dist/chunks/{command-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-rgc9cx3e.js → repository-cache-rgc9cx3e.js} +2 -2
- package/dist/chunks/{command-px7qpgcn.js → repository-cache-rj7j5fvs.js} +4 -4
- package/dist/chunks/{command-f341sazs.js → repository-cache-rj7jtxy8.js} +3 -3
- package/dist/chunks/{command-k5crwfzg.js → repository-cache-rq5zfkmw.js} +10 -10
- package/dist/chunks/{command-4h9tcrpz.js → repository-cache-rrcz77ds.js} +16 -16
- package/dist/chunks/{command-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-tkwtbhmp.js → repository-cache-rxc71ntg.js} +11 -11
- package/dist/chunks/{command-xrvce4qw.js → repository-cache-s0qt78mh.js} +17 -17
- package/dist/chunks/{command-2tk0wm70.js → repository-cache-s1mx7mtb.js} +25 -25
- package/dist/chunks/{command-d59mb49e.js → repository-cache-s8qtxmzm.js} +6 -6
- package/dist/chunks/{command-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-sbya78hr.js → repository-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{command-sbz71ybr.js → repository-cache-sbz71ybr.js} +1 -1
- package/dist/chunks/{command-9qayxaw8.js → repository-cache-sn4kj4pg.js} +25 -25
- package/dist/chunks/{command-qqmdf724.js → repository-cache-snws2sbm.js} +9 -9
- package/dist/chunks/{command-c2q7km6r.js → repository-cache-srqj4rh5.js} +15 -15
- package/dist/chunks/{command-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-xan9rsx8.js → repository-cache-sw0fssa3.js} +8 -8
- package/dist/chunks/{command-96djdqw5.js → repository-cache-szwm4crx.js} +4 -4
- package/dist/chunks/{command-wngp49ab.js → repository-cache-t3qb3tsy.js} +5 -5
- package/dist/chunks/{command-v8vd993n.js → repository-cache-t4vf48t8.js} +8 -8
- package/dist/chunks/{command-26wfx3k0.js → repository-cache-tb2mrvc9.js} +4 -4
- package/dist/chunks/{command-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-fdvgj5bd.js → repository-cache-tjbc8cst.js} +60 -60
- package/dist/chunks/{command-tm5f056h.js → repository-cache-tk4w63wn.js} +3 -3
- package/dist/chunks/{command-c7s3m25c.js → repository-cache-tk8b4vwr.js} +20 -20
- package/dist/chunks/{command-zpw0hdvn.js → repository-cache-tpc6d58g.js} +27 -27
- package/dist/chunks/{command-j376ae4e.js → repository-cache-tr8x705m.js} +5 -5
- package/dist/chunks/{command-zrbfykn4.js → repository-cache-tshvvb5t.js} +11 -11
- package/dist/chunks/{command-tvtps2q9.js → repository-cache-tvtps2q9.js} +1 -1
- package/dist/chunks/{command-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{command-3qdn8ppp.js → repository-cache-v15j3x2c.js} +27 -27
- package/dist/chunks/{command-csrj7g1y.js → repository-cache-v22gz8xn.js} +4 -4
- package/dist/chunks/{command-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-ghnqkvf8.js → repository-cache-v3abn69z.js} +27 -27
- package/dist/chunks/{command-98qzw0ke.js → repository-cache-v484v0gw.js} +11 -11
- package/dist/chunks/{command-zgq5ynfz.js → repository-cache-v4wwqybb.js} +8 -8
- package/dist/chunks/{command-y0etrvew.js → repository-cache-v5xy8wzz.js} +14 -14
- package/dist/chunks/{command-dpm8gpv0.js → repository-cache-va6gsnfx.js} +21 -21
- package/dist/chunks/{command-fwp42dz0.js → repository-cache-vc0wvybf.js} +7 -7
- package/dist/chunks/{command-ffz0kz1m.js → repository-cache-vdhhbsj6.js} +18 -18
- package/dist/chunks/{command-phxnccdn.js → repository-cache-veyyzc6t.js} +12 -12
- package/dist/chunks/{command-vjf35v1f.js → repository-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-3dtj5d08.js → repository-cache-vs7ka571.js} +17 -17
- package/dist/chunks/{command-m2h1t11e.js → repository-cache-vsb7s5jc.js} +26 -26
- package/dist/chunks/{command-vt4r9rmy.js → repository-cache-vt4r9rmy.js} +2 -2
- package/dist/chunks/{command-9zsb5378.js → repository-cache-vtkyewdg.js} +11 -11
- package/dist/chunks/{command-vgs3tmp3.js → repository-cache-vwjpa1de.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-hk9mpf0z.js → repository-cache-wcb4m75m.js} +3 -3
- package/dist/chunks/{command-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{command-3deqpp53.js → repository-cache-wdt67p1g.js} +7 -7
- package/dist/chunks/{command-wegkxhrn.js → repository-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-k4vpzaap.js → repository-cache-wfyv9gxw.js} +15 -15
- package/dist/chunks/{command-wnhgecwx.js → repository-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-eavcrtrz.js → repository-cache-x150ncgg.js} +2 -2
- package/dist/chunks/{command-dea3z4bb.js → repository-cache-x82vyxap.js} +18 -18
- package/dist/chunks/{command-jnfs9wfb.js → repository-cache-x9aa95w6.js} +8 -8
- package/dist/chunks/{command-04whjz6n.js → repository-cache-xjbsd7zy.js} +9 -9
- package/dist/chunks/{command-xjr6c8m4.js → repository-cache-xjr6c8m4.js} +1 -1
- package/dist/chunks/{command-67wwskyb.js → repository-cache-xksw6ev0.js} +4 -4
- package/dist/chunks/{command-zwqtwbqk.js → repository-cache-xx8vr308.js} +4 -4
- package/dist/chunks/{command-7nqkf5r1.js → repository-cache-xz07m27x.js} +2 -2
- package/dist/chunks/{command-scmk72rv.js → repository-cache-y3p3hzkr.js} +5 -5
- package/dist/chunks/{command-85xpp1tt.js → repository-cache-y9b1qepv.js} +2 -2
- package/dist/chunks/{command-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-swfrchhw.js → repository-cache-yn3x0myd.js} +5 -5
- package/dist/chunks/{command-hpcc3d8k.js → repository-cache-yr0w2dxp.js} +43 -43
- package/dist/chunks/{command-yr705xyq.js → repository-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{command-c1egm1nn.js → repository-cache-ytc8zafd.js} +24 -24
- package/dist/chunks/{command-yvtc2x31.js → repository-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-p773c9xs.js → repository-cache-yy2fst48.js} +33 -33
- package/dist/chunks/{command-267919z8.js → repository-cache-yypes0b9.js} +87 -87
- package/dist/chunks/{command-ymgc33ap.js → repository-cache-z6d4vqry.js} +5 -5
- package/dist/chunks/{command-fpx7q6na.js → repository-cache-z6z16erj.js} +45 -45
- package/dist/chunks/{command-bz1arw6e.js → repository-cache-z7cwk02r.js} +3 -3
- package/dist/chunks/{command-4agpc0tz.js → repository-cache-z7nw8j89.js} +17 -17
- package/dist/chunks/{command-e74ckb0h.js → repository-cache-z9fg28mj.js} +31 -31
- package/dist/chunks/{command-09j79agv.js → repository-cache-zegmmy0x.js} +8 -8
- package/dist/chunks/{command-0d8x3dj0.js → repository-cache-zfbdpczg.js} +22 -22
- package/dist/chunks/{command-j38knkv1.js → repository-cache-zr85smw1.js} +13 -13
- package/dist/chunks/{command-fstdtr31.js → repository-cache-ztf6n3de.js} +4 -4
- package/dist/chunks/{command-xe6pezxp.js → repository-cache-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +128 -128
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +128 -128
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- 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 +103 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +241 -241
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +426 -426
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +410 -410
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- 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 +244 -244
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/command-cm0nas3h.js +0 -16
- package/dist/chunks/command-ea3m5w1p.js +0 -563
- package/dist/chunks/command-ev660z6k.js +0 -18
- package/dist/chunks/command-hdsvhsqj.js +0 -265
- package/dist/chunks/command-krjssjyg.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-108x4f4w.js → repository-cache-108x4f4w.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → repository-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3af0jn4w.js → repository-cache-3af0jn4w.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → repository-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → repository-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bhmrqjy3.js → repository-cache-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → repository-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → repository-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → repository-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → repository-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → repository-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → repository-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z0h12gs8.js → repository-cache-z0h12gs8.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zxpyjp51.js → repository-cache-zxpyjp51.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-q65mdntm.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-yy2fst48.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID20,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-749e7hnk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID17,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./repository-cache-2hetaxtn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID16
|
|
19
|
+
} from "./repository-cache-z9fg28mj.js";
|
|
20
20
|
import {
|
|
21
21
|
load5,
|
|
22
22
|
derive3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-m756dwb2.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-0mw6d3es.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID14
|
|
29
|
+
} from "./repository-cache-tk8b4vwr.js";
|
|
30
30
|
import {
|
|
31
31
|
get5
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service16,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-cache-3yycz9r1.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-cache-0p9dpm4j.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-cache-efmq5t8s.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/github-copilot.ts
|
|
45
45
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
73
73
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
74
74
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
75
75
|
var oauth = (app) => ({
|
|
76
|
-
integrationID:
|
|
76
|
+
integrationID: ID20.make("github-copilot"),
|
|
77
77
|
method: {
|
|
78
78
|
id: methodID,
|
|
79
79
|
type: "oauth",
|
|
@@ -171,8 +171,8 @@ var oauth = (app) => ({
|
|
|
171
171
|
var GithubCopilotPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.github.copilot",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const providers = yield*
|
|
175
|
-
const cache = yield*
|
|
174
|
+
const providers = yield* Service79;
|
|
175
|
+
const cache = yield* Service16;
|
|
176
176
|
const http = yield* HttpClient.HttpClient;
|
|
177
177
|
const discovered = yield* start3({
|
|
178
178
|
integrationID: "github-copilot",
|
|
@@ -184,7 +184,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
184
184
|
if (!connection || credential?.type !== "oauth")
|
|
185
185
|
return { connection, value: {} };
|
|
186
186
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
187
|
-
const headers = (yield* providers.get(
|
|
187
|
+
const headers = (yield* providers.get(ID17.githubCopilot))?.headers ?? {};
|
|
188
188
|
const models = yield* cache.get({
|
|
189
189
|
key: modelsKey(connection, url, headers),
|
|
190
190
|
...options,
|
|
@@ -205,7 +205,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
205
205
|
editor.method.update(oauth(ctx.app));
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.provider.transform((evt) => {
|
|
208
|
-
const item = evt.get(
|
|
208
|
+
const item = evt.get(ID17.githubCopilot);
|
|
209
209
|
if (!item)
|
|
210
210
|
return;
|
|
211
211
|
const loaded = discovered.current;
|
|
@@ -234,8 +234,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
yield* ctx.model.transform((models) => {
|
|
237
|
-
if (models.get(
|
|
238
|
-
models.update(
|
|
237
|
+
if (models.get(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"))) {
|
|
238
|
+
models.update(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"), (model) => {
|
|
239
239
|
model.enabled = false;
|
|
240
240
|
});
|
|
241
241
|
}
|
|
@@ -246,7 +246,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
|
|
247
247
|
const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
|
|
248
248
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID17.githubCopilot });
|
|
250
250
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
251
251
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
252
252
|
return;
|
|
@@ -256,12 +256,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
256
256
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
257
257
|
if (interaction !== "conversation-agent")
|
|
258
258
|
evt.headers["x-initiator"] = "agent";
|
|
259
|
-
}), { providerID:
|
|
259
|
+
}), { providerID: ID17.githubCopilot });
|
|
260
260
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
261
261
|
const loaded = discovered.current;
|
|
262
262
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
263
263
|
return;
|
|
264
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
264
|
+
const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
265
265
|
return;
|
|
266
266
|
}));
|
|
267
267
|
if (agent?.data.model)
|
|
@@ -272,7 +272,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
272
272
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
273
273
|
return;
|
|
274
274
|
}));
|
|
275
|
-
}), { providerID:
|
|
275
|
+
}), { providerID: ID17.githubCopilot });
|
|
276
276
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
277
277
|
const token = evt.request.headers.get("x-api-key");
|
|
278
278
|
if (!token)
|
|
@@ -280,7 +280,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
280
280
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
281
281
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
282
282
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
283
|
-
}), { providerID:
|
|
283
|
+
}), { providerID: ID17.githubCopilot });
|
|
284
284
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -298,7 +298,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
298
298
|
const gpt = /^gpt-(\d+)/.exec(id);
|
|
299
299
|
const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
|
|
300
300
|
evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
|
|
301
|
-
}), { providerID:
|
|
301
|
+
}), { providerID: ID17.githubCopilot });
|
|
302
302
|
})
|
|
303
303
|
});
|
|
304
304
|
function modelsKey(connection, url, headers) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration2 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_integration2, {
|
|
|
10
10
|
Policies: () => Policies2,
|
|
11
11
|
Remote: () => Remote3,
|
|
12
12
|
WellKnownDocument: () => WellKnownDocument2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make33,
|
|
14
14
|
suppliers: () => suppliers2
|
|
15
15
|
});
|
|
16
16
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
@@ -51,7 +51,7 @@ class WellKnownDocument2 extends Config.Document.extend("Config.WellKnownDocumen
|
|
|
51
51
|
function suppliers2(entries) {
|
|
52
52
|
return new Map(entries.filter((entry) => entry instanceof WellKnownDocument2).flatMap((document) => Object.keys(document.info.providers ?? {}).map((id) => [id, document.integrationID])));
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function make33(input) {
|
|
55
55
|
const servers = input.info.mcp?.servers;
|
|
56
56
|
return new Document3({
|
|
57
57
|
type: "document",
|
|
@@ -90,4 +90,4 @@ function withoutCredentials(settings) {
|
|
|
90
90
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2,
|
|
93
|
+
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make33, exports_integration2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-d4tnbbq2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service16,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node19,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service16 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service16.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node19 = makeGlobalNode({ service: Service16, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service16, fingerprint2, transient2, node19, exports_shared_cache };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-0mw6d3es.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
register2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/parallel.ts
|
|
15
15
|
var exports_parallel = {};
|
|
16
16
|
__export(exports_parallel, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin7,
|
|
18
18
|
WebSearchParallel: () => exports_parallel,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint4
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
objective: Schema.String,
|
|
27
27
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -50,7 +50,7 @@ var McpOutput = Schema.Struct({
|
|
|
50
50
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
51
51
|
structuredContent: SearchResponse
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Plugin7 = define({
|
|
54
54
|
id: "opencode.websearch.parallel",
|
|
55
55
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
56
56
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin28 = define({
|
|
|
59
59
|
name: "Parallel",
|
|
60
60
|
env: "PARALLEL_API_KEY",
|
|
61
61
|
execute: (input, credential) => Effect.gen(function* () {
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
63
63
|
objective: input.query,
|
|
64
64
|
search_queries: [input.query]
|
|
65
65
|
}, {
|
|
@@ -82,4 +82,4 @@ var Plugin28 = define({
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { endpoint4, Plugin7, exports_parallel };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./repository-cache-tk8b4vwr.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./repository-cache-z9fg28mj.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./repository-cache-3345d27s.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-qtf35215.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service47
|
|
17
|
+
} from "./repository-cache-v5xy8wzz.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./repository-cache-jqzkmxe2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./repository-cache-4r7b9kq0.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-cache-0j7gp832.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service8
|
|
31
|
+
} from "./repository-cache-gm5b10kj.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin20,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input2 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,7 +73,7 @@ var Input4 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output2 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
@@ -87,16 +87,16 @@ var description3 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin20 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
93
|
+
const sessions = yield* Service27;
|
|
94
|
+
const jobs = yield* Service47;
|
|
95
|
+
const agents = yield* Service73;
|
|
96
|
+
const config = yield* Service75;
|
|
97
|
+
const permission = yield* Service70;
|
|
98
|
+
const models = yield* Service78;
|
|
99
|
+
const subagents = yield* Service8;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin4 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name2,
|
|
122
122
|
options: { codemode: false },
|
|
123
123
|
description: description3,
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
124
|
+
input: Input2,
|
|
125
|
+
output: Output2,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin4 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name2,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name2];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name2, Input2, Output2, description3, Plugin20, exports_subagent };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./repository-cache-vs7ka571.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make32,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-s8qtxmzm.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-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: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service37,
|
|
19
|
+
node: () => node40
|
|
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 Service37 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service82;
|
|
29
|
+
return Service37.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make32({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
40
|
make32({
|
|
41
|
-
key:
|
|
41
|
+
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [Global.node, node85] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service37, node40, exports_builtins };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
10
10
|
__export(exports_mcp, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|