@opencode/core 0.0.0-dev-491 → 0.0.0-dev-513
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 +232 -231
- package/dist/bus.js +80 -80
- package/dist/chunks/{schema-1dgxpnnn.js → pty-0023dqyf.js} +40 -44
- package/dist/chunks/{schema-3adw4bt5.js → pty-04whjz6n.js} +9 -9
- package/dist/chunks/{schema-79q7t6vk.js → pty-06x2tb2z.js} +45 -50
- package/dist/chunks/{schema-267nqqyb.js → pty-08bhk29w.js} +71 -81
- package/dist/chunks/pty-0afnvty9.js +82 -0
- package/dist/chunks/{schema-0j7gp832.js → pty-0j7gp832.js} +1 -1
- package/dist/chunks/{schema-mtjzj2m1.js → pty-0jr76kac.js} +33 -33
- package/dist/chunks/{schema-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schema-v8mak0jw.js → pty-0qfwrc6c.js} +13 -10
- package/dist/chunks/{schema-xr5ngpme.js → pty-0te9byq8.js} +33 -39
- package/dist/chunks/{schema-7gc06pn7.js → pty-0zjr29y6.js} +33 -34
- package/dist/chunks/{schema-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{schema-1xr65f63.js → pty-1er6rw3f.js} +5 -5
- package/dist/chunks/{schema-nvx0tz4r.js → pty-1fa7jad0.js} +21 -21
- package/dist/chunks/{schema-610gd2w6.js → pty-1p367p45.js} +18 -16
- package/dist/chunks/pty-1t1eb7kp.js +28 -0
- package/dist/chunks/{schema-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
- package/dist/chunks/pty-208nbn7x.js +16 -0
- package/dist/chunks/{schema-531yazj3.js → pty-24cv518k.js} +9 -9
- package/dist/chunks/{schema-9vbafrh8.js → pty-2518a6av.js} +16 -16
- package/dist/chunks/{schema-27w5k9zf.js → pty-27w5k9zf.js} +2 -2
- package/dist/chunks/{schema-6r3e2m86.js → pty-288dktsv.js} +4 -4
- package/dist/chunks/{schema-yv34actv.js → pty-28tn5j34.js} +13 -13
- package/dist/chunks/{schema-crmh26nv.js → pty-2awgd92s.js} +7 -7
- package/dist/chunks/{schema-v8wxce3j.js → pty-2ks6fys2.js} +18 -18
- package/dist/chunks/{schema-2p60zmnr.js → pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{schema-ehjdr9kj.js → pty-2rvvwxmf.js} +5 -5
- package/dist/chunks/{schema-cr2p0kda.js → pty-2tcca9zd.js} +20 -20
- package/dist/chunks/{schema-7d2a7xbs.js → pty-2xwkyk0m.js} +5 -5
- package/dist/chunks/{schema-vba4zwdc.js → pty-2y6sjp8j.js} +9 -9
- package/dist/chunks/{schema-s46s4q5z.js → pty-392kfhz5.js} +6 -6
- package/dist/chunks/{schema-4r9r2tvk.js → pty-39w45v6e.js} +9 -9
- package/dist/chunks/{schema-7wetmpgy.js → pty-3b7wqyfh.js} +106 -126
- package/dist/chunks/{schema-3cbjf1nt.js → pty-3cbjf1nt.js} +2 -2
- package/dist/chunks/{schema-a2y6he6z.js → pty-3dn304yc.js} +8 -8
- package/dist/chunks/{schema-b292epq5.js → pty-3fyhdc57.js} +27 -27
- package/dist/chunks/{schema-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3nnrz6f6.js → pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-wgtjsce3.js → pty-3wb7g1gt.js} +2 -2
- package/dist/chunks/{schema-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{schema-44pmzq9c.js → pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{schema-rkbq4mr3.js → pty-488wrreq.js} +12 -12
- package/dist/chunks/{schema-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{schema-r542h3bh.js → pty-4f25tdd0.js} +5 -5
- package/dist/chunks/{schema-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-k3ysz89m.js → pty-4r9sfa39.js} +14 -14
- package/dist/chunks/{schema-7wz58vea.js → pty-4rj068ra.js} +3 -3
- package/dist/chunks/{schema-tk7wm9t6.js → pty-4rv3z8zz.js} +33 -60
- package/dist/chunks/{schema-4v008n1t.js → pty-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-rs07w8af.js → pty-50j5ra4n.js} +26 -27
- package/dist/chunks/{schema-22877hrr.js → pty-55858vys.js} +23 -23
- package/dist/chunks/{schema-nc6ym85v.js → pty-55tsekh9.js} +42 -42
- package/dist/chunks/{schema-g442wsqe.js → pty-5ar0v554.js} +11 -11
- package/dist/chunks/{schema-an38jetd.js → pty-5cmp3exa.js} +9 -9
- package/dist/chunks/{schema-b0vacgmx.js → pty-5gheszdj.js} +6 -14
- package/dist/chunks/{schema-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-hev8zkn4.js → pty-5qs3xxfj.js} +8 -8
- package/dist/chunks/{schema-6vwb70w2.js → pty-6095q8tb.js} +35 -32
- package/dist/chunks/{schema-kxcyzez0.js → pty-654bsdn4.js} +11 -11
- package/dist/chunks/{schema-x9fmexvv.js → pty-659k2zkq.js} +2 -2
- package/dist/chunks/{schema-61qraad9.js → pty-67zhfnr5.js} +5 -5
- package/dist/chunks/{schema-mv0hp075.js → pty-6935jb0f.js} +16 -16
- package/dist/chunks/{schema-v0dc4xqt.js → pty-6a8kqfnf.js} +164 -179
- package/dist/chunks/{schema-jhwp234h.js → pty-6dqyy18z.js} +4 -4
- package/dist/chunks/{schema-1vp6kgjq.js → pty-6dtfbb2g.js} +25 -33
- package/dist/chunks/{schema-6cnr43q5.js → pty-6f7774sy.js} +18 -18
- package/dist/chunks/{schema-y329tfma.js → pty-76ek7j69.js} +8 -8
- package/dist/chunks/pty-77ehzzh1.js +45 -0
- package/dist/chunks/{schema-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-39ecara3.js → pty-7dp4g980.js} +50 -60
- package/dist/chunks/{schema-n8szhp98.js → pty-7h22etv1.js} +5 -5
- package/dist/chunks/{schema-ztjgp9mc.js → pty-7nsaabgw.js} +5 -5
- package/dist/chunks/{schema-160yv0cs.js → pty-7tpyp9vw.js} +8 -8
- package/dist/chunks/{schema-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-7weczvnd.js → pty-7weczvnd.js} +1 -1
- package/dist/chunks/{schema-sbxckrs6.js → pty-7y5ejeck.js} +79 -79
- package/dist/chunks/{schema-775hqbnd.js → pty-80mg3ag8.js} +3 -3
- package/dist/chunks/{schema-89287pr7.js → pty-89287pr7.js} +1 -1
- package/dist/chunks/{schema-8b3vzgkx.js → pty-8b3vzgkx.js} +1 -1
- package/dist/chunks/{schema-8cg7mtm3.js → pty-8cg7mtm3.js} +1 -1
- package/dist/chunks/{schema-3416qbwy.js → pty-8n09hdvs.js} +8 -8
- package/dist/chunks/{schema-r17fbvme.js → pty-8t99kr38.js} +4 -4
- package/dist/chunks/{schema-qnqasnye.js → pty-8wjgamp7.js} +6 -6
- package/dist/chunks/{schema-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-5hbm6fh6.js → pty-8yb9m984.js} +15 -15
- package/dist/chunks/{schema-9g28e2s0.js → pty-8ykbxn4t.js} +9 -9
- package/dist/chunks/{schema-gx16d8rj.js → pty-8ykqf5wm.js} +8 -8
- package/dist/chunks/{schema-8z6m94af.js → pty-8z6m94af.js} +3 -3
- package/dist/chunks/{schema-90zstvax.js → pty-90zstvax.js} +1 -1
- package/dist/chunks/pty-9bxrat4n.js +265 -0
- package/dist/chunks/{schema-xnespcx4.js → pty-9cnt8tq7.js} +20 -21
- package/dist/chunks/{schema-htk0pxp4.js → pty-9h0cdvnk.js} +27 -27
- package/dist/chunks/{schema-ynddwxng.js → pty-9wenq46a.js} +11 -11
- package/dist/chunks/pty-9wydm227.js +69 -0
- package/dist/chunks/{schema-hmcbsnb6.js → pty-ab8ej67z.js} +5 -5
- package/dist/chunks/{schema-aj7mw0zk.js → pty-aj7mw0zk.js} +2 -2
- package/dist/chunks/{schema-6ptc49v9.js → pty-ak5gz8d8.js} +6 -6
- package/dist/chunks/{schema-saqe5fxg.js → pty-apk2e2bs.js} +10 -10
- package/dist/chunks/{schema-hqerns6c.js → pty-awz4eek6.js} +5 -5
- package/dist/chunks/{schema-jdfneqs4.js → pty-ayz3ejvk.js} +40 -49
- package/dist/chunks/{schema-jv8r5h6h.js → pty-b2d6kd10.js} +23 -23
- package/dist/chunks/{schema-75w632t3.js → pty-b5ppfg7c.js} +65 -29
- package/dist/chunks/{schema-b6vsg801.js → pty-b6vsg801.js} +2 -2
- package/dist/chunks/{schema-y7rptanb.js → pty-b7q2kk65.js} +22 -33
- package/dist/chunks/{schema-sh8kb457.js → pty-b7xq4dcs.js} +5 -6
- package/dist/chunks/pty-b8dwq97p.js +69 -0
- package/dist/chunks/{schema-bb3mmwvh.js → pty-bb3mmwvh.js} +2 -2
- package/dist/chunks/{schema-1mgbt8zv.js → pty-be2xj2mn.js} +6 -6
- package/dist/chunks/{schema-3maza8nj.js → pty-bekm5p4a.js} +24 -24
- package/dist/chunks/{schema-1pevy3nx.js → pty-bhmrqjy3.js} +12 -21
- package/dist/chunks/{schema-974fscry.js → pty-bmy4z589.js} +11 -11
- package/dist/chunks/{schema-vm1w8k2h.js → pty-bnr8j2y9.js} +31 -33
- package/dist/chunks/{schema-4byhtres.js → pty-btjprcgw.js} +14 -14
- package/dist/chunks/{schema-g5za79em.js → pty-bv0keema.js} +3 -3
- package/dist/chunks/{schema-d1e46tjw.js → pty-c0a85cxq.js} +32 -32
- package/dist/chunks/{schema-6x26xpab.js → pty-c0z0yn58.js} +16 -16
- package/dist/chunks/{schema-fzt7dsyw.js → pty-c1gh3vn9.js} +43 -43
- package/dist/chunks/{schema-954e8f6b.js → pty-c3p97ra1.js} +13 -13
- package/dist/chunks/{schema-1hqk7qd1.js → pty-c3wwghza.js} +9 -9
- package/dist/chunks/{schema-c6x7d2ts.js → pty-c6x7d2ts.js} +1 -1
- package/dist/chunks/{schema-5n0rnk8e.js → pty-cr4rfj9z.js} +4 -4
- package/dist/chunks/{schema-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{schema-3k1df4cf.js → pty-cwwdfq61.js} +6 -6
- package/dist/chunks/{schema-009ad18z.js → pty-czhsb2q6.js} +16 -16
- package/dist/chunks/{schema-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-k86qxh6q.js → pty-da6gh99y.js} +2 -2
- package/dist/chunks/pty-dm24tqc7.js +42 -0
- package/dist/chunks/{schema-dt77769w.js → pty-dt77769w.js} +1 -1
- package/dist/chunks/{schema-p9x26950.js → pty-e18eb6k2.js} +8 -8
- package/dist/chunks/{schema-8r9nj4s8.js → pty-e45fk36t.js} +4 -4
- package/dist/chunks/{schema-hrs1my6p.js → pty-e6hhhbsa.js} +28 -28
- package/dist/chunks/{schema-e834z07m.js → pty-e834z07m.js} +1 -1
- package/dist/chunks/{schema-fspaztcq.js → pty-ea27ppw6.js} +9 -9
- package/dist/chunks/{schema-1acgysvj.js → pty-ea5kk55q.js} +9 -9
- package/dist/chunks/{schema-9ywzg6g3.js → pty-eab6qpsk.js} +28 -28
- package/dist/chunks/{schema-ysh3dgvc.js → pty-ebys333n.js} +14 -14
- package/dist/chunks/{schema-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schema-j1kb77r1.js → pty-erfgee4t.js} +21 -21
- package/dist/chunks/{schema-7cfarfc9.js → pty-etatbea9.js} +27 -27
- package/dist/chunks/pty-ezna1kdx.js +18 -0
- package/dist/chunks/{schema-4a220kpg.js → pty-f2cwqqap.js} +46 -69
- package/dist/chunks/{schema-cj6s55dc.js → pty-f6pp4qky.js} +52 -52
- package/dist/chunks/{schema-1bmqe60m.js → pty-f96z8a64.js} +13 -13
- package/dist/chunks/{schema-njm1h2ne.js → pty-fdn86re1.js} +6 -6
- package/dist/chunks/{schema-7wkzsx5z.js → pty-fe97g4vx.js} +10 -10
- package/dist/chunks/{schema-fffv3p7h.js → pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{schema-7357t78n.js → pty-fg52mjqa.js} +7 -7
- package/dist/chunks/{schema-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{schema-wc6thd2m.js → pty-fmyvpwrx.js} +14 -17
- package/dist/chunks/{schema-zrcyxcfh.js → pty-fn274a08.js} +23 -23
- package/dist/chunks/{schema-b25mxkxc.js → pty-fr031yhe.js} +17 -17
- package/dist/chunks/{schema-wdwt8pse.js → pty-frh3mjer.js} +35 -78
- package/dist/chunks/{schema-afz985yq.js → pty-fvf45ej9.js} +54 -69
- package/dist/chunks/{schema-2wy6zzm4.js → pty-fvwmbxrt.js} +3 -3
- package/dist/chunks/{schema-49v9szp5.js → pty-g1h0e984.js} +13 -14
- package/dist/chunks/{schema-qtf35215.js → pty-g1x3338p.js} +3 -3
- package/dist/chunks/{schema-z01zhnc6.js → pty-g2s3kvm8.js} +24 -27
- package/dist/chunks/{schema-wcrhk13t.js → pty-g9y97szr.js} +1 -1
- package/dist/chunks/{schema-2vn10rnz.js → pty-gapbp5pm.js} +3 -3
- package/dist/chunks/{schema-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schema-j3118bbp.js → pty-gd52an9j.js} +19 -19
- package/dist/chunks/{schema-yqnnk2wp.js → pty-ge41aakr.js} +20 -20
- package/dist/chunks/{schema-xcxvf2mg.js → pty-gh24x7dt.js} +4 -4
- package/dist/chunks/pty-ghrv1g9c.js +38 -0
- package/dist/chunks/{schema-z9e79eck.js → pty-gmn6pm9k.js} +12 -12
- package/dist/chunks/{schema-e383wbw3.js → pty-gpqwk5ba.js} +13 -13
- package/dist/chunks/{schema-cx89w8t7.js → pty-gqq2rd3z.js} +46 -52
- package/dist/chunks/{schema-51nz7m1t.js → pty-h16d3r43.js} +51 -56
- package/dist/chunks/{schema-ygmq07zy.js → pty-haj55tp1.js} +19 -19
- package/dist/chunks/{schema-17wpx1f8.js → pty-hav9640s.js} +32 -32
- package/dist/chunks/{schema-07njmr26.js → pty-hbvmt4xp.js} +4 -4
- package/dist/chunks/{schema-pkyxhtt8.js → pty-he6fdh83.js} +4 -4
- package/dist/chunks/{schema-p4w1989n.js → pty-he8e2fqg.js} +21 -25
- package/dist/chunks/{schema-96ahmd6x.js → pty-j1m6936b.js} +24 -24
- package/dist/chunks/{schema-p7s5ympt.js → pty-jbze84ed.js} +36 -44
- package/dist/chunks/{schema-bnhv7900.js → pty-jgktxrwk.js} +15 -15
- package/dist/chunks/{schema-0069kg3w.js → pty-jkmfd651.js} +32 -33
- package/dist/chunks/{schema-5wv7wkw7.js → pty-jraeh57d.js} +10 -10
- package/dist/chunks/{schema-3qwqbjqh.js → pty-jw5816mk.js} +17 -17
- package/dist/chunks/{schema-05jba50e.js → pty-k07ws8by.js} +6 -6
- package/dist/chunks/{schema-vmqe41cb.js → pty-k46dd5bg.js} +4 -4
- package/dist/chunks/{schema-fkk1f725.js → pty-k634w52t.js} +16 -16
- package/dist/chunks/{schema-cjg73b7n.js → pty-k63t3j85.js} +11 -11
- package/dist/chunks/{schema-4ze3m284.js → pty-kazckff2.js} +85 -85
- package/dist/chunks/{schema-hqtkd67t.js → pty-kb91f2ce.js} +11 -11
- package/dist/chunks/{schema-7kr66rt3.js → pty-kh8gdsej.js} +55 -92
- package/dist/chunks/{schema-vypb472n.js → pty-kjzwj302.js} +17 -17
- package/dist/chunks/{schema-h2h7ybtz.js → pty-knrrsbj9.js} +22 -22
- package/dist/chunks/{schema-3vp9g4px.js → pty-kq3sm1ep.js} +18 -18
- package/dist/chunks/{schema-kt3bjfbg.js → pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schema-vjrqr51s.js → pty-kthmjft2.js} +3 -3
- package/dist/chunks/{schema-mdkgg4b2.js → pty-kv7gpwre.js} +7 -7
- package/dist/chunks/{schema-7gh115gk.js → pty-kvbbjz3k.js} +59 -59
- package/dist/chunks/{schema-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{schema-m1714858.js → pty-m1714858.js} +1 -1
- package/dist/chunks/{schema-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-akx6eq60.js → pty-mat0qw5s.js} +17 -17
- package/dist/chunks/{schema-wxd7rbv3.js → pty-mgcjyd9g.js} +14 -14
- package/dist/chunks/{schema-cf903btn.js → pty-mpb394t4.js} +36 -48
- package/dist/chunks/{schema-074zz3d2.js → pty-mqg1yz44.js} +18 -19
- package/dist/chunks/{schema-msd2a3qm.js → pty-msd2a3qm.js} +4 -4
- package/dist/chunks/{schema-0cdjmvxc.js → pty-mypzkbjq.js} +6 -6
- package/dist/chunks/{schema-5zrvqxbg.js → pty-n515v1q6.js} +27 -37
- package/dist/chunks/{schema-ygy4s6bd.js → pty-nd7r4c3m.js} +29 -29
- package/dist/chunks/{schema-pmjf6175.js → pty-nkwvx6n5.js} +20 -20
- package/dist/chunks/{schema-94e33dpz.js → pty-nt907s04.js} +3 -3
- package/dist/chunks/{schema-szya7jty.js → pty-nvwv1dfk.js} +25 -25
- package/dist/chunks/{schema-x150ncgg.js → pty-nw314s9d.js} +2 -2
- package/dist/chunks/{schema-nx4vzyjd.js → pty-nx4vzyjd.js} +2 -2
- package/dist/chunks/{schema-wvr8xscb.js → pty-nyxvvj5y.js} +4 -4
- package/dist/chunks/{schema-040bqqk0.js → pty-nz5h4cjb.js} +1 -1
- package/dist/chunks/{schema-1yq9hg58.js → pty-p7vhpwh8.js} +5 -5
- package/dist/chunks/{schema-tt497rda.js → pty-p85kh4b9.js} +33 -41
- package/dist/chunks/{schema-pkkerzhz.js → pty-pkkerzhz.js} +2 -2
- package/dist/chunks/{schema-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{schema-tecv0z0k.js → pty-ppcv2fse.js} +11 -11
- package/dist/chunks/{schema-18g55aa2.js → pty-prvyngaa.js} +6 -6
- package/dist/chunks/{schema-r5z1733q.js → pty-pwnwjmpk.js} +21 -21
- package/dist/chunks/{schema-mpzzt3bk.js → pty-pzmcnx89.js} +12 -12
- package/dist/chunks/{schema-9zvhtp2r.js → pty-q187sr27.js} +49 -49
- package/dist/chunks/{schema-5zpqhmp2.js → pty-q53j9prd.js} +3 -3
- package/dist/chunks/{schema-g3smeneb.js → pty-q8h8ge1b.js} +3 -3
- package/dist/chunks/{schema-rezvgxsg.js → pty-qgxn53r2.js} +39 -41
- package/dist/chunks/{schema-a5fx33f2.js → pty-qj27ec1j.js} +6 -6
- package/dist/chunks/{schema-ep6pe98a.js → pty-qk5sk9d1.js} +5 -5
- package/dist/chunks/{schema-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-csd7ebkm.js → pty-qqht4f3t.js} +43 -44
- package/dist/chunks/{schema-qqvy8y24.js → pty-qqvy8y24.js} +1 -1
- package/dist/chunks/{schema-8yhnmq54.js → pty-qrnhzphe.js} +19 -19
- package/dist/chunks/{schema-k3cx6fhe.js → pty-qsdghx1p.js} +4 -4
- package/dist/chunks/{schema-qzntb7s5.js → pty-qv4xbp49.js} +6 -6
- package/dist/chunks/{schema-w2eysc6j.js → pty-r41sfy63.js} +6 -6
- package/dist/chunks/{schema-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-0djc5t6x.js → pty-rbvjmsc7.js} +28 -28
- package/dist/chunks/{schema-9ek4pzqb.js → pty-rcx3bfwc.js} +4 -4
- package/dist/chunks/{schema-jtnps1zs.js → pty-rgc9cx3e.js} +9 -4
- package/dist/chunks/{schema-wse597y0.js → pty-rhc46xz4.js} +11 -11
- package/dist/chunks/{schema-dg5naf6e.js → pty-rj7j5fvs.js} +4 -4
- package/dist/chunks/{schema-z4be597q.js → pty-rm3930ch.js} +17 -17
- package/dist/chunks/{schema-9hm59r1c.js → pty-rqr4sfbw.js} +51 -45
- package/dist/chunks/{schema-rt5dr6hb.js → pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schema-51d35nkj.js → pty-s2pfznc4.js} +6 -6
- package/dist/chunks/{schema-zmn1zasx.js → pty-s5mwnp51.js} +8 -8
- package/dist/chunks/{schema-mf63ygpr.js → pty-s7kyse9r.js} +4 -4
- package/dist/chunks/{schema-0xaphmx4.js → pty-s8qtxmzm.js} +19 -4
- package/dist/chunks/{schema-sa3fpqfw.js → pty-sa3fpqfw.js} +2 -2
- package/dist/chunks/{schema-sbya78hr.js → pty-sbya78hr.js} +1 -1
- package/dist/chunks/{schema-vb80j1wh.js → pty-sbz71ybr.js} +3 -3
- package/dist/chunks/{schema-tc429zzg.js → pty-scj3yyxn.js} +31 -44
- package/dist/chunks/{schema-177t8xde.js → pty-sjtej4jg.js} +5 -5
- package/dist/chunks/{schema-hrp8tsee.js → pty-skdkpe37.js} +25 -28
- package/dist/chunks/{schema-2n7wa7sq.js → pty-smsep8gg.js} +16 -16
- package/dist/chunks/{schema-aq1dqpx8.js → pty-snyjxc4r.js} +13 -13
- package/dist/chunks/{schema-jf43mb4q.js → pty-sp85y8nd.js} +8 -8
- package/dist/chunks/{schema-xar4zgxk.js → pty-srvw3mxg.js} +1 -1
- package/dist/chunks/{schema-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-dn909y3q.js → pty-sz3tm3gm.js} +49 -49
- package/dist/chunks/{schema-szwm4crx.js → pty-szwm4crx.js} +4 -4
- package/dist/chunks/{schema-9sy862gz.js → pty-t41k4f06.js} +14 -14
- package/dist/chunks/{schema-f4kasrny.js → pty-t600mkfg.js} +12 -12
- package/dist/chunks/{schema-rgr58pg0.js → pty-t9s2jeab.js} +11 -11
- package/dist/chunks/{schema-kze6nzna.js → pty-tb2mrvc9.js} +7 -7
- package/dist/chunks/{schema-zn515352.js → pty-tcyq6bhw.js} +9 -9
- package/dist/chunks/{schema-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
- package/dist/chunks/pty-tfhtby8v.js +26 -0
- package/dist/chunks/{schema-3748dbe8.js → pty-tfphs1zq.js} +33 -33
- package/dist/chunks/{schema-tg7s7b5t.js → pty-tg7s7b5t.js} +1 -1
- package/dist/chunks/{schema-qygxdx42.js → pty-tgc5wewm.js} +43 -49
- package/dist/chunks/{schema-j2t21h9q.js → pty-tnzj1417.js} +8 -8
- package/dist/chunks/{schema-tr8x705m.js → pty-tr8x705m.js} +1 -1
- package/dist/chunks/{schema-s2edn48d.js → pty-trbkmgn6.js} +19 -18
- package/dist/chunks/pty-tvtps2q9.js +40 -0
- package/dist/chunks/{schema-twssxy5n.js → pty-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-ss6cgsgk.js → pty-v3hpn5wv.js} +11 -11
- package/dist/chunks/{schema-b78t38vn.js → pty-vgv0ynd3.js} +15 -15
- package/dist/chunks/{schema-y71c85jv.js → pty-vh8cf7c0.js} +3 -3
- package/dist/chunks/{schema-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{schema-6h8vcvjm.js → pty-vq0qa3sh.js} +9 -9
- package/dist/chunks/{schema-4jd8rbj6.js → pty-vr57n06r.js} +9 -9
- package/dist/chunks/{schema-827fdamw.js → pty-vsp3v0h1.js} +10 -10
- package/dist/chunks/{schema-c4bydvs8.js → pty-vwqd7bxt.js} +36 -35
- package/dist/chunks/{schema-yfd5yn1x.js → pty-vyb022hh.js} +22 -22
- package/dist/chunks/{schema-vzv5k31s.js → pty-w0dbrkjj.js} +29 -23
- package/dist/chunks/{schema-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wr3re1en.js → pty-w687dnns.js} +4 -4
- package/dist/chunks/{schema-c485byne.js → pty-w6zht2k8.js} +2 -2
- package/dist/chunks/{schema-hr712wcm.js → pty-w96t5dx5.js} +17 -17
- package/dist/chunks/{schema-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{schema-xnegq722.js → pty-we1nkpqm.js} +34 -45
- package/dist/chunks/{schema-5373j5vs.js → pty-we7ta21m.js} +6 -6
- package/dist/chunks/{schema-wrfejyj7.js → pty-wedqffd6.js} +11 -11
- package/dist/chunks/{schema-wnhgecwx.js → pty-wnhgecwx.js} +1 -1
- package/dist/chunks/{schema-5ss6spnt.js → pty-wxerkmn2.js} +3 -3
- package/dist/chunks/{schema-fnnekxbx.js → pty-wzk0sywq.js} +361 -359
- package/dist/chunks/{schema-th5svyvp.js → pty-x04h5mrv.js} +16 -16
- package/dist/chunks/{schema-1e1dknnq.js → pty-x26wqd07.js} +4 -4
- package/dist/chunks/{schema-0e72twgx.js → pty-x29wv32c.js} +48 -56
- package/dist/chunks/{schema-69s1y7w5.js → pty-x4qk82bb.js} +11 -11
- package/dist/chunks/{schema-h5gm5jf1.js → pty-xad1gvt8.js} +7 -7
- package/dist/chunks/{schema-xfkjnhsk.js → pty-xcx3vbqx.js} +11 -11
- package/dist/chunks/{schema-s1d5m1r1.js → pty-xczh4mb3.js} +11 -11
- package/dist/chunks/{schema-bstexjd6.js → pty-xd9cc171.js} +5 -5
- package/dist/chunks/{schema-4pfm4xhn.js → pty-xf13msbn.js} +34 -34
- package/dist/chunks/{schema-z78ex2z3.js → pty-xg3etxpz.js} +9 -24
- package/dist/chunks/{schema-qq0q7pz9.js → pty-xj846p5w.js} +6 -6
- package/dist/chunks/pty-xjr6c8m4.js +37 -0
- package/dist/chunks/{schema-brv6mkyx.js → pty-xksw6ev0.js} +4 -4
- package/dist/chunks/{schema-b1hp95c4.js → pty-xngq7d9m.js} +85 -85
- package/dist/chunks/{schema-dgnwfmhp.js → pty-xwkfc1jv.js} +15 -15
- package/dist/chunks/{schema-t1r3r4xh.js → pty-xygagwej.js} +14 -14
- package/dist/chunks/{schema-9nh708zh.js → pty-xygzzjxz.js} +3 -3
- package/dist/chunks/{schema-crrcr980.js → pty-xym735jc.js} +8 -8
- package/dist/chunks/{schema-056gbxz2.js → pty-xzakt4mt.js} +26 -26
- package/dist/chunks/pty-y63cdny4.js +85 -0
- package/dist/chunks/{schema-cbqrfj54.js → pty-y99mgccj.js} +3 -3
- package/dist/chunks/{schema-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-vw7pb86b.js → pty-ycjen0nk.js} +39 -39
- package/dist/chunks/{schema-0x221h4h.js → pty-ygqv5g3p.js} +30 -31
- package/dist/chunks/{schema-cpe35zww.js → pty-yh1frphp.js} +4 -4
- package/dist/chunks/{schema-yrb8cmyx.js → pty-yhg19nad.js} +16 -16
- package/dist/chunks/{schema-c9kma9ds.js → pty-yhqe6hsm.js} +15 -15
- package/dist/chunks/{schema-p76d4538.js → pty-yj36cpkw.js} +6 -6
- package/dist/chunks/{schema-yr705xyq.js → pty-yr705xyq.js} +1 -1
- package/dist/chunks/{schema-20yhjmgn.js → pty-yrx88kft.js} +10 -10
- package/dist/chunks/{schema-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{schema-x4w59bsh.js → pty-yw6v6yt8.js} +16 -16
- package/dist/chunks/{schema-a2xw24t4.js → pty-yx0s3wdh.js} +17 -17
- package/dist/chunks/{schema-hae73tt5.js → pty-yxaknd5c.js} +32 -32
- package/dist/chunks/{schema-nsqhjfa0.js → pty-yxrmjvdn.js} +106 -139
- package/dist/chunks/{schema-sf9y72b7.js → pty-z080rjh6.js} +4 -4
- package/dist/chunks/{schema-hs0d6vna.js → pty-z51hj4f3.js} +28 -32
- package/dist/chunks/{schema-963hk181.js → pty-z7881fav.js} +7 -7
- package/dist/chunks/{schema-2g5fs7wp.js → pty-z9fr3t5s.js} +27 -36
- package/dist/chunks/{schema-j9nxzz3g.js → pty-ze75qvmd.js} +3 -3
- package/dist/chunks/{schema-e932njkj.js → pty-zmx3s5hb.js} +28 -28
- package/dist/chunks/{schema-eeze92kt.js → pty-zvcp0hmn.js} +5 -7
- package/dist/chunks/{schema-4vcrnpx2.js → pty-zxpyjp51.js} +9 -19
- 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 +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -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 +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 +134 -133
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- 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 -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 +3 -3
- 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 +11 -11
- package/dist/filesystem.js +118 -117
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- 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 +95 -95
- 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 +96 -96
- 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 +100 -100
- 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 +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 +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +157 -155
- 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 +130 -128
- 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 +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -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 +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -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 +138 -137
- package/dist/plugin/provider/local.js +137 -136
- package/dist/plugin/provider/modal.js +107 -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 +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +155 -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 +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -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 +87 -87
- 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 +410 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +4 -4
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +112 -112
- 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 +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 +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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +241 -240
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -199
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- 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 +141 -141
- 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 +180 -179
- 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 +1 -1
- package/dist/session/subagent-job.js +231 -230
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -201
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -238
- package/dist/session/usage.js +3 -3
- package/dist/session.js +235 -234
- 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 +145 -144
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- 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 +182 -181
- 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 +168 -166
- package/dist/tool/plugin/image-generate.js +239 -238
- 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 +146 -146
- package/dist/tool/plugin/read.js +170 -169
- package/dist/tool/plugin/schedule.js +249 -248
- package/dist/tool/plugin/shell.js +237 -236
- 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 +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -165
- package/dist/tool/read-filesystem.js +114 -113
- 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 +161 -161
- 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/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/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 +1 -1
- 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 +97 -97
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- 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 -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-tkxx25dy.js +0 -16
- /package/dist/chunks/{schema-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kah00gy.js → pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6agm2x70.js → pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-syrav9an.js → pty-syrav9an.js} +0 -0
- /package/dist/chunks/{schema-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schema-ty7weeps.js → pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-vtarvj67.js → pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z0h12gs8.js → pty-z0h12gs8.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,143 +1,143 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node47
|
|
4
|
+
} from "./pty-t9s2jeab.js";
|
|
5
5
|
import {
|
|
6
6
|
Service90,
|
|
7
7
|
node93
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-n515v1q6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID13,
|
|
11
|
+
Service66,
|
|
12
|
+
node69
|
|
13
|
+
} from "./pty-haj55tp1.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID20,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-ayz3ejvk.js";
|
|
18
18
|
import {
|
|
19
19
|
AbsolutePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-z5v4ffb3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Info29,
|
|
23
23
|
Ref5,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service84,
|
|
25
|
+
node87
|
|
26
|
+
} from "./pty-x04h5mrv.js";
|
|
27
27
|
import {
|
|
28
28
|
ID18,
|
|
29
29
|
MethodID2,
|
|
30
30
|
AttemptID2,
|
|
31
31
|
Method2,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service81,
|
|
33
|
+
node84
|
|
34
|
+
} from "./pty-fn274a08.js";
|
|
35
35
|
import {
|
|
36
36
|
ID17,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service80,
|
|
38
|
+
node83
|
|
39
|
+
} from "./pty-jkmfd651.js";
|
|
40
40
|
import {
|
|
41
41
|
ID16,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
42
|
+
Service79,
|
|
43
|
+
node82
|
|
44
|
+
} from "./pty-etatbea9.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service88,
|
|
47
|
+
node91
|
|
48
|
+
} from "./pty-jraeh57d.js";
|
|
49
49
|
import {
|
|
50
50
|
Key2,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service30,
|
|
52
|
+
node34
|
|
53
|
+
} from "./pty-he8e2fqg.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service67,
|
|
56
|
+
node70
|
|
57
|
+
} from "./pty-e18eb6k2.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service63,
|
|
60
|
+
node66
|
|
61
|
+
} from "./pty-rqr4sfbw.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service78,
|
|
64
|
+
node81
|
|
65
|
+
} from "./pty-6dtfbb2g.js";
|
|
66
66
|
import {
|
|
67
67
|
ID9
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./pty-g2s3kvm8.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service39,
|
|
71
|
+
node42
|
|
72
|
+
} from "./pty-3b7wqyfh.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
74
|
+
Service42,
|
|
75
|
+
node45,
|
|
76
|
+
Error2
|
|
77
|
+
} from "./pty-x29wv32c.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
79
|
+
Source5,
|
|
80
|
+
Service86,
|
|
81
|
+
node89
|
|
82
|
+
} from "./pty-rbvjmsc7.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
84
|
+
Info10,
|
|
85
|
+
Service44,
|
|
86
|
+
node46
|
|
87
|
+
} from "./pty-b2d6kd10.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
} from "./
|
|
89
|
+
Service41,
|
|
90
|
+
node44
|
|
91
|
+
} from "./pty-czhsb2q6.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service72,
|
|
94
|
+
node75
|
|
95
|
+
} from "./pty-vr57n06r.js";
|
|
96
96
|
import {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
} from "./
|
|
97
|
+
Service27,
|
|
98
|
+
node30
|
|
99
|
+
} from "./pty-kazckff2.js";
|
|
100
100
|
import {
|
|
101
101
|
ProviderID2,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service25,
|
|
103
|
+
node28
|
|
104
|
+
} from "./pty-gqq2rd3z.js";
|
|
105
105
|
import {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
106
|
+
Service26,
|
|
107
|
+
node29
|
|
108
|
+
} from "./pty-frh3mjer.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
Service62,
|
|
111
|
+
node65,
|
|
112
112
|
eventDefinition2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./pty-yhqe6hsm.js";
|
|
114
114
|
import {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
} from "./
|
|
115
|
+
Service24,
|
|
116
|
+
node27
|
|
117
|
+
} from "./pty-pwnwjmpk.js";
|
|
118
118
|
import {
|
|
119
119
|
ID6,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service23,
|
|
121
|
+
node26
|
|
122
|
+
} from "./pty-k634w52t.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service71,
|
|
125
|
+
node74
|
|
126
|
+
} from "./pty-nkwvx6n5.js";
|
|
127
127
|
import {
|
|
128
128
|
StrategyID2,
|
|
129
|
-
|
|
129
|
+
Info21,
|
|
130
130
|
ListEntry3,
|
|
131
|
-
Service66,
|
|
132
|
-
node68
|
|
133
|
-
} from "./schema-4pfm4xhn.js";
|
|
134
|
-
import {
|
|
135
131
|
Service70,
|
|
136
132
|
node73
|
|
137
|
-
} from "./
|
|
133
|
+
} from "./pty-xf13msbn.js";
|
|
134
|
+
import {
|
|
135
|
+
Service76,
|
|
136
|
+
node79
|
|
137
|
+
} from "./pty-knrrsbj9.js";
|
|
138
138
|
import {
|
|
139
139
|
__export
|
|
140
|
-
} from "./
|
|
140
|
+
} from "./pty-9rqn6x4v.js";
|
|
141
141
|
|
|
142
142
|
// src/plugin/host.ts
|
|
143
143
|
var exports_host = {};
|
|
@@ -157,38 +157,38 @@ var isRpcEvent = (event) => isRpcType(event.type);
|
|
|
157
157
|
var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
|
|
158
158
|
var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
|
-
const agents = yield*
|
|
161
|
-
const artifacts = yield*
|
|
162
|
-
const aisdk = yield*
|
|
163
|
-
const providers = yield*
|
|
164
|
-
const models = yield*
|
|
165
|
-
const commands = yield*
|
|
160
|
+
const agents = yield* Service66;
|
|
161
|
+
const artifacts = yield* Service25;
|
|
162
|
+
const aisdk = yield* Service78;
|
|
163
|
+
const providers = yield* Service80;
|
|
164
|
+
const models = yield* Service79;
|
|
165
|
+
const commands = yield* Service41;
|
|
166
166
|
const bus = yield* Service90;
|
|
167
|
-
const integration = yield*
|
|
168
|
-
const kv = yield*
|
|
169
|
-
const mcp = yield*
|
|
170
|
-
const location = yield*
|
|
171
|
-
const reference = yield*
|
|
172
|
-
const rpc = yield*
|
|
173
|
-
const skill = yield*
|
|
174
|
-
const tools = yield*
|
|
175
|
-
const vcs = yield*
|
|
176
|
-
const websearch = yield*
|
|
177
|
-
const generate = yield*
|
|
167
|
+
const integration = yield* Service81;
|
|
168
|
+
const kv = yield* Service88;
|
|
169
|
+
const mcp = yield* Service39;
|
|
170
|
+
const location = yield* Service84;
|
|
171
|
+
const reference = yield* Service86;
|
|
172
|
+
const rpc = yield* Service62;
|
|
173
|
+
const skill = yield* Service44;
|
|
174
|
+
const tools = yield* Service42;
|
|
175
|
+
const vcs = yield* Service24;
|
|
176
|
+
const websearch = yield* Service23;
|
|
177
|
+
const generate = yield* Service76;
|
|
178
178
|
const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
|
|
179
|
-
const permission = yield*
|
|
180
|
-
const hooks = yield*
|
|
181
|
-
const sessions = yield*
|
|
182
|
-
const instructionEntries = yield*
|
|
183
|
-
const persistentPty = yield*
|
|
184
|
-
const locations = yield*
|
|
185
|
-
const worktrees = yield*
|
|
186
|
-
const worktreeStrategies = yield*
|
|
179
|
+
const permission = yield* Service63;
|
|
180
|
+
const hooks = yield* Service67;
|
|
181
|
+
const sessions = yield* Service27;
|
|
182
|
+
const instructionEntries = yield* Service30;
|
|
183
|
+
const persistentPty = yield* Service26;
|
|
184
|
+
const locations = yield* Service72;
|
|
185
|
+
const worktrees = yield* Service70;
|
|
186
|
+
const worktreeStrategies = yield* Service71;
|
|
187
187
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
188
|
-
const locationInfo = () => new
|
|
189
|
-
directory:
|
|
190
|
-
workspaceID:
|
|
191
|
-
project:
|
|
188
|
+
const locationInfo = (current = location) => new Info29({
|
|
189
|
+
directory: current.directory,
|
|
190
|
+
workspaceID: current.workspaceID,
|
|
191
|
+
project: current.project
|
|
192
192
|
});
|
|
193
193
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
|
|
194
194
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
@@ -196,20 +196,13 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
196
196
|
});
|
|
197
197
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
198
198
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
199
|
-
const
|
|
199
|
+
const atLocation = (ref, effect) => Effect.gen(function* () {
|
|
200
|
+
return { location: locationInfo(yield* Service84), data: yield* effect };
|
|
201
|
+
}).pipe(Effect.provide(locations.get(ref)));
|
|
202
|
+
const sessionPermission = (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`))));
|
|
203
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info21);
|
|
200
204
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
201
|
-
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.
|
|
202
|
-
const location = yield* Service87;
|
|
203
|
-
const agents = yield* Service76;
|
|
204
|
-
return {
|
|
205
|
-
location: new Info30({
|
|
206
|
-
directory: location.directory,
|
|
207
|
-
workspaceID: location.workspaceID,
|
|
208
|
-
project: location.project
|
|
209
|
-
}),
|
|
210
|
-
data: yield* agents.list()
|
|
211
|
-
};
|
|
212
|
-
}).pipe(Effect.provide(locations.get(ref)), Effect.orDie));
|
|
205
|
+
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service66, (agents) => agents.list())).pipe(Effect.orDie));
|
|
213
206
|
const context = {
|
|
214
207
|
app,
|
|
215
208
|
location: locationInfo(),
|
|
@@ -234,10 +227,10 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
234
227
|
transform: (callback) => agents.transform((editor) => {
|
|
235
228
|
callback({
|
|
236
229
|
list: editor.list,
|
|
237
|
-
get: (id) => editor.get(
|
|
238
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
239
|
-
update: (id, update) => editor.update(
|
|
240
|
-
remove: (id) => editor.remove(
|
|
230
|
+
get: (id) => editor.get(ID13.make(id)),
|
|
231
|
+
default: (id) => editor.default(id === undefined ? undefined : ID13.make(id)),
|
|
232
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
233
|
+
remove: (id) => editor.remove(ID13.make(id))
|
|
241
234
|
});
|
|
242
235
|
})
|
|
243
236
|
},
|
|
@@ -279,7 +272,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
279
272
|
get: (id) => editor.get(ID17.make(id)),
|
|
280
273
|
add: (definition) => editor.add({
|
|
281
274
|
...definition,
|
|
282
|
-
sourceConnection: definition.sourceConnection
|
|
275
|
+
sourceConnection: definition.sourceConnection && connectionInfo(definition.sourceConnection)
|
|
283
276
|
}),
|
|
284
277
|
update: (id, update) => editor.update(ID17.make(id), update),
|
|
285
278
|
remove: (id) => editor.remove(ID17.make(id)),
|
|
@@ -433,10 +426,10 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
433
426
|
reload: integration.reload,
|
|
434
427
|
connection: {
|
|
435
428
|
active: (id) => integration.connection.active(ID18.make(id)),
|
|
436
|
-
resolve: (connection) => integration.connection.resolve(
|
|
429
|
+
resolve: (connection) => integration.connection.resolve(connectionInfo(connection)),
|
|
437
430
|
status: (input) => integration.connection.status({
|
|
438
431
|
integrationID: ID18.make(input.integrationID),
|
|
439
|
-
connection:
|
|
432
|
+
connection: connectionInfo(input.connection),
|
|
440
433
|
status: input.status
|
|
441
434
|
})
|
|
442
435
|
},
|
|
@@ -458,18 +451,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
458
451
|
list: (input) => {
|
|
459
452
|
const ref = locationRef(input);
|
|
460
453
|
if (ref && !isCurrentLocation(ref))
|
|
461
|
-
return Effect.
|
|
462
|
-
const location = yield* Service87;
|
|
463
|
-
const mcp = yield* Service29;
|
|
464
|
-
return {
|
|
465
|
-
location: new Info30({
|
|
466
|
-
directory: location.directory,
|
|
467
|
-
workspaceID: location.workspaceID,
|
|
468
|
-
project: location.project
|
|
469
|
-
}),
|
|
470
|
-
data: yield* mcp.servers()
|
|
471
|
-
};
|
|
472
|
-
}).pipe(Effect.provide(locations.get(ref)));
|
|
454
|
+
return atLocation(ref, Effect.flatMap(Service39, (mcp) => mcp.servers()));
|
|
473
455
|
return response(mcp.servers());
|
|
474
456
|
},
|
|
475
457
|
reload: mcp.reload,
|
|
@@ -486,12 +468,12 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
486
468
|
permission: {
|
|
487
469
|
hook: (name, callback) => hooks.register("permission", name, callback),
|
|
488
470
|
list: (input) => permission.forSession(input.sessionID),
|
|
489
|
-
get:
|
|
490
|
-
reply: (input) =>
|
|
471
|
+
get: sessionPermission,
|
|
472
|
+
reply: (input) => sessionPermission(input).pipe(Effect.andThen(() => permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }))),
|
|
491
473
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
492
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
493
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
494
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
474
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error2({ message: error.message, error })),
|
|
475
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error2({ message: error.feedback, error })),
|
|
476
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error2({ message: `Session not found: ${error.sessionID}`, error }))
|
|
495
477
|
}))
|
|
496
478
|
},
|
|
497
479
|
plugin: {
|
|
@@ -502,7 +484,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
502
484
|
reload: reference.reload,
|
|
503
485
|
transform: (callback) => reference.transform((editor) => {
|
|
504
486
|
callback({
|
|
505
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
487
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
|
|
506
488
|
remove: editor.remove,
|
|
507
489
|
list: editor.list,
|
|
508
490
|
get: editor.get
|
|
@@ -516,7 +498,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
516
498
|
callback({
|
|
517
499
|
list: () => mutable(editor.list()),
|
|
518
500
|
get: editor.get,
|
|
519
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
501
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
|
|
520
502
|
update: editor.update,
|
|
521
503
|
remove: editor.remove
|
|
522
504
|
});
|
|
@@ -638,33 +620,33 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
638
620
|
return context;
|
|
639
621
|
});
|
|
640
622
|
var requirements3 = LayerNode.group([
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
623
|
+
node47,
|
|
624
|
+
node69,
|
|
625
|
+
node28,
|
|
626
|
+
node81,
|
|
627
|
+
node83,
|
|
628
|
+
node82,
|
|
629
|
+
node44,
|
|
648
630
|
node93,
|
|
649
|
-
node87,
|
|
650
631
|
node84,
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
632
|
+
node91,
|
|
633
|
+
node42,
|
|
634
|
+
node87,
|
|
635
|
+
node89,
|
|
636
|
+
node65,
|
|
637
|
+
node46,
|
|
654
638
|
node45,
|
|
655
|
-
node72,
|
|
656
|
-
node57,
|
|
657
|
-
node18,
|
|
658
|
-
node19,
|
|
659
|
-
node68,
|
|
660
|
-
node69,
|
|
661
|
-
node73,
|
|
662
|
-
node76,
|
|
663
|
-
node80,
|
|
664
|
-
node21,
|
|
665
639
|
node27,
|
|
666
|
-
|
|
667
|
-
|
|
640
|
+
node26,
|
|
641
|
+
node73,
|
|
642
|
+
node74,
|
|
643
|
+
node79,
|
|
644
|
+
node66,
|
|
645
|
+
node70,
|
|
646
|
+
node30,
|
|
647
|
+
node34,
|
|
648
|
+
node29,
|
|
649
|
+
node75
|
|
668
650
|
]);
|
|
669
651
|
function storage2(kv, pluginID) {
|
|
670
652
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -732,6 +714,9 @@ function methodImplementation(input) {
|
|
|
732
714
|
method: input.method
|
|
733
715
|
};
|
|
734
716
|
}
|
|
717
|
+
function connectionInfo(connection) {
|
|
718
|
+
return connection.type === "credential" ? { ...connection, id: ID20.make(connection.id) } : connection;
|
|
719
|
+
}
|
|
735
720
|
function credential(value) {
|
|
736
721
|
return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
|
|
737
722
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection2 = {};
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info26,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info26 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info26, Status4, key2, exports_connection2 };
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-jkmfd651.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-z0h12gs8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk2 = {};
|
|
18
18
|
__export(exports_aisdk2, {
|
|
19
19
|
AISDK: () => exports_aisdk2,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service78,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node81
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service78 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service78.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -393,7 +393,7 @@ function prompt(request) {
|
|
|
393
393
|
const pending = [];
|
|
394
394
|
const messages = request.messages.flatMap((input, index) => {
|
|
395
395
|
if (input.role !== "tool")
|
|
396
|
-
return message(input);
|
|
396
|
+
return message(input.role, input.content);
|
|
397
397
|
const lowered = toolMessage(input);
|
|
398
398
|
pending.push(...lowered.media);
|
|
399
399
|
if (request.messages[index + 1]?.role === "tool" || pending.length === 0)
|
|
@@ -412,8 +412,8 @@ function prompt(request) {
|
|
|
412
412
|
return messages;
|
|
413
413
|
return [{ role: "system", content: system }, ...messages];
|
|
414
414
|
}
|
|
415
|
-
function message(
|
|
416
|
-
switch (
|
|
415
|
+
function message(role, content) {
|
|
416
|
+
switch (role) {
|
|
417
417
|
case "system":
|
|
418
418
|
return [
|
|
419
419
|
{
|
|
@@ -421,17 +421,15 @@ function message(input) {
|
|
|
421
421
|
content: [
|
|
422
422
|
{
|
|
423
423
|
type: "text",
|
|
424
|
-
text: ProviderShared.wrapSystemUpdate(
|
|
424
|
+
text: ProviderShared.wrapSystemUpdate(content.filter((part) => part.type === "text"))
|
|
425
425
|
}
|
|
426
426
|
]
|
|
427
427
|
}
|
|
428
428
|
];
|
|
429
429
|
case "user":
|
|
430
|
-
return [{ role: "user", content:
|
|
430
|
+
return [{ role: "user", content: content.flatMap(userPart) }];
|
|
431
431
|
case "assistant":
|
|
432
|
-
return [{ role: "assistant", content:
|
|
433
|
-
case "tool":
|
|
434
|
-
return toolMessage(input).messages;
|
|
432
|
+
return [{ role: "assistant", content: content.flatMap(assistantPart) }];
|
|
435
433
|
}
|
|
436
434
|
}
|
|
437
435
|
function toolMessage(input) {
|
|
@@ -681,20 +679,14 @@ function streamPartEvents(state, event) {
|
|
|
681
679
|
providerMetadata: providerMetadata(event.providerMetadata)
|
|
682
680
|
})
|
|
683
681
|
]);
|
|
684
|
-
case "finish":
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
LLMEvent.finish({
|
|
693
|
-
reason: { normalized: finishReason(event.finishReason), raw: event.finishReason.raw },
|
|
694
|
-
usage: usage(event.usage),
|
|
695
|
-
providerMetadata: providerMetadata(event.providerMetadata)
|
|
696
|
-
})
|
|
697
|
-
]);
|
|
682
|
+
case "finish": {
|
|
683
|
+
const finish = {
|
|
684
|
+
reason: { normalized: finishReason(event.finishReason), raw: event.finishReason.raw },
|
|
685
|
+
usage: usage(event.usage),
|
|
686
|
+
providerMetadata: providerMetadata(event.providerMetadata)
|
|
687
|
+
};
|
|
688
|
+
return Effect.succeed([LLMEvent.stepFinish({ index: state.step++, ...finish }), LLMEvent.finish(finish)]);
|
|
689
|
+
}
|
|
698
690
|
case "error":
|
|
699
691
|
return Effect.fail(llmError(event.error, "read"));
|
|
700
692
|
}
|
|
@@ -770,7 +762,7 @@ function llmError(error, operation) {
|
|
|
770
762
|
cause: error
|
|
771
763
|
});
|
|
772
764
|
}
|
|
773
|
-
var errorValue = (error) =>
|
|
765
|
+
var errorValue = (error) => isRecord(error) ? error.value : undefined;
|
|
774
766
|
var NETWORK_ERROR_CODES = new Set([
|
|
775
767
|
"ECONNRESET",
|
|
776
768
|
"ECONNREFUSED",
|
|
@@ -863,6 +855,6 @@ function providerErrorMessage(error) {
|
|
|
863
855
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
856
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
857
|
}
|
|
866
|
-
var
|
|
858
|
+
var node81 = makeLocationNode({ service: Service78, layer: locationLayer2, deps: [] });
|
|
867
859
|
|
|
868
|
-
export { InitError2,
|
|
860
|
+
export { InitError2, Service78, locationLayer2, node81, exports_aisdk2 };
|