@opencode/core 0.0.0-dev-491 → 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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -239
- package/dist/bus.js +80 -80
- package/dist/chunks/{schema-5zrvqxbg.js → plugin-0307q67x.js} +27 -37
- package/dist/chunks/{schema-aj7mw0zk.js → plugin-034tev2y.js} +2 -2
- package/dist/chunks/{schema-mtjzj2m1.js → plugin-03fcrb20.js} +27 -27
- package/dist/chunks/{schema-afz985yq.js → plugin-0c17gj5y.js} +52 -67
- package/dist/chunks/{schema-z01zhnc6.js → plugin-0fgydazq.js} +30 -33
- package/dist/chunks/{schema-s2edn48d.js → plugin-0fk7qgkg.js} +19 -18
- package/dist/chunks/{schema-x9fmexvv.js → plugin-0gawn60p.js} +5 -9
- package/dist/chunks/{schema-0ma9gw4f.js → plugin-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schema-ygmq07zy.js → plugin-0nwyq8xc.js} +19 -19
- package/dist/chunks/{schema-6x26xpab.js → plugin-0r1vvj52.js} +16 -16
- package/dist/chunks/plugin-0rprqean.js +28 -0
- package/dist/chunks/{schema-4ze3m284.js → plugin-0s190qh7.js} +86 -86
- package/dist/chunks/{schema-j2t21h9q.js → plugin-0vd1ww2e.js} +8 -8
- package/dist/chunks/{schema-eh3zwz77.js → plugin-108x4f4w.js} +1 -10
- package/dist/chunks/{schema-tk7wm9t6.js → plugin-143cpz4c.js} +31 -58
- package/dist/chunks/{schema-x150ncgg.js → plugin-18aa7g5f.js} +2 -2
- package/dist/chunks/{schema-g442wsqe.js → plugin-18b1hh0p.js} +11 -11
- package/dist/chunks/{schema-1aqsckx4.js → plugin-1aqsckx4.js} +1 -1
- package/dist/chunks/{schema-8yhnmq54.js → plugin-1e94hgbm.js} +21 -21
- package/dist/chunks/{schema-27w5k9zf.js → plugin-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-j1kb77r1.js → plugin-1g0v3vx9.js} +29 -29
- package/dist/chunks/{schema-pmjf6175.js → plugin-1w13tshp.js} +16 -16
- package/dist/chunks/{schema-rezvgxsg.js → plugin-1w2h5b1p.js} +37 -39
- package/dist/chunks/{schema-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-v8wxce3j.js → plugin-1ycjxbw0.js} +16 -16
- package/dist/chunks/{schema-hr712wcm.js → plugin-205xss10.js} +15 -15
- package/dist/chunks/{schema-9ywzg6g3.js → plugin-20j6w53w.js} +19 -19
- package/dist/chunks/{schema-pkkerzhz.js → plugin-23ef35a7.js} +9 -9
- package/dist/chunks/{schema-g3smeneb.js → plugin-25d4jj4c.js} +3 -3
- package/dist/chunks/{schema-8b3vzgkx.js → plugin-25h84942.js} +4 -4
- package/dist/chunks/{schema-kze6nzna.js → plugin-26wfx3k0.js} +7 -7
- package/dist/chunks/{schema-mdkgg4b2.js → plugin-26x1t9w8.js} +7 -7
- package/dist/chunks/{schema-b25mxkxc.js → plugin-2jstwc4e.js} +19 -19
- package/dist/chunks/{schema-sf9y72b7.js → plugin-38aws4xb.js} +4 -4
- package/dist/chunks/{schema-fkk1f725.js → plugin-3942hstv.js} +31 -31
- package/dist/chunks/{schema-3adw4bt5.js → plugin-3adw4bt5.js} +2 -2
- package/dist/chunks/{schema-e73j6tqm.js → plugin-3af0jn4w.js} +1 -7
- package/dist/chunks/{schema-cj6s55dc.js → plugin-3dgyt4sk.js} +50 -50
- package/dist/chunks/{schema-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-htk0pxp4.js → plugin-3jem8rp1.js} +24 -24
- package/dist/chunks/{schema-hs0d6vna.js → plugin-3nbgerk0.js} +25 -29
- package/dist/chunks/{schema-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-69s1y7w5.js → plugin-3pf4ebn6.js} +11 -11
- package/dist/chunks/{schema-2vn10rnz.js → plugin-400hm5z8.js} +5 -5
- package/dist/chunks/{schema-40y6dtc2.js → plugin-40y6dtc2.js} +1 -1
- package/dist/chunks/{schema-w2eysc6j.js → plugin-40za9wsf.js} +9 -9
- package/dist/chunks/{schema-20yhjmgn.js → plugin-45wpgpw0.js} +10 -10
- package/dist/chunks/{schema-th5svyvp.js → plugin-46zfztsf.js} +2 -2
- package/dist/chunks/{schema-rs07w8af.js → plugin-4b5w7wew.js} +30 -31
- package/dist/chunks/{schema-4dx1dgte.js → plugin-4dx1dgte.js} +1 -1
- package/dist/chunks/{schema-r542h3bh.js → plugin-4f25tdd0.js} +5 -5
- package/dist/chunks/{schema-cpe35zww.js → plugin-4gmbvmjy.js} +4 -4
- package/dist/chunks/{schema-wse597y0.js → plugin-4jbhkvpc.js} +11 -11
- package/dist/chunks/{schema-4pyp9zr9.js → plugin-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-hae73tt5.js → plugin-4tkdjh03.js} +29 -29
- package/dist/chunks/{schema-wxd7rbv3.js → plugin-4tpf07mz.js} +14 -14
- package/dist/chunks/{schema-4v008n1t.js → plugin-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-yv34actv.js → plugin-4v75kcj2.js} +11 -11
- package/dist/chunks/{schema-v0dc4xqt.js → plugin-52mfrm74.js} +199 -214
- package/dist/chunks/{schema-wcrhk13t.js → plugin-5czv5vem.js} +3 -3
- package/dist/chunks/{schema-kxcyzez0.js → plugin-5da9cq3a.js} +11 -11
- package/dist/chunks/{schema-eeze92kt.js → plugin-5e6t1ybt.js} +5 -7
- package/dist/chunks/{schema-39ecara3.js → plugin-5fd6nf8f.js} +46 -56
- package/dist/chunks/{schema-1acgysvj.js → plugin-5k0e9bef.js} +9 -9
- package/dist/chunks/{schema-7wz58vea.js → plugin-5m0kkg6e.js} +3 -3
- package/dist/chunks/{schema-9vbafrh8.js → plugin-5m6m8jcx.js} +16 -16
- package/dist/chunks/{schema-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-c485byne.js → plugin-5mabv1as.js} +8 -8
- package/dist/chunks/{schema-j3118bbp.js → plugin-5q4fwj44.js} +21 -21
- package/dist/chunks/{schema-qygxdx42.js → plugin-5xy2086m.js} +42 -48
- package/dist/chunks/{schema-crrcr980.js → plugin-64eehrrp.js} +8 -8
- package/dist/chunks/{schema-zn515352.js → plugin-64h51qjv.js} +9 -9
- package/dist/chunks/{schema-7wetmpgy.js → plugin-659689q6.js} +106 -126
- package/dist/chunks/{schema-saqe5fxg.js → plugin-66fcksfe.js} +29 -31
- package/dist/chunks/{schema-zrcyxcfh.js → plugin-68y3jp1b.js} +29 -29
- package/dist/chunks/{schema-h5gm5jf1.js → plugin-6cqkw5v2.js} +7 -7
- package/dist/chunks/{schema-ygy4s6bd.js → plugin-6d3d7yn0.js} +23 -23
- package/dist/chunks/{schema-njm1h2ne.js → plugin-6hkk8qd7.js} +6 -6
- package/dist/chunks/{schema-yrb8cmyx.js → plugin-6wzhfj3x.js} +13 -13
- package/dist/chunks/{schema-tt497rda.js → plugin-76rtdvsh.js} +30 -38
- package/dist/chunks/{schema-775hqbnd.js → plugin-775hqbnd.js} +3 -3
- package/dist/chunks/{schema-wvr8xscb.js → plugin-79k544d0.js} +7 -7
- package/dist/chunks/{schema-d1e46tjw.js → plugin-7b62eh3s.js} +32 -32
- package/dist/chunks/{schema-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-fzt7dsyw.js → plugin-7fcgsqjj.js} +43 -43
- package/dist/chunks/{schema-7gc06pn7.js → plugin-7nwg7nkv.js} +33 -34
- package/dist/chunks/{schema-vzv5k31s.js → plugin-7qs3n6rr.js} +26 -20
- package/dist/chunks/{schema-1mgbt8zv.js → plugin-7sg11x79.js} +12 -12
- package/dist/chunks/{schema-160yv0cs.js → plugin-7tpyp9vw.js} +8 -8
- package/dist/chunks/{schema-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-7weczvnd.js → plugin-7weczvnd.js} +1 -1
- package/dist/chunks/{schema-5ss6spnt.js → plugin-7wr677ys.js} +3 -3
- package/dist/chunks/{schema-7357t78n.js → plugin-821by267.js} +7 -7
- package/dist/chunks/{schema-jf43mb4q.js → plugin-82phgae0.js} +8 -8
- package/dist/chunks/{schema-dn909y3q.js → plugin-882wabxv.js} +45 -45
- package/dist/chunks/{schema-89287pr7.js → plugin-89287pr7.js} +1 -1
- package/dist/chunks/{schema-e383wbw3.js → plugin-8ay7y1mr.js} +13 -13
- package/dist/chunks/{schema-zmn1zasx.js → plugin-8bwj31k3.js} +8 -8
- package/dist/chunks/{schema-8cg7mtm3.js → plugin-8cg7mtm3.js} +1 -1
- package/dist/chunks/{schema-1hqk7qd1.js → plugin-8j4sf7tq.js} +7 -7
- package/dist/chunks/{schema-267nqqyb.js → plugin-8kdhxkda.js} +76 -86
- package/dist/chunks/{schema-ysh3dgvc.js → plugin-8ppcttfd.js} +14 -14
- package/dist/chunks/{schema-3748dbe8.js → plugin-8pt3y8ax.js} +31 -31
- package/dist/chunks/{schema-bb3mmwvh.js → plugin-8sxe6kv8.js} +2 -2
- package/dist/chunks/{schema-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-crmh26nv.js → plugin-8x8h4rhy.js} +7 -7
- package/dist/chunks/{schema-brv6mkyx.js → plugin-8xz27cp9.js} +4 -4
- package/dist/chunks/{schema-fnnekxbx.js → plugin-8z4njp8c.js} +361 -359
- package/dist/chunks/{schema-90zstvax.js → plugin-90zstvax.js} +1 -1
- package/dist/chunks/{schema-wc6thd2m.js → plugin-92cgrw0c.js} +14 -17
- package/dist/chunks/{schema-963hk181.js → plugin-963hk181.js} +2 -2
- package/dist/chunks/{schema-szwm4crx.js → plugin-96djdqw5.js} +4 -4
- package/dist/chunks/{schema-akx6eq60.js → plugin-97zmy9as.js} +34 -44
- package/dist/chunks/{schema-mf63ygpr.js → plugin-9q8g9sv8.js} +4 -4
- package/dist/chunks/{schema-b0vacgmx.js → plugin-9rgr5dz2.js} +6 -14
- package/dist/chunks/{schema-974fscry.js → plugin-9smy52bw.js} +21 -21
- package/dist/chunks/{schema-xcxvf2mg.js → plugin-9y5h6eke.js} +14 -17
- package/dist/chunks/plugin-9zmrnjhe.js +69 -0
- package/dist/chunks/{schema-cr2p0kda.js → plugin-a33ck5g3.js} +23 -23
- package/dist/chunks/{schema-jv8r5h6h.js → plugin-asv65enq.js} +21 -21
- package/dist/chunks/{schema-g5za79em.js → plugin-aya2pgr4.js} +3 -3
- package/dist/chunks/{schema-3cbjf1nt.js → plugin-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schema-vypb472n.js → plugin-azgwy399.js} +24 -24
- package/dist/chunks/{schema-4pfm4xhn.js → plugin-b5dp1yyd.js} +36 -36
- package/dist/chunks/{schema-b6vsg801.js → plugin-b6vsg801.js} +2 -2
- package/dist/chunks/{schema-r5z1733q.js → plugin-b7awpy5c.js} +17 -17
- package/dist/chunks/{schema-1pevy3nx.js → plugin-bhmrqjy3.js} +12 -21
- package/dist/chunks/{schema-xnespcx4.js → plugin-bqt8n8sn.js} +20 -21
- package/dist/chunks/{schema-hev8zkn4.js → plugin-bsft2v7w.js} +18 -18
- package/dist/chunks/{schema-bstexjd6.js → plugin-bstexjd6.js} +1 -1
- package/dist/chunks/{schema-4r9r2tvk.js → plugin-bwda0h4h.js} +9 -16
- package/dist/chunks/{schema-nsqhjfa0.js → plugin-bytt2466.js} +106 -139
- package/dist/chunks/{schema-e932njkj.js → plugin-c0g1rcjh.js} +9 -9
- package/dist/chunks/{schema-fspaztcq.js → plugin-c0mz4dw7.js} +9 -9
- package/dist/chunks/{schema-c4bydvs8.js → plugin-ch1bfet6.js} +39 -38
- package/dist/chunks/{schema-ztjgp9mc.js → plugin-ch5jtm51.js} +5 -5
- package/dist/chunks/{schema-07njmr26.js → plugin-cj804wmc.js} +4 -4
- package/dist/chunks/{schema-7gh115gk.js → plugin-cjt6hyjh.js} +59 -59
- package/dist/chunks/{schema-xar4zgxk.js → plugin-cmww38cp.js} +4 -4
- package/dist/chunks/{schema-b1hp95c4.js → plugin-cq0xhnx7.js} +85 -85
- package/dist/chunks/{schema-k86qxh6q.js → plugin-cqshc3qt.js} +11 -36
- package/dist/chunks/{schema-6h8vcvjm.js → plugin-ctmpqb7w.js} +9 -9
- package/dist/chunks/{schema-cwrgdav8.js → plugin-cwrgdav8.js} +2 -2
- package/dist/chunks/plugin-d0ypfarx.js +26 -0
- package/dist/chunks/{schema-9ek4pzqb.js → plugin-d29ybxya.js} +4 -4
- package/dist/chunks/{schema-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-0e72twgx.js → plugin-d5p8nnrp.js} +44 -52
- package/dist/chunks/{schema-05jba50e.js → plugin-d6nd5g21.js} +6 -6
- package/dist/chunks/{schema-cf903btn.js → plugin-d9rtw456.js} +33 -45
- package/dist/chunks/{schema-dt77769w.js → plugin-dt77769w.js} +1 -1
- package/dist/chunks/{schema-cjg73b7n.js → plugin-e402ykp8.js} +11 -11
- package/dist/chunks/{schema-e834z07m.js → plugin-e834z07m.js} +1 -1
- package/dist/chunks/{schema-5hbm6fh6.js → plugin-ebgwwyf3.js} +15 -15
- package/dist/chunks/{schema-xr5ngpme.js → plugin-ed9atyp6.js} +31 -37
- package/dist/chunks/{schema-9zvhtp2r.js → plugin-egs6vbpk.js} +49 -49
- package/dist/chunks/{schema-040bqqk0.js → plugin-ejkdhtg9.js} +1 -1
- package/dist/chunks/{schema-n8szhp98.js → plugin-ep6snxvm.js} +5 -5
- package/dist/chunks/{schema-eqw4pqj1.js → plugin-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schema-tecv0z0k.js → plugin-et1f68h9.js} +8 -8
- package/dist/chunks/{schema-qtf35215.js → plugin-ez4sqtdc.js} +3 -3
- package/dist/chunks/plugin-ezna1kdx.js +18 -0
- package/dist/chunks/{schema-6ptc49v9.js → plugin-fdqvem49.js} +6 -6
- package/dist/chunks/{schema-22877hrr.js → plugin-fe12914f.js} +21 -21
- package/dist/chunks/{schema-mv0hp075.js → plugin-fere6m7x.js} +16 -16
- package/dist/chunks/{schema-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
- package/dist/chunks/{schema-ehjdr9kj.js → plugin-ffwf0set.js} +3 -3
- package/dist/chunks/{schema-fg9p65nk.js → plugin-fg9p65nk.js} +2 -2
- package/dist/chunks/{schema-yqnnk2wp.js → plugin-fh35p99c.js} +20 -20
- package/dist/chunks/{schema-f4kasrny.js → plugin-fn8jvz8n.js} +16 -16
- package/dist/chunks/plugin-fxd1mh99.js +42 -0
- package/dist/chunks/{schema-5wv7wkw7.js → plugin-g2qxe5yd.js} +10 -10
- package/dist/chunks/{schema-jhwp234h.js → plugin-g8gy8cqb.js} +4 -4
- package/dist/chunks/{schema-bnhv7900.js → plugin-g9c7e3vx.js} +13 -13
- package/dist/chunks/{schema-gbjdnr5j.js → plugin-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schema-nvx0tz4r.js → plugin-gezffjc8.js} +21 -21
- package/dist/chunks/plugin-ghrv1g9c.js +38 -0
- package/dist/chunks/{schema-3416qbwy.js → plugin-gjweb3gp.js} +8 -8
- package/dist/chunks/{schema-ss6cgsgk.js → plugin-gn5zcm9s.js} +20 -21
- package/dist/chunks/{schema-3qwqbjqh.js → plugin-gr50ewac.js} +15 -15
- package/dist/chunks/{schema-tg7s7b5t.js → plugin-gxs71cxp.js} +4 -4
- package/dist/chunks/{schema-jdfneqs4.js → plugin-h2w0evjw.js} +52 -61
- package/dist/chunks/{schema-954e8f6b.js → plugin-h2yyaxhq.js} +28 -30
- package/dist/chunks/{schema-18g55aa2.js → plugin-h3gq0p8j.js} +8 -119
- package/dist/chunks/{schema-v8mak0jw.js → plugin-h6y5cyye.js} +13 -10
- package/dist/chunks/{schema-cx89w8t7.js → plugin-hc7jz7r9.js} +55 -61
- package/dist/chunks/{schema-3k1df4cf.js → plugin-hccd5xc6.js} +4 -4
- package/dist/chunks/{schema-827fdamw.js → plugin-hh9dw27j.js} +13 -13
- package/dist/chunks/{schema-y7rptanb.js → plugin-hnb0d39k.js} +22 -33
- package/dist/chunks/{schema-ynddwxng.js → plugin-hr807t1y.js} +8 -8
- package/dist/chunks/{schema-2n7wa7sq.js → plugin-hva22j4a.js} +19 -19
- package/dist/chunks/{schema-qzntb7s5.js → plugin-hw1j2f02.js} +9 -9
- package/dist/chunks/{schema-xnegq722.js → plugin-hx394b5m.js} +36 -47
- package/dist/chunks/{schema-7wkzsx5z.js → plugin-hy66zyk1.js} +21 -21
- package/dist/chunks/{schema-r17fbvme.js → plugin-j1zpf99x.js} +7 -7
- package/dist/chunks/{schema-tr8x705m.js → plugin-j376ae4e.js} +5 -5
- package/dist/chunks/{schema-j9nxzz3g.js → plugin-j9nxzz3g.js} +3 -3
- package/dist/chunks/{schema-5zpqhmp2.js → plugin-jfcqwqwp.js} +6 -6
- package/dist/chunks/{schema-csd7ebkm.js → plugin-jgsj3drs.js} +40 -41
- package/dist/chunks/{schema-5n0rnk8e.js → plugin-jkdcm5hg.js} +4 -4
- package/dist/chunks/{schema-p4w1989n.js → plugin-jsjkdva5.js} +21 -25
- package/dist/chunks/{schema-3maza8nj.js → plugin-jwcrseny.js} +24 -24
- package/dist/chunks/{schema-44pmzq9c.js → plugin-jxd6f16v.js} +2 -2
- package/dist/chunks/{schema-y71c85jv.js → plugin-jz1wtjz3.js} +5 -5
- package/dist/chunks/{schema-7d2a7xbs.js → plugin-k151g6mf.js} +5 -5
- package/dist/chunks/{schema-3vp9g4px.js → plugin-k2qbgnm5.js} +16 -16
- package/dist/chunks/{schema-2g5fs7wp.js → plugin-k3zq5bxc.js} +27 -36
- package/dist/chunks/{schema-rkbq4mr3.js → plugin-k8p04dbv.js} +12 -12
- package/dist/chunks/{schema-7kr66rt3.js → plugin-kh8gdsej.js} +55 -92
- package/dist/chunks/{schema-vmqe41cb.js → plugin-kj9n5bvh.js} +4 -4
- package/dist/chunks/{schema-0069kg3w.js → plugin-ksw9nvwk.js} +33 -34
- package/dist/chunks/{schema-kt3bjfbg.js → plugin-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schema-kzczzf4v.js → plugin-kzczzf4v.js} +1 -1
- package/dist/chunks/{schema-ep6pe98a.js → plugin-kzdam8c6.js} +7 -7
- package/dist/chunks/{schema-m1714858.js → plugin-m1714858.js} +1 -1
- package/dist/chunks/{schema-nc6ym85v.js → plugin-m22qpjt0.js} +43 -43
- package/dist/chunks/plugin-m28a2cxj.js +45 -0
- package/dist/chunks/{schema-rgr58pg0.js → plugin-m3vj42yh.js} +11 -11
- package/dist/chunks/{schema-an38jetd.js → plugin-m84ty610.js} +15 -15
- package/dist/chunks/{schema-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-8z6m94af.js → plugin-mb7mbhnz.js} +3 -3
- package/dist/chunks/{schema-p7s5ympt.js → plugin-mgx795sg.js} +34 -42
- package/dist/chunks/{schema-a2y6he6z.js → plugin-mkqdp8ha.js} +8 -8
- package/dist/chunks/{schema-s1d5m1r1.js → plugin-mmv5kgnn.js} +11 -11
- package/dist/chunks/{schema-y329tfma.js → plugin-mrba6hw6.js} +8 -8
- package/dist/chunks/{schema-1bmqe60m.js → plugin-mvfgry4c.js} +13 -13
- package/dist/chunks/{schema-vjrqr51s.js → plugin-mzy2axmh.js} +3 -3
- package/dist/chunks/{schema-6r3e2m86.js → plugin-n28cn2fs.js} +6 -326
- package/dist/chunks/{schema-96ahmd6x.js → plugin-n29tdv07.js} +24 -24
- package/dist/chunks/{schema-wdwt8pse.js → plugin-n33wks76.js} +35 -78
- package/dist/chunks/{schema-7cfarfc9.js → plugin-n995p2xd.js} +29 -29
- package/dist/chunks/{schema-hrs1my6p.js → plugin-nf9zancy.js} +21 -21
- package/dist/chunks/{schema-056gbxz2.js → plugin-nvrmqqyc.js} +43 -46
- package/dist/chunks/{schema-mpzzt3bk.js → plugin-p1g7zq4e.js} +12 -12
- package/dist/chunks/{schema-1yq9hg58.js → plugin-p7vhpwh8.js} +5 -5
- package/dist/chunks/{schema-z4be597q.js → plugin-pdyefe2s.js} +16 -16
- package/dist/chunks/{schema-yfd5yn1x.js → plugin-pjn7nv2s.js} +57 -60
- package/dist/chunks/{schema-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{schema-gx16d8rj.js → plugin-pnwsrq7c.js} +8 -8
- package/dist/chunks/{schema-tc429zzg.js → plugin-ps7x4nfx.js} +40 -53
- package/dist/chunks/{schema-0cdjmvxc.js → plugin-psa3qbev.js} +11 -11
- package/dist/chunks/{schema-dg5naf6e.js → plugin-px7qpgcn.js} +4 -4
- package/dist/chunks/{schema-0djc5t6x.js → plugin-py5xaqhw.js} +22 -22
- package/dist/chunks/{schema-610gd2w6.js → plugin-qchry0bm.js} +19 -17
- package/dist/chunks/{schema-hrp8tsee.js → plugin-qeza7szv.js} +25 -28
- package/dist/chunks/{schema-8r9nj4s8.js → plugin-qkc3z5ds.js} +4 -4
- package/dist/chunks/{schema-qp7r0hxv.js → plugin-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-dgnwfmhp.js → plugin-qqd78179.js} +15 -15
- package/dist/chunks/{schema-qqvy8y24.js → plugin-qqvy8y24.js} +1 -1
- package/dist/chunks/{schema-hqtkd67t.js → plugin-qsxr0pb6.js} +11 -11
- package/dist/chunks/plugin-r21r83t2.js +265 -0
- package/dist/chunks/{schema-p9x26950.js → plugin-r2jsee34.js} +8 -8
- package/dist/chunks/{schema-tkxx25dy.js → plugin-ranh0xe7.js} +4 -4
- package/dist/chunks/{schema-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-177t8xde.js → plugin-rd9wcvfd.js} +5 -5
- package/dist/chunks/{schema-jtnps1zs.js → plugin-rgc9cx3e.js} +9 -4
- package/dist/chunks/{schema-2wy6zzm4.js → plugin-rh4e39b1.js} +5 -5
- package/dist/chunks/{schema-qnqasnye.js → plugin-rmv7fhs4.js} +6 -6
- package/dist/chunks/{schema-1vp6kgjq.js → plugin-rsh0a03v.js} +27 -35
- package/dist/chunks/{schema-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schema-wrfejyj7.js → plugin-rx91prjf.js} +11 -11
- package/dist/chunks/{schema-1dgxpnnn.js → plugin-s077j9hd.js} +41 -45
- package/dist/chunks/{schema-2p60zmnr.js → plugin-s1ba0vj0.js} +2 -2
- package/dist/chunks/{schema-0xaphmx4.js → plugin-s8qtxmzm.js} +19 -4
- package/dist/chunks/{schema-sa3fpqfw.js → plugin-sa3fpqfw.js} +2 -2
- package/dist/chunks/{schema-sbya78hr.js → plugin-sbya78hr.js} +1 -1
- package/dist/chunks/{schema-vb80j1wh.js → plugin-sbz71ybr.js} +3 -3
- package/dist/chunks/{schema-61qraad9.js → plugin-scmk72rv.js} +5 -5
- package/dist/chunks/{schema-0j7gp832.js → plugin-sqjzf8x2.js} +4 -4
- package/dist/chunks/{schema-94e33dpz.js → plugin-stbett4v.js} +3 -3
- package/dist/chunks/{schema-svcy3p9a.js → plugin-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-5373j5vs.js → plugin-syxe2jw8.js} +6 -6
- package/dist/chunks/{schema-531yazj3.js → plugin-t5tepyg2.js} +9 -9
- package/dist/chunks/{schema-9g28e2s0.js → plugin-t70bn8z7.js} +12 -12
- package/dist/chunks/{schema-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-4byhtres.js → plugin-tjyxzeh0.js} +14 -14
- package/dist/chunks/{schema-79q7t6vk.js → plugin-tssnwzvm.js} +45 -50
- package/dist/chunks/{schema-49v9szp5.js → plugin-tvfn97n0.js} +9 -10
- package/dist/chunks/plugin-tvtps2q9.js +40 -0
- package/dist/chunks/{schema-twssxy5n.js → plugin-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-1xr65f63.js → plugin-ty825d7j.js} +5 -5
- package/dist/chunks/{schema-pkyxhtt8.js → plugin-v055br61.js} +4 -4
- package/dist/chunks/{schema-xfkjnhsk.js → plugin-v1nhkc67.js} +11 -11
- package/dist/chunks/{schema-v2r1d0zg.js → plugin-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-qq0q7pz9.js → plugin-v6ffavxp.js} +18 -13
- package/dist/chunks/{schema-51d35nkj.js → plugin-v80n1jgs.js} +6 -6
- package/dist/chunks/plugin-v9nnbbtp.js +69 -0
- package/dist/chunks/{schema-9sy862gz.js → plugin-v9x69s9r.js} +12 -12
- package/dist/chunks/{schema-vw7pb86b.js → plugin-vactc6jv.js} +37 -37
- package/dist/chunks/plugin-van5qev3.js +85 -0
- package/dist/chunks/{schema-szya7jty.js → plugin-vb3hc0dy.js} +27 -27
- package/dist/chunks/{schema-6cnr43q5.js → plugin-veq7nxyb.js} +18 -18
- package/dist/chunks/{schema-vjf35v1f.js → plugin-vjf35v1f.js} +1 -1
- package/dist/chunks/{schema-009ad18z.js → plugin-vnepjky2.js} +21 -21
- package/dist/chunks/{schema-17wpx1f8.js → plugin-vntx4tw2.js} +16 -16
- package/dist/chunks/{schema-aq1dqpx8.js → plugin-vz9qepft.js} +27 -30
- package/dist/chunks/{schema-z78ex2z3.js → plugin-w2sgeva4.js} +9 -24
- package/dist/chunks/{schema-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-z9e79eck.js → plugin-w7zjgm3x.js} +12 -12
- package/dist/chunks/{schema-x4w59bsh.js → plugin-w8a1xme7.js} +18 -18
- package/dist/chunks/{schema-9nh708zh.js → plugin-w986w4hx.js} +6 -6
- package/dist/chunks/{schema-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{schema-hmcbsnb6.js → plugin-wd8v34mw.js} +5 -5
- package/dist/chunks/{schema-nx4vzyjd.js → plugin-wegkxhrn.js} +2 -2
- package/dist/chunks/{schema-k3cx6fhe.js → plugin-wfdx5ztx.js} +4 -4
- package/dist/chunks/{schema-cbqrfj54.js → plugin-wg3vpxnx.js} +5 -5
- package/dist/chunks/{schema-wnhgecwx.js → plugin-wnhgecwx.js} +1 -1
- package/dist/chunks/{schema-wr3re1en.js → plugin-wr3re1en.js} +1 -1
- package/dist/chunks/{schema-sh8kb457.js → plugin-ww36sbnk.js} +5 -6
- package/dist/chunks/{schema-t1r3r4xh.js → plugin-x0z7edbs.js} +18 -18
- package/dist/chunks/{schema-a5fx33f2.js → plugin-x4mcewfn.js} +8 -8
- package/dist/chunks/{schema-9hm59r1c.js → plugin-x7daqgzn.js} +48 -42
- package/dist/chunks/{schema-4jd8rbj6.js → plugin-x8n516ga.js} +9 -9
- package/dist/chunks/{schema-51nz7m1t.js → plugin-xa4rzg62.js} +50 -55
- package/dist/chunks/{schema-b292epq5.js → plugin-xbtkckw0.js} +32 -32
- package/dist/chunks/{schema-a2xw24t4.js → plugin-xd4rj5dr.js} +17 -17
- package/dist/chunks/{schema-sbxckrs6.js → plugin-xeb6r8mn.js} +78 -78
- package/dist/chunks/plugin-xjr6c8m4.js +37 -0
- package/dist/chunks/{schema-c6x7d2ts.js → plugin-xmx7xj34.js} +4 -4
- package/dist/chunks/{schema-hqerns6c.js → plugin-xnw3wznc.js} +15 -9
- package/dist/chunks/{schema-6vwb70w2.js → plugin-xpbztm1g.js} +33 -30
- package/dist/chunks/{schema-s46s4q5z.js → plugin-xqeg9bew.js} +11 -11
- package/dist/chunks/{schema-wgtjsce3.js → plugin-xr2zjevv.js} +2 -2
- package/dist/chunks/{schema-k3ysz89m.js → plugin-xysn4frr.js} +11 -11
- package/dist/chunks/{schema-p76d4538.js → plugin-xz3qdgg9.js} +6 -6
- package/dist/chunks/{schema-vba4zwdc.js → plugin-y2bhwy3z.js} +9 -9
- package/dist/chunks/{schema-1e1dknnq.js → plugin-y4n6pw34.js} +4 -4
- package/dist/chunks/{schema-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-msd2a3qm.js → plugin-ybws1qgk.js} +4 -4
- package/dist/chunks/{schema-074zz3d2.js → plugin-yfzjcqwq.js} +18 -19
- package/dist/chunks/{schema-vm1w8k2h.js → plugin-ygsqpktb.js} +31 -33
- package/dist/chunks/{schema-4a220kpg.js → plugin-yj0rtb4n.js} +44 -67
- package/dist/chunks/{schema-yr705xyq.js → plugin-yr705xyq.js} +1 -1
- package/dist/chunks/{schema-yvtc2x31.js → plugin-yvtc2x31.js} +1 -1
- package/dist/chunks/{schema-c9kma9ds.js → plugin-z34m5vvf.js} +11 -11
- package/dist/chunks/{schema-b78t38vn.js → plugin-zbnm3t1v.js} +11 -11
- package/dist/chunks/{schema-h2h7ybtz.js → plugin-zhwa4vsz.js} +30 -30
- package/dist/chunks/{schema-75w632t3.js → plugin-znwf6q4v.js} +80 -44
- package/dist/chunks/{schema-0x221h4h.js → plugin-zq70qzgy.js} +30 -31
- package/dist/chunks/plugin-zt1atjsr.js +82 -0
- package/dist/chunks/{schema-4vcrnpx2.js → plugin-zxpyjp51.js} +9 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +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 +133 -132
- package/dist/config/plugin/command.js +234 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +6 -2
- 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 +143 -142
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -432
- 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 +107 -108
- package/dist/environment/exec-defaults.js +5 -3
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +113 -111
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +157 -156
- package/dist/file-mutation.js +108 -107
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -160
- 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 -244
- package/dist/filesystem/protected.js +2 -4
- package/dist/filesystem/search.js +115 -114
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -111
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- 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 -423
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -420
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +109 -108
- package/dist/mcp/connection.js +106 -105
- package/dist/mcp/index.js +124 -123
- package/dist/mcp/instructions.js +183 -182
- package/dist/mcp/oauth.js +92 -103
- package/dist/mcp/socket-client.js +2 -4
- package/dist/mcp/stdio.js +104 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +117 -116
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -237
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -399
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +131 -129
- package/dist/plugin/optimize.js +4 -4
- 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 +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 +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 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +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 -139
- package/dist/plugin/provider/local.js +137 -136
- 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 -139
- package/dist/plugin/provider/openai-context-caps.js +106 -103
- package/dist/plugin/provider/openai.js +135 -132
- 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 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -234
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +412 -409
- 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 -7
- package/dist/plugin/websearch/firecrawl.js +9 -8
- package/dist/plugin/websearch/index.js +10 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -8
- package/dist/plugin/websearch/provider.js +8 -0
- package/dist/plugin/websearch/tavily.js +7 -6
- package/dist/plugin/websearch/tinyfish.js +9 -8
- package/dist/plugin.js +245 -244
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +114 -114
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -242
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -248
- 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 -199
- 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 +245 -244
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +202 -201
- 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 +252 -251
- 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 +5 -5
- 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 -181
- package/dist/session/shell.js +145 -144
- 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 -230
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +202 -201
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +236 -235
- package/dist/session/usage.js +3 -3
- package/dist/session.js +237 -236
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -146
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -179
- package/dist/tool/plugin/artifact.js +230 -229
- package/dist/tool/plugin/edit.js +167 -166
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -169
- package/dist/tool/plugin/grep.js +170 -168
- package/dist/tool/plugin/image-generate.js +241 -240
- package/dist/tool/plugin/mcp-resource.js +164 -163
- package/dist/tool/plugin/opencode.js +163 -162
- package/dist/tool/plugin/patch.js +168 -167
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -171
- package/dist/tool/plugin/schedule.js +249 -248
- package/dist/tool/plugin/shell.js +235 -234
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +238 -237
- package/dist/tool/plugin/todo.js +151 -151
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -167
- package/dist/tool/read-filesystem.js +116 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +118 -0
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/config/plugin/entry-observer.d.ts +15 -0
- package/dist/types/environment/exec-defaults.d.ts +3 -1
- package/dist/types/environment/index.d.ts +1 -4
- package/dist/types/filesystem/protected.d.ts +0 -2
- 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/instructions/index.d.ts +16 -0
- package/dist/types/mcp/index.d.ts +3 -9
- package/dist/types/mcp/oauth.d.ts +1 -44
- package/dist/types/permission.d.ts +11 -0
- package/dist/types/persistent-pty/daemon.d.ts +10 -16
- package/dist/types/persistent-pty/index.d.ts +3 -16
- package/dist/types/plugin/internal.d.ts +16 -2
- package/dist/types/plugin/module.d.ts +13 -6
- 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/types/plugin/websearch/provider.d.ts +12 -0
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/repository-cache.d.ts +1 -1
- package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
- package/dist/types/tool/runtime.d.ts +2 -2
- package/dist/types/tool/search.d.ts +9 -0
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +6 -6
- 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 +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +10 -9
- package/dist/chunks/schema-0s1qz2vx.js +0 -96
- package/dist/chunks/schema-2cwesr55.js +0 -80
- package/dist/chunks/schema-76cb1hcw.js +0 -63
- package/dist/chunks/schema-hpg1pkwy.js +0 -20
- package/dist/chunks/schema-me0dhgxs.js +0 -18
- package/dist/chunks/schema-p79bcmnw.js +0 -26
- package/dist/chunks/schema-pt1rbhsc.js +0 -81
- package/dist/chunks/schema-py00tmr0.js +0 -80
- package/dist/chunks/schema-qhn8d2qf.js +0 -265
- package/dist/chunks/schema-svmsgnt5.js +0 -90
- /package/dist/chunks/{schema-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kah00gy.js → plugin-1kah00gy.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4qk9sjk2.js → plugin-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → plugin-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6agm2x70.js → plugin-6agm2x70.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → plugin-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → plugin-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-ean2d8b5.js → plugin-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → plugin-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → plugin-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-nh4v3znn.js → plugin-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → plugin-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-syrav9an.js → plugin-syrav9an.js} +0 -0
- /package/dist/chunks/{schema-t03h4f5z.js → plugin-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schema-ty7weeps.js → plugin-ty7weeps.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-vtarvj67.js → plugin-vtarvj67.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z0h12gs8.js → plugin-z0h12gs8.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type LanguageModelV3, type LanguageModelV3CallOptions, type
|
|
1
|
+
import { type LanguageModelV3, type LanguageModelV3CallOptions, type LanguageModelV3StreamPart } from "@ai-sdk/provider";
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import type { OpenAIConfig } from "./openai-config.js";
|
|
4
4
|
import type { OpenAIResponsesIncludeOptions } from "./openai-responses-api-types.js";
|
|
@@ -11,101 +11,7 @@ export declare class OpenAIResponsesLanguageModel implements LanguageModelV3 {
|
|
|
11
11
|
readonly supportedUrls: Record<string, RegExp[]>;
|
|
12
12
|
get provider(): string;
|
|
13
13
|
private getArgs;
|
|
14
|
-
doGenerate(
|
|
15
|
-
content: LanguageModelV3Content[];
|
|
16
|
-
finishReason: {
|
|
17
|
-
unified: "content-filter" | "error" | "length" | "other" | "stop" | "tool-calls";
|
|
18
|
-
raw: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
usage: {
|
|
21
|
-
inputTokens: {
|
|
22
|
-
total: number;
|
|
23
|
-
noCache: number | undefined;
|
|
24
|
-
cacheRead: number | undefined;
|
|
25
|
-
cacheWrite: undefined;
|
|
26
|
-
};
|
|
27
|
-
outputTokens: {
|
|
28
|
-
total: number;
|
|
29
|
-
text: undefined;
|
|
30
|
-
reasoning: number | undefined;
|
|
31
|
-
};
|
|
32
|
-
raw: {
|
|
33
|
-
input_tokens: number;
|
|
34
|
-
input_tokens_details?: {
|
|
35
|
-
cached_tokens?: number | null | undefined;
|
|
36
|
-
} | null | undefined;
|
|
37
|
-
output_tokens: number;
|
|
38
|
-
output_tokens_details?: {
|
|
39
|
-
reasoning_tokens?: number | null | undefined;
|
|
40
|
-
} | null | undefined;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
request: {
|
|
44
|
-
body: {
|
|
45
|
-
model: string;
|
|
46
|
-
input: import("./openai-responses-api-types.js").OpenAIResponsesInput;
|
|
47
|
-
temperature: number | undefined;
|
|
48
|
-
top_p: number | undefined;
|
|
49
|
-
max_output_tokens: number | undefined;
|
|
50
|
-
text?: {
|
|
51
|
-
format?: {
|
|
52
|
-
type: string;
|
|
53
|
-
strict: boolean;
|
|
54
|
-
name: string;
|
|
55
|
-
description: string | undefined;
|
|
56
|
-
schema: any;
|
|
57
|
-
} | {
|
|
58
|
-
strict?: undefined;
|
|
59
|
-
name?: undefined;
|
|
60
|
-
description?: undefined;
|
|
61
|
-
schema?: undefined;
|
|
62
|
-
type: string;
|
|
63
|
-
} | undefined;
|
|
64
|
-
verbosity?: "high" | "low" | "medium" | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
max_tool_calls: number | null | undefined;
|
|
67
|
-
metadata: any;
|
|
68
|
-
parallel_tool_calls: boolean | null | undefined;
|
|
69
|
-
previous_response_id: string | null | undefined;
|
|
70
|
-
store: boolean;
|
|
71
|
-
user: string | null | undefined;
|
|
72
|
-
instructions: string | null | undefined;
|
|
73
|
-
service_tier: "auto" | "flex" | "priority" | null | undefined;
|
|
74
|
-
include: OpenAIResponsesIncludeOptions;
|
|
75
|
-
prompt_cache_key: string | null | undefined;
|
|
76
|
-
safety_identifier: string | null | undefined;
|
|
77
|
-
top_logprobs: number | undefined;
|
|
78
|
-
reasoning?: {
|
|
79
|
-
effort?: string | undefined;
|
|
80
|
-
summary?: string | undefined;
|
|
81
|
-
} | undefined;
|
|
82
|
-
tools: import("./openai-responses-api-types.js").OpenAIResponsesTool[] | undefined;
|
|
83
|
-
tool_choice: "auto" | "none" | "required" | {
|
|
84
|
-
type: "file_search";
|
|
85
|
-
} | {
|
|
86
|
-
type: "web_search_preview";
|
|
87
|
-
} | {
|
|
88
|
-
type: "web_search";
|
|
89
|
-
} | {
|
|
90
|
-
type: "function";
|
|
91
|
-
name: string;
|
|
92
|
-
} | {
|
|
93
|
-
type: "code_interpreter";
|
|
94
|
-
} | {
|
|
95
|
-
type: "image_generation";
|
|
96
|
-
} | undefined;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
response: {
|
|
100
|
-
id: string;
|
|
101
|
-
timestamp: Date;
|
|
102
|
-
modelId: string;
|
|
103
|
-
headers: Record<string, string> | undefined;
|
|
104
|
-
body: unknown;
|
|
105
|
-
};
|
|
106
|
-
providerMetadata: SharedV3ProviderMetadata;
|
|
107
|
-
warnings: SharedV3Warning[];
|
|
108
|
-
}>;
|
|
14
|
+
doGenerate(_options: LanguageModelV3CallOptions): Promise<never>;
|
|
109
15
|
doStream(options: LanguageModelV3CallOptions): Promise<{
|
|
110
16
|
stream: import("stream/web").ReadableStream<LanguageModelV3StreamPart>;
|
|
111
17
|
request: {
|
|
@@ -17,70 +17,3 @@ export declare const codeInterpreterArgsSchema: z.ZodObject<{
|
|
|
17
17
|
fileIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
18
|
}, z.core.$strip>]>>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
|
-
type CodeInterpreterArgs = {
|
|
21
|
-
/**
|
|
22
|
-
* The code interpreter container.
|
|
23
|
-
* Can be a container ID
|
|
24
|
-
* or an object that specifies uploaded file IDs to make available to your code.
|
|
25
|
-
*/
|
|
26
|
-
container?: string | {
|
|
27
|
-
fileIds?: string[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export declare const codeInterpreterToolFactory: import("@ai-sdk/provider-utils").ProviderToolFactoryWithOutputSchema<{
|
|
31
|
-
/**
|
|
32
|
-
* The code to run, or null if not available.
|
|
33
|
-
*/
|
|
34
|
-
code?: string | null;
|
|
35
|
-
/**
|
|
36
|
-
* The ID of the container used to run the code.
|
|
37
|
-
*/
|
|
38
|
-
containerId: string;
|
|
39
|
-
}, {
|
|
40
|
-
/**
|
|
41
|
-
* The outputs generated by the code interpreter, such as logs or images.
|
|
42
|
-
* Can be null if no outputs are available.
|
|
43
|
-
*/
|
|
44
|
-
outputs?: Array<{
|
|
45
|
-
type: "logs";
|
|
46
|
-
/**
|
|
47
|
-
* The logs output from the code interpreter.
|
|
48
|
-
*/
|
|
49
|
-
logs: string;
|
|
50
|
-
} | {
|
|
51
|
-
type: "image";
|
|
52
|
-
/**
|
|
53
|
-
* The URL of the image output from the code interpreter.
|
|
54
|
-
*/
|
|
55
|
-
url: string;
|
|
56
|
-
}> | null;
|
|
57
|
-
}, CodeInterpreterArgs>;
|
|
58
|
-
export declare const codeInterpreter: (args?: CodeInterpreterArgs) => import("@ai-sdk/provider-utils").Tool<{
|
|
59
|
-
/**
|
|
60
|
-
* The code to run, or null if not available.
|
|
61
|
-
*/
|
|
62
|
-
code?: string | null;
|
|
63
|
-
/**
|
|
64
|
-
* The ID of the container used to run the code.
|
|
65
|
-
*/
|
|
66
|
-
containerId: string;
|
|
67
|
-
}, {
|
|
68
|
-
/**
|
|
69
|
-
* The outputs generated by the code interpreter, such as logs or images.
|
|
70
|
-
* Can be null if no outputs are available.
|
|
71
|
-
*/
|
|
72
|
-
outputs?: Array<{
|
|
73
|
-
type: "logs";
|
|
74
|
-
/**
|
|
75
|
-
* The logs output from the code interpreter.
|
|
76
|
-
*/
|
|
77
|
-
logs: string;
|
|
78
|
-
} | {
|
|
79
|
-
type: "image";
|
|
80
|
-
/**
|
|
81
|
-
* The URL of the image output from the code interpreter.
|
|
82
|
-
*/
|
|
83
|
-
url: string;
|
|
84
|
-
}> | null;
|
|
85
|
-
}>;
|
|
86
|
-
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { OpenAIResponsesFileSearchToolComparisonFilter, OpenAIResponsesFileSearchToolCompoundFilter } from "../openai-responses-api-types.js";
|
|
2
1
|
import { z } from "zod/v4";
|
|
3
2
|
export declare const fileSearchArgsSchema: z.ZodObject<{
|
|
4
3
|
vectorStoreIds: z.ZodArray<z.ZodString>;
|
|
@@ -30,66 +29,3 @@ export declare const fileSearchOutputSchema: z.ZodObject<{
|
|
|
30
29
|
text: z.ZodString;
|
|
31
30
|
}, z.core.$strip>>>;
|
|
32
31
|
}, z.core.$strip>;
|
|
33
|
-
export declare const fileSearch: import("@ai-sdk/provider-utils").ProviderToolFactoryWithOutputSchema<{}, {
|
|
34
|
-
/**
|
|
35
|
-
* The search query to execute.
|
|
36
|
-
*/
|
|
37
|
-
queries: string[];
|
|
38
|
-
/**
|
|
39
|
-
* The results of the file search tool call.
|
|
40
|
-
*/
|
|
41
|
-
results: null | {
|
|
42
|
-
/**
|
|
43
|
-
* Set of 16 key-value pairs that can be attached to an object.
|
|
44
|
-
* This can be useful for storing additional information about the object
|
|
45
|
-
* in a structured format, and querying for objects via API or the dashboard.
|
|
46
|
-
* Keys are strings with a maximum length of 64 characters.
|
|
47
|
-
* Values are strings with a maximum length of 512 characters, booleans, or numbers.
|
|
48
|
-
*/
|
|
49
|
-
attributes: Record<string, unknown>;
|
|
50
|
-
/**
|
|
51
|
-
* The unique ID of the file.
|
|
52
|
-
*/
|
|
53
|
-
fileId: string;
|
|
54
|
-
/**
|
|
55
|
-
* The name of the file.
|
|
56
|
-
*/
|
|
57
|
-
filename: string;
|
|
58
|
-
/**
|
|
59
|
-
* The relevance score of the file - a value between 0 and 1.
|
|
60
|
-
*/
|
|
61
|
-
score: number;
|
|
62
|
-
/**
|
|
63
|
-
* The text that was retrieved from the file.
|
|
64
|
-
*/
|
|
65
|
-
text: string;
|
|
66
|
-
}[];
|
|
67
|
-
}, {
|
|
68
|
-
/**
|
|
69
|
-
* List of vector store IDs to search through.
|
|
70
|
-
*/
|
|
71
|
-
vectorStoreIds: string[];
|
|
72
|
-
/**
|
|
73
|
-
* Maximum number of search results to return. Defaults to 10.
|
|
74
|
-
*/
|
|
75
|
-
maxNumResults?: number;
|
|
76
|
-
/**
|
|
77
|
-
* Ranking options for the search.
|
|
78
|
-
*/
|
|
79
|
-
ranking?: {
|
|
80
|
-
/**
|
|
81
|
-
* The ranker to use for the file search.
|
|
82
|
-
*/
|
|
83
|
-
ranker?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The score threshold for the file search, a number between 0 and 1.
|
|
86
|
-
* Numbers closer to 1 will attempt to return only the most relevant results,
|
|
87
|
-
* but may return fewer results.
|
|
88
|
-
*/
|
|
89
|
-
scoreThreshold?: number;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* A filter to apply.
|
|
93
|
-
*/
|
|
94
|
-
filters?: OpenAIResponsesFileSearchToolComparisonFilter | OpenAIResponsesFileSearchToolCompoundFilter;
|
|
95
|
-
}>;
|
|
@@ -92,3 +92,19 @@ export declare function diffByKey<A>(previous: ReadonlyArray<A>, current: Readon
|
|
|
92
92
|
readonly current: A;
|
|
93
93
|
}>;
|
|
94
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* Renders a keyed list update: added, changed, and removed entries as deltas,
|
|
97
|
+
* or the full list restated when no entry differs.
|
|
98
|
+
*/
|
|
99
|
+
export declare function listUpdate<A>(input: {
|
|
100
|
+
readonly key: (value: A) => string;
|
|
101
|
+
readonly changed: (previous: A, current: A) => boolean;
|
|
102
|
+
readonly entries: (values: ReadonlyArray<A>) => ReadonlyArray<string>;
|
|
103
|
+
readonly render: (values: ReadonlyArray<A>) => string;
|
|
104
|
+
readonly text: {
|
|
105
|
+
readonly replaced: string;
|
|
106
|
+
readonly added: string;
|
|
107
|
+
readonly changed: string;
|
|
108
|
+
readonly removed: (keys: string) => string;
|
|
109
|
+
};
|
|
110
|
+
}): (previous: ReadonlyArray<A>, current: ReadonlyArray<A>) => string;
|
|
@@ -69,23 +69,17 @@ export interface ServerInstructions {
|
|
|
69
69
|
readonly server: ServerName;
|
|
70
70
|
readonly instructions: string;
|
|
71
71
|
}
|
|
72
|
-
/**
|
|
72
|
+
/** Checked MCP tool definition tagged with the server that owns it. */
|
|
73
73
|
export type Tool = McpClient.Tool & {
|
|
74
74
|
readonly server: ServerName;
|
|
75
75
|
readonly codemode?: boolean;
|
|
76
76
|
};
|
|
77
77
|
export type ToolResultContent = McpClient.CallToolContent;
|
|
78
|
-
export type ToolResult = McpClient.CallToolResult
|
|
79
|
-
readonly server: ServerName;
|
|
80
|
-
readonly tool: string;
|
|
81
|
-
};
|
|
78
|
+
export type ToolResult = McpClient.CallToolResult;
|
|
82
79
|
export type Prompt = McpClient.Prompt & {
|
|
83
80
|
readonly server: ServerName;
|
|
84
81
|
};
|
|
85
|
-
export type PromptResult = McpClient.GetPromptResult
|
|
86
|
-
readonly server: ServerName;
|
|
87
|
-
readonly name: string;
|
|
88
|
-
};
|
|
82
|
+
export type PromptResult = McpClient.GetPromptResult;
|
|
89
83
|
export declare const Resource: Schema.Struct<{
|
|
90
84
|
readonly server: Schema.String;
|
|
91
85
|
readonly name: Schema.String;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as McpOAuth from "./oauth.js";
|
|
2
|
-
import { type FetchLike, type OAuthClientProvider, type
|
|
2
|
+
import { type FetchLike, type OAuthClientProvider, type StoredOAuthClientInformation } from "@modelcontextprotocol/client";
|
|
3
3
|
import { Effect } from "effect";
|
|
4
4
|
import { ConfigMCP } from "@opencode/schema/config/mcp";
|
|
5
5
|
import { Credential } from "../credential.js";
|
|
@@ -10,50 +10,7 @@ export declare const loggedFetch: (fields: {
|
|
|
10
10
|
readonly server: string;
|
|
11
11
|
readonly directory?: string;
|
|
12
12
|
}) => Effect.Effect<FetchLike, never, never>;
|
|
13
|
-
export declare const configuredDiscovery: (input: {
|
|
14
|
-
readonly config: typeof ConfigMCP.Remote.Type;
|
|
15
|
-
readonly fetchFn: FetchLike;
|
|
16
|
-
}) => Promise<OAuthDiscoveryState | undefined>;
|
|
17
|
-
export interface Store {
|
|
18
|
-
readonly tokens: () => Promise<StoredOAuthTokens | undefined>;
|
|
19
|
-
readonly saveTokens: (tokens: StoredOAuthTokens) => Promise<void>;
|
|
20
|
-
readonly clientInformation: () => Promise<StoredOAuthClientInformation | undefined>;
|
|
21
|
-
readonly saveClientInformation: (info: StoredOAuthClientInformation) => Promise<void>;
|
|
22
|
-
readonly codeVerifier: () => Promise<string | undefined>;
|
|
23
|
-
readonly saveCodeVerifier: (verifier: string) => Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
export interface Options {
|
|
26
|
-
readonly config: typeof ConfigMCP.Remote.Type;
|
|
27
|
-
readonly store: Store;
|
|
28
|
-
/** Absent on connect: the provider then refuses to register a client or redirect, ending in needs_auth. */
|
|
29
|
-
readonly redirect?: {
|
|
30
|
-
readonly url: string;
|
|
31
|
-
readonly state: string;
|
|
32
|
-
readonly open: (url: URL) => void | Promise<void>;
|
|
33
|
-
};
|
|
34
|
-
readonly clientMetadataUrl?: string;
|
|
35
|
-
readonly discovery?: OAuthDiscoveryState;
|
|
36
|
-
readonly invalidate?: OAuthClientProvider["invalidateCredentials"];
|
|
37
|
-
}
|
|
38
|
-
export declare const provider: (options: Options) => OAuthClientProvider;
|
|
39
|
-
export declare const memoryStore: () => Store;
|
|
40
13
|
export declare const clientFromCredential: (credential: Credential.OAuth) => StoredOAuthClientInformation | undefined;
|
|
41
|
-
export declare const toCredential: (input: {
|
|
42
|
-
readonly methodID: Integration.MethodID;
|
|
43
|
-
readonly serverUrl: string;
|
|
44
|
-
readonly tokens: StoredOAuthTokens;
|
|
45
|
-
readonly client: StoredOAuthClientInformation | undefined;
|
|
46
|
-
}) => {
|
|
47
|
-
readonly type: "oauth";
|
|
48
|
-
readonly methodID: string & import("effect/Brand").Brand<"Integration.MethodID">;
|
|
49
|
-
readonly refresh: string;
|
|
50
|
-
readonly access: string;
|
|
51
|
-
readonly expires: number;
|
|
52
|
-
readonly metadata?: {
|
|
53
|
-
readonly [x: string]: unknown;
|
|
54
|
-
} | undefined;
|
|
55
|
-
};
|
|
56
|
-
export declare const toTokens: (credential: Credential.OAuth) => StoredOAuthTokens;
|
|
57
14
|
export declare const connectProvider: (input: {
|
|
58
15
|
readonly config: typeof ConfigMCP.Remote.Type;
|
|
59
16
|
readonly integrationID: Integration.ID;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as Permission from "./permission.js";
|
|
2
2
|
import { Context, Effect, Schema } from "effect";
|
|
3
3
|
import { Permission } from "@opencode/schema/permission";
|
|
4
|
+
import type { Tool } from "@opencode/schema/tool";
|
|
4
5
|
import { Agent } from "./agent.js";
|
|
5
6
|
import { SessionErrors } from "./session/error.js";
|
|
6
7
|
import { SessionSchema } from "./session/schema.js";
|
|
@@ -46,6 +47,16 @@ export interface AssertInput extends Omit<Request, "id" | "message"> {
|
|
|
46
47
|
readonly id?: ID;
|
|
47
48
|
readonly agent?: Agent.ID;
|
|
48
49
|
}
|
|
50
|
+
/** The requester fields of a permission request made by a tool call. */
|
|
51
|
+
export declare const invocation: (context: Pick<Tool.Context, "sessionID" | "agent" | "messageID" | "id">) => {
|
|
52
|
+
sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
53
|
+
agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
54
|
+
source: {
|
|
55
|
+
type: "tool";
|
|
56
|
+
messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
57
|
+
id: string & import("effect/Brand").Brand<"Tool.CallID">;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
49
60
|
export interface ReplyInput {
|
|
50
61
|
readonly requestID: ID;
|
|
51
62
|
readonly reply: Reply;
|
|
@@ -241,6 +241,14 @@ export type StreamEvent = {
|
|
|
241
241
|
readonly type: "foreground_process_changed";
|
|
242
242
|
readonly process: string | null;
|
|
243
243
|
};
|
|
244
|
+
export type SubscribeInput = {
|
|
245
|
+
readonly cursor: number;
|
|
246
|
+
readonly attachmentID: string;
|
|
247
|
+
readonly role: Role;
|
|
248
|
+
readonly takeover?: boolean;
|
|
249
|
+
readonly onEvent: (event: StreamEvent) => void;
|
|
250
|
+
readonly onEnd: () => void;
|
|
251
|
+
};
|
|
244
252
|
export type DaemonAttachment = {
|
|
245
253
|
readonly terminal: WireTerminal;
|
|
246
254
|
readonly role: Role;
|
|
@@ -270,14 +278,7 @@ export interface DaemonTransport {
|
|
|
270
278
|
readonly supports: (feature: string) => Effect.Effect<boolean, DaemonError>;
|
|
271
279
|
readonly shutdown: Effect.Effect<WireResponse | undefined, DaemonError>;
|
|
272
280
|
readonly handoff: Effect.Effect<Handoff | null, DaemonError>;
|
|
273
|
-
readonly subscribe: (id: number, input:
|
|
274
|
-
readonly cursor: number;
|
|
275
|
-
readonly attachmentID: string;
|
|
276
|
-
readonly role: Role;
|
|
277
|
-
readonly takeover?: boolean;
|
|
278
|
-
readonly onEvent: (event: StreamEvent) => void;
|
|
279
|
-
readonly onEnd: () => void;
|
|
280
|
-
}) => Effect.Effect<DaemonAttachment, DaemonError>;
|
|
281
|
+
readonly subscribe: (id: number, input: SubscribeInput) => Effect.Effect<DaemonAttachment, DaemonError>;
|
|
281
282
|
}
|
|
282
283
|
export declare const makeDaemonTransport: (root: string, initialID: string, binary?: (() => Promise<string>) | undefined, inherited?: Handoff | undefined) => Effect.Effect<{
|
|
283
284
|
request: (value: object, shouldStart?: any) => Effect.Effect<{
|
|
@@ -809,13 +810,6 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
|
|
|
809
810
|
ticket: string;
|
|
810
811
|
expiresAt: number;
|
|
811
812
|
} | null, DaemonError, never>;
|
|
812
|
-
subscribe: (terminalID: number, input:
|
|
813
|
-
readonly cursor: number;
|
|
814
|
-
readonly attachmentID: string;
|
|
815
|
-
readonly role: Role;
|
|
816
|
-
readonly takeover?: boolean;
|
|
817
|
-
readonly onEvent: (event: StreamEvent) => void;
|
|
818
|
-
readonly onEnd: () => void;
|
|
819
|
-
}) => Effect.Effect<DaemonAttachment, DaemonError, never>;
|
|
813
|
+
subscribe: (terminalID: number, input: SubscribeInput) => Effect.Effect<DaemonAttachment, DaemonError, never>;
|
|
820
814
|
}, DaemonError, import("effect/Scope").Scope>;
|
|
821
815
|
export {};
|
|
@@ -5,7 +5,7 @@ import { Session } from "@opencode/schema/session";
|
|
|
5
5
|
import { Bus } from "../bus.js";
|
|
6
6
|
import { Pty } from "@opencode/schema/pty";
|
|
7
7
|
import { Global } from "@opencode/util/global";
|
|
8
|
-
import { type Role, type
|
|
8
|
+
import { type DaemonAttachment, type Role, type SubscribeInput } from "./daemon.js";
|
|
9
9
|
export type { Role, StreamEvent } from "./daemon.js";
|
|
10
10
|
export { Handoff } from "@opencode/schema/persistent-pty";
|
|
11
11
|
export { available } from "#persistent-pty-binary";
|
|
@@ -26,13 +26,7 @@ export type Attachment = {
|
|
|
26
26
|
readonly info: Info;
|
|
27
27
|
readonly role: Role;
|
|
28
28
|
readonly generation: number;
|
|
29
|
-
readonly replay:
|
|
30
|
-
readonly requestedOffset: number;
|
|
31
|
-
readonly availableOffset: number;
|
|
32
|
-
readonly endOffset: number;
|
|
33
|
-
readonly truncated: boolean;
|
|
34
|
-
readonly data: Uint8Array;
|
|
35
|
-
};
|
|
29
|
+
readonly replay: DaemonAttachment["replay"];
|
|
36
30
|
readonly activate: () => void;
|
|
37
31
|
readonly detach: () => void;
|
|
38
32
|
};
|
|
@@ -82,14 +76,7 @@ export interface Interface {
|
|
|
82
76
|
readonly remove: (id: Pty.ID) => Effect.Effect<void, NotFoundError | UnavailableError>;
|
|
83
77
|
readonly shutdown: () => Effect.Effect<void, UnavailableError>;
|
|
84
78
|
readonly handoff: () => Effect.Effect<Handoff | null, UnavailableError>;
|
|
85
|
-
readonly attach: (id: Pty.ID, input:
|
|
86
|
-
readonly cursor: number;
|
|
87
|
-
readonly attachmentID: string;
|
|
88
|
-
readonly role: Role;
|
|
89
|
-
readonly takeover?: boolean;
|
|
90
|
-
readonly onEvent: (event: StreamEvent) => void;
|
|
91
|
-
readonly onEnd: () => void;
|
|
92
|
-
}) => Effect.Effect<Attachment, NotFoundError | UnavailableError>;
|
|
79
|
+
readonly attach: (id: Pty.ID, input: SubscribeInput) => Effect.Effect<Attachment, NotFoundError | UnavailableError>;
|
|
93
80
|
}
|
|
94
81
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/PersistentPty", Interface>;
|
|
95
82
|
export declare class Service extends Service_base {
|
|
@@ -60,6 +60,20 @@ export declare const requirements: LayerNode.Graph<HttpClient.HttpClient | impor
|
|
|
60
60
|
export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
|
|
61
61
|
export declare const guarded: ReadonlySet<string>;
|
|
62
62
|
export declare const list: () => Effect.Effect<{
|
|
63
|
-
pre:
|
|
64
|
-
|
|
63
|
+
pre: {
|
|
64
|
+
id: string;
|
|
65
|
+
effect: (host: import("@opencode/plugin/effect/plugin").Context) => Effect.Effect<void, never, Scope.Scope>;
|
|
66
|
+
revision: string;
|
|
67
|
+
source: {
|
|
68
|
+
type: "builtin";
|
|
69
|
+
};
|
|
70
|
+
}[];
|
|
71
|
+
post: {
|
|
72
|
+
id: string;
|
|
73
|
+
effect: (host: import("@opencode/plugin/effect/plugin").Context) => Effect.Effect<void, never, Scope.Scope>;
|
|
74
|
+
revision: string;
|
|
75
|
+
source: {
|
|
76
|
+
type: "builtin";
|
|
77
|
+
};
|
|
78
|
+
}[];
|
|
65
79
|
}, never, Requirements>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * as PluginModule from "./module.js";
|
|
2
|
+
import { type Source } from "@opencode/schema/plugin";
|
|
2
3
|
import { Npm } from "@opencode/util/npm";
|
|
3
4
|
import { Effect, Schema, Stream } from "effect";
|
|
4
5
|
import type { ConfigPluginSource } from "../config/plugin/source.js";
|
|
@@ -37,18 +38,24 @@ export declare const make: () => Effect.Effect<{
|
|
|
37
38
|
} | undefined;
|
|
38
39
|
revision: string;
|
|
39
40
|
source: {
|
|
40
|
-
type: "
|
|
41
|
-
path: string;
|
|
41
|
+
readonly type: "builtin";
|
|
42
42
|
} | {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
readonly type: "local";
|
|
44
|
+
readonly path: string;
|
|
45
|
+
} | {
|
|
46
|
+
readonly type: "sdk";
|
|
47
|
+
} | {
|
|
48
|
+
readonly type: "package";
|
|
49
|
+
readonly target: string;
|
|
50
|
+
readonly version?: string | undefined;
|
|
51
|
+
readonly outdated?: true | undefined;
|
|
52
|
+
readonly updating?: true | undefined;
|
|
47
53
|
};
|
|
48
54
|
effect: (host: import("@opencode/plugin/effect/plugin").Context) => Effect.Effect<void, never, import("effect/Scope").Scope>;
|
|
49
55
|
}, Npm.InstallFailedError | LoadError | import("@opencode/util/effect-flock").EffectFlock.LockError, Npm.Service>;
|
|
50
56
|
changes: () => Stream.Stream<void, never, never>;
|
|
51
57
|
}, never, import("effect/Scope").Scope | Watcher.Service | Config.Service>;
|
|
58
|
+
export declare function source(target: string, version?: string): Source;
|
|
52
59
|
declare const LoadError_base: Schema.Class<LoadError, Schema.TaggedStruct<"PluginModule.LoadError", {
|
|
53
60
|
readonly message: Schema.String;
|
|
54
61
|
readonly cause: Schema.optional<Schema.Defect>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { HttpClient } from "effect/http";
|
|
2
2
|
import { AppProcess } from "@opencode/util/process";
|
|
3
|
-
import { Bus } from "../../bus.js";
|
|
4
3
|
import { Credential } from "../../credential.js";
|
|
5
4
|
import { Provider } from "../../provider.js";
|
|
6
5
|
import { SharedCache } from "../../shared-cache.js";
|
|
7
6
|
export declare function make(endpoints?: {
|
|
8
7
|
resource: (name: string) => string;
|
|
9
8
|
management: string;
|
|
10
|
-
}): import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | AppProcess.Service | Credential.Service | Provider.Service | SharedCache.Service |
|
|
11
|
-
export declare const AzurePlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | AppProcess.Service | Credential.Service | Provider.Service | SharedCache.Service |
|
|
9
|
+
}): import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | AppProcess.Service | Credential.Service | Provider.Service | SharedCache.Service | import("../../bus.js").Service>;
|
|
10
|
+
export declare const AzurePlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | AppProcess.Service | Credential.Service | Provider.Service | SharedCache.Service | import("../../bus.js").Service>;
|
|
@@ -2,7 +2,6 @@ import { Effect, Schema } from "effect";
|
|
|
2
2
|
import { HttpClient } from "effect/http";
|
|
3
3
|
import { App } from "../../app.js";
|
|
4
4
|
import { Credential } from "../../credential.js";
|
|
5
|
-
import { Bus } from "../../bus.js";
|
|
6
5
|
import { Model } from "../../model.js";
|
|
7
6
|
import { Provider } from "../../provider.js";
|
|
8
7
|
declare const RemoteModel: Schema.Struct<{
|
|
@@ -17,7 +16,7 @@ declare const RemoteModel: Schema.Struct<{
|
|
|
17
16
|
}>>>;
|
|
18
17
|
}>;
|
|
19
18
|
type RemoteModel = typeof RemoteModel.Type;
|
|
20
|
-
export declare const ChatGPTPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Credential.Service | Provider.Service |
|
|
19
|
+
export declare const ChatGPTPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Credential.Service | Provider.Service | import("../../bus.js").Service>;
|
|
21
20
|
export declare function fetchModels(token: string, app: App.Info, baseURL?: string): Effect.Effect<{
|
|
22
21
|
readonly slug: string;
|
|
23
22
|
readonly display_name: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * as ClaudeIntegration from "./integration.js";
|
|
2
2
|
import type { Context } from "@opencode/plugin/effect/plugin";
|
|
3
3
|
import { Effect } from "effect";
|
|
4
|
-
import { Bus } from "../../../bus.js";
|
|
5
4
|
import type { ClaudeStatus } from "./claude/status.js";
|
|
6
5
|
export declare const METHOD_ID = "claude-login";
|
|
7
|
-
export declare const register: (ctx: Context, status: ClaudeStatus.Interface) => Effect.Effect<void, never, import("effect/Scope").Scope |
|
|
6
|
+
export declare const register: (ctx: Context, status: ClaudeStatus.Interface) => Effect.Effect<void, never, import("effect/Scope").Scope | import("../../../bus.js").Service>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
import type { Context } from "@opencode/plugin/effect/plugin";
|
|
3
|
-
import { Bus } from "../../bus.js";
|
|
4
3
|
import { Credential } from "../../credential.js";
|
|
5
4
|
import type { Provider } from "../../provider.js";
|
|
5
|
+
/** Resolves the integration's active connection to its credential, or undefined when it cannot be resolved. */
|
|
6
|
+
export declare const activeCredential: (ctx: Context, integrationID: string) => Effect.Effect<{
|
|
7
|
+
readonly connection: Effect.Success<ReturnType<Context["integration"]["connection"]["active"]>>;
|
|
8
|
+
readonly credential: Credential.Value | undefined;
|
|
9
|
+
}, never, never>;
|
|
6
10
|
/**
|
|
7
11
|
* Tracks provider settings a plugin derives from the active connection's stored credential, such as login form
|
|
8
12
|
* answers kept as credential metadata. The model resolver does not pass credential metadata to packages, so a
|
|
@@ -30,7 +34,7 @@ export declare const credentialSettings: (ctx: Context, integrationID: string, s
|
|
|
30
34
|
readonly transport?: "http" | "websocket" | undefined;
|
|
31
35
|
readonly encoding?: "gzip" | "none" | "zstd" | undefined;
|
|
32
36
|
};
|
|
33
|
-
}, never, import("effect/Scope").Scope | Credential.Service |
|
|
37
|
+
}, never, import("effect/Scope").Scope | Credential.Service | import("../../bus.js").Service>;
|
|
34
38
|
/** Picks the string metadata entries a provider package accepts as settings. */
|
|
35
39
|
export declare function metadataSettings(metadata: Readonly<Record<string, unknown>> | undefined, keys: readonly string[]): {
|
|
36
40
|
[k: string]: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HttpClient } from "effect/http";
|
|
2
|
-
import { Bus } from "../../bus.js";
|
|
3
2
|
import { Credential } from "../../credential.js";
|
|
4
3
|
import { Provider } from "../../provider.js";
|
|
5
|
-
export declare const GitLabPlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | Credential.Service | Provider.Service |
|
|
4
|
+
export declare const GitLabPlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | Credential.Service | Provider.Service | import("../../bus.js").Service>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const OpenAIContextCapsPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Bus.Service>;
|
|
1
|
+
export declare const OpenAIContextCapsPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | import("../../bus.js").Service>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { Bus } from "../../bus.js";
|
|
2
1
|
import { Provider } from "../../provider.js";
|
|
3
|
-
export declare const OpenAIPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Provider.Service |
|
|
2
|
+
export declare const OpenAIPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Provider.Service | import("../../bus.js").Service>;
|
|
@@ -8,6 +8,10 @@ export type Options = {
|
|
|
8
8
|
readonly interval?: Duration.Input;
|
|
9
9
|
readonly force?: boolean;
|
|
10
10
|
};
|
|
11
|
+
/** Runs `effect` each time the active credential of `integrationID` switches, until the scope closes. */
|
|
12
|
+
export declare const onSwitch: <E, R>(integrationID: string, effect: Effect.Effect<unknown, E, R>) => Effect.Effect<void, never, R | Scope.Scope | Bus.Service>;
|
|
13
|
+
/** Runs `reload` when `load` reports that the derived state changed. */
|
|
14
|
+
export declare const reloadIfChanged: <E, R>(load: Effect.Effect<boolean, E, R>, reload: Effect.Effect<void>) => Effect.Effect<void, E, R>;
|
|
11
15
|
/**
|
|
12
16
|
* After an account switch, applies the account's list from the cache at once, however old, while a forced load runs
|
|
13
17
|
* alongside and is applied when it finishes. With nothing cached the first step joins the forced load, so one request
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from "effect/http";
|
|
2
|
-
import { Bus } from "../../bus.js";
|
|
3
2
|
import { Credential } from "../../credential.js";
|
|
4
3
|
import { Integration } from "../../integration.js";
|
|
5
4
|
import { Provider } from "../../provider.js";
|
|
6
|
-
export declare const SnowflakeCortexPlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | Credential.Service | Integration.Service | Provider.Service |
|
|
5
|
+
export declare const SnowflakeCortexPlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | import("effect/Scope").Scope | Credential.Service | Integration.Service | Provider.Service | import("../../bus.js").Service>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * as WebSearchProvider from "./provider.js";
|
|
2
|
+
import type { Context } from "@opencode/plugin/effect/plugin";
|
|
3
|
+
import type { Credential } from "@opencode/schema/credential";
|
|
4
|
+
import type { WebSearch } from "@opencode/schema/websearch";
|
|
5
|
+
import { Effect } from "effect";
|
|
6
|
+
/** Registers a web search provider backed by an API key integration with the same ID and name. */
|
|
7
|
+
export declare const register: (ctx: Context, provider: {
|
|
8
|
+
readonly id: string;
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly env: string;
|
|
11
|
+
readonly execute: (input: WebSearch.ProviderInput, credential: Credential.Value | undefined) => Effect.Effect<readonly WebSearch.Result[], unknown>;
|
|
12
|
+
}) => Effect.Effect<void, never, import("effect/Scope").Scope>;
|