@opencode/core 0.0.0-dev-997 → 0.0.0-dev-1000
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 +7 -7
- package/dist/artifact.js +248 -248
- package/dist/bus.js +80 -80
- package/dist/chunks/{variant-8qp34gtm.js → formatter-00tbpbtc.js} +3 -3
- package/dist/chunks/{variant-qhddvn5p.js → formatter-02jh9rbm.js} +5 -5
- package/dist/chunks/{variant-c163y4zj.js → formatter-06qmw3p1.js} +18 -18
- package/dist/chunks/{variant-ay0pfvn7.js → formatter-0kz4dby5.js} +52 -52
- package/dist/chunks/{variant-0ma9gw4f.js → formatter-0ma9gw4f.js} +2 -2
- package/dist/chunks/{variant-3qevzq3v.js → formatter-0y15sqga.js} +11 -11
- package/dist/chunks/{variant-q25kncem.js → formatter-0zf6haa4.js} +31 -31
- package/dist/chunks/{variant-35gq0sf5.js → formatter-13mw6316.js} +11 -11
- package/dist/chunks/{variant-hy8c1z76.js → formatter-160yv0cs.js} +8 -8
- package/dist/chunks/{variant-psw1kjpk.js → formatter-190w6pdq.js} +4 -4
- package/dist/chunks/{variant-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
- package/dist/chunks/{variant-qwra5pe6.js → formatter-1e359xj3.js} +18 -18
- package/dist/chunks/{variant-b7h7jx0a.js → formatter-1ej7we7g.js} +5 -5
- package/dist/chunks/{variant-4jxb6mz0.js → formatter-1rwkd6n1.js} +21 -21
- package/dist/chunks/{variant-8fexgbne.js → formatter-1vjyth2v.js} +4 -4
- package/dist/chunks/{variant-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{variant-1yq9hg58.js → formatter-1yq9hg58.js} +1 -1
- package/dist/chunks/{variant-qfz6bxfd.js → formatter-20pht57w.js} +4 -4
- package/dist/chunks/{variant-8b3vzgkx.js → formatter-25h84942.js} +4 -4
- package/dist/chunks/{variant-1ep2p91f.js → formatter-27w5k9zf.js} +2 -2
- package/dist/chunks/{variant-1r56xkg5.js → formatter-29eg20zk.js} +28 -28
- package/dist/chunks/{variant-ptc260ym.js → formatter-2av63krf.js} +14 -14
- package/dist/chunks/{variant-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
- package/dist/chunks/{variant-sv0ag7hp.js → formatter-2fs9qyh6.js} +4 -4
- package/dist/chunks/{variant-ttwakq5a.js → formatter-2hc2yyeh.js} +8 -8
- package/dist/chunks/{variant-e3c9h62x.js → formatter-2jkywvm5.js} +12 -12
- package/dist/chunks/{variant-mxm2kqsk.js → formatter-2kcjc070.js} +14 -14
- package/dist/chunks/{variant-2p60zmnr.js → formatter-2p60zmnr.js} +2 -2
- package/dist/chunks/{variant-ydn5hz76.js → formatter-2pf3d9w0.js} +9 -9
- package/dist/chunks/{variant-g2kd4jf1.js → formatter-2w1wqytc.js} +20 -20
- package/dist/chunks/{variant-359bp3fp.js → formatter-2xz108rz.js} +32 -32
- package/dist/chunks/{variant-mrcv5ks0.js → formatter-2y5jks6s.js} +12 -12
- package/dist/chunks/{variant-4ygb74tw.js → formatter-31avdb49.js} +8 -8
- package/dist/chunks/{variant-4gd7wcea.js → formatter-36n3ct1y.js} +3 -3
- package/dist/chunks/{variant-ayjs7tqn.js → formatter-3cbjf1nt.js} +2 -2
- package/dist/chunks/{variant-8qcrteke.js → formatter-3ce8cybv.js} +30 -30
- package/dist/chunks/{variant-6b0545tw.js → formatter-3ct7ma1z.js} +10 -10
- package/dist/chunks/{variant-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-fj7qfefj.js → formatter-3mvtj3xp.js} +4 -4
- package/dist/chunks/{variant-tmc7xdjs.js → formatter-3nnrz6f6.js} +4 -4
- package/dist/chunks/{variant-wyy4pcd1.js → formatter-3ntc2dpd.js} +10 -10
- package/dist/chunks/{variant-391pyjkn.js → formatter-3r7kkjbz.js} +8 -8
- package/dist/chunks/{variant-ysgjvfep.js → formatter-3rapmj7b.js} +8 -8
- package/dist/chunks/{variant-7cqtnh5e.js → formatter-3stv24ez.js} +6 -6
- package/dist/chunks/{variant-wk8qckpd.js → formatter-3typ3c0r.js} +51 -51
- package/dist/chunks/{variant-57v3tsgm.js → formatter-3zabr8p3.js} +1 -1
- package/dist/chunks/{variant-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
- package/dist/chunks/{variant-191m48a3.js → formatter-42vnvh13.js} +12 -12
- package/dist/chunks/{variant-44pmzq9c.js → formatter-44pmzq9c.js} +2 -2
- package/dist/chunks/{variant-8t0p0gsw.js → formatter-47dp1ee1.js} +13 -13
- package/dist/chunks/{variant-fbe748n9.js → formatter-4a5wwhqd.js} +18 -18
- package/dist/chunks/{variant-twckevjt.js → formatter-4aszvtk9.js} +11 -11
- package/dist/chunks/{variant-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
- package/dist/chunks/{variant-te8mnyrq.js → formatter-4ep1bc72.js} +31 -31
- package/dist/chunks/{variant-h7snq7eb.js → formatter-4ey40yhv.js} +12 -12
- package/dist/chunks/{variant-fwfn9paq.js → formatter-4kqnsz5j.js} +20 -20
- package/dist/chunks/{variant-19qykrte.js → formatter-4mvwkj15.js} +8 -8
- package/dist/chunks/{variant-td8tt2yz.js → formatter-4nhqhmvh.js} +31 -31
- package/dist/chunks/{variant-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{variant-h3b2bppv.js → formatter-4q6sz825.js} +6 -6
- package/dist/chunks/{variant-1q8tyxpw.js → formatter-4spksd2a.js} +20 -20
- package/dist/chunks/{variant-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{variant-0xrtxmq1.js → formatter-4w8vg081.js} +29 -29
- package/dist/chunks/{variant-3zw5z90q.js → formatter-4ypwwgtd.js} +11 -11
- package/dist/chunks/{variant-4qgrqtqj.js → formatter-505zjtpt.js} +9 -9
- package/dist/chunks/{variant-ccj5t501.js → formatter-5c5fd2mc.js} +28 -28
- package/dist/chunks/{variant-er3sf20v.js → formatter-5gremw96.js} +87 -87
- package/dist/chunks/{variant-h8px5z95.js → formatter-5gt76wd2.js} +40 -40
- package/dist/chunks/{variant-b2v3c27z.js → formatter-5jn3fajq.js} +8 -8
- package/dist/chunks/{variant-0s71gejv.js → formatter-5kyed299.js} +25 -25
- package/dist/chunks/{variant-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-fshmg4ah.js → formatter-5p1pxqys.js} +36 -36
- package/dist/chunks/{variant-5txc4qwm.js → formatter-5qdcckqr.js} +19 -19
- package/dist/chunks/{variant-mhm5krw5.js → formatter-5sdw36aq.js} +34 -34
- package/dist/chunks/{variant-bkgyk746.js → formatter-5sy3stez.js} +18 -18
- package/dist/chunks/{variant-5whx36p1.js → formatter-5whx36p1.js} +1 -1
- package/dist/chunks/{variant-rhp68dkh.js → formatter-5x1h6kk8.js} +18 -18
- package/dist/chunks/{variant-d9zs09h7.js → formatter-5xtdp7sy.js} +32 -32
- package/dist/chunks/{variant-e42azye3.js → formatter-5zksj629.js} +41 -41
- package/dist/chunks/{variant-gmemj5zs.js → formatter-62zd5tzk.js} +7 -7
- package/dist/chunks/{variant-mbze43nr.js → formatter-6cs11t3q.js} +14 -14
- package/dist/chunks/{variant-9k2g0ym6.js → formatter-6yj5npp1.js} +8 -8
- package/dist/chunks/{variant-dezr1wyf.js → formatter-71rkptkz.js} +11 -11
- package/dist/chunks/{variant-2nknk0e6.js → formatter-73z6c2kb.js} +25 -25
- package/dist/chunks/{variant-gxej9f1m.js → formatter-76xygsa5.js} +5 -5
- package/dist/chunks/{variant-775hqbnd.js → formatter-775hqbnd.js} +3 -3
- package/dist/chunks/{variant-9d8kw85m.js → formatter-77crq9fe.js} +22 -22
- package/dist/chunks/{variant-j7z1hhsg.js → formatter-7952znqf.js} +47 -47
- package/dist/chunks/{variant-byfyg30f.js → formatter-79px22ft.js} +9 -9
- package/dist/chunks/{variant-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-hb7khy7f.js → formatter-7k2wdskw.js} +35 -35
- package/dist/chunks/{variant-kq4fnwb1.js → formatter-7stesae1.js} +4 -4
- package/dist/chunks/{variant-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{variant-7weczvnd.js → formatter-7weczvnd.js} +1 -1
- package/dist/chunks/{variant-80pdk984.js → formatter-80pdk984.js} +1 -1
- package/dist/chunks/{variant-35f8z7c4.js → formatter-8255mbsd.js} +5 -5
- package/dist/chunks/{variant-x150ncgg.js → formatter-85cp97b5.js} +2 -2
- package/dist/chunks/{variant-06g62cyz.js → formatter-873gd18q.js} +18 -18
- package/dist/chunks/{variant-jj58nf72.js → formatter-876f3pba.js} +45 -45
- package/dist/chunks/{variant-fc2v7wx9.js → formatter-89gjpwsq.js} +12 -12
- package/dist/chunks/{variant-kzdam8c6.js → formatter-8hfctyyf.js} +7 -7
- package/dist/chunks/{variant-963hk181.js → formatter-8qqg9kww.js} +9 -9
- package/dist/chunks/{variant-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{variant-9w30g8qw.js → formatter-8yr6na46.js} +13 -13
- package/dist/chunks/{variant-f6c2g3d8.js → formatter-8ywczf47.js} +10 -10
- package/dist/chunks/{variant-mb7mbhnz.js → formatter-8z6m94af.js} +3 -3
- package/dist/chunks/{variant-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
- package/dist/chunks/{variant-va1xv24k.js → formatter-90g9ssqr.js} +3 -3
- package/dist/chunks/{variant-qzzmx7z7.js → formatter-943p5k11.js} +28 -28
- package/dist/chunks/{variant-04qc8z7j.js → formatter-94e33dpz.js} +3 -3
- package/dist/chunks/{variant-ahar75pe.js → formatter-96r3xk19.js} +15 -15
- package/dist/chunks/{variant-8s33r8jf.js → formatter-98e4zkpa.js} +20 -20
- package/dist/chunks/{variant-vtgyzjfz.js → formatter-9ck5ta0b.js} +11 -11
- package/dist/chunks/{variant-8csh9593.js → formatter-9kykmj99.js} +7 -7
- package/dist/chunks/{variant-dbatw319.js → formatter-9rqfe4ad.js} +3 -3
- package/dist/chunks/{variant-1ccryp4f.js → formatter-9sc6v20b.js} +8 -8
- package/dist/chunks/{variant-0pwre64m.js → formatter-a6zbtccs.js} +5 -5
- package/dist/chunks/{variant-62qadk9f.js → formatter-ad21nhqb.js} +25 -25
- package/dist/chunks/{variant-fnf0zrns.js → formatter-ags90a5x.js} +8 -8
- package/dist/chunks/{variant-qr1ce677.js → formatter-agyemb8f.js} +9 -9
- package/dist/chunks/{variant-034tev2y.js → formatter-aj7mw0zk.js} +2 -2
- package/dist/chunks/{variant-ngpyaksj.js → formatter-amwpfx0t.js} +7 -7
- package/dist/chunks/{variant-yk4ram99.js → formatter-apvytp1g.js} +3 -3
- package/dist/chunks/{variant-q9yme5zj.js → formatter-avxgj5k3.js} +17 -17
- package/dist/chunks/{variant-b26ddj6h.js → formatter-b26ddj6h.js} +4 -4
- package/dist/chunks/{variant-pvf6551k.js → formatter-babr3r9n.js} +12 -12
- package/dist/chunks/{variant-8sxe6kv8.js → formatter-bb3mmwvh.js} +2 -2
- package/dist/chunks/{variant-sszf9mcm.js → formatter-bnq5by8f.js} +28 -28
- package/dist/chunks/{variant-9n89mksp.js → formatter-bv752wmd.js} +7 -7
- package/dist/chunks/{variant-zpdbqgja.js → formatter-by8ty0bx.js} +4 -4
- package/dist/chunks/{variant-jv5ccajn.js → formatter-bys6f9s7.js} +5 -5
- package/dist/chunks/{variant-31jjfzsz.js → formatter-c0nt7yex.js} +16 -16
- package/dist/chunks/{variant-y0680djj.js → formatter-c3kv2ng3.js} +51 -51
- package/dist/chunks/{variant-v9emqtsw.js → formatter-c5vx1zac.js} +5 -5
- package/dist/chunks/{variant-c7cw818c.js → formatter-c7cw818c.js} +2 -2
- package/dist/chunks/{variant-y7fn4vmz.js → formatter-capaz2y0.js} +16 -16
- package/dist/chunks/{variant-x979xxvb.js → formatter-cavvtjzh.js} +24 -24
- package/dist/chunks/{variant-d5cyr6yq.js → formatter-cmz2nc3h.js} +7 -7
- package/dist/chunks/{variant-vmxsyvj6.js → formatter-cr4rfj9z.js} +4 -4
- package/dist/chunks/{variant-g5ewm2rc.js → formatter-csn675w3.js} +16 -16
- package/dist/chunks/{variant-87z90kc5.js → formatter-cw7tjf4k.js} +37 -37
- package/dist/chunks/{variant-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{variant-np4mqns9.js → formatter-cwxgb76q.js} +16 -16
- package/dist/chunks/{variant-sjmnrv6n.js → formatter-cy81vs2n.js} +28 -28
- package/dist/chunks/{variant-5yrmq869.js → formatter-d15xpb57.js} +6 -6
- package/dist/chunks/{variant-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{variant-931r7y6q.js → formatter-d61dj13r.js} +22 -22
- package/dist/chunks/{variant-vgzw7ag2.js → formatter-d68btebf.js} +8 -8
- package/dist/chunks/{variant-a4d66978.js → formatter-d9y491gy.js} +85 -85
- package/dist/chunks/formatter-db7peafr.js +571 -0
- package/dist/chunks/{variant-zfyb5tr4.js → formatter-dds9zz6p.js} +4 -4
- package/dist/chunks/{variant-yjxe7jm8.js → formatter-dg9w2j4f.js} +11 -11
- package/dist/chunks/{variant-ghknk6b8.js → formatter-dj2xpa7h.js} +15 -15
- package/dist/chunks/{variant-dnpc8a82.js → formatter-djpvbk2v.js} +27 -27
- package/dist/chunks/{variant-n7fyfpp4.js → formatter-dpg896t5.js} +18 -18
- package/dist/chunks/{variant-t4vf48t8.js → formatter-dqn4a6f5.js} +8 -8
- package/dist/chunks/{variant-kx9dvxyd.js → formatter-dr1g52tf.js} +11 -11
- package/dist/chunks/{variant-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{variant-036vtpcn.js → formatter-dx66f8d0.js} +19 -19
- package/dist/chunks/{variant-3vn4chcq.js → formatter-dyca4k2n.js} +14 -14
- package/dist/chunks/{variant-wtyapsg0.js → formatter-e3hj8wp1.js} +35 -35
- package/dist/chunks/{variant-x7j5e179.js → formatter-e565ng7j.js} +5 -5
- package/dist/chunks/{variant-ky67gy21.js → formatter-eht02vjq.js} +6 -6
- package/dist/chunks/{variant-ctkhx4bn.js → formatter-ej2b0mfk.js} +32 -32
- package/dist/chunks/{variant-s9zwn1hh.js → formatter-eq0h0qwa.js} +22 -22
- package/dist/chunks/{variant-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
- package/dist/chunks/{variant-a43tjcbm.js → formatter-fb37jbgj.js} +10 -10
- package/dist/chunks/{variant-6sjay2e2.js → formatter-fcrppmnh.js} +37 -37
- package/dist/chunks/{variant-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{variant-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
- package/dist/chunks/{variant-2rskcez4.js → formatter-fh1h6pam.js} +18 -18
- package/dist/chunks/{variant-bbcg6j3r.js → formatter-fw4jn2ny.js} +8 -8
- package/dist/chunks/{variant-b1nj9akq.js → formatter-fzm3zqp3.js} +21 -21
- package/dist/chunks/{variant-ha1v2dhf.js → formatter-g421yvh5.js} +18 -18
- package/dist/chunks/{variant-sk351pwb.js → formatter-g5djxpkw.js} +15 -15
- package/dist/chunks/{variant-1m5z3xqn.js → formatter-g8y35rry.js} +33 -33
- package/dist/chunks/{variant-8132epdm.js → formatter-g9n7frzr.js} +21 -21
- package/dist/chunks/{variant-p2smhjjk.js → formatter-g9wg3nve.js} +19 -19
- package/dist/chunks/{variant-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
- package/dist/chunks/{variant-w7xgb7w6.js → formatter-geepqys7.js} +28 -28
- package/dist/chunks/{variant-nsan2xaf.js → formatter-gqdsmv47.js} +9 -9
- package/dist/chunks/{variant-vmvy2ceg.js → formatter-grj1pt4p.js} +11 -11
- package/dist/chunks/formatter-grzehpz7.js +18 -0
- package/dist/chunks/{variant-xq6c6chz.js → formatter-gtff6ewa.js} +46 -46
- package/dist/chunks/{variant-43tas341.js → formatter-gy24j455.js} +9 -9
- package/dist/chunks/{variant-dcpgvkr1.js → formatter-h1hqzkwe.js} +21 -21
- package/dist/chunks/{variant-qtcb5dd7.js → formatter-h7n7yeqs.js} +15 -15
- package/dist/chunks/{variant-xhdb3v4n.js → formatter-h8744wrh.js} +17 -17
- package/dist/chunks/{variant-svtyz6t1.js → formatter-hag18q8h.js} +15 -15
- package/dist/chunks/{variant-s7gyry1m.js → formatter-hdbr8b2x.js} +18 -18
- package/dist/chunks/{variant-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
- package/dist/chunks/{variant-yepd7x5v.js → formatter-hj0xet7m.js} +5 -5
- package/dist/chunks/{variant-pezh9stc.js → formatter-hjjbn57r.js} +24 -24
- package/dist/chunks/{variant-tfq9371f.js → formatter-hnryc5zp.js} +3 -3
- package/dist/chunks/formatter-hy5pnb33.js +26 -0
- package/dist/chunks/{variant-gvgy0a1b.js → formatter-hy5qnnb4.js} +6 -6
- package/dist/chunks/{variant-ppfbdyjt.js → formatter-j5679jb1.js} +24 -24
- package/dist/chunks/{variant-j9nxzz3g.js → formatter-j9nxzz3g.js} +3 -3
- package/dist/chunks/{variant-6e2zz4ae.js → formatter-jesp4d5t.js} +13 -13
- package/dist/chunks/{variant-jm70asfg.js → formatter-jm70asfg.js} +1 -1
- package/dist/chunks/formatter-jn12jmgb.js +265 -0
- package/dist/chunks/{variant-bv7fppv4.js → formatter-jp7vhfdz.js} +8 -8
- package/dist/chunks/{variant-mzqm0wkq.js → formatter-jrq87v6s.js} +45 -45
- package/dist/chunks/{variant-xmx7xj34.js → formatter-k98yejja.js} +7 -7
- package/dist/chunks/{variant-s8nb9496.js → formatter-kaczt1e9.js} +29 -29
- package/dist/chunks/{variant-67wwskyb.js → formatter-kbgs7tyr.js} +4 -4
- package/dist/chunks/{variant-7a33bpk3.js → formatter-kckqeny3.js} +5 -5
- package/dist/chunks/{variant-e5jtcmvt.js → formatter-ke2q0jvk.js} +17 -17
- package/dist/chunks/{variant-qc3ft4gm.js → formatter-kj8wc474.js} +2 -2
- package/dist/chunks/{variant-w4xw9ac5.js → formatter-kmekj7m2.js} +4 -4
- package/dist/chunks/{variant-23r1km7k.js → formatter-kmqymfwk.js} +30 -30
- package/dist/chunks/{variant-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{variant-2s9mae96.js → formatter-ktck1cjp.js} +6 -6
- package/dist/chunks/{variant-4memcdqc.js → formatter-kx88arew.js} +13 -13
- package/dist/chunks/{variant-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
- package/dist/chunks/{variant-c41eyhyx.js → formatter-m03zynjd.js} +11 -11
- package/dist/chunks/{variant-e9adgphe.js → formatter-m0j052e2.js} +30 -30
- package/dist/chunks/{variant-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{variant-wy7jbqgj.js → formatter-m7hdyrq0.js} +17 -17
- package/dist/chunks/{variant-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-1v2g13eq.js → formatter-msd2a3qm.js} +4 -4
- package/dist/chunks/{variant-17f9em4j.js → formatter-mwjpsrna.js} +9 -9
- package/dist/chunks/{variant-qtf35215.js → formatter-my4n5qvc.js} +3 -3
- package/dist/chunks/{variant-ddptgpcg.js → formatter-n1w1hn4x.js} +12 -12
- package/dist/chunks/{variant-t62dywgn.js → formatter-n3j33rb6.js} +4 -4
- package/dist/chunks/{variant-70vbs262.js → formatter-n73t8fdt.js} +8 -8
- package/dist/chunks/{variant-evh8jc0c.js → formatter-nd5mww8x.js} +11 -11
- package/dist/chunks/{variant-nnrmsper.js → formatter-ngrebpwy.js} +43 -43
- package/dist/chunks/{variant-wegkxhrn.js → formatter-nx4vzyjd.js} +2 -2
- package/dist/chunks/{variant-m84h1jey.js → formatter-nxd0ra01.js} +16 -16
- package/dist/chunks/{variant-473z0t5d.js → formatter-p673p6c3.js} +11 -11
- package/dist/chunks/{variant-b7nkz392.js → formatter-p7yrz5nk.js} +1 -1
- package/dist/chunks/{variant-5zcyx99g.js → formatter-pcvy2xt8.js} +4 -4
- package/dist/chunks/{variant-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{variant-94mzd4c3.js → formatter-ppxnxwv1.js} +5 -5
- package/dist/chunks/{variant-y2np27gh.js → formatter-pswvpaeg.js} +43 -43
- package/dist/chunks/{variant-q42tzrxa.js → formatter-q42tzrxa.js} +1 -1
- package/dist/chunks/{variant-zgkdjc89.js → formatter-q45wjhqq.js} +5 -5
- package/dist/chunks/{variant-pq86waww.js → formatter-q730k220.js} +18 -18
- package/dist/chunks/{variant-k5abfetq.js → formatter-qd4atqpz.js} +5 -5
- package/dist/chunks/{variant-ehwes8ba.js → formatter-qecvj5ce.js} +21 -21
- package/dist/chunks/{variant-9v653zsf.js → formatter-qkdb34y2.js} +35 -35
- package/dist/chunks/{variant-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{variant-sccvy189.js → formatter-qpjtqgz5.js} +29 -29
- package/dist/chunks/{variant-6kjm2wff.js → formatter-qyyweck4.js} +12 -12
- package/dist/chunks/{variant-xacrkbdt.js → formatter-r17fbvme.js} +4 -4
- package/dist/chunks/{variant-hdrbc11v.js → formatter-r2637b0p.js} +15 -15
- package/dist/chunks/{variant-4f25tdd0.js → formatter-r542h3bh.js} +5 -5
- package/dist/chunks/{variant-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{variant-kdkgf0p5.js → formatter-rbrcn4ea.js} +13 -13
- package/dist/chunks/{variant-vg70k9hm.js → formatter-rcpcm9rp.js} +5 -5
- package/dist/chunks/{variant-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
- package/dist/chunks/{variant-jvdzq0d6.js → formatter-rhjxx3yk.js} +4 -4
- package/dist/chunks/{variant-px7qpgcn.js → formatter-rj7j5fvs.js} +4 -4
- package/dist/chunks/{variant-5zpqhmp2.js → formatter-rk0vrbg7.js} +6 -6
- package/dist/chunks/{variant-4kk1sm3s.js → formatter-rktffvav.js} +4 -4
- package/dist/chunks/{variant-g825kxhb.js → formatter-rnzv336a.js} +12 -12
- package/dist/chunks/{variant-yck1a6wc.js → formatter-rq4663jc.js} +30 -30
- package/dist/chunks/{variant-h9brpv20.js → formatter-rqc2g2wc.js} +38 -38
- package/dist/chunks/{variant-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{variant-bj78ahtb.js → formatter-rwcc01tt.js} +7 -7
- package/dist/chunks/{variant-qah7t4da.js → formatter-sbegqkxp.js} +6 -6
- package/dist/chunks/{variant-sbya78hr.js → formatter-sbya78hr.js} +1 -1
- package/dist/chunks/{variant-ghrv1g9c.js → formatter-sdt5j0rm.js} +4 -4
- package/dist/chunks/{variant-90ct6wq4.js → formatter-sf9y72b7.js} +4 -4
- package/dist/chunks/{variant-hjvzwnwr.js → formatter-sgjmhqfs.js} +2 -2
- package/dist/chunks/{variant-c7ek2zpc.js → formatter-skbemjzc.js} +81 -81
- package/dist/chunks/{variant-x9tgsr9g.js → formatter-spysdwxw.js} +11 -11
- package/dist/chunks/{variant-j0j4pc74.js → formatter-sq7h0arc.js} +21 -21
- package/dist/chunks/{variant-0j7gp832.js → formatter-sqjzf8x2.js} +4 -4
- package/dist/chunks/{variant-regcmcgb.js → formatter-ss7teg2v.js} +17 -17
- package/dist/chunks/{variant-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{variant-a1hkspc0.js → formatter-t3exdb07.js} +47 -47
- package/dist/chunks/{variant-t5j724x0.js → formatter-t5bgd45j.js} +17 -17
- package/dist/chunks/{variant-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
- package/dist/chunks/{variant-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{variant-v9k8pphq.js → formatter-td89d4z5.js} +3 -3
- package/dist/chunks/{variant-9f3jsh1d.js → formatter-teav1bzy.js} +9 -9
- package/dist/chunks/{variant-gxs71cxp.js → formatter-tg7s7b5t.js} +4 -4
- package/dist/chunks/{variant-wszrmmy6.js → formatter-tkvvf6bf.js} +20 -20
- package/dist/chunks/{variant-50ffmzcp.js → formatter-tm04z4np.js} +13 -13
- package/dist/chunks/{variant-tr8x705m.js → formatter-tr8x705m.js} +1 -1
- package/dist/chunks/{variant-m1e2422q.js → formatter-tt2ypw9y.js} +20 -20
- package/dist/chunks/{variant-48xb5r1q.js → formatter-tve7m8xw.js} +10 -10
- package/dist/chunks/{variant-tvtps2q9.js → formatter-tvtps2q9.js} +1 -1
- package/dist/chunks/{variant-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{variant-2y8q1569.js → formatter-tycv7n3a.js} +4 -4
- package/dist/chunks/{variant-mf63ygpr.js → formatter-v0t96s7a.js} +4 -4
- package/dist/chunks/{variant-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{variant-fa3tq0dx.js → formatter-v35kc7fz.js} +3 -3
- package/dist/chunks/{variant-tes8qct3.js → formatter-v3gxh6dw.js} +5 -5
- package/dist/chunks/{variant-xj3h7bk7.js → formatter-v5ncnv4t.js} +85 -27
- package/dist/chunks/{variant-399pzq0m.js → formatter-vg2r2j9b.js} +5 -5
- package/dist/chunks/{variant-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
- package/dist/chunks/{variant-cvarja05.js → formatter-vmd0ng62.js} +7 -7
- package/dist/chunks/{variant-b5edxckw.js → formatter-vrgsck6a.js} +17 -17
- package/dist/chunks/{variant-agje4kmn.js → formatter-vwcz1f45.js} +7 -7
- package/dist/chunks/{variant-3gavxv0a.js → formatter-vx7h5j7y.js} +28 -28
- package/dist/chunks/{variant-40za9wsf.js → formatter-w2eysc6j.js} +9 -9
- package/dist/chunks/{variant-v55k71hn.js → formatter-w3fpkq90.js} +6 -6
- package/dist/chunks/{variant-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-x56b9byd.js → formatter-w5644fpa.js} +4 -4
- package/dist/chunks/{variant-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{variant-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{variant-wfdx5ztx.js → formatter-wfdx5ztx.js} +1 -1
- package/dist/chunks/{variant-fh8zh7t3.js → formatter-wq0w409k.js} +22 -22
- package/dist/chunks/{variant-qqgs4tjy.js → formatter-wq28g6e3.js} +59 -59
- package/dist/chunks/{variant-w687dnns.js → formatter-wr3re1en.js} +4 -4
- package/dist/chunks/{variant-bn9hq2d6.js → formatter-ww00nh8a.js} +5 -5
- package/dist/chunks/{variant-rf38km6p.js → formatter-x3pt7j9x.js} +12 -12
- package/dist/chunks/{variant-ee86f0be.js → formatter-x4khej13.js} +23 -23
- package/dist/chunks/{variant-8aqtgy9n.js → formatter-xa9hbkrj.js} +12 -12
- package/dist/chunks/{variant-bstexjd6.js → formatter-xd9cc171.js} +5 -5
- package/dist/chunks/{variant-t2eh0k7z.js → formatter-xeq6287g.js} +4 -4
- package/dist/chunks/{variant-fzrsa2br.js → formatter-xf9v85d0.js} +12 -12
- package/dist/chunks/{variant-hspdnjc7.js → formatter-xh3q0y32.js} +27 -27
- package/dist/chunks/{variant-859w1rtj.js → formatter-xjbsd7zy.js} +9 -9
- package/dist/chunks/{variant-xsact9zs.js → formatter-xpve62cf.js} +4 -4
- package/dist/chunks/{variant-dhfzc0ns.js → formatter-xtvtqcka.js} +10 -10
- package/dist/chunks/{variant-fdzpahj4.js → formatter-xx8drg6a.js} +26 -26
- package/dist/chunks/{variant-xjr6c8m4.js → formatter-xxschbft.js} +4 -4
- package/dist/chunks/{variant-ck2q7j61.js → formatter-y1sms4qy.js} +11 -11
- package/dist/chunks/{variant-2ch6rzzq.js → formatter-y4q0dy5c.js} +10 -10
- package/dist/chunks/{variant-7n6dxx8b.js → formatter-y55a85fj.js} +25 -25
- package/dist/chunks/{variant-wpzzehr8.js → formatter-yavye4vk.js} +190 -190
- package/dist/chunks/{variant-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{variant-qy5qq0yc.js → formatter-yft4cm74.js} +56 -56
- package/dist/chunks/{variant-5jaydkyp.js → formatter-yp49h7c2.js} +12 -12
- package/dist/chunks/{variant-yr705xyq.js → formatter-yr705xyq.js} +1 -1
- package/dist/chunks/{variant-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
- package/dist/chunks/{variant-36bdq9by.js → formatter-z040z2v2.js} +7 -7
- package/dist/chunks/{variant-bbshnb5a.js → formatter-z3abgc2x.js} +36 -36
- package/dist/chunks/{variant-82a6v07m.js → formatter-z3mh44a3.js} +36 -36
- package/dist/chunks/{variant-vre17ymf.js → formatter-z3nw929v.js} +9 -9
- package/dist/chunks/{variant-cbp6hq4a.js → formatter-z3pc18rr.js} +15 -15
- package/dist/chunks/{variant-nnkaftj7.js → formatter-z8vnk1eq.js} +43 -43
- package/dist/chunks/{variant-6fm55eqj.js → formatter-zajwpna7.js} +30 -30
- package/dist/chunks/{variant-xmsy6cab.js → formatter-zg6x6hsj.js} +3 -3
- package/dist/chunks/{variant-0q5bgz5q.js → formatter-zgggygp6.js} +60 -60
- package/dist/chunks/{variant-0afca0j0.js → formatter-zhq6fc6b.js} +20 -20
- package/dist/chunks/{variant-wac11b58.js → formatter-ztgc8et9.js} +27 -27
- package/dist/chunks/{variant-tte2fcbp.js → formatter-zvn75znb.js} +3 -3
- package/dist/chunks/{variant-kh0hrg97.js → formatter-zybtfqav.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +97 -97
- 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 +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +129 -129
- package/dist/config/plugin/websearch.js +131 -131
- 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 +94 -94
- 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 +105 -105
- 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 +109 -109
- 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 +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- 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 +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +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 +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- 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 +158 -158
- 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 +114 -114
- 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 +110 -110
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-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 +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- 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 +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- 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 +257 -257
- 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 +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- 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 +186 -186
- 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 +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- 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 +9 -9
- 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 +106 -106
- 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 +186 -186
- 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 +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +9 -9
- package/dist/chunks/variant-c7x1wg60.js +0 -26
- package/dist/chunks/variant-hhkx2d0p.js +0 -571
- package/dist/chunks/variant-p5vbbmsv.js +0 -18
- package/dist/chunks/variant-va95cge5.js +0 -265
- /package/dist/chunks/{variant-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-108x4f4w.js → formatter-108x4f4w.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kah00gy.js → formatter-1kah00gy.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3af0jn4w.js → formatter-3af0jn4w.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{variant-6agm2x70.js → formatter-6agm2x70.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{variant-bhmrqjy3.js → formatter-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-syrav9an.js → formatter-syrav9an.js} +0 -0
- /package/dist/chunks/{variant-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
- /package/dist/chunks/{variant-ty7weeps.js → formatter-ty7weeps.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-vtarvj67.js → formatter-vtarvj67.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-z0h12gs8.js → formatter-z0h12gs8.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → formatter-z9919s4g.js} +0 -0
- /package/dist/chunks/{variant-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
- /package/dist/chunks/{variant-zz5vv3aq.js → formatter-zz5vv3aq.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-w5644fpa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./formatter-3ce8cybv.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-rk0vrbg7.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-4q6sz825.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error2
|
|
18
|
+
} from "./formatter-kaczt1e9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service60
|
|
21
|
+
} from "./formatter-13mw6316.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-td89d4z5.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-ktck1cjp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -50,11 +50,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
50
50
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
51
51
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
52
52
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
53
|
-
var
|
|
53
|
+
var make3 = Effect.gen(function* () {
|
|
54
54
|
const bus = yield* Service91;
|
|
55
55
|
const llm = yield* LLMClient.Service;
|
|
56
|
-
const snapshots = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const snapshots = yield* Service61;
|
|
57
|
+
const toolOutput = yield* Service60;
|
|
58
58
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
59
59
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
60
60
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -77,7 +77,7 @@ var make20 = Effect.gen(function* () {
|
|
|
77
77
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
78
78
|
const executeTool = (call) => {
|
|
79
79
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
80
|
-
return new
|
|
80
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
81
81
|
return input.prepared.executeTool({
|
|
82
82
|
sessionID: input.sessionID,
|
|
83
83
|
agent: input.agent,
|
|
@@ -235,4 +235,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
235
235
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
236
236
|
};
|
|
237
237
|
|
|
238
|
-
export { Outcome2,
|
|
238
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-r2637b0p.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin49
|
|
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 Plugin49 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -103,4 +103,4 @@ var Plugin19 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin49, exports_agent2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-7stesae1.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-29eg20zk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-geepqys7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./formatter-rq4663jc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID15
|
|
19
|
+
} from "./formatter-5sdw36aq.js";
|
|
20
20
|
import {
|
|
21
21
|
load5,
|
|
22
22
|
derive3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-4ypwwgtd.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-d68btebf.js";
|
|
27
27
|
import {
|
|
28
28
|
ID14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-r2637b0p.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
get5
|
|
32
|
+
} from "./formatter-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service57,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./formatter-6yj5npp1.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./formatter-vmd0ng62.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./formatter-3stv24ez.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/github-copilot.ts
|
|
45
45
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
73
73
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
74
74
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
75
75
|
var oauth = (app) => ({
|
|
76
|
-
integrationID:
|
|
76
|
+
integrationID: ID17.make("github-copilot"),
|
|
77
77
|
method: {
|
|
78
78
|
id: methodID,
|
|
79
79
|
type: "oauth",
|
|
@@ -171,8 +171,8 @@ var oauth = (app) => ({
|
|
|
171
171
|
var GithubCopilotPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.github.copilot",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const providers = yield*
|
|
175
|
-
const cache = yield*
|
|
174
|
+
const providers = yield* Service74;
|
|
175
|
+
const cache = yield* Service57;
|
|
176
176
|
const http = yield* HttpClient.HttpClient;
|
|
177
177
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
178
178
|
const discovered = yield* start3({
|
|
@@ -185,7 +185,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
185
185
|
if (!connection || credential?.type !== "oauth")
|
|
186
186
|
return { connection, value: {} };
|
|
187
187
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
188
|
-
const headers = (yield* providers.get(
|
|
188
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
189
189
|
const models = yield* cache.get({
|
|
190
190
|
key: modelsKey(connection, url, headers),
|
|
191
191
|
...options,
|
|
@@ -206,7 +206,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
206
206
|
editor.method.update(oauth(ctx.app));
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.provider.transform((evt) => {
|
|
209
|
-
const item = evt.get(
|
|
209
|
+
const item = evt.get(ID16.githubCopilot);
|
|
210
210
|
if (!item)
|
|
211
211
|
return;
|
|
212
212
|
const loaded = discovered.current;
|
|
@@ -235,8 +235,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
if (models.get(
|
|
239
|
-
models.update(
|
|
238
|
+
if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
|
|
239
|
+
models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
240
240
|
model.enabled = false;
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -247,17 +247,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
247
247
|
evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
|
|
248
248
|
const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
|
-
}), { providerID:
|
|
250
|
+
}), { providerID: ID16.githubCopilot });
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
252
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
253
253
|
return;
|
|
254
254
|
}));
|
|
255
255
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
256
256
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
257
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
257
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
258
258
|
if (interaction !== "conversation-agent")
|
|
259
259
|
evt.headers["x-initiator"] = "agent";
|
|
260
|
-
}), { providerID:
|
|
260
|
+
}), { providerID: ID16.githubCopilot });
|
|
261
261
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
262
262
|
const loaded = discovered.current;
|
|
263
263
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
@@ -273,7 +273,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
273
273
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
274
274
|
return;
|
|
275
275
|
}));
|
|
276
|
-
}), { providerID:
|
|
276
|
+
}), { providerID: ID16.githubCopilot });
|
|
277
277
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
278
278
|
const token = evt.request.headers.get("x-api-key");
|
|
279
279
|
if (!token)
|
|
@@ -281,7 +281,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
281
281
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
282
282
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
283
283
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
284
|
-
}), { providerID:
|
|
284
|
+
}), { providerID: ID16.githubCopilot });
|
|
285
285
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
286
286
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
287
287
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -299,7 +299,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
299
299
|
const gpt = /^gpt-(\d+)/.exec(id);
|
|
300
300
|
const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
|
|
301
301
|
evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
|
|
302
|
-
}), { providerID:
|
|
302
|
+
}), { providerID: ID16.githubCopilot });
|
|
303
303
|
})
|
|
304
304
|
});
|
|
305
305
|
function modelsKey(connection, url, headers) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-rk0vrbg7.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-geepqys7.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-7952znqf.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-876f3pba.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-m7hdyrq0.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node74
|
|
8
|
+
} from "./formatter-5sdw36aq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node51
|
|
12
|
+
} from "./formatter-876f3pba.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service21,
|
|
29
29
|
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
31
|
layer: () => layer12,
|
|
32
|
-
node: () =>
|
|
32
|
+
node: () => node24
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service21 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var layer12 = Layer.effect(
|
|
86
|
+
var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service50;
|
|
89
|
+
const models = yield* Service73;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service21.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
218
|
+
var node24 = makeLocationNode({
|
|
219
|
+
service: Service21,
|
|
220
220
|
layer: layer12,
|
|
221
|
-
deps: [
|
|
221
|
+
deps: [node51, node74, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2,
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service21, layer12, node24, exports_generate };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-w5644fpa.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-kx88arew.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-bhmrqjy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError6,
|
|
21
|
+
Options: () => Options4,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
23
|
+
Service: () => Service52,
|
|
24
|
+
UnavailableError: () => UnavailableError5,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
|
-
available: () =>
|
|
27
|
-
configured: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
26
|
+
available: () => available4,
|
|
27
|
+
configured: () => configured4,
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node53
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -44,18 +44,18 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
44
44
|
import { Global } from "@opencode/util/global";
|
|
45
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
46
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
47
|
-
import { available as
|
|
48
|
-
var
|
|
47
|
+
import { available as available4 } from "#persistent-pty-binary";
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
handoff: Schema.optional(Handoff),
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
54
54
|
message: Schema.String
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
59
59
|
ptyID: Pty.ID
|
|
60
60
|
}) {
|
|
61
61
|
}
|
|
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service52 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service91;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
96
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
97
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
98
98
|
if (!found)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
100
100
|
return found;
|
|
101
101
|
});
|
|
102
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -158,7 +158,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
158
158
|
});
|
|
159
159
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
160
160
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
161
|
-
return yield* new
|
|
161
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
162
162
|
const id = current.get(sessionID);
|
|
163
163
|
if (!id)
|
|
164
164
|
return null;
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service52.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,17 +261,17 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
264
|
+
var layer22 = makeLayer();
|
|
265
|
+
var configured4 = (options) => makeGlobalNode({
|
|
266
|
+
service: Service52,
|
|
267
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
268
268
|
deps: [node94, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node53 = configured4();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
|
-
var unexpected = (response) => Effect.fail(new
|
|
274
|
-
var unavailable = (error) => new
|
|
273
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
274
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
275
275
|
function toInfo(value) {
|
|
276
276
|
const status = value.lifecycle.status;
|
|
277
277
|
return {
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { Options4, UnavailableError5, NotFoundError6, InvalidCwdError2, UnsupportedError2, Service52, layer22, configured4, node53, exports_persistent_pty, Handoff2, available4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-rq4663jc.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID15,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./formatter-5sdw36aq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -89,7 +89,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
89
89
|
result.set(id, build(id, current, baseURL, model));
|
|
90
90
|
}
|
|
91
91
|
for (const [id, model] of remote) {
|
|
92
|
-
const key =
|
|
92
|
+
const key = ID15.make(id);
|
|
93
93
|
if (result.has(key))
|
|
94
94
|
continue;
|
|
95
95
|
result.set(key, build(key, model, baseURL));
|
|
@@ -113,11 +113,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
113
113
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
114
114
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
115
115
|
const released = previous?.time.released || Date.parse(version);
|
|
116
|
-
return
|
|
117
|
-
...
|
|
116
|
+
return Info21.make({
|
|
117
|
+
...Info21.default(ID16.githubCopilot, id),
|
|
118
118
|
id,
|
|
119
|
-
modelID:
|
|
120
|
-
providerID:
|
|
119
|
+
modelID: ID15.make(remote.id),
|
|
120
|
+
providerID: ID16.githubCopilot,
|
|
121
121
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
122
122
|
name: previous?.name ?? remote.name,
|
|
123
123
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-20pht57w.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-98e4zkpa.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ClaudeInstructions: () =>
|
|
16
|
-
register: () =>
|
|
13
|
+
var exports_instructions2 = {};
|
|
14
|
+
__export(exports_instructions2, {
|
|
15
|
+
ClaudeInstructions: () => exports_instructions2,
|
|
16
|
+
register: () => register5
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register5 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register5, exports_instructions2 };
|