@opencode/core 0.0.0-dev-513 → 0.0.0-dev-519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +80 -80
- package/dist/chunks/{pty-n515v1q6.js → plugin-0307q67x.js} +4 -4
- package/dist/chunks/{pty-aj7mw0zk.js → plugin-034tev2y.js} +2 -2
- package/dist/chunks/{pty-0jr76kac.js → plugin-03fcrb20.js} +27 -27
- package/dist/chunks/{pty-fvf45ej9.js → plugin-0c17gj5y.js} +32 -32
- package/dist/chunks/{pty-g2s3kvm8.js → plugin-0fgydazq.js} +26 -26
- package/dist/chunks/{pty-trbkmgn6.js → plugin-0fk7qgkg.js} +8 -8
- package/dist/chunks/{pty-659k2zkq.js → plugin-0gawn60p.js} +5 -9
- package/dist/chunks/{pty-0ma9gw4f.js → plugin-0ma9gw4f.js} +2 -2
- package/dist/chunks/{pty-haj55tp1.js → plugin-0nwyq8xc.js} +15 -15
- package/dist/chunks/{pty-c0z0yn58.js → plugin-0r1vvj52.js} +10 -10
- package/dist/chunks/{pty-1t1eb7kp.js → plugin-0rprqean.js} +3 -3
- package/dist/chunks/{pty-kazckff2.js → plugin-0s190qh7.js} +88 -88
- package/dist/chunks/{pty-tnzj1417.js → plugin-0vd1ww2e.js} +8 -8
- package/dist/chunks/{pty-eh3zwz77.js → plugin-108x4f4w.js} +1 -10
- package/dist/chunks/{pty-4rv3z8zz.js → plugin-143cpz4c.js} +10 -10
- package/dist/chunks/{pty-nw314s9d.js → plugin-18aa7g5f.js} +2 -2
- package/dist/chunks/{pty-5ar0v554.js → plugin-18b1hh0p.js} +11 -11
- package/dist/chunks/{pty-1aqsckx4.js → plugin-1aqsckx4.js} +1 -1
- package/dist/chunks/{pty-qrnhzphe.js → plugin-1e94hgbm.js} +21 -21
- package/dist/chunks/{pty-27w5k9zf.js → plugin-1ep2p91f.js} +2 -2
- package/dist/chunks/{pty-erfgee4t.js → plugin-1g0v3vx9.js} +29 -29
- package/dist/chunks/{pty-nkwvx6n5.js → plugin-1w13tshp.js} +20 -20
- package/dist/chunks/{pty-qgxn53r2.js → plugin-1w2h5b1p.js} +24 -24
- package/dist/chunks/{pty-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
- package/dist/chunks/{pty-2ks6fys2.js → plugin-1ycjxbw0.js} +16 -16
- package/dist/chunks/{pty-w96t5dx5.js → plugin-205xss10.js} +15 -15
- package/dist/chunks/{pty-eab6qpsk.js → plugin-20j6w53w.js} +28 -28
- package/dist/chunks/{pty-pkkerzhz.js → plugin-23ef35a7.js} +9 -9
- package/dist/chunks/{pty-q8h8ge1b.js → plugin-25d4jj4c.js} +3 -3
- package/dist/chunks/{pty-8b3vzgkx.js → plugin-25h84942.js} +4 -4
- package/dist/chunks/{pty-tb2mrvc9.js → plugin-26wfx3k0.js} +4 -4
- package/dist/chunks/{pty-kv7gpwre.js → plugin-26x1t9w8.js} +4 -4
- package/dist/chunks/{pty-fr031yhe.js → plugin-2jstwc4e.js} +21 -21
- package/dist/chunks/{pty-z080rjh6.js → plugin-38aws4xb.js} +4 -4
- package/dist/chunks/{pty-k634w52t.js → plugin-3942hstv.js} +31 -31
- package/dist/chunks/{pty-04whjz6n.js → plugin-3adw4bt5.js} +9 -9
- package/dist/chunks/{pty-e73j6tqm.js → plugin-3af0jn4w.js} +1 -7
- package/dist/chunks/{pty-f6pp4qky.js → plugin-3dgyt4sk.js} +54 -54
- package/dist/chunks/{pty-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-9h0cdvnk.js → plugin-3jem8rp1.js} +27 -27
- package/dist/chunks/{pty-z51hj4f3.js → plugin-3nbgerk0.js} +25 -25
- package/dist/chunks/{pty-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
- package/dist/chunks/{pty-x4qk82bb.js → plugin-3pf4ebn6.js} +11 -11
- package/dist/chunks/{pty-gapbp5pm.js → plugin-400hm5z8.js} +5 -5
- package/dist/chunks/{pty-40y6dtc2.js → plugin-40y6dtc2.js} +1 -1
- package/dist/chunks/{pty-r41sfy63.js → plugin-40za9wsf.js} +6 -6
- package/dist/chunks/{pty-yrx88kft.js → plugin-45wpgpw0.js} +7 -7
- package/dist/chunks/{pty-x04h5mrv.js → plugin-46zfztsf.js} +16 -16
- package/dist/chunks/{pty-50j5ra4n.js → plugin-4b5w7wew.js} +29 -29
- package/dist/chunks/{pty-4dx1dgte.js → plugin-4dx1dgte.js} +1 -1
- package/dist/chunks/{pty-4f25tdd0.js → plugin-4f25tdd0.js} +1 -1
- package/dist/chunks/{pty-yh1frphp.js → plugin-4gmbvmjy.js} +4 -4
- package/dist/chunks/{pty-rhc46xz4.js → plugin-4jbhkvpc.js} +11 -11
- package/dist/chunks/{pty-4pyp9zr9.js → plugin-4pyp9zr9.js} +1 -1
- package/dist/chunks/{pty-yxaknd5c.js → plugin-4tkdjh03.js} +16 -16
- package/dist/chunks/{pty-mgcjyd9g.js → plugin-4tpf07mz.js} +18 -18
- package/dist/chunks/{pty-4v008n1t.js → plugin-4v008n1t.js} +1 -1
- package/dist/chunks/{pty-28tn5j34.js → plugin-4v75kcj2.js} +13 -13
- package/dist/chunks/{pty-6a8kqfnf.js → plugin-52mfrm74.js} +185 -185
- package/dist/chunks/{pty-g9y97szr.js → plugin-5czv5vem.js} +3 -3
- package/dist/chunks/{pty-654bsdn4.js → plugin-5da9cq3a.js} +11 -11
- package/dist/chunks/{pty-zvcp0hmn.js → plugin-5e6t1ybt.js} +4 -4
- package/dist/chunks/{pty-7dp4g980.js → plugin-5fd6nf8f.js} +36 -36
- package/dist/chunks/{pty-ea5kk55q.js → plugin-5k0e9bef.js} +9 -9
- package/dist/chunks/{pty-4rj068ra.js → plugin-5m0kkg6e.js} +3 -3
- package/dist/chunks/{pty-2518a6av.js → plugin-5m6m8jcx.js} +16 -16
- package/dist/chunks/{pty-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-w6zht2k8.js → plugin-5mabv1as.js} +8 -8
- package/dist/chunks/{pty-gd52an9j.js → plugin-5q4fwj44.js} +21 -21
- package/dist/chunks/{pty-tgc5wewm.js → plugin-5xy2086m.js} +41 -41
- package/dist/chunks/{pty-xym735jc.js → plugin-64eehrrp.js} +8 -8
- package/dist/chunks/{pty-tcyq6bhw.js → plugin-64h51qjv.js} +9 -9
- package/dist/chunks/{pty-3b7wqyfh.js → plugin-659689q6.js} +42 -42
- package/dist/chunks/{pty-apk2e2bs.js → plugin-66fcksfe.js} +27 -29
- package/dist/chunks/{pty-fn274a08.js → plugin-68y3jp1b.js} +27 -27
- package/dist/chunks/{pty-xad1gvt8.js → plugin-6cqkw5v2.js} +7 -7
- package/dist/chunks/{pty-nd7r4c3m.js → plugin-6d3d7yn0.js} +30 -30
- package/dist/chunks/{pty-fdn86re1.js → plugin-6hkk8qd7.js} +6 -6
- package/dist/chunks/{pty-yhg19nad.js → plugin-6wzhfj3x.js} +13 -13
- package/dist/chunks/{pty-p85kh4b9.js → plugin-76rtdvsh.js} +18 -18
- package/dist/chunks/{pty-80mg3ag8.js → plugin-775hqbnd.js} +3 -3
- package/dist/chunks/{pty-nyxvvj5y.js → plugin-79k544d0.js} +5 -5
- package/dist/chunks/{pty-c0a85cxq.js → plugin-7b62eh3s.js} +30 -30
- package/dist/chunks/{pty-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-c1gh3vn9.js → plugin-7fcgsqjj.js} +41 -41
- package/dist/chunks/{pty-0zjr29y6.js → plugin-7nwg7nkv.js} +31 -31
- package/dist/chunks/{pty-w0dbrkjj.js → plugin-7qs3n6rr.js} +20 -20
- package/dist/chunks/{pty-be2xj2mn.js → plugin-7sg11x79.js} +12 -12
- package/dist/chunks/{pty-7tpyp9vw.js → plugin-7tpyp9vw.js} +1 -1
- package/dist/chunks/{pty-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
- package/dist/chunks/{pty-7weczvnd.js → plugin-7weczvnd.js} +1 -1
- package/dist/chunks/{pty-wxerkmn2.js → plugin-7wr677ys.js} +3 -3
- package/dist/chunks/{pty-fg52mjqa.js → plugin-821by267.js} +7 -7
- package/dist/chunks/{pty-sp85y8nd.js → plugin-82phgae0.js} +5 -5
- package/dist/chunks/{pty-sz3tm3gm.js → plugin-882wabxv.js} +47 -47
- package/dist/chunks/{pty-89287pr7.js → plugin-89287pr7.js} +1 -1
- package/dist/chunks/{pty-gpqwk5ba.js → plugin-8ay7y1mr.js} +13 -13
- package/dist/chunks/{pty-s5mwnp51.js → plugin-8bwj31k3.js} +8 -8
- package/dist/chunks/{pty-8cg7mtm3.js → plugin-8cg7mtm3.js} +1 -1
- package/dist/chunks/{pty-c3wwghza.js → plugin-8j4sf7tq.js} +9 -9
- package/dist/chunks/{pty-08bhk29w.js → plugin-8kdhxkda.js} +51 -51
- package/dist/chunks/{pty-ebys333n.js → plugin-8ppcttfd.js} +5 -5
- package/dist/chunks/{pty-tfphs1zq.js → plugin-8pt3y8ax.js} +31 -31
- package/dist/chunks/{pty-bb3mmwvh.js → plugin-8sxe6kv8.js} +2 -2
- package/dist/chunks/{pty-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
- package/dist/chunks/{pty-2awgd92s.js → plugin-8x8h4rhy.js} +4 -4
- package/dist/chunks/{pty-xksw6ev0.js → plugin-8xz27cp9.js} +4 -4
- package/dist/chunks/{pty-wzk0sywq.js → plugin-8z4njp8c.js} +356 -356
- package/dist/chunks/{pty-90zstvax.js → plugin-90zstvax.js} +1 -1
- package/dist/chunks/{pty-fmyvpwrx.js → plugin-92cgrw0c.js} +11 -11
- package/dist/chunks/{pty-z7881fav.js → plugin-963hk181.js} +7 -7
- package/dist/chunks/{pty-szwm4crx.js → plugin-96djdqw5.js} +4 -4
- package/dist/chunks/{pty-mat0qw5s.js → plugin-97zmy9as.js} +32 -42
- package/dist/chunks/{pty-s7kyse9r.js → plugin-9q8g9sv8.js} +4 -4
- package/dist/chunks/{pty-5gheszdj.js → plugin-9rgr5dz2.js} +4 -4
- package/dist/chunks/{pty-bmy4z589.js → plugin-9smy52bw.js} +21 -21
- package/dist/chunks/{pty-gh24x7dt.js → plugin-9y5h6eke.js} +14 -17
- package/dist/chunks/{pty-b8dwq97p.js → plugin-9zmrnjhe.js} +6 -6
- package/dist/chunks/{pty-2tcca9zd.js → plugin-a33ck5g3.js} +15 -15
- package/dist/chunks/{pty-b2d6kd10.js → plugin-asv65enq.js} +23 -23
- package/dist/chunks/{pty-bv0keema.js → plugin-aya2pgr4.js} +3 -3
- package/dist/chunks/{pty-3cbjf1nt.js → plugin-ayjs7tqn.js} +2 -2
- package/dist/chunks/{pty-kjzwj302.js → plugin-azgwy399.js} +24 -24
- package/dist/chunks/{pty-xf13msbn.js → plugin-b5dp1yyd.js} +34 -34
- package/dist/chunks/{pty-b6vsg801.js → plugin-b6vsg801.js} +2 -2
- package/dist/chunks/{pty-pwnwjmpk.js → plugin-b7awpy5c.js} +21 -21
- package/dist/chunks/{pty-9cnt8tq7.js → plugin-bqt8n8sn.js} +11 -11
- package/dist/chunks/{pty-5qs3xxfj.js → plugin-bsft2v7w.js} +18 -18
- package/dist/chunks/{pty-xd9cc171.js → plugin-bstexjd6.js} +5 -5
- package/dist/chunks/{pty-39w45v6e.js → plugin-bwda0h4h.js} +6 -13
- package/dist/chunks/{pty-yxrmjvdn.js → plugin-bytt2466.js} +24 -24
- package/dist/chunks/{pty-zmx3s5hb.js → plugin-c0g1rcjh.js} +28 -28
- package/dist/chunks/{pty-ea27ppw6.js → plugin-c0mz4dw7.js} +7 -7
- package/dist/chunks/{pty-vwqd7bxt.js → plugin-ch1bfet6.js} +22 -22
- package/dist/chunks/{pty-7nsaabgw.js → plugin-ch5jtm51.js} +5 -5
- package/dist/chunks/{pty-hbvmt4xp.js → plugin-cj804wmc.js} +4 -4
- package/dist/chunks/{pty-kvbbjz3k.js → plugin-cjt6hyjh.js} +59 -59
- package/dist/chunks/{pty-srvw3mxg.js → plugin-cmww38cp.js} +4 -4
- package/dist/chunks/{pty-xngq7d9m.js → plugin-cq0xhnx7.js} +81 -81
- package/dist/chunks/{pty-da6gh99y.js → plugin-cqshc3qt.js} +11 -36
- package/dist/chunks/{pty-vq0qa3sh.js → plugin-ctmpqb7w.js} +9 -9
- package/dist/chunks/{pty-cwrgdav8.js → plugin-cwrgdav8.js} +2 -2
- package/dist/chunks/plugin-d0ypfarx.js +26 -0
- package/dist/chunks/{pty-rcx3bfwc.js → plugin-d29ybxya.js} +4 -4
- package/dist/chunks/{pty-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
- package/dist/chunks/{pty-x29wv32c.js → plugin-d5p8nnrp.js} +29 -29
- package/dist/chunks/{pty-k07ws8by.js → plugin-d6nd5g21.js} +6 -6
- package/dist/chunks/{pty-mpb394t4.js → plugin-d9rtw456.js} +32 -32
- package/dist/chunks/{pty-dt77769w.js → plugin-dt77769w.js} +1 -1
- package/dist/chunks/{pty-k63t3j85.js → plugin-e402ykp8.js} +9 -9
- package/dist/chunks/{pty-e834z07m.js → plugin-e834z07m.js} +1 -1
- package/dist/chunks/{pty-8yb9m984.js → plugin-ebgwwyf3.js} +12 -12
- package/dist/chunks/{pty-0te9byq8.js → plugin-ed9atyp6.js} +28 -28
- package/dist/chunks/{pty-q187sr27.js → plugin-egs6vbpk.js} +19 -19
- package/dist/chunks/{pty-nz5h4cjb.js → plugin-ejkdhtg9.js} +1 -1
- package/dist/chunks/{pty-7h22etv1.js → plugin-ep6snxvm.js} +5 -5
- package/dist/chunks/{pty-eqw4pqj1.js → plugin-eqw4pqj1.js} +2 -2
- package/dist/chunks/{pty-ppcv2fse.js → plugin-et1f68h9.js} +11 -11
- package/dist/chunks/{pty-g1x3338p.js → plugin-ez4sqtdc.js} +3 -3
- package/dist/chunks/{pty-ezna1kdx.js → plugin-ezna1kdx.js} +1 -1
- package/dist/chunks/{pty-ak5gz8d8.js → plugin-fdqvem49.js} +3 -3
- package/dist/chunks/{pty-55858vys.js → plugin-fe12914f.js} +12 -12
- package/dist/chunks/{pty-6935jb0f.js → plugin-fere6m7x.js} +16 -16
- package/dist/chunks/{pty-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
- package/dist/chunks/{pty-2rvvwxmf.js → plugin-ffwf0set.js} +5 -5
- package/dist/chunks/{pty-fg9p65nk.js → plugin-fg9p65nk.js} +2 -2
- package/dist/chunks/{pty-ge41aakr.js → plugin-fh35p99c.js} +11 -11
- package/dist/chunks/{pty-t600mkfg.js → plugin-fn8jvz8n.js} +16 -16
- package/dist/chunks/{pty-dm24tqc7.js → plugin-fxd1mh99.js} +10 -10
- package/dist/chunks/{pty-jraeh57d.js → plugin-g2qxe5yd.js} +10 -10
- package/dist/chunks/{pty-6dqyy18z.js → plugin-g8gy8cqb.js} +4 -4
- package/dist/chunks/{pty-jgktxrwk.js → plugin-g9c7e3vx.js} +15 -15
- package/dist/chunks/{pty-gbjdnr5j.js → plugin-gbjdnr5j.js} +2 -2
- package/dist/chunks/{pty-1fa7jad0.js → plugin-gezffjc8.js} +16 -16
- package/dist/chunks/{pty-ghrv1g9c.js → plugin-ghrv1g9c.js} +1 -1
- package/dist/chunks/{pty-8n09hdvs.js → plugin-gjweb3gp.js} +4 -4
- package/dist/chunks/{pty-v3hpn5wv.js → plugin-gn5zcm9s.js} +20 -21
- package/dist/chunks/{pty-jw5816mk.js → plugin-gr50ewac.js} +15 -15
- package/dist/chunks/{pty-tg7s7b5t.js → plugin-gxs71cxp.js} +4 -4
- package/dist/chunks/{pty-ayz3ejvk.js → plugin-h2w0evjw.js} +28 -28
- package/dist/chunks/{pty-c3p97ra1.js → plugin-h2yyaxhq.js} +28 -30
- package/dist/chunks/{pty-prvyngaa.js → plugin-h3gq0p8j.js} +8 -119
- package/dist/chunks/{pty-0qfwrc6c.js → plugin-h6y5cyye.js} +7 -7
- package/dist/chunks/{pty-gqq2rd3z.js → plugin-hc7jz7r9.js} +51 -51
- package/dist/chunks/{pty-cwwdfq61.js → plugin-hccd5xc6.js} +6 -6
- package/dist/chunks/{pty-vsp3v0h1.js → plugin-hh9dw27j.js} +6 -6
- package/dist/chunks/{pty-b7q2kk65.js → plugin-hnb0d39k.js} +6 -6
- package/dist/chunks/{pty-9wenq46a.js → plugin-hr807t1y.js} +11 -11
- package/dist/chunks/{pty-smsep8gg.js → plugin-hva22j4a.js} +19 -19
- package/dist/chunks/{pty-qv4xbp49.js → plugin-hw1j2f02.js} +7 -7
- package/dist/chunks/{pty-we1nkpqm.js → plugin-hx394b5m.js} +10 -10
- package/dist/chunks/{pty-fe97g4vx.js → plugin-hy66zyk1.js} +17 -17
- package/dist/chunks/{pty-8t99kr38.js → plugin-j1zpf99x.js} +7 -7
- package/dist/chunks/{pty-tr8x705m.js → plugin-j376ae4e.js} +5 -5
- package/dist/chunks/{pty-ze75qvmd.js → plugin-j9nxzz3g.js} +3 -3
- package/dist/chunks/{pty-q53j9prd.js → plugin-jfcqwqwp.js} +6 -6
- package/dist/chunks/{pty-qqht4f3t.js → plugin-jgsj3drs.js} +34 -34
- package/dist/chunks/{pty-cr4rfj9z.js → plugin-jkdcm5hg.js} +4 -4
- package/dist/chunks/{pty-he8e2fqg.js → plugin-jsjkdva5.js} +13 -13
- package/dist/chunks/{pty-bekm5p4a.js → plugin-jwcrseny.js} +20 -20
- package/dist/chunks/{pty-44pmzq9c.js → plugin-jxd6f16v.js} +2 -2
- package/dist/chunks/{pty-vh8cf7c0.js → plugin-jz1wtjz3.js} +5 -5
- package/dist/chunks/{pty-2xwkyk0m.js → plugin-k151g6mf.js} +5 -5
- package/dist/chunks/{pty-kq3sm1ep.js → plugin-k2qbgnm5.js} +15 -15
- package/dist/chunks/{pty-z9fr3t5s.js → plugin-k3zq5bxc.js} +5 -5
- package/dist/chunks/{pty-488wrreq.js → plugin-k8p04dbv.js} +12 -12
- package/dist/chunks/{pty-kh8gdsej.js → plugin-kh8gdsej.js} +1 -1
- package/dist/chunks/{pty-k46dd5bg.js → plugin-kj9n5bvh.js} +4 -4
- package/dist/chunks/{pty-jkmfd651.js → plugin-ksw9nvwk.js} +26 -26
- package/dist/chunks/{pty-kt3bjfbg.js → plugin-kt3bjfbg.js} +1 -1
- package/dist/chunks/{pty-kzczzf4v.js → plugin-kzczzf4v.js} +1 -1
- package/dist/chunks/{pty-qk5sk9d1.js → plugin-kzdam8c6.js} +7 -7
- package/dist/chunks/{pty-m1714858.js → plugin-m1714858.js} +1 -1
- package/dist/chunks/{pty-55tsekh9.js → plugin-m22qpjt0.js} +40 -40
- package/dist/chunks/{pty-77ehzzh1.js → plugin-m28a2cxj.js} +20 -20
- package/dist/chunks/{pty-t9s2jeab.js → plugin-m3vj42yh.js} +11 -11
- package/dist/chunks/{pty-5cmp3exa.js → plugin-m84ty610.js} +15 -15
- package/dist/chunks/{pty-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-8z6m94af.js → plugin-mb7mbhnz.js} +3 -3
- package/dist/chunks/{pty-jbze84ed.js → plugin-mgx795sg.js} +18 -18
- package/dist/chunks/{pty-3dn304yc.js → plugin-mkqdp8ha.js} +8 -8
- package/dist/chunks/{pty-xczh4mb3.js → plugin-mmv5kgnn.js} +11 -11
- package/dist/chunks/{pty-76ek7j69.js → plugin-mrba6hw6.js} +8 -8
- package/dist/chunks/{pty-f96z8a64.js → plugin-mvfgry4c.js} +13 -13
- package/dist/chunks/{pty-kthmjft2.js → plugin-mzy2axmh.js} +3 -3
- package/dist/chunks/{pty-288dktsv.js → plugin-n28cn2fs.js} +6 -326
- package/dist/chunks/{pty-j1m6936b.js → plugin-n29tdv07.js} +16 -16
- package/dist/chunks/{pty-frh3mjer.js → plugin-n33wks76.js} +20 -20
- package/dist/chunks/{pty-etatbea9.js → plugin-n995p2xd.js} +30 -30
- package/dist/chunks/{pty-e6hhhbsa.js → plugin-nf9zancy.js} +25 -25
- package/dist/chunks/{pty-xzakt4mt.js → plugin-nvrmqqyc.js} +41 -44
- package/dist/chunks/{pty-pzmcnx89.js → plugin-p1g7zq4e.js} +12 -12
- package/dist/chunks/{pty-p7vhpwh8.js → plugin-p7vhpwh8.js} +1 -1
- package/dist/chunks/{pty-rm3930ch.js → plugin-pdyefe2s.js} +20 -20
- package/dist/chunks/{pty-vyb022hh.js → plugin-pjn7nv2s.js} +57 -60
- package/dist/chunks/{pty-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{pty-8ykqf5wm.js → plugin-pnwsrq7c.js} +8 -8
- package/dist/chunks/{pty-scj3yyxn.js → plugin-ps7x4nfx.js} +24 -24
- package/dist/chunks/{pty-mypzkbjq.js → plugin-psa3qbev.js} +11 -11
- package/dist/chunks/{pty-rj7j5fvs.js → plugin-px7qpgcn.js} +4 -4
- package/dist/chunks/{pty-rbvjmsc7.js → plugin-py5xaqhw.js} +28 -28
- package/dist/chunks/{pty-1p367p45.js → plugin-qchry0bm.js} +12 -12
- package/dist/chunks/{pty-skdkpe37.js → plugin-qeza7szv.js} +18 -18
- package/dist/chunks/{pty-e45fk36t.js → plugin-qkc3z5ds.js} +4 -4
- package/dist/chunks/{pty-qp7r0hxv.js → plugin-qp7r0hxv.js} +1 -1
- package/dist/chunks/{pty-xwkfc1jv.js → plugin-qqd78179.js} +15 -15
- package/dist/chunks/{pty-qqvy8y24.js → plugin-qqvy8y24.js} +1 -1
- package/dist/chunks/{pty-kb91f2ce.js → plugin-qsxr0pb6.js} +6 -6
- package/dist/chunks/plugin-r21r83t2.js +265 -0
- package/dist/chunks/{pty-e18eb6k2.js → plugin-r2jsee34.js} +8 -8
- package/dist/chunks/plugin-ranh0xe7.js +16 -0
- package/dist/chunks/{pty-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
- package/dist/chunks/{pty-sjtej4jg.js → plugin-rd9wcvfd.js} +5 -5
- package/dist/chunks/{pty-rgc9cx3e.js → plugin-rgc9cx3e.js} +2 -2
- package/dist/chunks/{pty-fvwmbxrt.js → plugin-rh4e39b1.js} +5 -5
- package/dist/chunks/{pty-8wjgamp7.js → plugin-rmv7fhs4.js} +3 -3
- package/dist/chunks/{pty-6dtfbb2g.js → plugin-rsh0a03v.js} +12 -12
- package/dist/chunks/{pty-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
- package/dist/chunks/{pty-wedqffd6.js → plugin-rx91prjf.js} +11 -11
- package/dist/chunks/{pty-0023dqyf.js → plugin-s077j9hd.js} +38 -38
- package/dist/chunks/{pty-2p60zmnr.js → plugin-s1ba0vj0.js} +2 -2
- package/dist/chunks/{pty-s8qtxmzm.js → plugin-s8qtxmzm.js} +1 -1
- package/dist/chunks/{pty-sa3fpqfw.js → plugin-sa3fpqfw.js} +2 -2
- package/dist/chunks/{pty-sbya78hr.js → plugin-sbya78hr.js} +1 -1
- package/dist/chunks/{pty-sbz71ybr.js → plugin-sbz71ybr.js} +1 -1
- package/dist/chunks/{pty-67zhfnr5.js → plugin-scmk72rv.js} +5 -5
- package/dist/chunks/{pty-0j7gp832.js → plugin-sqjzf8x2.js} +4 -4
- package/dist/chunks/{pty-nt907s04.js → plugin-stbett4v.js} +3 -3
- package/dist/chunks/{pty-svcy3p9a.js → plugin-svcy3p9a.js} +1 -1
- package/dist/chunks/{pty-we7ta21m.js → plugin-syxe2jw8.js} +6 -6
- package/dist/chunks/{pty-24cv518k.js → plugin-t5tepyg2.js} +9 -9
- package/dist/chunks/{pty-8ykbxn4t.js → plugin-t70bn8z7.js} +13 -13
- package/dist/chunks/{pty-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
- package/dist/chunks/{pty-btjprcgw.js → plugin-tjyxzeh0.js} +14 -14
- package/dist/chunks/{pty-06x2tb2z.js → plugin-tssnwzvm.js} +43 -43
- package/dist/chunks/{pty-g1h0e984.js → plugin-tvfn97n0.js} +9 -9
- package/dist/chunks/{pty-tvtps2q9.js → plugin-tvtps2q9.js} +1 -1
- package/dist/chunks/{pty-twssxy5n.js → plugin-twssxy5n.js} +2 -2
- package/dist/chunks/{pty-1er6rw3f.js → plugin-ty825d7j.js} +5 -5
- package/dist/chunks/{pty-he6fdh83.js → plugin-v055br61.js} +4 -4
- package/dist/chunks/{pty-xcx3vbqx.js → plugin-v1nhkc67.js} +9 -9
- package/dist/chunks/{pty-v2r1d0zg.js → plugin-v2r1d0zg.js} +1 -1
- package/dist/chunks/{pty-xj846p5w.js → plugin-v6ffavxp.js} +18 -13
- package/dist/chunks/{pty-s2pfznc4.js → plugin-v80n1jgs.js} +6 -6
- package/dist/chunks/{pty-9wydm227.js → plugin-v9nnbbtp.js} +7 -7
- package/dist/chunks/{pty-t41k4f06.js → plugin-v9x69s9r.js} +11 -11
- package/dist/chunks/{pty-ycjen0nk.js → plugin-vactc6jv.js} +38 -38
- package/dist/chunks/{pty-y63cdny4.js → plugin-van5qev3.js} +7 -7
- package/dist/chunks/{pty-nvwv1dfk.js → plugin-vb3hc0dy.js} +23 -23
- package/dist/chunks/{pty-6f7774sy.js → plugin-veq7nxyb.js} +18 -18
- package/dist/chunks/{pty-vjf35v1f.js → plugin-vjf35v1f.js} +1 -1
- package/dist/chunks/{pty-czhsb2q6.js → plugin-vnepjky2.js} +21 -21
- package/dist/chunks/{pty-hav9640s.js → plugin-vntx4tw2.js} +32 -32
- package/dist/chunks/{pty-snyjxc4r.js → plugin-vz9qepft.js} +27 -30
- package/dist/chunks/{pty-xg3etxpz.js → plugin-w2sgeva4.js} +3 -3
- package/dist/chunks/{pty-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-gmn6pm9k.js → plugin-w7zjgm3x.js} +14 -14
- package/dist/chunks/{pty-yw6v6yt8.js → plugin-w8a1xme7.js} +18 -18
- package/dist/chunks/{pty-xygzzjxz.js → plugin-w986w4hx.js} +6 -6
- package/dist/chunks/{pty-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
- package/dist/chunks/{pty-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{pty-ab8ej67z.js → plugin-wd8v34mw.js} +5 -5
- package/dist/chunks/{pty-nx4vzyjd.js → plugin-wegkxhrn.js} +2 -2
- package/dist/chunks/{pty-qsdghx1p.js → plugin-wfdx5ztx.js} +4 -4
- package/dist/chunks/{pty-y99mgccj.js → plugin-wg3vpxnx.js} +5 -5
- package/dist/chunks/{pty-wnhgecwx.js → plugin-wnhgecwx.js} +1 -1
- package/dist/chunks/{pty-w687dnns.js → plugin-wr3re1en.js} +4 -4
- package/dist/chunks/{pty-b7xq4dcs.js → plugin-ww36sbnk.js} +4 -4
- package/dist/chunks/{pty-xygagwej.js → plugin-x0z7edbs.js} +21 -21
- package/dist/chunks/{pty-qj27ec1j.js → plugin-x4mcewfn.js} +4 -4
- package/dist/chunks/{pty-rqr4sfbw.js → plugin-x7daqgzn.js} +39 -39
- package/dist/chunks/{pty-vr57n06r.js → plugin-x8n516ga.js} +9 -9
- package/dist/chunks/{pty-h16d3r43.js → plugin-xa4rzg62.js} +35 -35
- package/dist/chunks/{pty-3fyhdc57.js → plugin-xbtkckw0.js} +32 -32
- package/dist/chunks/{pty-yx0s3wdh.js → plugin-xd4rj5dr.js} +17 -17
- package/dist/chunks/{pty-7y5ejeck.js → plugin-xeb6r8mn.js} +68 -68
- package/dist/chunks/{pty-xjr6c8m4.js → plugin-xjr6c8m4.js} +1 -1
- package/dist/chunks/{pty-c6x7d2ts.js → plugin-xmx7xj34.js} +4 -4
- package/dist/chunks/{pty-awz4eek6.js → plugin-xnw3wznc.js} +15 -9
- package/dist/chunks/{pty-6095q8tb.js → plugin-xpbztm1g.js} +21 -21
- package/dist/chunks/{pty-392kfhz5.js → plugin-xqeg9bew.js} +11 -11
- package/dist/chunks/{pty-3wb7g1gt.js → plugin-xr2zjevv.js} +2 -2
- package/dist/chunks/{pty-4r9sfa39.js → plugin-xysn4frr.js} +14 -14
- package/dist/chunks/{pty-yj36cpkw.js → plugin-xz3qdgg9.js} +6 -6
- package/dist/chunks/{pty-2y6sjp8j.js → plugin-y2bhwy3z.js} +9 -9
- package/dist/chunks/{pty-x26wqd07.js → plugin-y4n6pw34.js} +4 -4
- package/dist/chunks/{pty-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
- package/dist/chunks/{pty-msd2a3qm.js → plugin-ybws1qgk.js} +4 -4
- package/dist/chunks/{pty-mqg1yz44.js → plugin-yfzjcqwq.js} +16 -16
- package/dist/chunks/{pty-bnr8j2y9.js → plugin-ygsqpktb.js} +15 -15
- package/dist/chunks/{pty-f2cwqqap.js → plugin-yj0rtb4n.js} +37 -37
- package/dist/chunks/{pty-yr705xyq.js → plugin-yr705xyq.js} +1 -1
- package/dist/chunks/{pty-yvtc2x31.js → plugin-yvtc2x31.js} +1 -1
- package/dist/chunks/{pty-yhqe6hsm.js → plugin-z34m5vvf.js} +9 -9
- package/dist/chunks/{pty-vgv0ynd3.js → plugin-zbnm3t1v.js} +15 -15
- package/dist/chunks/{pty-knrrsbj9.js → plugin-zhwa4vsz.js} +30 -30
- package/dist/chunks/{pty-b5ppfg7c.js → plugin-znwf6q4v.js} +45 -45
- package/dist/chunks/{pty-ygqv5g3p.js → plugin-zq70qzgy.js} +28 -28
- package/dist/chunks/{pty-0afnvty9.js → plugin-zt1atjsr.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +139 -139
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- 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 +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- 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 +118 -118
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +3 -7
- package/dist/github-copilot/responses/tool/file-search.js +2 -4
- 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 +426 -426
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- 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 +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -104
- package/dist/plugin/provider/azure.js +133 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -146
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +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 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +90 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -110
- package/dist/plugin/provider/gitlab.js +109 -107
- 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 -107
- 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 -103
- package/dist/plugin/provider/openai.js +133 -130
- package/dist/plugin/provider/opencode.js +157 -155
- 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 +91 -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 -129
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +412 -412
- 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 +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- 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 +95 -95
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +245 -245
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +245 -245
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- 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 +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +198 -198
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- 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 +7 -7
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- 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 +182 -182
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +165 -165
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +147 -147
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +168 -168
- 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 +5 -5
- package/dist/tool.js +161 -161
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +2 -46
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -96
- package/dist/types/github-copilot/responses/tool/code-interpreter.d.ts +0 -67
- package/dist/types/github-copilot/responses/tool/file-search.d.ts +0 -64
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -2
- package/dist/types/plugin/provider/claude-agent/integration.d.ts +1 -2
- package/dist/types/plugin/provider/credential-settings.d.ts +6 -2
- package/dist/types/plugin/provider/gitlab.d.ts +1 -2
- package/dist/types/plugin/provider/openai-context-caps.d.ts +1 -2
- package/dist/types/plugin/provider/openai.d.ts +1 -2
- package/dist/types/plugin/provider/refresh.d.ts +4 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -2
- package/dist/usage-limits.js +96 -96
- 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 +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 +99 -99
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +111 -111
- package/package.json +9 -8
- package/dist/chunks/pty-208nbn7x.js +0 -16
- package/dist/chunks/pty-9bxrat4n.js +0 -265
- package/dist/chunks/pty-tfhtby8v.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kah00gy.js → plugin-1kah00gy.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4qk9sjk2.js → plugin-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5w3e23ze.js → plugin-5w3e23ze.js} +0 -0
- /package/dist/chunks/{pty-6agm2x70.js → plugin-6agm2x70.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-beh6qq61.js → plugin-beh6qq61.js} +0 -0
- /package/dist/chunks/{pty-bhmrqjy3.js → plugin-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cqv5kn06.js → plugin-cqv5kn06.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-ean2d8b5.js → plugin-ean2d8b5.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fkpq3x5p.js → plugin-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jwr30sdr.js → plugin-jwr30sdr.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-nh4v3znn.js → plugin-nh4v3znn.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p71gwv9c.js → plugin-p71gwv9c.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-syrav9an.js → plugin-syrav9an.js} +0 -0
- /package/dist/chunks/{pty-t03h4f5z.js → plugin-t03h4f5z.js} +0 -0
- /package/dist/chunks/{pty-ty7weeps.js → plugin-ty7weeps.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-vtarvj67.js → plugin-vtarvj67.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z0h12gs8.js → plugin-z0h12gs8.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → plugin-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zxpyjp51.js → plugin-zxpyjp51.js} +0 -0
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-k151g6mf.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
|
-
import {
|
|
16
|
-
APICallError
|
|
17
|
-
} from "@ai-sdk/provider";
|
|
18
15
|
import {
|
|
19
16
|
combineHeaders,
|
|
20
17
|
createEventSourceResponseHandler,
|
|
21
|
-
createJsonResponseHandler,
|
|
22
18
|
generateId,
|
|
23
19
|
parseProviderOptions,
|
|
24
20
|
postJsonToApi
|
|
@@ -238,324 +234,8 @@ class OpenAIResponsesLanguageModel2 {
|
|
|
238
234
|
warnings: [...warnings, ...toolWarnings]
|
|
239
235
|
};
|
|
240
236
|
}
|
|
241
|
-
async doGenerate(
|
|
242
|
-
|
|
243
|
-
const url = this.config.url({
|
|
244
|
-
path: "/responses",
|
|
245
|
-
modelId: this.modelId
|
|
246
|
-
});
|
|
247
|
-
const {
|
|
248
|
-
responseHeaders,
|
|
249
|
-
value: response,
|
|
250
|
-
rawValue: rawResponse
|
|
251
|
-
} = await postJsonToApi({
|
|
252
|
-
url,
|
|
253
|
-
headers: combineHeaders(this.config.headers(), options.headers),
|
|
254
|
-
body,
|
|
255
|
-
failedResponseHandler: openaiFailedResponseHandler2,
|
|
256
|
-
successfulResponseHandler: createJsonResponseHandler(z.object({
|
|
257
|
-
id: z.string(),
|
|
258
|
-
created_at: z.number(),
|
|
259
|
-
error: z.object({
|
|
260
|
-
code: z.string(),
|
|
261
|
-
message: z.string()
|
|
262
|
-
}).nullish(),
|
|
263
|
-
model: z.string(),
|
|
264
|
-
output: z.array(z.discriminatedUnion("type", [
|
|
265
|
-
z.object({
|
|
266
|
-
type: z.literal("message"),
|
|
267
|
-
role: z.literal("assistant"),
|
|
268
|
-
id: z.string(),
|
|
269
|
-
content: z.array(z.object({
|
|
270
|
-
type: z.literal("output_text"),
|
|
271
|
-
text: z.string(),
|
|
272
|
-
logprobs: LOGPROBS_SCHEMA.nullish(),
|
|
273
|
-
annotations: z.array(z.discriminatedUnion("type", [
|
|
274
|
-
z.object({
|
|
275
|
-
type: z.literal("url_citation"),
|
|
276
|
-
start_index: z.number(),
|
|
277
|
-
end_index: z.number(),
|
|
278
|
-
url: z.string(),
|
|
279
|
-
title: z.string()
|
|
280
|
-
}),
|
|
281
|
-
z.object({
|
|
282
|
-
type: z.literal("file_citation"),
|
|
283
|
-
file_id: z.string(),
|
|
284
|
-
filename: z.string().nullish(),
|
|
285
|
-
index: z.number().nullish(),
|
|
286
|
-
start_index: z.number().nullish(),
|
|
287
|
-
end_index: z.number().nullish(),
|
|
288
|
-
quote: z.string().nullish()
|
|
289
|
-
}),
|
|
290
|
-
z.object({
|
|
291
|
-
type: z.literal("container_file_citation")
|
|
292
|
-
})
|
|
293
|
-
]))
|
|
294
|
-
}))
|
|
295
|
-
}),
|
|
296
|
-
webSearchCallItem,
|
|
297
|
-
fileSearchCallItem,
|
|
298
|
-
codeInterpreterCallItem,
|
|
299
|
-
imageGenerationCallItem,
|
|
300
|
-
z.object({
|
|
301
|
-
type: z.literal("function_call"),
|
|
302
|
-
call_id: z.string(),
|
|
303
|
-
name: z.string(),
|
|
304
|
-
arguments: z.string(),
|
|
305
|
-
id: z.string()
|
|
306
|
-
}),
|
|
307
|
-
z.object({
|
|
308
|
-
type: z.literal("computer_call"),
|
|
309
|
-
id: z.string(),
|
|
310
|
-
status: z.string().optional()
|
|
311
|
-
}),
|
|
312
|
-
z.object({
|
|
313
|
-
type: z.literal("reasoning"),
|
|
314
|
-
id: z.string(),
|
|
315
|
-
encrypted_content: z.string().nullish(),
|
|
316
|
-
summary: z.array(z.object({
|
|
317
|
-
type: z.literal("summary_text"),
|
|
318
|
-
text: z.string()
|
|
319
|
-
}))
|
|
320
|
-
})
|
|
321
|
-
])),
|
|
322
|
-
service_tier: z.string().nullish(),
|
|
323
|
-
incomplete_details: z.object({ reason: z.string() }).nullish(),
|
|
324
|
-
usage: usageSchema
|
|
325
|
-
})),
|
|
326
|
-
abortSignal: options.abortSignal,
|
|
327
|
-
fetch: this.config.fetch
|
|
328
|
-
});
|
|
329
|
-
if (response.error) {
|
|
330
|
-
throw new APICallError({
|
|
331
|
-
message: response.error.message,
|
|
332
|
-
url,
|
|
333
|
-
requestBodyValues: body,
|
|
334
|
-
statusCode: 400,
|
|
335
|
-
responseHeaders,
|
|
336
|
-
responseBody: rawResponse,
|
|
337
|
-
isRetryable: false
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
const content = [];
|
|
341
|
-
const logprobs = [];
|
|
342
|
-
let hasFunctionCall = false;
|
|
343
|
-
for (const part of response.output) {
|
|
344
|
-
switch (part.type) {
|
|
345
|
-
case "reasoning": {
|
|
346
|
-
if (part.summary.length === 0) {
|
|
347
|
-
part.summary.push({ type: "summary_text", text: "" });
|
|
348
|
-
}
|
|
349
|
-
for (const summary of part.summary) {
|
|
350
|
-
content.push({
|
|
351
|
-
type: "reasoning",
|
|
352
|
-
text: summary.text,
|
|
353
|
-
providerMetadata: {
|
|
354
|
-
copilot: {
|
|
355
|
-
itemId: part.id,
|
|
356
|
-
reasoningEncryptedContent: part.encrypted_content ?? null
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
break;
|
|
362
|
-
}
|
|
363
|
-
case "image_generation_call": {
|
|
364
|
-
content.push({
|
|
365
|
-
type: "tool-call",
|
|
366
|
-
toolCallId: part.id,
|
|
367
|
-
toolName: getHostedToolName("image_generation"),
|
|
368
|
-
input: "{}",
|
|
369
|
-
providerExecuted: true
|
|
370
|
-
});
|
|
371
|
-
content.push({
|
|
372
|
-
type: "tool-result",
|
|
373
|
-
toolCallId: part.id,
|
|
374
|
-
toolName: getHostedToolName("image_generation"),
|
|
375
|
-
result: {
|
|
376
|
-
result: part.result
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
break;
|
|
380
|
-
}
|
|
381
|
-
case "message": {
|
|
382
|
-
for (const contentPart of part.content) {
|
|
383
|
-
if (options.providerOptions?.copilot?.logprobs && contentPart.logprobs) {
|
|
384
|
-
logprobs.push(contentPart.logprobs);
|
|
385
|
-
}
|
|
386
|
-
content.push({
|
|
387
|
-
type: "text",
|
|
388
|
-
text: contentPart.text,
|
|
389
|
-
providerMetadata: {
|
|
390
|
-
copilot: {
|
|
391
|
-
itemId: part.id
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
});
|
|
395
|
-
for (const annotation of contentPart.annotations) {
|
|
396
|
-
if (annotation.type === "url_citation") {
|
|
397
|
-
content.push({
|
|
398
|
-
type: "source",
|
|
399
|
-
sourceType: "url",
|
|
400
|
-
id: this.config.generateId?.() ?? generateId(),
|
|
401
|
-
url: annotation.url,
|
|
402
|
-
title: annotation.title
|
|
403
|
-
});
|
|
404
|
-
} else if (annotation.type === "file_citation") {
|
|
405
|
-
content.push({
|
|
406
|
-
type: "source",
|
|
407
|
-
sourceType: "document",
|
|
408
|
-
id: this.config.generateId?.() ?? generateId(),
|
|
409
|
-
mediaType: "text/plain",
|
|
410
|
-
title: annotation.quote ?? annotation.filename ?? "Document",
|
|
411
|
-
filename: annotation.filename ?? annotation.file_id
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
break;
|
|
417
|
-
}
|
|
418
|
-
case "function_call": {
|
|
419
|
-
hasFunctionCall = true;
|
|
420
|
-
content.push({
|
|
421
|
-
type: "tool-call",
|
|
422
|
-
toolCallId: part.call_id,
|
|
423
|
-
toolName: part.name,
|
|
424
|
-
input: part.arguments,
|
|
425
|
-
providerMetadata: {
|
|
426
|
-
copilot: {
|
|
427
|
-
itemId: part.id
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
});
|
|
431
|
-
break;
|
|
432
|
-
}
|
|
433
|
-
case "web_search_call": {
|
|
434
|
-
content.push({
|
|
435
|
-
type: "tool-call",
|
|
436
|
-
toolCallId: part.id,
|
|
437
|
-
toolName: getHostedToolName("web_search"),
|
|
438
|
-
input: JSON.stringify({ action: part.action }),
|
|
439
|
-
providerExecuted: true
|
|
440
|
-
});
|
|
441
|
-
content.push({
|
|
442
|
-
type: "tool-result",
|
|
443
|
-
toolCallId: part.id,
|
|
444
|
-
toolName: getHostedToolName("web_search"),
|
|
445
|
-
result: { status: part.status }
|
|
446
|
-
});
|
|
447
|
-
break;
|
|
448
|
-
}
|
|
449
|
-
case "computer_call": {
|
|
450
|
-
content.push({
|
|
451
|
-
type: "tool-call",
|
|
452
|
-
toolCallId: part.id,
|
|
453
|
-
toolName: "computer_use",
|
|
454
|
-
input: "",
|
|
455
|
-
providerExecuted: true
|
|
456
|
-
});
|
|
457
|
-
content.push({
|
|
458
|
-
type: "tool-result",
|
|
459
|
-
toolCallId: part.id,
|
|
460
|
-
toolName: "computer_use",
|
|
461
|
-
result: {
|
|
462
|
-
type: "computer_use_tool_result",
|
|
463
|
-
status: part.status || "completed"
|
|
464
|
-
}
|
|
465
|
-
});
|
|
466
|
-
break;
|
|
467
|
-
}
|
|
468
|
-
case "file_search_call": {
|
|
469
|
-
content.push({
|
|
470
|
-
type: "tool-call",
|
|
471
|
-
toolCallId: part.id,
|
|
472
|
-
toolName: getHostedToolName("file_search"),
|
|
473
|
-
input: "{}",
|
|
474
|
-
providerExecuted: true
|
|
475
|
-
});
|
|
476
|
-
content.push({
|
|
477
|
-
type: "tool-result",
|
|
478
|
-
toolCallId: part.id,
|
|
479
|
-
toolName: getHostedToolName("file_search"),
|
|
480
|
-
result: {
|
|
481
|
-
queries: part.queries,
|
|
482
|
-
results: part.results?.map((result) => ({
|
|
483
|
-
attributes: result.attributes,
|
|
484
|
-
fileId: result.file_id,
|
|
485
|
-
filename: result.filename,
|
|
486
|
-
score: result.score,
|
|
487
|
-
text: result.text
|
|
488
|
-
})) ?? null
|
|
489
|
-
}
|
|
490
|
-
});
|
|
491
|
-
break;
|
|
492
|
-
}
|
|
493
|
-
case "code_interpreter_call": {
|
|
494
|
-
content.push({
|
|
495
|
-
type: "tool-call",
|
|
496
|
-
toolCallId: part.id,
|
|
497
|
-
toolName: getHostedToolName("code_interpreter"),
|
|
498
|
-
input: JSON.stringify({
|
|
499
|
-
code: part.code,
|
|
500
|
-
containerId: part.container_id
|
|
501
|
-
}),
|
|
502
|
-
providerExecuted: true
|
|
503
|
-
});
|
|
504
|
-
content.push({
|
|
505
|
-
type: "tool-result",
|
|
506
|
-
toolCallId: part.id,
|
|
507
|
-
toolName: getHostedToolName("code_interpreter"),
|
|
508
|
-
result: {
|
|
509
|
-
outputs: part.outputs
|
|
510
|
-
}
|
|
511
|
-
});
|
|
512
|
-
break;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
const providerMetadata = {
|
|
517
|
-
copilot: { responseId: response.id }
|
|
518
|
-
};
|
|
519
|
-
if (logprobs.length > 0) {
|
|
520
|
-
providerMetadata.copilot.logprobs = logprobs;
|
|
521
|
-
}
|
|
522
|
-
if (typeof response.service_tier === "string") {
|
|
523
|
-
providerMetadata.copilot.serviceTier = response.service_tier;
|
|
524
|
-
}
|
|
525
|
-
return {
|
|
526
|
-
content,
|
|
527
|
-
finishReason: {
|
|
528
|
-
unified: mapOpenAIResponseFinishReason2({
|
|
529
|
-
finishReason: response.incomplete_details?.reason,
|
|
530
|
-
hasFunctionCall
|
|
531
|
-
}),
|
|
532
|
-
raw: response.incomplete_details?.reason
|
|
533
|
-
},
|
|
534
|
-
usage: {
|
|
535
|
-
inputTokens: {
|
|
536
|
-
total: response.usage.input_tokens,
|
|
537
|
-
noCache: response.usage.input_tokens_details?.cached_tokens != null ? response.usage.input_tokens - response.usage.input_tokens_details.cached_tokens : undefined,
|
|
538
|
-
cacheRead: response.usage.input_tokens_details?.cached_tokens ?? undefined,
|
|
539
|
-
cacheWrite: undefined
|
|
540
|
-
},
|
|
541
|
-
outputTokens: {
|
|
542
|
-
total: response.usage.output_tokens,
|
|
543
|
-
text: undefined,
|
|
544
|
-
reasoning: response.usage.output_tokens_details?.reasoning_tokens ?? undefined
|
|
545
|
-
},
|
|
546
|
-
raw: response.usage
|
|
547
|
-
},
|
|
548
|
-
request: { body },
|
|
549
|
-
response: {
|
|
550
|
-
id: response.id,
|
|
551
|
-
timestamp: new Date(response.created_at * 1000),
|
|
552
|
-
modelId: response.model,
|
|
553
|
-
headers: responseHeaders,
|
|
554
|
-
body: rawResponse
|
|
555
|
-
},
|
|
556
|
-
providerMetadata,
|
|
557
|
-
warnings
|
|
558
|
-
};
|
|
237
|
+
async doGenerate(_options) {
|
|
238
|
+
throw new Error("GitHub Copilot models only support streaming");
|
|
559
239
|
}
|
|
560
240
|
async doStream(options) {
|
|
561
241
|
const { args: body, warnings, getHostedToolName } = await this.getArgs(options);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-7wr677ys.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service90,
|
|
8
8
|
node93
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-0307q67x.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-64h51qjv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./plugin-k8p04dbv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service31,
|
|
25
|
+
node35
|
|
26
|
+
} from "./plugin-cq0xhnx7.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -75,8 +75,8 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
75
75
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service90;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service31;
|
|
79
|
+
const store = yield* Service70;
|
|
80
80
|
const db = (yield* Service91).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -163,7 +163,7 @@ Recent conversation:
|
|
|
163
163
|
var node3 = makeLocationNode({
|
|
164
164
|
service: Service2,
|
|
165
165
|
layer: layer3,
|
|
166
|
-
deps: [node93, llmClient2,
|
|
166
|
+
deps: [node93, llmClient2, node35, node73, node94]
|
|
167
167
|
});
|
|
168
168
|
|
|
169
169
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-0307q67x.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-fh35p99c.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-bhmrqjy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -20,13 +20,13 @@ __export(exports_persistent_pty, {
|
|
|
20
20
|
NotFoundError: () => NotFoundError4,
|
|
21
21
|
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
23
|
+
Service: () => Service28,
|
|
24
|
+
UnavailableError: () => UnavailableError5,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
26
|
available: () => available3,
|
|
27
27
|
configured: () => configured3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer13,
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -50,7 +50,7 @@ var Options3 = Schema.Struct({
|
|
|
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
|
}
|
|
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service28 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service90;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
@@ -158,7 +158,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, 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(Service26, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service28.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,17 +261,17 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
264
|
+
var layer13 = makeLayer();
|
|
265
265
|
var configured3 = (options) => makeGlobalNode({
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
266
|
+
service: Service28,
|
|
267
|
+
layer: options === undefined ? layer13 : makeLayer(options),
|
|
268
268
|
deps: [node93, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node31 = configured3();
|
|
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 { Options3,
|
|
307
|
+
export { Options3, UnavailableError5, NotFoundError4, InvalidCwdError2, UnsupportedError2, Service28, layer13, configured3, node31, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-0307q67x.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service87,
|
|
11
|
+
node90
|
|
12
|
+
} from "./plugin-46zfztsf.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service79,
|
|
20
|
+
node82,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./plugin-ksw9nvwk.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,18 +32,18 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service78,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
46
|
-
parse: () =>
|
|
45
|
+
node: () => node81,
|
|
46
|
+
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
@@ -51,7 +51,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
53
|
import { Event as Event15 } from "@opencode/schema/model";
|
|
54
|
-
var
|
|
54
|
+
var ID14 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info22 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service78 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const bus = yield* Service90;
|
|
79
|
-
const location = yield*
|
|
79
|
+
const location = yield* Service87;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID15.opencode, ID15.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service78.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node81 = makeLocationNode({ service: Service78, layer, deps: [node82, node93, node90] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID15.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -271,12 +271,12 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service78, node81, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|