@opencode/core 0.0.0-dev-347 → 0.0.0-dev-358
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 +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{websearch-034tev2y.js → wellknown-034tev2y.js} +2 -2
- package/dist/chunks/{websearch-k0093evt.js → wellknown-055gykmf.js} +34 -30
- package/dist/chunks/wellknown-05zgt6w8.js +42 -0
- package/dist/chunks/{websearch-sxxdanmy.js → wellknown-0phw887k.js} +4 -4
- package/dist/chunks/{websearch-mg4v6ytb.js → wellknown-0ssq8yjy.js} +4 -4
- package/dist/chunks/{websearch-r4yqrmdq.js → wellknown-0t098hqn.js} +5 -5
- package/dist/chunks/{websearch-jt8g3tk4.js → wellknown-0tgfp88b.js} +18 -18
- package/dist/chunks/{websearch-mvq9xm7y.js → wellknown-0w7hd0br.js} +40 -40
- package/dist/chunks/{websearch-7s6vzadc.js → wellknown-0x5pfh39.js} +11 -11
- package/dist/chunks/{websearch-yr6j2xwe.js → wellknown-0zz0njtt.js} +11 -11
- package/dist/chunks/wellknown-114rd6c6.js +110 -0
- package/dist/chunks/{websearch-f993y56a.js → wellknown-1156j3e1.js} +17 -17
- package/dist/chunks/{websearch-jvb6mem3.js → wellknown-130xhevp.js} +344 -344
- package/dist/chunks/{websearch-1aqsckx4.js → wellknown-1aqsckx4.js} +1 -1
- package/dist/chunks/{websearch-xxh0nct8.js → wellknown-1bt4wc7h.js} +15 -15
- package/dist/chunks/{websearch-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
- package/dist/chunks/{websearch-cjcv1c2q.js → wellknown-1pat95gt.js} +20 -20
- package/dist/chunks/{websearch-hqxkkta1.js → wellknown-1scgcwfj.js} +3 -3
- package/dist/chunks/wellknown-1tqf10dq.js +50 -0
- package/dist/chunks/wellknown-1wg8t21p.js +149 -0
- package/dist/chunks/{websearch-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{websearch-p7vhpwh8.js → wellknown-1yq9hg58.js} +5 -5
- package/dist/chunks/{websearch-wvejrbsh.js → wellknown-20k3dskq.js} +25 -25
- package/dist/chunks/{websearch-gfs4qavg.js → wellknown-21pd4sh9.js} +26 -26
- package/dist/chunks/{websearch-8b3vzgkx.js → wellknown-25h84942.js} +4 -4
- package/dist/chunks/{websearch-pdj5a256.js → wellknown-29n0xt5w.js} +12 -12
- package/dist/chunks/wellknown-2bswbpgz.js +37 -0
- package/dist/chunks/{websearch-g3ga6tc0.js → wellknown-2cj337h5.js} +41 -41
- package/dist/chunks/{websearch-kd1drhzr.js → wellknown-2hj7r1wd.js} +23 -23
- package/dist/chunks/{websearch-kfyqh9ry.js → wellknown-2hkn2wbz.js} +22 -22
- package/dist/chunks/wellknown-2r1es908.js +41 -0
- package/dist/chunks/{websearch-ec44vae2.js → wellknown-2sg078pp.js} +20 -20
- package/dist/chunks/{websearch-pprkn22s.js → wellknown-34xj0nhf.js} +7 -7
- package/dist/chunks/{websearch-mmzs51g0.js → wellknown-365eavge.js} +4 -4
- package/dist/chunks/{websearch-mvg96cvx.js → wellknown-390k9sbc.js} +23 -23
- package/dist/chunks/{websearch-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{websearch-6xqtcmxs.js → wellknown-3r17c5hc.js} +11 -11
- package/dist/chunks/{websearch-z9bewzk6.js → wellknown-3r253yht.js} +36 -36
- package/dist/chunks/{websearch-b3efsrjf.js → wellknown-3wcxez96.js} +21 -21
- package/dist/chunks/{websearch-ehrznf92.js → wellknown-3wmhnv2g.js} +32 -32
- package/dist/chunks/{websearch-p108ft06.js → wellknown-40d3wtxe.js} +8 -8
- package/dist/chunks/{websearch-204s3925.js → wellknown-40y6dtc2.js} +4 -4
- package/dist/chunks/{websearch-8jztxfpf.js → wellknown-4d2dtj2f.js} +4 -4
- package/dist/chunks/{websearch-4dx1dgte.js → wellknown-4dx1dgte.js} +1 -1
- package/dist/chunks/{websearch-r542h3bh.js → wellknown-4f25tdd0.js} +5 -5
- package/dist/chunks/{websearch-f82w0nba.js → wellknown-4ffhv9d7.js} +8 -8
- package/dist/chunks/{websearch-4pyp9zr9.js → wellknown-4pyp9zr9.js} +1 -1
- package/dist/chunks/{websearch-ncqqe42p.js → wellknown-4qk9sjk2.js} +2 -2
- package/dist/chunks/{websearch-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{websearch-4c3f10kp.js → wellknown-55cw6pea.js} +18 -18
- package/dist/chunks/{websearch-4dmxtz72.js → wellknown-5bxtajjx.js} +58 -58
- package/dist/chunks/{websearch-p50fwy42.js → wellknown-5ejrbqns.js} +23 -23
- package/dist/chunks/{websearch-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/wellknown-5scxnw8r.js +36 -0
- package/dist/chunks/{websearch-vgy9d41n.js → wellknown-5swrknzd.js} +12 -12
- package/dist/chunks/{websearch-1mhmnhef.js → wellknown-5wamr1vp.js} +25 -25
- package/dist/chunks/wellknown-660m4eb8.js +97 -0
- package/dist/chunks/{websearch-n9zpx1d9.js → wellknown-69mrket9.js} +6 -6
- package/dist/chunks/{websearch-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
- package/dist/chunks/{websearch-8yhc7zrg.js → wellknown-6h8vcvjm.js} +11 -11
- package/dist/chunks/{websearch-yn48mmd2.js → wellknown-6ms37rsb.js} +36 -36
- package/dist/chunks/{websearch-vtgxp655.js → wellknown-6q8jj3zs.js} +3 -3
- package/dist/chunks/wellknown-6zps0eyt.js +164 -0
- package/dist/chunks/{websearch-a6b0z51k.js → wellknown-6zwwjdvx.js} +10 -10
- package/dist/chunks/{websearch-2mbz52qm.js → wellknown-734tpjk6.js} +24 -24
- package/dist/chunks/{websearch-e13g5x1s.js → wellknown-74hrq8bk.js} +33 -33
- package/dist/chunks/{websearch-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
- package/dist/chunks/{websearch-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-7kr66rt3.js → wellknown-7kr66rt3.js} +1 -1
- package/dist/chunks/{websearch-36qx82yz.js → wellknown-7nqkf5r1.js} +2 -2
- package/dist/chunks/{websearch-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{websearch-6pcpjwd2.js → wellknown-7x1j9rhd.js} +48 -48
- package/dist/chunks/{websearch-av8m10vw.js → wellknown-7xvyshzw.js} +3 -3
- package/dist/chunks/{websearch-sf35qzjn.js → wellknown-7y5gfyyn.js} +23 -23
- package/dist/chunks/wellknown-80mg3ag8.js +34 -0
- package/dist/chunks/{websearch-bznf86r0.js → wellknown-888nng90.js} +11 -11
- package/dist/chunks/{websearch-k814nvkf.js → wellknown-89287pr7.js} +5 -5
- package/dist/chunks/{websearch-kh0hrg97.js → wellknown-8dfptpqb.js} +4 -4
- package/dist/chunks/{websearch-n4c66n2d.js → wellknown-8f4a2z2r.js} +6 -6
- package/dist/chunks/{websearch-txp6vfxp.js → wellknown-8htnzefr.js} +5 -5
- package/dist/chunks/{websearch-j8563ys9.js → wellknown-8msaa9hz.js} +24 -24
- package/dist/chunks/{websearch-6zmkapgs.js → wellknown-8srgefnt.js} +21 -21
- package/dist/chunks/wellknown-8srhw74s.js +44 -0
- package/dist/chunks/{websearch-r2s7w9p5.js → wellknown-8t99kr38.js} +7 -7
- package/dist/chunks/{websearch-enf14z1b.js → wellknown-8tacrk44.js} +17 -17
- package/dist/chunks/{websearch-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{websearch-90zstvax.js → wellknown-90zstvax.js} +1 -1
- package/dist/chunks/{websearch-kw50g2ba.js → wellknown-975ezy4a.js} +9 -9
- package/dist/chunks/{websearch-3jrs2g26.js → wellknown-9b87b64e.js} +49 -46
- package/dist/chunks/wellknown-9dsh5hkc.js +52 -0
- package/dist/chunks/{websearch-2kg89srt.js → wellknown-9q8g9sv8.js} +4 -4
- package/dist/chunks/{websearch-1xebvtks.js → wellknown-9w9ayf25.js} +35 -35
- package/dist/chunks/{websearch-egrgm9sa.js → wellknown-9zf013pm.js} +26 -26
- package/dist/chunks/{websearch-e6rp29s1.js → wellknown-a9rd8v2b.js} +13 -13
- package/dist/chunks/{websearch-50yqpbf8.js → wellknown-ae9b9yss.js} +13 -13
- package/dist/chunks/{websearch-2e3wrzp6.js → wellknown-akwr9qr2.js} +13 -13
- package/dist/chunks/{websearch-gz10z0zd.js → wellknown-am6r9jwm.js} +34 -34
- package/dist/chunks/{websearch-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
- package/dist/chunks/{websearch-5nnwax6m.js → wellknown-b6vsg801.js} +5 -5
- package/dist/chunks/{websearch-62x64pn3.js → wellknown-b8qxy41g.js} +12 -12
- package/dist/chunks/wellknown-bb0970r8.js +26 -0
- package/dist/chunks/{websearch-mmtpgtte.js → wellknown-beq15d04.js} +17 -17
- package/dist/chunks/{websearch-1jah5r1w.js → wellknown-bpqzq33j.js} +33 -33
- package/dist/chunks/{websearch-htrj6v80.js → wellknown-bq667wdw.js} +13 -13
- package/dist/chunks/{websearch-empp5hj9.js → wellknown-btbkjnev.js} +5 -5
- package/dist/chunks/{websearch-8pp51b76.js → wellknown-bzn0hsmy.js} +22 -22
- package/dist/chunks/{websearch-7272xw9j.js → wellknown-c2mxr60t.js} +11 -11
- package/dist/chunks/{websearch-t0rcp7xm.js → wellknown-c5pa8ms9.js} +46 -46
- package/dist/chunks/{websearch-wwgpyqzb.js → wellknown-c5y15mwt.js} +9 -9
- package/dist/chunks/{websearch-ksbb71ed.js → wellknown-ch2z1gm7.js} +27 -27
- package/dist/chunks/{websearch-zjehbzha.js → wellknown-chstmfxk.js} +15 -15
- package/dist/chunks/{websearch-hds8qycc.js → wellknown-cjkj17aw.js} +9 -9
- package/dist/chunks/{websearch-fwgdphtq.js → wellknown-ckfh9hrw.js} +12 -12
- package/dist/chunks/{websearch-xfcf0hvp.js → wellknown-cps5kfgs.js} +4 -4
- package/dist/chunks/{websearch-jd21qj1c.js → wellknown-cscebcad.js} +11 -11
- package/dist/chunks/{websearch-ykwrz6sn.js → wellknown-ctxsgcm2.js} +11 -11
- package/dist/chunks/{websearch-cwrgdav8.js → wellknown-cwrgdav8.js} +2 -2
- package/dist/chunks/{websearch-3297hep7.js → wellknown-cx1yqc85.js} +87 -87
- package/dist/chunks/{websearch-w21mrhhg.js → wellknown-d1nmym44.js} +56 -56
- package/dist/chunks/{websearch-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{websearch-tp64pspc.js → wellknown-d56v2em7.js} +9 -9
- package/dist/chunks/{websearch-hy8c1z76.js → wellknown-ddvn7d3w.js} +8 -8
- package/dist/chunks/{websearch-nxjb403m.js → wellknown-detgddfv.js} +3 -3
- package/dist/chunks/wellknown-dgagqphw.js +379 -0
- package/dist/chunks/{websearch-mmg8baec.js → wellknown-dgy090gd.js} +5 -5
- package/dist/chunks/{websearch-7122eme9.js → wellknown-dp3359b6.js} +6 -6
- package/dist/chunks/{websearch-p5mrvaxe.js → wellknown-dq1qrxfc.js} +16 -16
- package/dist/chunks/{websearch-dt77769w.js → wellknown-dt77769w.js} +1 -1
- package/dist/chunks/{websearch-1sv9drr7.js → wellknown-dv96216k.js} +14 -10
- package/dist/chunks/{websearch-7syz3ngq.js → wellknown-dvkwagtj.js} +9 -9
- package/dist/chunks/{websearch-brtbsxkn.js → wellknown-dyz29spx.js} +9 -9
- package/dist/chunks/{websearch-e834z07m.js → wellknown-e834z07m.js} +1 -1
- package/dist/chunks/{websearch-qjmre3py.js → wellknown-e83p7v4f.js} +177 -177
- package/dist/chunks/{websearch-fmq1bg7t.js → wellknown-e85crny8.js} +10 -10
- package/dist/chunks/{websearch-rcjebwgm.js → wellknown-ee20801c.js} +18 -18
- package/dist/chunks/wellknown-en8b50e9.js +63 -0
- package/dist/chunks/{websearch-4ykwxwmw.js → wellknown-epcwhvcc.js} +9 -9
- package/dist/chunks/wellknown-eqw4pqj1.js +48 -0
- package/dist/chunks/{websearch-vrxnc4gr.js → wellknown-erjfhfv7.js} +15 -15
- package/dist/chunks/{websearch-hab39cq4.js → wellknown-est5w5t7.js} +4 -4
- package/dist/chunks/{websearch-md9bhnwm.js → wellknown-ev2ytmz2.js} +92 -92
- package/dist/chunks/{websearch-mx8m8bkx.js → wellknown-eyv077tq.js} +14 -14
- package/dist/chunks/{websearch-gsnsxgxa.js → wellknown-f341sazs.js} +3 -3
- package/dist/chunks/{websearch-8szb6ytp.js → wellknown-fdyyj7wt.js} +14 -14
- package/dist/chunks/{websearch-j0yxxg4y.js → wellknown-fe4xdxeg.js} +6 -6
- package/dist/chunks/{websearch-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
- package/dist/chunks/{websearch-fg9p65nk.js → wellknown-fg9p65nk.js} +2 -2
- package/dist/chunks/{websearch-v2c4z2sa.js → wellknown-fp8nst1z.js} +5 -5
- package/dist/chunks/{websearch-exva2tav.js → wellknown-fp8rc6cc.js} +23 -23
- package/dist/chunks/{websearch-yf5tjpcf.js → wellknown-ftt3arkd.js} +35 -35
- package/dist/chunks/{websearch-ds0b2y1d.js → wellknown-fvjtryy6.js} +1 -1
- package/dist/chunks/{websearch-t7qszmqp.js → wellknown-fzjyfb9e.js} +18 -18
- package/dist/chunks/{websearch-b6z35kmf.js → wellknown-fznmdakp.js} +4 -4
- package/dist/chunks/{websearch-ekzyfxqt.js → wellknown-g3jx5grp.js} +25 -25
- package/dist/chunks/{websearch-v09g80g2.js → wellknown-g66bntd9.js} +4 -4
- package/dist/chunks/{websearch-z32r2mg8.js → wellknown-g8efnmcb.js} +20 -20
- package/dist/chunks/{websearch-d95zdptj.js → wellknown-g96jg5ma.js} +16 -16
- package/dist/chunks/wellknown-gbjdnr5j.js +72 -0
- package/dist/chunks/{websearch-tva2fzy9.js → wellknown-gcch2yc8.js} +45 -45
- package/dist/chunks/{websearch-18g90bpv.js → wellknown-gcjdgkn2.js} +9 -9
- package/dist/chunks/{websearch-sx2sqvt0.js → wellknown-gfnmyn48.js} +8 -8
- package/dist/chunks/{websearch-gchhttn1.js → wellknown-gjt9x54v.js} +14 -14
- package/dist/chunks/{websearch-8ewha5k5.js → wellknown-gk4db1x7.js} +7 -7
- package/dist/chunks/wellknown-grzehpz7.js +18 -0
- package/dist/chunks/{websearch-1744f6td.js → wellknown-gtsg26mj.js} +42 -42
- package/dist/chunks/{websearch-jsvw9ebe.js → wellknown-h5c4mtjq.js} +8 -8
- package/dist/chunks/{websearch-5hqe3abq.js → wellknown-h6ntggah.js} +16 -16
- package/dist/chunks/{websearch-f8fw5j2t.js → wellknown-hf6487b2.js} +11 -11
- package/dist/chunks/{websearch-hh7kjqtw.js → wellknown-hh7kjqtw.js} +1 -1
- package/dist/chunks/{websearch-hpg1pkwy.js → wellknown-hpg1pkwy.js} +1 -1
- package/dist/chunks/{websearch-z2zjxvjz.js → wellknown-hrh0r61w.js} +7 -7
- package/dist/chunks/{websearch-37mjzwdy.js → wellknown-j0n0243v.js} +30 -30
- package/dist/chunks/{websearch-9qmt3rfg.js → wellknown-j1st84bn.js} +36 -36
- package/dist/chunks/{websearch-0a1545br.js → wellknown-j25maswg.js} +16 -16
- package/dist/chunks/{websearch-kbz2ftjv.js → wellknown-j46ks9ar.js} +22 -22
- package/dist/chunks/{websearch-my2774fb.js → wellknown-j92e3nqs.js} +11 -11
- package/dist/chunks/{websearch-30ep2pbx.js → wellknown-jcgfgyf5.js} +8 -8
- package/dist/chunks/{websearch-exphrrdn.js → wellknown-jfnccrt4.js} +17 -17
- package/dist/chunks/{websearch-mtkfycnh.js → wellknown-jg11hrrc.js} +4 -4
- package/dist/chunks/wellknown-jkdcm5hg.js +31 -0
- package/dist/chunks/{websearch-q10wp2s4.js → wellknown-jqcfnp0j.js} +14 -14
- package/dist/chunks/{websearch-t6pjtsxz.js → wellknown-jqwqr07f.js} +16 -16
- package/dist/chunks/{websearch-4rwevfy6.js → wellknown-js697kss.js} +11 -11
- package/dist/chunks/{websearch-jtnps1zs.js → wellknown-jtnps1zs.js} +2 -2
- package/dist/chunks/{websearch-9zwexsxs.js → wellknown-jv5ccajn.js} +5 -5
- package/dist/chunks/{websearch-n76q4j73.js → wellknown-jvjrfft4.js} +5 -5
- package/dist/chunks/{websearch-gt3pr6x5.js → wellknown-jz74e53v.js} +8 -8
- package/dist/chunks/{websearch-2hv59m0q.js → wellknown-k082w1yn.js} +21 -21
- package/dist/chunks/wellknown-k46dd5bg.js +40 -0
- package/dist/chunks/{websearch-8q5tw4pq.js → wellknown-k5cdey41.js} +21 -21
- package/dist/chunks/wellknown-kbgs7tyr.js +28 -0
- package/dist/chunks/{websearch-k39t0d7s.js → wellknown-kekyjsxv.js} +11 -11
- package/dist/chunks/{websearch-4vyx508x.js → wellknown-kg3wa72j.js} +17 -17
- package/dist/chunks/{websearch-tn13a12r.js → wellknown-kmnny0ff.js} +17 -17
- package/dist/chunks/{websearch-y90yy0x4.js → wellknown-kn3z1jg3.js} +23 -23
- package/dist/chunks/wellknown-knpbkrg7.js +22 -0
- package/dist/chunks/{websearch-vt2r04xq.js → wellknown-kqe4tny1.js} +14 -14
- package/dist/chunks/wellknown-ksj8pmnk.js +257 -0
- package/dist/chunks/{websearch-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
- package/dist/chunks/{websearch-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{websearch-ged1tqgx.js → wellknown-m2bata8q.js} +23 -23
- package/dist/chunks/{websearch-q4wqpcrk.js → wellknown-m3p1bexb.js} +12 -12
- package/dist/chunks/{websearch-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-mb7mbhnz.js → wellknown-mb7mbhnz.js} +3 -3
- package/dist/chunks/{websearch-yjzqpyxh.js → wellknown-mc1zj4hc.js} +29 -29
- package/dist/chunks/{websearch-kyb052mw.js → wellknown-me7r16rb.js} +27 -27
- package/dist/chunks/{websearch-bsvx5x0h.js → wellknown-mehbcs3e.js} +36 -36
- package/dist/chunks/{websearch-s32mnc71.js → wellknown-mghzgwa1.js} +20 -20
- package/dist/chunks/{websearch-tkp4jwrt.js → wellknown-msqvrap6.js} +4 -4
- package/dist/chunks/{websearch-q8akx5wk.js → wellknown-n2pnf4rs.js} +2 -2
- package/dist/chunks/{websearch-hfcnjb1t.js → wellknown-n6yd116b.js} +2 -2
- package/dist/chunks/{websearch-nah043kf.js → wellknown-nah043kf.js} +1 -1
- package/dist/chunks/{websearch-gctfr74j.js → wellknown-najt6d0d.js} +12 -12
- package/dist/chunks/{websearch-psp8drt7.js → wellknown-nqn6hk24.js} +27 -27
- package/dist/chunks/{websearch-m0ny4438.js → wellknown-nrs16n5b.js} +3 -3
- package/dist/chunks/{websearch-f8dx2cf3.js → wellknown-nt5k9amf.js} +41 -41
- package/dist/chunks/{websearch-yydqqga9.js → wellknown-nttn14j9.js} +4 -4
- package/dist/chunks/wellknown-ny20e7ar.js +134 -0
- package/dist/chunks/{websearch-8zj8ha8v.js → wellknown-ny5wg8kf.js} +42 -42
- package/dist/chunks/{websearch-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
- package/dist/chunks/{websearch-69vr3bmr.js → wellknown-p5fe7y6b.js} +4 -4
- package/dist/chunks/wellknown-pah254n3.js +90 -0
- package/dist/chunks/{websearch-pzpg3tvr.js → wellknown-phqpcknt.js} +6 -6
- package/dist/chunks/{websearch-vzd3k5nk.js → wellknown-pjv3ykf5.js} +37 -37
- package/dist/chunks/{websearch-cs73swbh.js → wellknown-pkezabwa.js} +11 -11
- package/dist/chunks/{websearch-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-9makc5xg.js → wellknown-pkv8zhq8.js} +5 -5
- package/dist/chunks/{websearch-v2yw559c.js → wellknown-pmz1y35q.js} +13 -13
- package/dist/chunks/{websearch-d390zwf3.js → wellknown-pnwsrq7c.js} +8 -8
- package/dist/chunks/{websearch-36kks1a9.js → wellknown-pp7snq48.js} +41 -41
- package/dist/chunks/{websearch-q0vnjhvr.js → wellknown-pr0m3049.js} +25 -25
- package/dist/chunks/{websearch-9wwm5t2q.js → wellknown-pw64sj0x.js} +47 -47
- package/dist/chunks/{websearch-qcqrs7ry.js → wellknown-q4pz9sky.js} +35 -35
- package/dist/chunks/{websearch-tet0p4e8.js → wellknown-q85rya1m.js} +6 -6
- package/dist/chunks/{websearch-cky1f1hf.js → wellknown-qenfpjdf.js} +8 -8
- package/dist/chunks/{websearch-nfvj419n.js → wellknown-qjm3grwb.js} +17 -17
- package/dist/chunks/{websearch-8w3p2e92.js → wellknown-qn04yq3m.js} +5 -5
- package/dist/chunks/{websearch-qp7r0hxv.js → wellknown-qp7r0hxv.js} +1 -1
- package/dist/chunks/{websearch-c6x7d2ts.js → wellknown-qqg9c0kv.js} +4 -4
- package/dist/chunks/{websearch-qqvy8y24.js → wellknown-qqvy8y24.js} +1 -1
- package/dist/chunks/{websearch-m91bkzpp.js → wellknown-qscc63tw.js} +5 -5
- package/dist/chunks/{websearch-x9maydxg.js → wellknown-qzwvdjgs.js} +32 -32
- package/dist/chunks/{websearch-rfyk3b1f.js → wellknown-r14q41da.js} +28 -28
- package/dist/chunks/{websearch-nrtygxmh.js → wellknown-r1fnsf7p.js} +6 -6
- package/dist/chunks/{websearch-xmeeqggk.js → wellknown-r2etx18s.js} +18 -18
- package/dist/chunks/{websearch-40za9wsf.js → wellknown-r41sfy63.js} +6 -6
- package/dist/chunks/{websearch-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{websearch-t1d0z29h.js → wellknown-rfty8g2e.js} +15 -15
- package/dist/chunks/wellknown-rj7j5fvs.js +67 -0
- package/dist/chunks/{websearch-p7v23fd6.js → wellknown-rmvcvm6w.js} +8 -8
- package/dist/chunks/{websearch-fh43p91r.js → wellknown-rqvsbm9p.js} +13 -13
- package/dist/chunks/{websearch-fbte303t.js → wellknown-rsjcqqy3.js} +14 -14
- package/dist/chunks/{websearch-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
- package/dist/chunks/wellknown-rtb1tmc5.js +34 -0
- package/dist/chunks/{websearch-c487mvhm.js → wellknown-s085mem7.js} +25 -25
- package/dist/chunks/{websearch-258pzyq1.js → wellknown-s1k66rcg.js} +33 -33
- package/dist/chunks/{websearch-xk2zn0cv.js → wellknown-s6h2s3rz.js} +4 -4
- package/dist/chunks/{websearch-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
- package/dist/chunks/wellknown-sbya78hr.js +67 -0
- package/dist/chunks/{websearch-fe0367ah.js → wellknown-sdn2zcx3.js} +2 -2
- package/dist/chunks/{websearch-x8mj7217.js → wellknown-sec3bgvw.js} +26 -26
- package/dist/chunks/{websearch-e006kk43.js → wellknown-sfzvze88.js} +6 -6
- package/dist/chunks/{websearch-drkqmshe.js → wellknown-sg2r8ctw.js} +11 -11
- package/dist/chunks/{websearch-0j7gp832.js → wellknown-sqjzf8x2.js} +4 -4
- package/dist/chunks/{websearch-svcy3p9a.js → wellknown-svcy3p9a.js} +1 -1
- package/dist/chunks/{websearch-wrzdnxcv.js → wellknown-t6hwzzx3.js} +16 -16
- package/dist/chunks/{websearch-d9z3nv43.js → wellknown-t9zmkc8e.js} +16 -16
- package/dist/chunks/wellknown-tb2mrvc9.js +55 -0
- package/dist/chunks/{websearch-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/wellknown-tg7s7b5t.js +39 -0
- package/dist/chunks/{websearch-acbdersv.js → wellknown-tk1a1sxf.js} +6 -6
- package/dist/chunks/{websearch-hyqx2d6z.js → wellknown-tpewv7rv.js} +3 -3
- package/dist/chunks/{websearch-v9jyvts1.js → wellknown-tqebrrg5.js} +31 -31
- package/dist/chunks/{websearch-twssxy5n.js → wellknown-twssxy5n.js} +2 -2
- package/dist/chunks/{websearch-h3qnzdea.js → wellknown-tys7exqd.js} +19 -19
- package/dist/chunks/{websearch-jacqe95j.js → wellknown-v1d5684s.js} +21 -21
- package/dist/chunks/{websearch-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{websearch-j990qqn4.js → wellknown-v3553gv9.js} +7 -7
- package/dist/chunks/{websearch-b6bdjtfv.js → wellknown-v8py75g4.js} +22 -22
- package/dist/chunks/{websearch-py5t4m7x.js → wellknown-v9xtgtd2.js} +6 -6
- package/dist/chunks/{websearch-y0a3p9a2.js → wellknown-vd2ph57c.js} +11 -11
- package/dist/chunks/{websearch-7zjy6p28.js → wellknown-vhp3tcda.js} +5 -5
- package/dist/chunks/wellknown-vjf35v1f.js +110 -0
- package/dist/chunks/{websearch-s8xdrs61.js → wellknown-vjx57ng0.js} +50 -50
- package/dist/chunks/{websearch-pww75gt3.js → wellknown-vmzk0fb8.js} +43 -43
- package/dist/chunks/{websearch-6gv6f0wn.js → wellknown-vp0f31x4.js} +14 -14
- package/dist/chunks/{websearch-jeswnbmw.js → wellknown-vqqt88p3.js} +6 -6
- package/dist/chunks/{websearch-2g9v0ep3.js → wellknown-vshra0rt.js} +3 -3
- package/dist/chunks/{websearch-h0rg6s60.js → wellknown-vsnnaxjq.js} +4 -4
- package/dist/chunks/{websearch-bw5vtrk1.js → wellknown-vx4y79tr.js} +11 -11
- package/dist/chunks/{websearch-mgses094.js → wellknown-vxhhthes.js} +19 -19
- package/dist/chunks/{websearch-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-wegkxhrn.js → wellknown-wegkxhrn.js} +2 -2
- package/dist/chunks/{websearch-wqhfsqr1.js → wellknown-wk87sf6t.js} +21 -21
- package/dist/chunks/{websearch-cge737e2.js → wellknown-wnaxc5ww.js} +15 -15
- package/dist/chunks/{websearch-wnhgecwx.js → wellknown-wnhgecwx.js} +1 -1
- package/dist/chunks/{websearch-fcectc13.js → wellknown-wpx0cf3q.js} +8 -8
- package/dist/chunks/{websearch-6r36sxsh.js → wellknown-wqhf2kj3.js} +74 -74
- package/dist/chunks/{websearch-62bzxby4.js → wellknown-wv6dba78.js} +17 -17
- package/dist/chunks/{websearch-vmfhgzt5.js → wellknown-wvr8xscb.js} +7 -7
- package/dist/chunks/{websearch-g5nbtb8n.js → wellknown-x61z380y.js} +13 -13
- package/dist/chunks/{websearch-4tysrmyz.js → wellknown-x6zyksve.js} +29 -29
- package/dist/chunks/{websearch-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
- package/dist/chunks/{websearch-6s5sfkb1.js → wellknown-xm2er2z8.js} +17 -17
- package/dist/chunks/{websearch-4btqn7nq.js → wellknown-xyjx3jfr.js} +32 -32
- package/dist/chunks/wellknown-y196j8v9.js +68 -0
- package/dist/chunks/{websearch-b321k266.js → wellknown-y1yncph6.js} +20 -20
- package/dist/chunks/{websearch-c1hc347y.js → wellknown-y3g3nwzn.js} +20 -20
- package/dist/chunks/{websearch-yara3q77.js → wellknown-yara3q77.js} +2 -2
- package/dist/chunks/{websearch-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{websearch-9w4n3zkz.js → wellknown-ygnyxm4b.js} +6 -6
- package/dist/chunks/{websearch-fnxqcwgf.js → wellknown-yj68nxdv.js} +38 -32
- package/dist/chunks/{websearch-wc0z5452.js → wellknown-ymqs3d2z.js} +4 -4
- package/dist/chunks/{websearch-xchnjx2b.js → wellknown-ync8zv9y.js} +42 -42
- package/dist/chunks/wellknown-yr705xyq.js +17 -0
- package/dist/chunks/{websearch-ezzzm5zy.js → wellknown-yttqhm7h.js} +21 -21
- package/dist/chunks/{websearch-0d5hegjd.js → wellknown-yv1rqhcp.js} +14 -14
- package/dist/chunks/{websearch-m144b9ym.js → wellknown-yzqsn61h.js} +3 -3
- package/dist/chunks/{websearch-rv51a27w.js → wellknown-z1j2ed1d.js} +28 -28
- package/dist/chunks/wellknown-ze75qvmd.js +107 -0
- package/dist/chunks/{websearch-wrd39zd3.js → wellknown-zf7524d8.js} +9 -9
- package/dist/chunks/{websearch-czdwf92p.js → wellknown-zjas0r38.js} +5 -5
- package/dist/chunks/{websearch-kdhdtnfh.js → wellknown-zny90n21.js} +23 -23
- package/dist/chunks/{websearch-k8s5a6jv.js → wellknown-zrf6zj2q.js} +7 -7
- package/dist/chunks/{websearch-56wb752r.js → wellknown-zvrxyw6e.js} +4 -4
- package/dist/chunks/{websearch-tzmh93yh.js → wellknown-zytee521.js} +37 -37
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +152 -152
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +227 -227
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +138 -138
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +150 -150
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- 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/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.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +104 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +424 -393
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +80 -80
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- 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/file-watch.js +87 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +242 -242
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- 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 +111 -111
- 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 +3 -3
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +415 -384
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +7 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -99
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +170 -170
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +412 -381
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +178 -178
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +7 -7
- package/dist/plugin/host.js +235 -235
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +391 -360
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +121 -0
- package/dist/plugin/provider/claude-agent/claude/agent-sdk.js +2 -0
- package/dist/plugin/provider/claude-agent/claude/agent-sdk.workerd.js +2 -0
- package/dist/plugin/provider/claude-agent/claude/fork.js +9 -0
- package/dist/plugin/provider/claude-agent/claude/io.js +11 -0
- package/dist/plugin/provider/claude-agent/claude/probe.js +15 -0
- package/dist/plugin/provider/claude-agent/claude/query-options.js +15 -0
- package/dist/plugin/provider/claude-agent/claude/sdk.js +8 -0
- package/dist/plugin/provider/claude-agent/claude/session.js +11 -0
- package/dist/plugin/provider/claude-agent/claude/sessions.js +27 -0
- package/dist/plugin/provider/claude-agent/claude/status.js +14 -0
- package/dist/plugin/provider/claude-agent/index.js +151 -0
- package/dist/plugin/provider/claude-agent/instructions.js +116 -0
- package/dist/plugin/provider/claude-agent/integration.js +119 -0
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +8 -0
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +14 -0
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +11 -0
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +8 -0
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +12 -0
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +14 -0
- package/dist/plugin/provider/claude-agent/language-model/usage.js +8 -0
- package/dist/plugin/provider/claude-agent/provider.js +120 -0
- package/dist/plugin/provider/claude-agent/session.js +116 -0
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +10 -0
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +9 -0
- package/dist/plugin/provider/claude-agent/sync/decide.js +11 -0
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +8 -0
- package/dist/plugin/provider/claude-agent/sync/record.js +8 -0
- package/dist/plugin/provider/claude-agent/tools/hooks.js +8 -0
- package/dist/plugin/provider/claude-agent/tools/names.js +14 -0
- package/dist/plugin/provider/claude-agent/tools/pending.js +8 -0
- package/dist/plugin/provider/claude-agent/tools/result.js +12 -0
- package/dist/plugin/provider/claude-agent/tools/server.js +9 -0
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +209 -178
- package/dist/plugin/sdk.js +88 -88
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +403 -372
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +244 -244
- 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 +102 -102
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +100 -100
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +238 -238
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +252 -252
- 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 +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +170 -170
- package/dist/session/context.js +197 -197
- package/dist/session/diff.js +100 -100
- 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 +241 -241
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +137 -137
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +165 -165
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +247 -247
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +162 -162
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +223 -223
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +201 -201
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +3 -3
- package/dist/session.js +235 -235
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +3 -3
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +103 -103
- package/dist/state.js +3 -3
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +175 -175
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +166 -166
- package/dist/tool/plugin/schedule.js +244 -244
- package/dist/tool/plugin/shell.js +231 -231
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +152 -152
- package/dist/tool/plugin/write.js +163 -163
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +160 -160
- package/dist/types/agent.d.ts +2 -0
- package/dist/types/aisdk.d.ts +1 -0
- package/dist/types/instructions/index.d.ts +8 -1
- package/dist/types/model-resolver.d.ts +6 -0
- package/dist/types/model.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/aisdk.d.ts +5 -0
- package/dist/types/plugin/provider/claude-agent/claude/agent-sdk.d.ts +1 -0
- package/dist/types/plugin/provider/claude-agent/claude/agent-sdk.workerd.d.ts +1 -0
- package/dist/types/plugin/provider/claude-agent/claude/fork.d.ts +6 -0
- package/dist/types/plugin/provider/claude-agent/claude/io.d.ts +12 -0
- package/dist/types/plugin/provider/claude-agent/claude/probe.d.ts +23 -0
- package/dist/types/plugin/provider/claude-agent/claude/query-options.d.ts +29 -0
- package/dist/types/plugin/provider/claude-agent/claude/sdk.d.ts +3 -0
- package/dist/types/plugin/provider/claude-agent/claude/session.d.ts +19 -0
- package/dist/types/plugin/provider/claude-agent/claude/sessions.d.ts +38 -0
- package/dist/types/plugin/provider/claude-agent/claude/status.d.ts +25 -0
- package/dist/types/plugin/provider/claude-agent/index.d.ts +18 -0
- package/dist/types/plugin/provider/claude-agent/instructions.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/integration.d.ts +7 -0
- package/dist/types/plugin/provider/claude-agent/language-model/claude-agent-error.d.ts +3 -0
- package/dist/types/plugin/provider/claude-agent/language-model/claude-agent-language-model.d.ts +17 -0
- package/dist/types/plugin/provider/claude-agent/language-model/convert-claude-stream.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/language-model/convert-to-claude-message.d.ts +5 -0
- package/dist/types/plugin/provider/claude-agent/language-model/request-kind.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/language-model/system-prompt.d.ts +11 -0
- package/dist/types/plugin/provider/claude-agent/language-model/usage.d.ts +16 -0
- package/dist/types/plugin/provider/claude-agent/provider.d.ts +9 -0
- package/dist/types/plugin/provider/claude-agent/session.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/sync/catch-up.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/sync/checkpoints.d.ts +14 -0
- package/dist/types/plugin/provider/claude-agent/sync/decide.d.ts +18 -0
- package/dist/types/plugin/provider/claude-agent/sync/fingerprint.d.ts +11 -0
- package/dist/types/plugin/provider/claude-agent/sync/record.d.ts +31 -0
- package/dist/types/plugin/provider/claude-agent/tools/hooks.d.ts +4 -0
- package/dist/types/plugin/provider/claude-agent/tools/names.d.ts +6 -0
- package/dist/types/plugin/provider/claude-agent/tools/pending.d.ts +12 -0
- package/dist/types/plugin/provider/claude-agent/tools/result.d.ts +14 -0
- package/dist/types/plugin/provider/claude-agent/tools/server.d.ts +5 -0
- package/dist/types/provider.d.ts +4 -0
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/history.d.ts +2 -2
- package/dist/types/session/instruction-state.d.ts +2 -2
- package/dist/types/session/model-request.d.ts +2 -1
- package/dist/types/session/runner/model.d.ts +1 -0
- package/dist/types/session/schema.d.ts +2 -0
- package/dist/types/session/transfer.d.ts +8 -0
- package/dist/types/usage-limits.d.ts +1 -0
- package/dist/usage-limits.js +97 -97
- 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 +104 -104
- 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 +8 -8
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +90 -90
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +22 -9
- package/dist/chunks/websearch-1zh3k433.js +0 -26
- package/dist/chunks/websearch-a56ph40a.js +0 -257
- package/dist/chunks/websearch-vdh3rgac.js +0 -18
- /package/dist/chunks/{websearch-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kah00gy.js → wellknown-1kah00gy.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-7stb81gk.js → wellknown-7stb81gk.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a058387c.js → wellknown-a058387c.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-beh6qq61.js → wellknown-beh6qq61.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ean2d8b5.js → wellknown-ean2d8b5.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
- /package/dist/chunks/{websearch-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-nh4v3znn.js → wellknown-nh4v3znn.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-p71gwv9c.js → wellknown-p71gwv9c.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-stkk57rt.js → wellknown-stkk57rt.js} +0 -0
- /package/dist/chunks/{websearch-t03h4f5z.js → wellknown-t03h4f5z.js} +0 -0
- /package/dist/chunks/{websearch-ty7weeps.js → wellknown-ty7weeps.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./wellknown-8msaa9hz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service51;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./wellknown-r14q41da.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make30,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-dv96216k.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions6 = {};
|
|
17
|
+
__export(exports_instructions6, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions6,
|
|
19
|
+
Service: () => Service40,
|
|
20
|
+
node: () => node43
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service40 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service83;
|
|
68
|
+
return Service40.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make30({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node86] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service40, node43, exports_instructions6 };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./wellknown-8msaa9hz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./wellknown-jqwqr07f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service64
|
|
15
|
+
} from "./wellknown-gcch2yc8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service21,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-s085mem7.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service62,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-k082w1yn.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError6,
|
|
32
|
+
Service49
|
|
33
|
+
} from "./wellknown-c5pa8ms9.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service27
|
|
36
|
+
} from "./wellknown-ev2ytmz2.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./wellknown-zvrxyw6e.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
45
|
var exports_shell = {};
|
|
46
46
|
__export(exports_shell, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
48
|
+
Input: () => Input12,
|
|
49
|
+
Plugin: () => Plugin15,
|
|
50
50
|
ShellTool: () => exports_shell,
|
|
51
|
-
name: () =>
|
|
51
|
+
name: () => name12
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name12 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input12 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin15 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service27;
|
|
119
|
+
const jobs = yield* Service72;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service51;
|
|
122
|
+
const access = yield* Service21;
|
|
123
|
+
const shell = yield* Service49;
|
|
124
|
+
const shellSelect = yield* Service62;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service64;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin19 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name12,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin19 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name12,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input12,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin19 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name12,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name12];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin15, exports_shell };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service57,
|
|
3
|
+
node60,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-c2mxr60t.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./wellknown-q85rya1m.js";
|
|
10
10
|
import {
|
|
11
11
|
Service16
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-21pd4sh9.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-ksj8pmnk.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
}).pipe(Effect.uninterruptible)
|
|
59
59
|
};
|
|
60
60
|
const bindings = [
|
|
61
|
-
|
|
61
|
+
node59.replace(Layer.succeed(Service56, {
|
|
62
62
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
63
63
|
})),
|
|
64
64
|
...replacements,
|
|
65
|
-
|
|
65
|
+
node60.replace(Layer.succeed(Service57, map))
|
|
66
66
|
];
|
|
67
67
|
return map;
|
|
68
68
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-3wcxez96.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin32
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin32 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin15 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID13.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID13.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID13.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID13.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID13.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin15 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin32, exports_agent };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import {
|
|
2
|
+
make9
|
|
3
|
+
} from "./wellknown-1wg8t21p.js";
|
|
4
|
+
import {
|
|
5
|
+
HEADER2,
|
|
6
|
+
SESSION_HEADER2,
|
|
7
|
+
FORK_HEADER2
|
|
8
|
+
} from "./wellknown-yr705xyq.js";
|
|
9
|
+
import {
|
|
10
|
+
AGENT_OPTION2,
|
|
11
|
+
INSTRUCTIONS_OPTION2,
|
|
12
|
+
make12,
|
|
13
|
+
utility2
|
|
14
|
+
} from "./wellknown-k46dd5bg.js";
|
|
15
|
+
import {
|
|
16
|
+
__export
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
|
+
|
|
19
|
+
// src/plugin/provider/claude-agent/language-model/claude-agent-language-model.ts
|
|
20
|
+
var exports_claude_agent_language_model = {};
|
|
21
|
+
__export(exports_claude_agent_language_model, {
|
|
22
|
+
ClaudeAgentLanguageModel: () => exports_claude_agent_language_model,
|
|
23
|
+
Model: () => Model2
|
|
24
|
+
});
|
|
25
|
+
import { Provider } from "@opencode/schema/provider";
|
|
26
|
+
class Model2 {
|
|
27
|
+
modelId;
|
|
28
|
+
dependencies;
|
|
29
|
+
connection;
|
|
30
|
+
specificationVersion = "v3";
|
|
31
|
+
provider = Provider.ID.claudeAgent;
|
|
32
|
+
supportedUrls = {};
|
|
33
|
+
constructor(modelId, dependencies, connection = {}) {
|
|
34
|
+
this.modelId = modelId;
|
|
35
|
+
this.dependencies = dependencies;
|
|
36
|
+
this.connection = connection;
|
|
37
|
+
}
|
|
38
|
+
async doGenerate(_options) {
|
|
39
|
+
throw new Error("Claude Agent models only support streaming");
|
|
40
|
+
}
|
|
41
|
+
async doStream(options) {
|
|
42
|
+
const abort = new AbortController;
|
|
43
|
+
const signal = options.abortSignal ? AbortSignal.any([abort.signal, options.abortSignal]) : abort.signal;
|
|
44
|
+
const tools = options.toolChoice?.type === "none" ? [] : (options.tools ?? []).filter((tool) => tool.type === "function");
|
|
45
|
+
const headers = options.headers ?? {};
|
|
46
|
+
const kind = headers[HEADER2];
|
|
47
|
+
const session = headers[SESSION_HEADER2];
|
|
48
|
+
const settings = options.providerOptions?.[Provider.ID.claudeAgent];
|
|
49
|
+
const role = settings?.[AGENT_OPTION2];
|
|
50
|
+
const agent = typeof role === "string" ? role : undefined;
|
|
51
|
+
const loaded = settings?.[INSTRUCTIONS_OPTION2];
|
|
52
|
+
const instructions = typeof loaded === "string" ? loaded : undefined;
|
|
53
|
+
const effort = parseEffort(settings?.effort);
|
|
54
|
+
const primary = kind === "primary";
|
|
55
|
+
const branch = kind === "generate" || kind === "compaction";
|
|
56
|
+
const sessionID = primary ? session : undefined;
|
|
57
|
+
const sourceID = primary ? headers[FORK_HEADER2] : branch ? session : undefined;
|
|
58
|
+
const offered = primary || branch ? tools : [];
|
|
59
|
+
const convert = make9(offered);
|
|
60
|
+
const system = primary || branch ? make12(agent, instructions) : utility2(options.prompt);
|
|
61
|
+
let cancelled = false;
|
|
62
|
+
let task;
|
|
63
|
+
const stream = new ReadableStream({
|
|
64
|
+
start: (controller) => {
|
|
65
|
+
controller.enqueue({ type: "stream-start", warnings: [] });
|
|
66
|
+
task = this.dependencies.run({
|
|
67
|
+
sessionID,
|
|
68
|
+
sourceID,
|
|
69
|
+
compaction: kind === "compaction",
|
|
70
|
+
model: this.modelId,
|
|
71
|
+
effort,
|
|
72
|
+
maxOutputTokens: options.maxOutputTokens,
|
|
73
|
+
connection: this.connection,
|
|
74
|
+
system,
|
|
75
|
+
prompt: options.prompt,
|
|
76
|
+
tools: offered,
|
|
77
|
+
emit: (message) => {
|
|
78
|
+
if (cancelled)
|
|
79
|
+
return;
|
|
80
|
+
for (const part of convert(message))
|
|
81
|
+
controller.enqueue(part);
|
|
82
|
+
}
|
|
83
|
+
}, signal).then(() => {
|
|
84
|
+
if (!cancelled)
|
|
85
|
+
controller.close();
|
|
86
|
+
}, (error) => {
|
|
87
|
+
if (!cancelled)
|
|
88
|
+
controller.error(error);
|
|
89
|
+
});
|
|
90
|
+
},
|
|
91
|
+
cancel: () => {
|
|
92
|
+
cancelled = true;
|
|
93
|
+
abort.abort();
|
|
94
|
+
return task;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
return { stream };
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
var EFFORTS = ["low", "medium", "high", "xhigh", "max"];
|
|
101
|
+
function parseEffort(value) {
|
|
102
|
+
if (value === undefined)
|
|
103
|
+
return;
|
|
104
|
+
const effort = EFFORTS.find((effort) => value === effort);
|
|
105
|
+
if (effort !== undefined)
|
|
106
|
+
return effort;
|
|
107
|
+
throw new Error("Claude Agent effort must be low, medium, high, xhigh or max");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { Model2, exports_claude_agent_language_model };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node70
|
|
4
|
+
} from "./wellknown-3wcxez96.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node77
|
|
8
|
+
} from "./wellknown-vmzk0fb8.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-6q8jj3zs.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service58,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node61,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service58 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service74;
|
|
63
|
+
const agents = yield* Service67;
|
|
64
|
+
return Service58.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node77, node70] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service58, resolved2, node61, exports_model };
|