@opencode/core 0.0.0-dev-997 → 0.0.0-dev-999
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 +252 -252
- package/dist/bus.js +80 -80
- package/dist/chunks/{variant-jj58nf72.js → model-01msxrc2.js} +45 -45
- package/dist/chunks/{variant-psw1kjpk.js → model-04jyy754.js} +4 -4
- package/dist/chunks/{variant-9w30g8qw.js → model-04rh7t8q.js} +13 -13
- package/dist/chunks/{variant-ctkhx4bn.js → model-08ywff7t.js} +23 -23
- package/dist/chunks/{variant-wk8qckpd.js → model-0fxg9pvt.js} +44 -44
- package/dist/chunks/{variant-yk4ram99.js → model-0hxcpwt2.js} +3 -3
- package/dist/chunks/{variant-191m48a3.js → model-0jsqw7fy.js} +11 -11
- package/dist/chunks/{variant-0ma9gw4f.js → model-0ma9gw4f.js} +2 -2
- package/dist/chunks/{variant-nnkaftj7.js → model-0nrxkvvc.js} +43 -43
- package/dist/chunks/{variant-7n6dxx8b.js → model-0pk1ngcf.js} +22 -22
- package/dist/chunks/{variant-nnrmsper.js → model-0rp2hfqs.js} +37 -37
- package/dist/chunks/{variant-2rskcez4.js → model-0tm36zze.js} +18 -18
- package/dist/chunks/{variant-g5ewm2rc.js → model-128ksrt2.js} +16 -16
- package/dist/chunks/{variant-v9emqtsw.js → model-154zcyc9.js} +5 -5
- package/dist/chunks/{variant-ehwes8ba.js → model-17ekrt3z.js} +19 -19
- package/dist/chunks/{variant-tes8qct3.js → model-1925gf79.js} +5 -5
- package/dist/chunks/{variant-1aqsckx4.js → model-1aqsckx4.js} +1 -1
- package/dist/chunks/{variant-ck2q7j61.js → model-1dtqp2tz.js} +11 -11
- package/dist/chunks/{variant-82a6v07m.js → model-1nj39q75.js} +33 -33
- package/dist/chunks/{variant-1v2g13eq.js → model-1v2g13eq.js} +4 -4
- package/dist/chunks/{variant-1x2knyw4.js → model-1x2knyw4.js} +1 -1
- package/dist/chunks/{variant-m84h1jey.js → model-238b4g8n.js} +16 -16
- package/dist/chunks/{variant-8b3vzgkx.js → model-25h84942.js} +4 -4
- package/dist/chunks/{variant-4gd7wcea.js → model-274ws26c.js} +3 -3
- package/dist/chunks/{variant-2nknk0e6.js → model-27h849jz.js} +25 -25
- package/dist/chunks/{variant-1ep2p91f.js → model-27w5k9zf.js} +2 -2
- package/dist/chunks/{variant-hdrbc11v.js → model-2a6xqsmt.js} +17 -17
- package/dist/chunks/{variant-2fc7eemy.js → model-2fc7eemy.js} +1 -1
- package/dist/chunks/{variant-ky67gy21.js → model-2fnnq65x.js} +6 -6
- package/dist/chunks/{variant-mbze43nr.js → model-2g47c0ps.js} +14 -14
- package/dist/chunks/{variant-mf63ygpr.js → model-2kg89srt.js} +4 -4
- package/dist/chunks/{variant-q25kncem.js → model-2kr977wv.js} +31 -31
- package/dist/chunks/{variant-evh8jc0c.js → model-2merx6cy.js} +11 -11
- package/dist/chunks/{variant-qtf35215.js → model-2n444ktb.js} +3 -3
- package/dist/chunks/{variant-2p60zmnr.js → model-2p60zmnr.js} +2 -2
- package/dist/chunks/{variant-ahar75pe.js → model-2pnhf2fv.js} +11 -11
- package/dist/chunks/{variant-j7z1hhsg.js → model-35bf8v5y.js} +43 -43
- package/dist/chunks/{variant-qqgs4tjy.js → model-36j0hrjm.js} +59 -59
- package/dist/chunks/{variant-859w1rtj.js → model-3adw4bt5.js} +9 -9
- package/dist/chunks/{variant-t5j724x0.js → model-3b84fcee.js} +18 -18
- package/dist/chunks/{variant-ayjs7tqn.js → model-3cbjf1nt.js} +2 -2
- package/dist/chunks/{variant-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-tmc7xdjs.js → model-3nnrz6f6.js} +4 -4
- package/dist/chunks/{variant-ee86f0be.js → model-3p5vmtwa.js} +23 -23
- package/dist/chunks/{variant-xacrkbdt.js → model-3qgwywyc.js} +4 -4
- package/dist/chunks/{variant-cbp6hq4a.js → model-3qrc3cfx.js} +15 -15
- package/dist/chunks/{variant-b1nj9akq.js → model-3v3n70sq.js} +23 -23
- package/dist/chunks/{variant-0s71gejv.js → model-3zjs10z6.js} +25 -25
- package/dist/chunks/{variant-40y6dtc2.js → model-40y6dtc2.js} +1 -1
- package/dist/chunks/{variant-1ccryp4f.js → model-41cbsehj.js} +8 -8
- package/dist/chunks/{variant-44pmzq9c.js → model-44pmzq9c.js} +2 -2
- package/dist/chunks/{variant-391pyjkn.js → model-4a91fd80.js} +11 -11
- package/dist/chunks/{variant-mxm2kqsk.js → model-4c54z4fy.js} +14 -14
- package/dist/chunks/{variant-4dx1dgte.js → model-4dx1dgte.js} +1 -1
- package/dist/chunks/{variant-x7j5e179.js → model-4fhxvrqa.js} +5 -5
- package/dist/chunks/{variant-4pyp9zr9.js → model-4pyp9zr9.js} +1 -1
- package/dist/chunks/{variant-4v008n1t.js → model-4v008n1t.js} +1 -1
- package/dist/chunks/{variant-6fm55eqj.js → model-4y1fnskp.js} +30 -30
- package/dist/chunks/{variant-s8nb9496.js → model-58jj18ay.js} +29 -29
- package/dist/chunks/{variant-6kjm2wff.js → model-59mrw9ac.js} +12 -12
- package/dist/chunks/{variant-qtcb5dd7.js → model-5efhg67f.js} +15 -15
- package/dist/chunks/{variant-40za9wsf.js → model-5enarcya.js} +6 -6
- package/dist/chunks/{variant-cvarja05.js → model-5kscnyky.js} +5 -5
- package/dist/chunks/{variant-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-fh8zh7t3.js → model-5p0gy5zm.js} +22 -22
- package/dist/chunks/{variant-5whx36p1.js → model-5whx36p1.js} +1 -1
- package/dist/chunks/{variant-ccj5t501.js → model-5xwvkjrr.js} +28 -28
- package/dist/chunks/{variant-9f3jsh1d.js → model-6h8vcvjm.js} +9 -9
- package/dist/chunks/{variant-t2eh0k7z.js → model-6nj8ec3y.js} +4 -4
- package/dist/chunks/{variant-dbatw319.js → model-73ff1310.js} +3 -3
- package/dist/chunks/{variant-775hqbnd.js → model-775hqbnd.js} +3 -3
- package/dist/chunks/{variant-5jaydkyp.js → model-783rzdj3.js} +10 -10
- package/dist/chunks/{variant-m1e2422q.js → model-79fr46xq.js} +17 -17
- package/dist/chunks/{variant-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-c41eyhyx.js → model-7cjy8m2c.js} +8 -8
- package/dist/chunks/{variant-3vn4chcq.js → model-7m5xp29h.js} +16 -16
- package/dist/chunks/{variant-w4xw9ac5.js → model-7nqkf5r1.js} +2 -2
- package/dist/chunks/{variant-svtyz6t1.js → model-7sc8mbv4.js} +15 -15
- package/dist/chunks/{variant-tte2fcbp.js → model-7tdhwmy7.js} +6 -6
- package/dist/chunks/{variant-1m5z3xqn.js → model-7vn2r66h.js} +33 -33
- package/dist/chunks/{variant-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
- package/dist/chunks/{variant-7weczvnd.js → model-7weczvnd.js} +1 -1
- package/dist/chunks/{variant-0xrtxmq1.js → model-7xcrky0a.js} +29 -29
- package/dist/chunks/{variant-80pdk984.js → model-80pdk984.js} +1 -1
- package/dist/chunks/{variant-fdzpahj4.js → model-86bsmw2v.js} +26 -26
- package/dist/chunks/{variant-4memcdqc.js → model-8caa54y3.js} +19 -19
- package/dist/chunks/{variant-8aqtgy9n.js → model-8dk7dc9k.js} +12 -12
- package/dist/chunks/{variant-vg70k9hm.js → model-8dv3qwsd.js} +5 -5
- package/dist/chunks/{variant-fwfn9paq.js → model-8ssh1wte.js} +20 -20
- package/dist/chunks/{variant-dhfzc0ns.js → model-8vxybd5m.js} +5 -5
- package/dist/chunks/{variant-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
- package/dist/chunks/{variant-mb7mbhnz.js → model-8z6m94af.js} +3 -3
- package/dist/chunks/{variant-8zv0xmg5.js → model-8zv0xmg5.js} +1 -1
- package/dist/chunks/{variant-8qcrteke.js → model-90jx25jr.js} +21 -21
- package/dist/chunks/{variant-kx9dvxyd.js → model-92ny0p1b.js} +11 -11
- package/dist/chunks/{variant-hb7khy7f.js → model-95jvn330.js} +35 -35
- package/dist/chunks/{variant-963hk181.js → model-963hk181.js} +2 -2
- package/dist/chunks/{variant-bv7fppv4.js → model-99mtj9fr.js} +8 -8
- package/dist/chunks/{variant-h8px5z95.js → model-9dzheyx2.js} +38 -38
- package/dist/chunks/{variant-e9adgphe.js → model-9jz1t4ws.js} +29 -29
- package/dist/chunks/{variant-qzzmx7z7.js → model-9m2gkx13.js} +25 -25
- package/dist/chunks/{variant-06g62cyz.js → model-9ph1e4xr.js} +18 -18
- package/dist/chunks/{variant-94mzd4c3.js → model-9ssh8qw1.js} +5 -5
- package/dist/chunks/{variant-xq6c6chz.js → model-a34yprc9.js} +9 -9
- package/dist/chunks/{variant-x150ncgg.js → model-a3fn0gmm.js} +2 -2
- package/dist/chunks/{variant-rhp68dkh.js → model-a480hvw3.js} +21 -21
- package/dist/chunks/{variant-qah7t4da.js → model-a7143epj.js} +6 -6
- package/dist/chunks/{variant-034tev2y.js → model-aj7mw0zk.js} +2 -2
- package/dist/chunks/{variant-p2smhjjk.js → model-ama0tws7.js} +19 -19
- package/dist/chunks/{variant-2ch6rzzq.js → model-arya9n3p.js} +10 -10
- package/dist/chunks/{variant-a43tjcbm.js → model-aw20hh5n.js} +10 -10
- package/dist/chunks/{variant-57v3tsgm.js → model-b14yber2.js} +1 -1
- package/dist/chunks/{variant-b26ddj6h.js → model-b26ddj6h.js} +4 -4
- package/dist/chunks/{variant-bbcg6j3r.js → model-b8865jrk.js} +8 -8
- package/dist/chunks/{variant-b2v3c27z.js → model-bb24a82z.js} +8 -8
- package/dist/chunks/{variant-8sxe6kv8.js → model-bb3mmwvh.js} +2 -2
- package/dist/chunks/{variant-g825kxhb.js → model-bc2f7s06.js} +12 -12
- package/dist/chunks/{variant-3gavxv0a.js → model-bc3qwzwc.js} +28 -28
- package/dist/chunks/{variant-mhm5krw5.js → model-bfvbnjh9.js} +28 -28
- package/dist/chunks/{variant-xmsy6cab.js → model-br1f43xn.js} +6 -6
- package/dist/chunks/{variant-67wwskyb.js → model-brv6mkyx.js} +4 -4
- package/dist/chunks/{variant-bstexjd6.js → model-bstexjd6.js} +1 -1
- package/dist/chunks/{variant-zpdbqgja.js → model-by8ty0bx.js} +4 -4
- package/dist/chunks/{variant-4qgrqtqj.js → model-bzj6z3es.js} +6 -6
- package/dist/chunks/{variant-fnf0zrns.js → model-c0mmx4zc.js} +8 -8
- package/dist/chunks/{variant-te8mnyrq.js → model-c461m01n.js} +31 -31
- package/dist/chunks/{variant-hspdnjc7.js → model-c4zywkv9.js} +25 -25
- package/dist/chunks/{variant-6sjay2e2.js → model-c5ptde5m.js} +37 -37
- package/dist/chunks/{variant-e5jtcmvt.js → model-c65nt65b.js} +17 -17
- package/dist/chunks/{variant-c7cw818c.js → model-c7cw818c.js} +2 -2
- package/dist/chunks/{variant-399pzq0m.js → model-c9n7546s.js} +5 -5
- package/dist/chunks/{variant-ysgjvfep.js → model-cd36nz1h.js} +8 -8
- package/dist/chunks/{variant-d9zs09h7.js → model-ch8s1y8s.js} +32 -32
- package/dist/chunks/{variant-h7snq7eb.js → model-chszet6t.js} +12 -12
- package/dist/chunks/{variant-0afca0j0.js → model-cj03vqj5.js} +17 -17
- package/dist/chunks/{variant-rf38km6p.js → model-cntd60w8.js} +12 -12
- package/dist/chunks/{variant-sjmnrv6n.js → model-ctv9sxcf.js} +25 -25
- package/dist/chunks/{variant-cwrgdav8.js → model-cwrgdav8.js} +2 -2
- package/dist/chunks/{variant-sv0ag7hp.js → model-cxsbk2pg.js} +4 -4
- package/dist/chunks/{variant-x9tgsr9g.js → model-d1qab26r.js} +11 -11
- package/dist/chunks/{variant-4ygb74tw.js → model-d390zwf3.js} +8 -8
- package/dist/chunks/{variant-d4v9tmah.js → model-d4v9tmah.js} +2 -2
- package/dist/chunks/{variant-4kk1sm3s.js → model-d61aabb0.js} +4 -4
- package/dist/chunks/{variant-zfyb5tr4.js → model-d8p3t516.js} +4 -4
- package/dist/chunks/{variant-a1hkspc0.js → model-df0p4xp8.js} +46 -46
- package/dist/chunks/{variant-0q5bgz5q.js → model-dk8hh697.js} +57 -57
- package/dist/chunks/{variant-dt77769w.js → model-dt77769w.js} +1 -1
- package/dist/chunks/{variant-8t0p0gsw.js → model-e0aw4qwy.js} +15 -15
- package/dist/chunks/{variant-ngpyaksj.js → model-e6gm93ev.js} +7 -7
- package/dist/chunks/{variant-bbshnb5a.js → model-e7cc0erc.js} +38 -38
- package/dist/chunks/{variant-3qevzq3v.js → model-eh1xkk5s.js} +11 -11
- package/dist/chunks/{variant-eqw4pqj1.js → model-eqw4pqj1.js} +2 -2
- package/dist/chunks/{variant-87z90kc5.js → model-esrwvfp1.js} +30 -30
- package/dist/chunks/model-ezna1kdx.js +18 -0
- package/dist/chunks/{variant-wyy4pcd1.js → model-ezss272g.js} +10 -10
- package/dist/chunks/{variant-48xb5r1q.js → model-f8ysvnq5.js} +10 -10
- package/dist/chunks/{variant-fffv3p7h.js → model-fffv3p7h.js} +1 -1
- package/dist/chunks/{variant-fg9p65nk.js → model-fg9p65nk.js} +2 -2
- package/dist/chunks/{variant-xj3h7bk7.js → model-fkyqk9w0.js} +85 -27
- package/dist/chunks/{variant-qy5qq0yc.js → model-fnb8mg1p.js} +52 -52
- package/dist/chunks/{variant-62qadk9f.js → model-fnbs50vg.js} +28 -28
- package/dist/chunks/{variant-35gq0sf5.js → model-fv3530tt.js} +11 -11
- package/dist/chunks/{variant-hhkx2d0p.js → model-fwtffrk0.js} +355 -355
- package/dist/chunks/{variant-8s33r8jf.js → model-g13fcfkr.js} +20 -20
- package/dist/chunks/{variant-hjvzwnwr.js → model-g3ajmf9g.js} +2 -2
- package/dist/chunks/{variant-6e2zz4ae.js → model-g3bw9zqa.js} +13 -13
- package/dist/chunks/{variant-19qykrte.js → model-g8z6k6r2.js} +14 -14
- package/dist/chunks/{variant-np4mqns9.js → model-g95xsjx3.js} +16 -16
- package/dist/chunks/{variant-9v653zsf.js → model-ga03p7f2.js} +37 -37
- package/dist/chunks/{variant-s9zwn1hh.js → model-gapfq15c.js} +22 -22
- package/dist/chunks/{variant-sszf9mcm.js → model-gbbwgw5m.js} +26 -26
- package/dist/chunks/{variant-gbjdnr5j.js → model-gbjdnr5j.js} +2 -2
- package/dist/chunks/{variant-a4d66978.js → model-gbzkt52z.js} +88 -88
- package/dist/chunks/{variant-ghrv1g9c.js → model-ghrv1g9c.js} +1 -1
- package/dist/chunks/{variant-50ffmzcp.js → model-gmsh9j6n.js} +15 -15
- package/dist/chunks/{variant-gxs71cxp.js → model-gxs71cxp.js} +1 -1
- package/dist/chunks/{variant-fzrsa2br.js → model-gy1m0xn3.js} +12 -12
- package/dist/chunks/{variant-qc3ft4gm.js → model-h1m88njt.js} +2 -2
- package/dist/chunks/{variant-bn9hq2d6.js → model-h2j106d0.js} +5 -5
- package/dist/chunks/{variant-v55k71hn.js → model-h3gbr1tk.js} +6 -6
- package/dist/chunks/{variant-sccvy189.js → model-h8jj1sd5.js} +27 -27
- package/dist/chunks/{variant-k5abfetq.js → model-hfxp4j6e.js} +5 -5
- package/dist/chunks/{variant-hgzwgvze.js → model-hgzwgvze.js} +2 -2
- package/dist/chunks/{variant-yepd7x5v.js → model-hj0xet7m.js} +5 -5
- package/dist/chunks/{variant-0pwre64m.js → model-hjyqwha2.js} +5 -5
- package/dist/chunks/{variant-1q8tyxpw.js → model-hq21jm9z.js} +20 -20
- package/dist/chunks/{variant-gvgy0a1b.js → model-hvtnb39j.js} +6 -6
- package/dist/chunks/{variant-v9k8pphq.js → model-hvxar7a8.js} +3 -3
- package/dist/chunks/{variant-e3c9h62x.js → model-hx1g6sm0.js} +12 -12
- package/dist/chunks/{variant-3zw5z90q.js → model-hyqmt6qr.js} +11 -11
- package/dist/chunks/{variant-regcmcgb.js → model-hzxewqmk.js} +21 -21
- package/dist/chunks/{variant-xmx7xj34.js → model-j3f8hyeg.js} +4 -4
- package/dist/chunks/{variant-n7fyfpp4.js → model-j41vtabc.js} +18 -18
- package/dist/chunks/{variant-y2np27gh.js → model-j754fh8m.js} +40 -40
- package/dist/chunks/{variant-j9nxzz3g.js → model-j9nxzz3g.js} +3 -3
- package/dist/chunks/{variant-7a33bpk3.js → model-jh0y9090.js} +5 -5
- package/dist/chunks/{variant-vtgyzjfz.js → model-jh5xh74j.js} +8 -8
- package/dist/chunks/{variant-vgzw7ag2.js → model-jjktkhap.js} +11 -11
- package/dist/chunks/{variant-jm70asfg.js → model-jm70asfg.js} +1 -1
- package/dist/chunks/model-jnjm1jrj.js +26 -0
- package/dist/chunks/{variant-036vtpcn.js → model-jrxrsea6.js} +22 -22
- package/dist/chunks/{variant-43tas341.js → model-jvcygd6j.js} +9 -9
- package/dist/chunks/{variant-qwra5pe6.js → model-jvq1eehf.js} +18 -18
- package/dist/chunks/{variant-q9yme5zj.js → model-k3yknsh6.js} +17 -17
- package/dist/chunks/{variant-va1xv24k.js → model-k40v4qcg.js} +6 -6
- package/dist/chunks/{variant-mzqm0wkq.js → model-kd2jy9g4.js} +45 -45
- package/dist/chunks/{variant-ghknk6b8.js → model-kq01fqtz.js} +15 -15
- package/dist/chunks/{variant-kt3bjfbg.js → model-kt3bjfbg.js} +1 -1
- package/dist/chunks/{variant-2s9mae96.js → model-ktck1cjp.js} +6 -6
- package/dist/chunks/{variant-bj78ahtb.js → model-kvmx4gfp.js} +7 -7
- package/dist/chunks/{variant-kzczzf4v.js → model-kzczzf4v.js} +1 -1
- package/dist/chunks/{variant-gmemj5zs.js → model-kze6nzna.js} +7 -7
- package/dist/chunks/{variant-m1714858.js → model-m1714858.js} +1 -1
- package/dist/chunks/{variant-jvdzq0d6.js → model-m1ys4f9m.js} +4 -4
- package/dist/chunks/{variant-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-b7nkz392.js → model-me215f18.js} +1 -1
- package/dist/chunks/{variant-dnpc8a82.js → model-menzs2zj.js} +27 -27
- package/dist/chunks/{variant-d5cyr6yq.js → model-mereyghy.js} +8 -8
- package/dist/chunks/{variant-e42azye3.js → model-mgm0hmvg.js} +43 -43
- package/dist/chunks/{variant-mrcv5ks0.js → model-mgrcf8eg.js} +10 -10
- package/dist/chunks/{variant-fshmg4ah.js → model-mhpca445.js} +36 -36
- package/dist/chunks/{variant-931r7y6q.js → model-mjmbzz7a.js} +22 -22
- package/dist/chunks/{variant-9k2g0ym6.js → model-mk91enp0.js} +8 -8
- package/dist/chunks/{variant-zgkdjc89.js → model-msb9vqyk.js} +5 -5
- package/dist/chunks/{variant-wac11b58.js → model-n1f1g11v.js} +29 -29
- package/dist/chunks/{variant-h9brpv20.js → model-n2rdrjat.js} +38 -38
- package/dist/chunks/{variant-t62dywgn.js → model-n3j33rb6.js} +4 -4
- package/dist/chunks/{variant-yck1a6wc.js → model-n61nyeah.js} +26 -26
- package/dist/chunks/{variant-359bp3fp.js → model-n88hzhfw.js} +36 -36
- package/dist/chunks/{variant-ha1v2dhf.js → model-nbpf5s2w.js} +16 -16
- package/dist/chunks/{variant-w7xgb7w6.js → model-nd63gaqc.js} +26 -26
- package/dist/chunks/{variant-fc2v7wx9.js → model-nqkteeb0.js} +12 -12
- package/dist/chunks/{variant-7cqtnh5e.js → model-nx0e49rf.js} +6 -6
- package/dist/chunks/{variant-wegkxhrn.js → model-nx4vzyjd.js} +2 -2
- package/dist/chunks/{variant-g2kd4jf1.js → model-nztsd3ja.js} +20 -20
- package/dist/chunks/{variant-1yq9hg58.js → model-p7vhpwh8.js} +5 -5
- package/dist/chunks/{variant-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{variant-x56b9byd.js → model-q1hxmnhx.js} +4 -4
- package/dist/chunks/{variant-q42tzrxa.js → model-q42tzrxa.js} +1 -1
- package/dist/chunks/{variant-sk351pwb.js → model-q82pc0fv.js} +13 -13
- package/dist/chunks/{variant-kh0hrg97.js → model-qffk4v12.js} +4 -4
- package/dist/chunks/{variant-xhdb3v4n.js → model-qfxt7s7z.js} +13 -13
- package/dist/chunks/{variant-ydn5hz76.js → model-qktm7q6b.js} +9 -9
- package/dist/chunks/{variant-qp7r0hxv.js → model-qp7r0hxv.js} +1 -1
- package/dist/chunks/{variant-pezh9stc.js → model-qzaz5bwz.js} +24 -24
- package/dist/chunks/{variant-dcpgvkr1.js → model-r0yp5dgt.js} +21 -21
- package/dist/chunks/{variant-9n89mksp.js → model-r15r0aq8.js} +7 -7
- package/dist/chunks/{variant-j0j4pc74.js → model-r3v0ma7a.js} +21 -21
- package/dist/chunks/{variant-4f25tdd0.js → model-r542h3bh.js} +5 -5
- package/dist/chunks/{variant-ttwakq5a.js → model-r7r55277.js} +8 -8
- package/dist/chunks/{variant-9d8kw85m.js → model-r7ykf8xa.js} +24 -24
- package/dist/chunks/{variant-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
- package/dist/chunks/{variant-t4vf48t8.js → model-rcanfscb.js} +8 -8
- package/dist/chunks/{variant-qr1ce677.js → model-re2amjme.js} +9 -9
- package/dist/chunks/{variant-rgc9cx3e.js → model-rgc9cx3e.js} +2 -2
- package/dist/chunks/{variant-04qc8z7j.js → model-rj7jtxy8.js} +3 -3
- package/dist/chunks/{variant-fj7qfefj.js → model-rq513mcc.js} +4 -4
- package/dist/chunks/{variant-8132epdm.js → model-rsbsv3ka.js} +21 -21
- package/dist/chunks/{variant-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
- package/dist/chunks/{variant-bkgyk746.js → model-rtx1kdkb.js} +16 -16
- package/dist/chunks/{variant-4jxb6mz0.js → model-rx88ctjy.js} +23 -23
- package/dist/chunks/{variant-ppfbdyjt.js → model-rzzpvj3x.js} +18 -18
- package/dist/chunks/{variant-vmxsyvj6.js → model-s26c8eb5.js} +4 -4
- package/dist/chunks/{variant-tfq9371f.js → model-s4a9q8qj.js} +3 -3
- package/dist/chunks/{variant-sbya78hr.js → model-sbya78hr.js} +1 -1
- package/dist/chunks/{variant-vre17ymf.js → model-scn5v30h.js} +9 -9
- package/dist/chunks/{variant-90ct6wq4.js → model-sf9y72b7.js} +4 -4
- package/dist/chunks/{variant-70vbs262.js → model-sffnbtc5.js} +8 -8
- package/dist/chunks/{variant-0j7gp832.js → model-sqjzf8x2.js} +4 -4
- package/dist/chunks/{variant-svcy3p9a.js → model-svcy3p9a.js} +1 -1
- package/dist/chunks/{variant-wtyapsg0.js → model-svpmxkv2.js} +35 -35
- package/dist/chunks/{variant-kzdam8c6.js → model-sx27c7qs.js} +5 -5
- package/dist/chunks/{variant-jv5ccajn.js → model-t8erkws8.js} +5 -5
- package/dist/chunks/{variant-tbpn7jtk.js → model-tbpn7jtk.js} +1 -1
- package/dist/chunks/{variant-tczq8hjw.js → model-tczq8hjw.js} +1 -1
- package/dist/chunks/{variant-yjxe7jm8.js → model-tg6j13r4.js} +11 -11
- package/dist/chunks/{variant-nsan2xaf.js → model-tma022qm.js} +12 -12
- package/dist/chunks/{variant-td8tt2yz.js → model-tqkdcr62.js} +33 -33
- package/dist/chunks/{variant-31jjfzsz.js → model-tqym28t1.js} +16 -16
- package/dist/chunks/{variant-tr8x705m.js → model-tr8x705m.js} +1 -1
- package/dist/chunks/{variant-tvtps2q9.js → model-tvtps2q9.js} +1 -1
- package/dist/chunks/{variant-twssxy5n.js → model-twssxy5n.js} +2 -2
- package/dist/chunks/{variant-x979xxvb.js → model-v0k299ff.js} +19 -19
- package/dist/chunks/{variant-wszrmmy6.js → model-v2qcvjth.js} +20 -20
- package/dist/chunks/{variant-v2r1d0zg.js → model-v2r1d0zg.js} +1 -1
- package/dist/chunks/{variant-s7gyry1m.js → model-v4n5y60f.js} +15 -15
- package/dist/chunks/{variant-hy8c1z76.js → model-v5hpj9dd.js} +8 -8
- package/dist/chunks/{variant-ay0pfvn7.js → model-vfs4a21s.js} +59 -59
- package/dist/chunks/{variant-vjf35v1f.js → model-vjf35v1f.js} +1 -1
- package/dist/chunks/{variant-fa3tq0dx.js → model-vk1t66ta.js} +3 -3
- package/dist/chunks/{variant-6b0545tw.js → model-vkyjax41.js} +10 -10
- package/dist/chunks/{variant-qfz6bxfd.js → model-vmqe41cb.js} +4 -4
- package/dist/chunks/{variant-c7ek2zpc.js → model-vnmstdxq.js} +77 -77
- package/dist/chunks/{variant-px7qpgcn.js → model-vt2d6wap.js} +4 -4
- package/dist/chunks/{variant-pvf6551k.js → model-vwavmtjg.js} +12 -12
- package/dist/chunks/{variant-f6c2g3d8.js → model-vz4x3gkp.js} +10 -10
- package/dist/chunks/{variant-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-8qp34gtm.js → model-w6nfnjvs.js} +3 -3
- package/dist/chunks/{variant-35f8z7c4.js → model-w71fm6xr.js} +5 -5
- package/dist/chunks/{variant-xsact9zs.js → model-w76xjer3.js} +4 -4
- package/dist/chunks/{variant-pq86waww.js → model-w8fmcqe9.js} +18 -18
- package/dist/chunks/{variant-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{variant-kdkgf0p5.js → model-wc8hnhwz.js} +13 -13
- package/dist/chunks/{variant-8fexgbne.js → model-wd5snt1e.js} +4 -4
- package/dist/chunks/{variant-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{variant-y0680djj.js → model-wf063wdx.js} +48 -48
- package/dist/chunks/{variant-wfdx5ztx.js → model-wfdx5ztx.js} +1 -1
- package/dist/chunks/{variant-gxej9f1m.js → model-wff00dc7.js} +9 -9
- package/dist/chunks/{variant-w687dnns.js → model-wr3re1en.js} +4 -4
- package/dist/chunks/{variant-b7h7jx0a.js → model-wvje8v9p.js} +5 -5
- package/dist/chunks/{variant-36bdq9by.js → model-wvnqk69q.js} +7 -7
- package/dist/chunks/{variant-agje4kmn.js → model-wvr8xscb.js} +4 -4
- package/dist/chunks/{variant-5zpqhmp2.js → model-wyrr125q.js} +6 -6
- package/dist/chunks/{variant-y7fn4vmz.js → model-x30t04qp.js} +16 -16
- package/dist/chunks/{variant-twckevjt.js → model-x3bh6t04.js} +11 -11
- package/dist/chunks/model-x3c9tvtc.js +16 -0
- package/dist/chunks/{variant-5txc4qwm.js → model-x9gs7zhw.js} +19 -19
- package/dist/chunks/{variant-17f9em4j.js → model-xb4qmwkd.js} +12 -12
- package/dist/chunks/{variant-h3b2bppv.js → model-xbrs5bj0.js} +6 -6
- package/dist/chunks/{variant-1r56xkg5.js → model-xnns4yxp.js} +20 -20
- package/dist/chunks/{variant-c163y4zj.js → model-xnswe3qp.js} +18 -18
- package/dist/chunks/{variant-23r1km7k.js → model-xrx37m5e.js} +33 -33
- package/dist/chunks/{variant-kq4fnwb1.js → model-xvn8mnch.js} +4 -4
- package/dist/chunks/{variant-er3sf20v.js → model-xxd3q6d0.js} +85 -85
- package/dist/chunks/{variant-473z0t5d.js → model-xxg1degc.js} +11 -11
- package/dist/chunks/{variant-xjr6c8m4.js → model-xxschbft.js} +4 -4
- package/dist/chunks/{variant-ptc260ym.js → model-xyj2kwwa.js} +14 -14
- package/dist/chunks/{variant-wpzzehr8.js → model-y0xvjjdd.js} +200 -200
- package/dist/chunks/{variant-fbe748n9.js → model-y1mqj5se.js} +20 -20
- package/dist/chunks/{variant-5yrmq869.js → model-y3g0nctn.js} +6 -6
- package/dist/chunks/model-y7vk4fn8.js +265 -0
- package/dist/chunks/{variant-yb20nhc3.js → model-yb20nhc3.js} +1 -1
- package/dist/chunks/{variant-vmvy2ceg.js → model-yfsgecb2.js} +14 -14
- package/dist/chunks/{variant-ddptgpcg.js → model-yg8twbxp.js} +15 -15
- package/dist/chunks/{variant-yr705xyq.js → model-yr705xyq.js} +1 -1
- package/dist/chunks/{variant-yvtc2x31.js → model-yvtc2x31.js} +1 -1
- package/dist/chunks/{variant-8csh9593.js → model-yxjjpj5q.js} +7 -7
- package/dist/chunks/{variant-2y8q1569.js → model-yxm8dm2e.js} +4 -4
- package/dist/chunks/{variant-b5edxckw.js → model-yy0zbfpp.js} +22 -22
- package/dist/chunks/{variant-qhddvn5p.js → model-z7va9jc3.js} +5 -5
- package/dist/chunks/{variant-byfyg30f.js → model-zfzvnjsx.js} +9 -9
- package/dist/chunks/{variant-dezr1wyf.js → model-zgx4rd1t.js} +11 -11
- package/dist/chunks/{variant-wy7jbqgj.js → model-zsgcekb9.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- 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 +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- 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 +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- 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 +92 -92
- package/dist/database/batch.js +1 -1
- 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 +76 -76
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- 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 +105 -105
- 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 +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- 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 +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +129 -129
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +114 -114
- package/dist/git.js +7 -7
- 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 +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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- 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 +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- 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 +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- 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 +149 -149
- 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 +117 -117
- 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 +1 -1
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- 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 +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- 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 +9 -9
- 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 +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +249 -249
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +101 -101
- 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 +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -253
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- 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 +251 -251
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- 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 +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- 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 +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +3 -3
- package/dist/session.js +243 -243
- 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 +154 -154
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +102 -102
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +167 -167
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- 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 +165 -165
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/variant-5zcyx99g.js +0 -16
- package/dist/chunks/variant-c7x1wg60.js +0 -26
- package/dist/chunks/variant-p5vbbmsv.js +0 -18
- package/dist/chunks/variant-va95cge5.js +0 -265
- /package/dist/chunks/{variant-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-108x4f4w.js → model-108x4f4w.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kah00gy.js → model-1kah00gy.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3af0jn4w.js → model-3af0jn4w.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4qk9sjk2.js → model-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5w3e23ze.js → model-5w3e23ze.js} +0 -0
- /package/dist/chunks/{variant-6agm2x70.js → model-6agm2x70.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-beh6qq61.js → model-beh6qq61.js} +0 -0
- /package/dist/chunks/{variant-bhmrqjy3.js → model-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cqv5kn06.js → model-cqv5kn06.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-ean2d8b5.js → model-ean2d8b5.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fkpq3x5p.js → model-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jwr30sdr.js → model-jwr30sdr.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-nh4v3znn.js → model-nh4v3znn.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-p71gwv9c.js → model-p71gwv9c.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-syrav9an.js → model-syrav9an.js} +0 -0
- /package/dist/chunks/{variant-t03h4f5z.js → model-t03h4f5z.js} +0 -0
- /package/dist/chunks/{variant-ty7weeps.js → model-ty7weeps.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-vtarvj67.js → model-vtarvj67.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x4th4bpe.js → model-x4th4bpe.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-z0h12gs8.js → model-z0h12gs8.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → model-z9919s4g.js} +0 -0
- /package/dist/chunks/{variant-zxpyjp51.js → model-zxpyjp51.js} +0 -0
- /package/dist/chunks/{variant-zz5vv3aq.js → model-zz5vv3aq.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-4c54z4fy.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make19 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make17 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make19();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make19, VLLMPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-x4th4bpe.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/sync/catch-up.ts
|
|
12
12
|
var exports_catch_up = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./model-0fxg9pvt.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolver2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-wff00dc7.js";
|
|
10
10
|
import {
|
|
11
11
|
Condition2,
|
|
12
12
|
ID5,
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
NotFoundError3,
|
|
19
19
|
DisabledError2,
|
|
20
20
|
Service20
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-esrwvfp1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/schedule.ts
|
|
27
27
|
var exports_schedule = {};
|
|
28
28
|
__export(exports_schedule, {
|
|
29
29
|
IDInput: () => IDInput2,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
ScheduleTools: () => exports_schedule,
|
|
32
32
|
View: () => View2
|
|
33
33
|
});
|
|
@@ -64,10 +64,10 @@ var IDInput2 = Schema.Struct({
|
|
|
64
64
|
id: ID5.annotate({ description: "Schedule id from schedule_list." })
|
|
65
65
|
});
|
|
66
66
|
var RemoveOutput = Schema.Struct({ id: ID5, removed: Schema.Boolean });
|
|
67
|
-
var
|
|
67
|
+
var Plugin42 = {
|
|
68
68
|
id: "opencode.tool.schedule",
|
|
69
69
|
effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
|
|
70
|
-
const config = yield*
|
|
70
|
+
const config = yield* Service76;
|
|
71
71
|
const schedules = yield* Service20;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
|
|
73
73
|
const flags = yield* resolver2;
|
|
@@ -201,4 +201,4 @@ function toView(info) {
|
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
export { View2, IDInput2,
|
|
204
|
+
export { View2, IDInput2, Plugin42, exports_schedule };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90,
|
|
6
6
|
node93
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-c9n7546s.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node81
|
|
17
|
+
} from "./model-vz4x3gkp.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service45,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service45 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
var isError2 = Schema.is(Schema.Union([
|
|
96
96
|
InvalidBranchError2,
|
|
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
107
107
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
111
111
|
const fs = yield* FSUtil.Service;
|
|
112
112
|
const git = yield* Service90;
|
|
113
113
|
const flock = yield* EffectFlock.Service;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
|
-
const kv = yield*
|
|
116
|
-
return
|
|
115
|
+
const kv = yield* Service79;
|
|
116
|
+
return Service45.of({
|
|
117
117
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
118
118
|
if (input.branch)
|
|
119
119
|
yield* validateBranch2(input.branch);
|
|
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
179
|
-
service:
|
|
178
|
+
var node47 = makeGlobalNode({
|
|
179
|
+
service: Service45,
|
|
180
180
|
layer,
|
|
181
|
-
deps: [EffectFlock.node, FSUtil.node, node93, Global.node,
|
|
181
|
+
deps: [EffectFlock.node, FSUtil.node, node93, Global.node, node81]
|
|
182
182
|
});
|
|
183
183
|
function errorMessage(error) {
|
|
184
184
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
187
187
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
190
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node47, exports_repository_cache };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./model-0fxg9pvt.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-tvtps2q9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin16
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin16 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service76;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin37 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin16, exports_websearch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-c9n7546s.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service66
|
|
10
|
+
} from "./model-35bf8v5y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service65,
|
|
13
13
|
resolvePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-3zjs10z6.js";
|
|
15
15
|
import {
|
|
16
16
|
DirectoryUnavailableError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-d4v9tmah.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Info14,
|
|
20
20
|
List2,
|
|
21
21
|
InvalidDirectoryError2,
|
|
22
22
|
StrategyUnavailableError2,
|
|
23
23
|
OperationError2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-e7cc0erc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/opencode.ts
|
|
30
30
|
var exports_opencode = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_opencode, {
|
|
|
32
32
|
ModelsInput: () => ModelsInput2,
|
|
33
33
|
MoveInput: () => MoveInput2,
|
|
34
34
|
OpenCodeTools: () => exports_opencode,
|
|
35
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin37,
|
|
36
36
|
RenameInput: () => RenameInput2,
|
|
37
37
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
38
38
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -111,11 +111,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
111
111
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
112
112
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var Plugin37 = {
|
|
115
115
|
id: "opencode.tools",
|
|
116
116
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
117
|
-
const access = yield*
|
|
118
|
-
const permission = yield*
|
|
117
|
+
const access = yield* Service65;
|
|
118
|
+
const permission = yield* Service66;
|
|
119
119
|
const hook = (event) => Effect.sync(() => {
|
|
120
120
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
121
121
|
});
|
|
@@ -173,7 +173,7 @@ var Plugin47 = {
|
|
|
173
173
|
name: "worktree_create",
|
|
174
174
|
description: "Create a named worktree. Returns its directory.",
|
|
175
175
|
input: WorktreeCreateInput2,
|
|
176
|
-
output:
|
|
176
|
+
output: Info14,
|
|
177
177
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
178
178
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
179
179
|
});
|
|
@@ -268,4 +268,4 @@ function removeFailure(directory, error) {
|
|
|
268
268
|
return `Unable to remove worktree ${directory}.`;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
271
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin37, exports_opencode };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
original2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-gxs71cxp.js";
|
|
4
4
|
import {
|
|
5
5
|
session2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-kvmx4gfp.js";
|
|
7
7
|
import {
|
|
8
8
|
start2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-1v2g13eq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make10
|
|
12
|
+
} from "./model-brv6mkyx.js";
|
|
13
13
|
import {
|
|
14
14
|
build2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-eqw4pqj1.js";
|
|
16
16
|
import {
|
|
17
17
|
decide2,
|
|
18
18
|
boundary2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-gbjdnr5j.js";
|
|
20
20
|
import {
|
|
21
21
|
content3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-sbya78hr.js";
|
|
23
23
|
import {
|
|
24
24
|
content2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-775hqbnd.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make8
|
|
28
|
+
} from "./model-vt2d6wap.js";
|
|
29
29
|
import {
|
|
30
30
|
collect2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-j9nxzz3g.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/claude/sessions.ts
|
|
37
37
|
var exports_sessions = {};
|
|
@@ -96,7 +96,7 @@ function registry2() {
|
|
|
96
96
|
yield* closeEntries();
|
|
97
97
|
});
|
|
98
98
|
const attach = Effect.fn("ClaudeSessions.attach")(function* (input) {
|
|
99
|
-
const records =
|
|
99
|
+
const records = make10(input.storage);
|
|
100
100
|
owners++;
|
|
101
101
|
yield* cancelHandover();
|
|
102
102
|
yield* Effect.addFinalizer(() => Effect.gen(function* () {
|
|
@@ -116,7 +116,7 @@ function registry2() {
|
|
|
116
116
|
yield* input.status.report({ type: "missing" });
|
|
117
117
|
return yield* Effect.fail(new Error("Install Claude Code and run `claude auth login` first"));
|
|
118
118
|
}
|
|
119
|
-
const pending =
|
|
119
|
+
const pending = make8();
|
|
120
120
|
const session = yield* attempt(async () => start2(await session2({
|
|
121
121
|
executable,
|
|
122
122
|
io: input.io,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-n61nyeah.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-bfvbnjh9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -585,4 +585,4 @@ var PROTOCOLS = {
|
|
|
585
585
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
586
586
|
};
|
|
587
587
|
|
|
588
|
-
export { supports2,
|
|
588
|
+
export { supports2, resolve3, exports_variant };
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-q1hxmnhx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node81
|
|
8
|
+
} from "./model-vz4x3gkp.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
|
-
DisabledError: () =>
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Input: () =>
|
|
24
|
-
Provider: () =>
|
|
20
|
+
DisabledError: () => DisabledError4,
|
|
21
|
+
Event: () => Event12,
|
|
22
|
+
ID: () => ID10,
|
|
23
|
+
Input: () => Input16,
|
|
24
|
+
Provider: () => Provider3,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
26
|
-
ProviderNotFoundError: () =>
|
|
26
|
+
ProviderNotFoundError: () => ProviderNotFoundError3,
|
|
27
27
|
ProviderRequiredError: () => ProviderRequiredError2,
|
|
28
28
|
RequestError: () => RequestError2,
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service61,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node62
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
41
|
+
import { Event as Event12 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID10 = WebSearch.ID;
|
|
43
|
+
var Provider3 = WebSearch.Provider;
|
|
44
|
+
var Input16 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
54
|
-
providerID:
|
|
53
|
+
class ProviderNotFoundError3 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
+
providerID: ID10
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class DisabledError4 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
-
providerID:
|
|
62
|
+
providerID: ID10,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service61 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
69
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
70
70
|
const bus = yield* Service91;
|
|
71
|
-
const kv = yield*
|
|
71
|
+
const kv = yield* Service79;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
95
95
|
});
|
|
96
96
|
const requireProvider = (providers, providerID) => {
|
|
97
97
|
const provider = providers.get(providerID);
|
|
98
|
-
return provider ? Effect.succeed(provider) : Effect.fail(new
|
|
98
|
+
return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError3({ providerID }));
|
|
99
99
|
};
|
|
100
100
|
const selection = Effect.fn("WebSearch.selection")(function* () {
|
|
101
101
|
const data = state.get();
|
|
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
124
124
|
};
|
|
125
125
|
const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
|
|
126
126
|
if (choice === false)
|
|
127
|
-
return yield* new
|
|
127
|
+
return yield* new DisabledError4;
|
|
128
128
|
if (choice === "random") {
|
|
129
129
|
const active = preferred.get(undefined)?.provider;
|
|
130
130
|
return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
|
|
131
131
|
}
|
|
132
132
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service61.of({
|
|
135
135
|
transform: state.transform,
|
|
136
136
|
reload: state.reload,
|
|
137
137
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node62 = makeLocationNode({
|
|
192
|
+
service: Service61,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [node94,
|
|
194
|
+
deps: [node94, node81]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID10, Provider3, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service61, node62, exports_websearch3, Event12 };
|