@opencode/core 0.0.0-dev-955 → 0.0.0-dev-957
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 +7 -7
- package/dist/artifact.js +240 -240
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-resolver-zbwzkkj6.js → filesystem-08pbggxf.js} +31 -31
- package/dist/chunks/{model-resolver-0ceypjyq.js → filesystem-09tt7k9z.js} +11 -11
- package/dist/chunks/{model-resolver-63xym3gh.js → filesystem-0ahs07zn.js} +4 -4
- package/dist/chunks/{model-resolver-4nzfme03.js → filesystem-0cfy1ehc.js} +4 -4
- package/dist/chunks/{model-resolver-kjxkeadc.js → filesystem-0cvmjxzj.js} +8 -8
- package/dist/chunks/{model-resolver-0y155zs1.js → filesystem-0havt919.js} +6 -6
- package/dist/chunks/filesystem-0hjndary.js +26 -0
- package/dist/chunks/{model-resolver-0j7gp832.js → filesystem-0j7gp832.js} +1 -1
- package/dist/chunks/{model-resolver-0ma9gw4f.js → filesystem-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-resolver-gkz7tbfj.js → filesystem-0mp36kg4.js} +30 -30
- package/dist/chunks/{model-resolver-ncxh5hea.js → filesystem-0pvy9emx.js} +20 -20
- package/dist/chunks/{model-resolver-z4bmfxqk.js → filesystem-0q93trv0.js} +13 -13
- package/dist/chunks/{model-resolver-tfggn6re.js → filesystem-11yq9acd.js} +25 -25
- package/dist/chunks/{model-resolver-9vnrb151.js → filesystem-15ev6cjk.js} +21 -21
- package/dist/chunks/{model-resolver-5k6xrm23.js → filesystem-17b8a7h3.js} +11 -11
- package/dist/chunks/{model-resolver-wt9tzd1g.js → filesystem-17es37va.js} +12 -12
- package/dist/chunks/{model-resolver-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-resolver-cm57h9tw.js → filesystem-1b8vvyhw.js} +9 -9
- package/dist/chunks/{model-resolver-0cftc1cj.js → filesystem-1djvm6kf.js} +8 -8
- package/dist/chunks/{model-resolver-48rbk961.js → filesystem-1dyajge1.js} +19 -19
- package/dist/chunks/{model-resolver-c0j1xhnz.js → filesystem-1jt30gsv.js} +14 -14
- package/dist/chunks/{model-resolver-c6nmgr7r.js → filesystem-1rkgdt11.js} +90 -90
- package/dist/chunks/{model-resolver-1an0vnxq.js → filesystem-1rv0jg3n.js} +23 -23
- package/dist/chunks/{model-resolver-msd2a3qm.js → filesystem-1v2g13eq.js} +4 -4
- package/dist/chunks/{model-resolver-rpczda7v.js → filesystem-1v53xt9g.js} +5 -5
- package/dist/chunks/{model-resolver-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-enmbc2c1.js → filesystem-1y90dh74.js} +12 -12
- package/dist/chunks/{model-resolver-1yq9hg58.js → filesystem-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-resolver-ychas7hp.js → filesystem-20bx7jp1.js} +16 -16
- package/dist/chunks/{model-resolver-1ep2p91f.js → filesystem-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-resolver-0tm8m47h.js → filesystem-2dgmvn0e.js} +11 -11
- package/dist/chunks/{model-resolver-2fc7eemy.js → filesystem-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-resolver-ckdfchax.js → filesystem-2m7evczf.js} +22 -22
- package/dist/chunks/{model-resolver-w52mnfka.js → filesystem-2nw7gz01.js} +10 -10
- package/dist/chunks/{model-resolver-2p60zmnr.js → filesystem-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-resolver-s7b4430n.js → filesystem-2q2xjc3y.js} +12 -12
- package/dist/chunks/{model-resolver-cat34y4z.js → filesystem-2r27xy4g.js} +29 -29
- package/dist/chunks/{model-resolver-1xjver7d.js → filesystem-365eavge.js} +4 -4
- package/dist/chunks/{model-resolver-ayjs7tqn.js → filesystem-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-resolver-378qq6ap.js → filesystem-3ev9nt0s.js} +13 -13
- package/dist/chunks/{model-resolver-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-s335nrrb.js → filesystem-3jsstbwk.js} +8 -8
- package/dist/chunks/{model-resolver-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-9k2g0ym6.js → filesystem-3yj7dt59.js} +8 -8
- package/dist/chunks/{model-resolver-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-resolver-w2eysc6j.js → filesystem-40za9wsf.js} +9 -9
- package/dist/chunks/{model-resolver-p2jr62an.js → filesystem-418pw5n0.js} +19 -19
- package/dist/chunks/{model-resolver-44pmzq9c.js → filesystem-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-resolver-y5z3432y.js → filesystem-454f6kjb.js} +7 -7
- package/dist/chunks/{model-resolver-mp6qsgyp.js → filesystem-48wvk849.js} +2 -2
- package/dist/chunks/{model-resolver-xra4j8wk.js → filesystem-4avqmzbm.js} +9 -9
- package/dist/chunks/{model-resolver-6amx7x2h.js → filesystem-4bj26h8q.js} +13 -13
- package/dist/chunks/{model-resolver-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-resolver-aw6b62hs.js → filesystem-4e7fsjjk.js} +19 -19
- package/dist/chunks/{model-resolver-4f25tdd0.js → filesystem-4f25tdd0.js} +1 -1
- package/dist/chunks/{model-resolver-cpe35zww.js → filesystem-4gmbvmjy.js} +4 -4
- package/dist/chunks/{model-resolver-dx7n85xr.js → filesystem-4n2dtty6.js} +11 -11
- package/dist/chunks/{model-resolver-29526e95.js → filesystem-4pvj62dq.js} +27 -27
- package/dist/chunks/{model-resolver-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-d0x2nk4r.js → filesystem-4rqnzn9t.js} +50 -50
- package/dist/chunks/{model-resolver-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-t5791h1y.js → filesystem-4yaz4z6j.js} +11 -11
- package/dist/chunks/{model-resolver-7jj85bbm.js → filesystem-51jhd8ep.js} +33 -33
- package/dist/chunks/{model-resolver-nf0ssdv7.js → filesystem-55cy7d7f.js} +5 -5
- package/dist/chunks/{model-resolver-h0hxey4q.js → filesystem-5an0vcbv.js} +5 -5
- package/dist/chunks/{model-resolver-nh0xn3za.js → filesystem-5drv7zr7.js} +21 -21
- package/dist/chunks/{model-resolver-q8326745.js → filesystem-5j3ybskv.js} +21 -21
- package/dist/chunks/{model-resolver-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-eg8ahkfp.js → filesystem-5smxck5e.js} +31 -31
- package/dist/chunks/{model-resolver-8cg7mtm3.js → filesystem-5whx36p1.js} +4 -4
- package/dist/chunks/{model-resolver-1fjzrffe.js → filesystem-63zz6drz.js} +33 -33
- package/dist/chunks/{model-resolver-0egfkvmt.js → filesystem-67hqsa53.js} +4 -4
- package/dist/chunks/{model-resolver-ksw43kvm.js → filesystem-68ng9fap.js} +42 -42
- package/dist/chunks/{model-resolver-r564e27w.js → filesystem-6c7v3fwj.js} +43 -43
- package/dist/chunks/{model-resolver-kmn2yx6x.js → filesystem-6e0r0q4k.js} +3 -3
- package/dist/chunks/{model-resolver-qtf35215.js → filesystem-6q8jj3zs.js} +3 -3
- package/dist/chunks/{model-resolver-a9pnpjw0.js → filesystem-6wag68c3.js} +9 -9
- package/dist/chunks/{model-resolver-vwhy63a2.js → filesystem-6xgbgdv6.js} +16 -16
- package/dist/chunks/{model-resolver-q8b6rxxn.js → filesystem-7184ydrq.js} +15 -15
- package/dist/chunks/{model-resolver-yfztsk7h.js → filesystem-76p3xy3c.js} +11 -11
- package/dist/chunks/{model-resolver-775hqbnd.js → filesystem-775hqbnd.js} +3 -3
- package/dist/chunks/{model-resolver-a4ye1bjy.js → filesystem-7828r2n0.js} +22 -22
- package/dist/chunks/{model-resolver-61qraad9.js → filesystem-78p2h4ex.js} +5 -5
- package/dist/chunks/{model-resolver-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-c1sfsxsr.js → filesystem-7f840skq.js} +8 -8
- package/dist/chunks/{model-resolver-qj27ec1j.js → filesystem-7nqkf5r1.js} +2 -2
- package/dist/chunks/{model-resolver-v9fmmn1s.js → filesystem-7ns12trf.js} +54 -54
- package/dist/chunks/{model-resolver-hb3eng2b.js → filesystem-7nte6xmc.js} +21 -21
- package/dist/chunks/{model-resolver-x8bn6g0h.js → filesystem-7s99zgth.js} +22 -22
- package/dist/chunks/{model-resolver-ayfytmn9.js → filesystem-7trt7kgg.js} +5 -5
- package/dist/chunks/{model-resolver-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-7weczvnd.js → filesystem-7weczvnd.js} +1 -1
- package/dist/chunks/{model-resolver-w6pxevtb.js → filesystem-7xqm9b38.js} +11 -11
- package/dist/chunks/{model-resolver-80pdk984.js → filesystem-80pdk984.js} +1 -1
- package/dist/chunks/{model-resolver-9dqqprs2.js → filesystem-80w9bxhm.js} +13 -13
- package/dist/chunks/{model-resolver-m7sx3bgz.js → filesystem-82m30djg.js} +11 -11
- package/dist/chunks/{model-resolver-pnn7z9dj.js → filesystem-837f9cvw.js} +5 -5
- package/dist/chunks/{model-resolver-89287pr7.js → filesystem-89287pr7.js} +1 -1
- package/dist/chunks/{model-resolver-8b3vzgkx.js → filesystem-8b3vzgkx.js} +1 -1
- package/dist/chunks/{model-resolver-k3xh0dgs.js → filesystem-8c7x16zv.js} +31 -31
- package/dist/chunks/{model-resolver-aedwt843.js → filesystem-8d2bz6m6.js} +8 -8
- package/dist/chunks/{model-resolver-c48dbhpj.js → filesystem-8mkk93b3.js} +6 -6
- package/dist/chunks/{model-resolver-hkf8spj2.js → filesystem-8t99kr38.js} +7 -7
- package/dist/chunks/{model-resolver-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-kbgs7tyr.js → filesystem-8xz27cp9.js} +4 -4
- package/dist/chunks/{model-resolver-mb7mbhnz.js → filesystem-8z6m94af.js} +3 -3
- package/dist/chunks/{model-resolver-8zv0xmg5.js → filesystem-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-resolver-z080rjh6.js → filesystem-90ct6wq4.js} +4 -4
- package/dist/chunks/{model-resolver-2bswbpgz.js → filesystem-93xmyh8q.js} +7 -7
- package/dist/chunks/{model-resolver-963hk181.js → filesystem-963hk181.js} +2 -2
- package/dist/chunks/{model-resolver-z1ye1qyj.js → filesystem-9czynnf5.js} +77 -77
- package/dist/chunks/{model-resolver-v0t96s7a.js → filesystem-9q8g9sv8.js} +4 -4
- package/dist/chunks/{model-resolver-v2x06h94.js → filesystem-9rqhy0gk.js} +7 -7
- package/dist/chunks/{model-resolver-vx2e8sqf.js → filesystem-9t9kmmk7.js} +48 -48
- package/dist/chunks/{model-resolver-fs7bndbs.js → filesystem-9vmr7758.js} +5 -5
- package/dist/chunks/{model-resolver-n4pheaw7.js → filesystem-a11c4705.js} +12 -12
- package/dist/chunks/{model-resolver-qtvg7j9r.js → filesystem-a4z47j9b.js} +26 -26
- package/dist/chunks/filesystem-a610t88q.js +18 -0
- package/dist/chunks/{model-resolver-t92x0zza.js → filesystem-a8dpdn4a.js} +24 -24
- package/dist/chunks/{model-resolver-kkjv8hxa.js → filesystem-aay370xc.js} +4 -4
- package/dist/chunks/{model-resolver-1gt57e1e.js → filesystem-acn9mmgv.js} +11 -11
- package/dist/chunks/{model-resolver-avnqt6kg.js → filesystem-acts9ffx.js} +20 -20
- package/dist/chunks/{model-resolver-19yc6xr0.js → filesystem-afx89y6e.js} +17 -17
- package/dist/chunks/{model-resolver-034tev2y.js → filesystem-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-resolver-tx3g5vmq.js → filesystem-b0bwd18e.js} +17 -17
- package/dist/chunks/{model-resolver-b26ddj6h.js → filesystem-b26ddj6h.js} +4 -4
- package/dist/chunks/{model-resolver-b2nxz5gt.js → filesystem-b2vh92cg.js} +31 -31
- package/dist/chunks/{model-resolver-5947jcqa.js → filesystem-b3pd91qs.js} +22 -22
- package/dist/chunks/{model-resolver-kcrgnjky.js → filesystem-b6bj0qf6.js} +11 -11
- package/dist/chunks/{model-resolver-8sxe6kv8.js → filesystem-bb3mmwvh.js} +2 -2
- package/dist/chunks/{model-resolver-tmkvp075.js → filesystem-bebc0q7y.js} +23 -23
- package/dist/chunks/{model-resolver-dtme87ya.js → filesystem-bh19fz13.js} +17 -17
- package/dist/chunks/{model-resolver-jkdcm5hg.js → filesystem-bhfd478d.js} +4 -4
- package/dist/chunks/{model-resolver-16rxfwk3.js → filesystem-br87qvha.js} +16 -16
- package/dist/chunks/{model-resolver-wrgtyz65.js → filesystem-bry3s3h0.js} +18 -18
- package/dist/chunks/{model-resolver-86k8js72.js → filesystem-bxvej6ck.js} +38 -38
- package/dist/chunks/{model-resolver-zpdbqgja.js → filesystem-by8ty0bx.js} +4 -4
- package/dist/chunks/{model-resolver-1nrv139b.js → filesystem-c3crn9d5.js} +25 -25
- package/dist/chunks/{model-resolver-1wpjn8xr.js → filesystem-c3wmb854.js} +25 -25
- package/dist/chunks/{model-resolver-wt99tj4q.js → filesystem-c7cw818c.js} +5 -5
- package/dist/chunks/{model-resolver-wn72e71g.js → filesystem-c8gnfnry.js} +32 -32
- package/dist/chunks/{model-resolver-jp46v55q.js → filesystem-ccckf9jr.js} +12 -12
- package/dist/chunks/{model-resolver-gwyytpcj.js → filesystem-ckn0kvtp.js} +6 -6
- package/dist/chunks/{model-resolver-sgp8jcxy.js → filesystem-crwg6mh2.js} +4 -4
- package/dist/chunks/{model-resolver-f8qjaksx.js → filesystem-csnvjcee.js} +14 -14
- package/dist/chunks/{model-resolver-yk4ram99.js → filesystem-csxpn9yn.js} +3 -3
- package/dist/chunks/{model-resolver-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-resolver-d0p5c7fg.js → filesystem-cymdgrpe.js} +12 -12
- package/dist/chunks/{model-resolver-bbmr939d.js → filesystem-d001apn6.js} +14 -14
- package/dist/chunks/{model-resolver-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-xsg82h9c.js → filesystem-d6sk47qw.js} +6 -6
- package/dist/chunks/{model-resolver-nbbqkgb4.js → filesystem-db6nf9v0.js} +8 -8
- package/dist/chunks/{model-resolver-b0bwvcfx.js → filesystem-dbsreg9c.js} +6 -6
- package/dist/chunks/{model-resolver-88hvwf89.js → filesystem-dj75yzz7.js} +25 -25
- package/dist/chunks/{model-resolver-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-90che2b9.js → filesystem-dw1bgse5.js} +1 -1
- package/dist/chunks/{model-resolver-kfk7sbn0.js → filesystem-e2tfp8ry.js} +3 -3
- package/dist/chunks/{model-resolver-k2m8pptq.js → filesystem-ep6snxvm.js} +5 -5
- package/dist/chunks/{model-resolver-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-resolver-5js06kta.js → filesystem-erh9g648.js} +15 -15
- package/dist/chunks/{model-resolver-eeavz234.js → filesystem-f59jsr6e.js} +15 -15
- package/dist/chunks/{model-resolver-qyweffd1.js → filesystem-f7dfffjm.js} +8 -8
- package/dist/chunks/{model-resolver-n320gsn2.js → filesystem-fcrd7kek.js} +4 -4
- package/dist/chunks/{model-resolver-ahvr9zks.js → filesystem-ff9814bj.js} +5 -5
- package/dist/chunks/{model-resolver-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-pc0teew3.js → filesystem-fgr6g8pv.js} +10 -10
- package/dist/chunks/{model-resolver-63qszgpc.js → filesystem-fx4vwgh3.js} +20 -20
- package/dist/chunks/{model-resolver-b62sbhp2.js → filesystem-g5gt5c3n.js} +9 -9
- package/dist/chunks/{model-resolver-4tqs0jzk.js → filesystem-g9ndtp1p.js} +4 -4
- package/dist/chunks/{model-resolver-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-resolver-nex29pj9.js → filesystem-gbx63q5b.js} +41 -41
- package/dist/chunks/{model-resolver-garhgm1n.js → filesystem-gcy216gt.js} +22 -22
- package/dist/chunks/{model-resolver-jryxgqq0.js → filesystem-gexxa2vn.js} +33 -33
- package/dist/chunks/{model-resolver-2q81t726.js → filesystem-gg2b8mjc.js} +18 -18
- package/dist/chunks/{model-resolver-sczaav9c.js → filesystem-gpcm5csb.js} +29 -29
- package/dist/chunks/{model-resolver-9y0r5z65.js → filesystem-gqwyess1.js} +32 -32
- package/dist/chunks/{model-resolver-prfkbj99.js → filesystem-grjr2gbp.js} +3 -3
- package/dist/chunks/{model-resolver-q8creews.js → filesystem-gtg9pbpj.js} +12 -12
- package/dist/chunks/{model-resolver-kkys5r10.js → filesystem-gx924ews.js} +37 -37
- package/dist/chunks/{model-resolver-tg7s7b5t.js → filesystem-gxs71cxp.js} +4 -4
- package/dist/chunks/{model-resolver-vyeecgqw.js → filesystem-gzmww30b.js} +16 -16
- package/dist/chunks/{model-resolver-aek35f17.js → filesystem-h34znyea.js} +20 -20
- package/dist/chunks/{model-resolver-nz0schhs.js → filesystem-h41db3f3.js} +29 -29
- package/dist/chunks/{model-resolver-vgf57983.js → filesystem-haw8stzt.js} +5 -5
- package/dist/chunks/{model-resolver-hgzwgvze.js → filesystem-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-resolver-gwddft2b.js → filesystem-hj5ypy4p.js} +25 -25
- package/dist/chunks/{model-resolver-7a7wjhyp.js → filesystem-hj6988hr.js} +11 -11
- package/dist/chunks/{model-resolver-tzwsp11x.js → filesystem-hkfe6d6q.js} +12 -12
- package/dist/chunks/{model-resolver-qw33hgje.js → filesystem-hmadzfaz.js} +18 -18
- package/dist/chunks/{model-resolver-9yqjp86x.js → filesystem-hmc1gkc2.js} +6 -6
- package/dist/chunks/{model-resolver-wbj062vg.js → filesystem-hsx8x5xk.js} +30 -30
- package/dist/chunks/{model-resolver-305j2bn3.js → filesystem-htbgj509.js} +27 -27
- package/dist/chunks/{model-resolver-8s85hddg.js → filesystem-hwapax60.js} +20 -20
- package/dist/chunks/{model-resolver-f5htpt59.js → filesystem-j0yjsatb.js} +13 -13
- package/dist/chunks/{model-resolver-zpnj1tny.js → filesystem-j1wvkh1x.js} +8 -8
- package/dist/chunks/{model-resolver-j9nxzz3g.js → filesystem-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-resolver-2yvb8gsx.js → filesystem-jaee43gy.js} +16 -16
- package/dist/chunks/{model-resolver-gn85cqnh.js → filesystem-jctajm4m.js} +7 -7
- package/dist/chunks/{model-resolver-7g8wh7aj.js → filesystem-jd9j19df.js} +34 -34
- package/dist/chunks/{model-resolver-jqnhb84p.js → filesystem-jeyt5pa2.js} +34 -34
- package/dist/chunks/{model-resolver-jm70asfg.js → filesystem-jm70asfg.js} +1 -1
- package/dist/chunks/{model-resolver-xq64ck47.js → filesystem-jpdnsake.js} +4 -4
- package/dist/chunks/{model-resolver-hrhdtsqf.js → filesystem-jqrvh40r.js} +47 -47
- package/dist/chunks/{model-resolver-h9ymn086.js → filesystem-jqz55792.js} +8 -8
- package/dist/chunks/{model-resolver-swmy6bdm.js → filesystem-jt92w8ws.js} +14 -14
- package/dist/chunks/{model-resolver-ss22qbvv.js → filesystem-jxza8fhd.js} +9 -9
- package/dist/chunks/{model-resolver-e96hncb3.js → filesystem-k3p9dtgb.js} +18 -18
- package/dist/chunks/{model-resolver-64gbtxz5.js → filesystem-k58qkxgp.js} +38 -38
- package/dist/chunks/{model-resolver-ynthgyw4.js → filesystem-kapntja0.js} +5 -5
- package/dist/chunks/{model-resolver-5n28pc9n.js → filesystem-keyjx42v.js} +41 -41
- package/dist/chunks/{model-resolver-j7qza38z.js → filesystem-kh1zbdt3.js} +7 -7
- package/dist/chunks/{model-resolver-qfz6bxfd.js → filesystem-kj9n5bvh.js} +4 -4
- package/dist/chunks/{model-resolver-0wqvtycd.js → filesystem-kse531ts.js} +6 -6
- package/dist/chunks/{model-resolver-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-rw2jerq5.js → filesystem-kvcp6n19.js} +22 -22
- package/dist/chunks/{model-resolver-4k3ejajh.js → filesystem-kvtg5rv4.js} +8 -8
- package/dist/chunks/{model-resolver-kzczzf4v.js → filesystem-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-resolver-rs5y255m.js → filesystem-kznkdm16.js} +38 -38
- package/dist/chunks/{model-resolver-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-fkfhdjeg.js → filesystem-m2pcc6v5.js} +8 -8
- package/dist/chunks/{model-resolver-rnk70wm5.js → filesystem-m5gve12k.js} +25 -25
- package/dist/chunks/{model-resolver-h13d263h.js → filesystem-m60z7dxa.js} +86 -86
- package/dist/chunks/{model-resolver-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-d7fpwqtt.js → filesystem-maqe1dzr.js} +59 -59
- package/dist/chunks/{model-resolver-5zwfbemh.js → filesystem-mrqpf9vy.js} +187 -187
- package/dist/chunks/{model-resolver-q2vkjmym.js → filesystem-mxxad9v0.js} +11 -11
- package/dist/chunks/{model-resolver-7s2n0qph.js → filesystem-n0hg6e9k.js} +28 -28
- package/dist/chunks/{model-resolver-4qts9jm2.js → filesystem-n67psbbx.js} +18 -18
- package/dist/chunks/{model-resolver-31avdb49.js → filesystem-n81rxgvg.js} +8 -8
- package/dist/chunks/{model-resolver-4yj32zef.js → filesystem-ngrxenw8.js} +18 -18
- package/dist/chunks/{model-resolver-1m93zrrd.js → filesystem-ngtphjad.js} +47 -47
- package/dist/chunks/{model-resolver-vwjwnvn0.js → filesystem-np8em5wg.js} +2 -2
- package/dist/chunks/{model-resolver-30nntx8z.js → filesystem-nq4f4ywt.js} +18 -18
- package/dist/chunks/{model-resolver-atz1w742.js → filesystem-nt907s04.js} +3 -3
- package/dist/chunks/{model-resolver-7armgj4r.js → filesystem-ntbmxnjx.js} +2 -2
- package/dist/chunks/{model-resolver-wegkxhrn.js → filesystem-nx4vzyjd.js} +2 -2
- package/dist/chunks/{model-resolver-h757w2se.js → filesystem-nzkaa3ba.js} +13 -13
- package/dist/chunks/{model-resolver-qx8vbq4y.js → filesystem-p5ccmfnv.js} +43 -43
- package/dist/chunks/{model-resolver-z1t5wyfc.js → filesystem-p7b25p4c.js} +8 -8
- package/dist/chunks/{model-resolver-2m6pt75m.js → filesystem-p8cs7n7b.js} +18 -18
- package/dist/chunks/{model-resolver-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-5btsg0r7.js → filesystem-ppxbfkyv.js} +16 -16
- package/dist/chunks/{model-resolver-rj7j5fvs.js → filesystem-px7qpgcn.js} +4 -4
- package/dist/chunks/{model-resolver-8tkeyxfb.js → filesystem-qcktaagv.js} +15 -15
- package/dist/chunks/{model-resolver-7z81aap4.js → filesystem-qghv1qvb.js} +9 -9
- package/dist/chunks/{model-resolver-p1p5zv4x.js → filesystem-qgxpp3m1.js} +12 -12
- package/dist/chunks/{model-resolver-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-asgfhhtj.js → filesystem-qq6kszvj.js} +12 -12
- package/dist/chunks/{model-resolver-k3cx6fhe.js → filesystem-qsdghx1p.js} +4 -4
- package/dist/chunks/{model-resolver-p66p653y.js → filesystem-qtemt9a6.js} +6 -6
- package/dist/chunks/{model-resolver-3qcn2qs5.js → filesystem-qyr2dypf.js} +26 -26
- package/dist/chunks/{model-resolver-7x764a2t.js → filesystem-qyvke9h9.js} +43 -34
- package/dist/chunks/{model-resolver-ttnv2vdn.js → filesystem-r4rzdsef.js} +15 -15
- package/dist/chunks/{model-resolver-1v62x7nb.js → filesystem-r75f2j8n.js} +8 -8
- package/dist/chunks/{model-resolver-n3j33rb6.js → filesystem-r7zrbnjn.js} +4 -4
- package/dist/chunks/{model-resolver-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-pebxp5y5.js → filesystem-rdrrctes.js} +19 -19
- package/dist/chunks/{model-resolver-rgc9cx3e.js → filesystem-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-resolver-8e56318f.js → filesystem-rgm5kar6.js} +15 -15
- package/dist/chunks/{model-resolver-862f8wp5.js → filesystem-rkna7mc2.js} +7 -7
- package/dist/chunks/{model-resolver-x790wh7m.js → filesystem-rky169ds.js} +26 -26
- package/dist/chunks/{model-resolver-3adw4bt5.js → filesystem-rp6t20zc.js} +9 -9
- package/dist/chunks/{model-resolver-hvv8mc35.js → filesystem-rr1v8qt4.js} +35 -35
- package/dist/chunks/{model-resolver-ze34bysh.js → filesystem-rr6wzrrw.js} +9 -9
- package/dist/chunks/{model-resolver-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-kc6jjgz6.js → filesystem-rtznbf6z.js} +3 -3
- package/dist/chunks/{model-resolver-ccp6j38y.js → filesystem-ry7kp2db.js} +8 -8
- package/dist/chunks/{model-resolver-cbfqvt1a.js → filesystem-s82ny5ks.js} +11 -11
- package/dist/chunks/{model-resolver-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
- package/dist/chunks/{model-resolver-px08ft37.js → filesystem-scn5v30h.js} +9 -9
- package/dist/chunks/{model-resolver-x150ncgg.js → filesystem-sdn2zcx3.js} +2 -2
- package/dist/chunks/{model-resolver-ghrv1g9c.js → filesystem-sdt5j0rm.js} +4 -4
- package/dist/chunks/{model-resolver-n3hh2qv3.js → filesystem-sgsg0vfz.js} +6 -6
- package/dist/chunks/{model-resolver-81ev3d3w.js → filesystem-sktkk5wx.js} +31 -31
- package/dist/chunks/{model-resolver-25nfhamq.js → filesystem-snpn28jx.js} +4 -4
- package/dist/chunks/{model-resolver-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-0zxwyar4.js → filesystem-t2jj1q7e.js} +6 -6
- package/dist/chunks/{model-resolver-2cmt08sf.js → filesystem-t319hsc5.js} +5 -5
- package/dist/chunks/{model-resolver-y1n277rb.js → filesystem-t48jrnqq.js} +3 -3
- package/dist/chunks/{model-resolver-z8nr08b9.js → filesystem-t5rmm2ev.js} +9 -9
- package/dist/chunks/{model-resolver-zwt6szs0.js → filesystem-t79wcjvh.js} +12 -12
- package/dist/chunks/{model-resolver-v4bj6baw.js → filesystem-tb2mrvc9.js} +4 -4
- package/dist/chunks/{model-resolver-tbpn7jtk.js → filesystem-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-resolver-ey9mc5c5.js → filesystem-tc77hxc8.js} +37 -37
- package/dist/chunks/{model-resolver-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-h91vm5r2.js → filesystem-teav1bzy.js} +9 -9
- package/dist/chunks/{model-resolver-tr8x705m.js → filesystem-tr8x705m.js} +1 -1
- package/dist/chunks/{model-resolver-sctz5g06.js → filesystem-tsda2a03.js} +27 -27
- package/dist/chunks/{model-resolver-tvtps2q9.js → filesystem-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-resolver-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-djnbs9jq.js → filesystem-vgc35wbf.js} +30 -30
- package/dist/chunks/{model-resolver-qj3y0fcq.js → filesystem-vgfnw8qz.js} +8 -8
- package/dist/chunks/{model-resolver-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-resolver-2m3cx6qa.js → filesystem-vm784cm5.js} +3 -3
- package/dist/chunks/{model-resolver-k5gj7jr3.js → filesystem-vnn7kt1n.js} +41 -41
- package/dist/chunks/{model-resolver-xzaf10m4.js → filesystem-vqved2p9.js} +45 -45
- package/dist/chunks/{model-resolver-2m2g9ynh.js → filesystem-vsnnaxjq.js} +4 -4
- package/dist/chunks/{model-resolver-208qyq12.js → filesystem-vz5gdy1c.js} +16 -16
- package/dist/chunks/{model-resolver-n7vzwr2f.js → filesystem-vza1zfjv.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-w687dnns.js → filesystem-w687dnns.js} +1 -1
- package/dist/chunks/{model-resolver-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-fzx6s9yr.js → filesystem-wfddqnpx.js} +7 -7
- package/dist/chunks/{model-resolver-tyf1chh3.js → filesystem-wn623n5w.js} +14 -14
- package/dist/chunks/filesystem-wpdcbbyg.js +571 -0
- package/dist/chunks/{model-resolver-e0kdqj0n.js → filesystem-wqqvn0mb.js} +11 -11
- package/dist/chunks/{model-resolver-t1m564cg.js → filesystem-wsrzsgee.js} +8 -8
- package/dist/chunks/{model-resolver-2a4ad453.js → filesystem-wt40kvke.js} +51 -51
- package/dist/chunks/{model-resolver-nyxvvj5y.js → filesystem-wvr8xscb.js} +4 -4
- package/dist/chunks/{model-resolver-g218nywn.js → filesystem-wybce884.js} +5 -5
- package/dist/chunks/{model-resolver-q3dx51xc.js → filesystem-x1nvxta7.js} +9 -9
- package/dist/chunks/{model-resolver-3vkvfvwt.js → filesystem-x3d6bqxn.js} +14 -14
- package/dist/chunks/{model-resolver-prw5shb5.js → filesystem-x3k6scem.js} +25 -25
- package/dist/chunks/{model-resolver-bstexjd6.js → filesystem-xd9cc171.js} +5 -5
- package/dist/chunks/{model-resolver-w1w3hc48.js → filesystem-xfmt2ww9.js} +4 -4
- package/dist/chunks/{model-resolver-zcpemdvy.js → filesystem-xj7xg5ja.js} +23 -23
- package/dist/chunks/{model-resolver-xxschbft.js → filesystem-xjr6c8m4.js} +4 -4
- package/dist/chunks/{model-resolver-8zfqw22d.js → filesystem-xr7zekac.js} +15 -15
- package/dist/chunks/{model-resolver-b7nkz392.js → filesystem-xtq9xpt1.js} +1 -1
- package/dist/chunks/{model-resolver-t6xbhbt0.js → filesystem-y140ayzt.js} +8 -8
- package/dist/chunks/{model-resolver-1254y337.js → filesystem-y5rwnb26.js} +15 -15
- package/dist/chunks/{model-resolver-wyea6evt.js → filesystem-y5y97czz.js} +21 -21
- package/dist/chunks/{model-resolver-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-edm37t96.js → filesystem-ygnyxm4b.js} +6 -6
- package/dist/chunks/{model-resolver-v5aaewsh.js → filesystem-yny8e69s.js} +4 -4
- package/dist/chunks/{model-resolver-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
- package/dist/chunks/{model-resolver-r0k0zykn.js → filesystem-yst66qdr.js} +14 -14
- package/dist/chunks/{model-resolver-xaa0v9kx.js → filesystem-yv682wh0.js} +33 -33
- package/dist/chunks/{model-resolver-yvtc2x31.js → filesystem-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-resolver-w3db5nnn.js → filesystem-yw294zhh.js} +26 -26
- package/dist/chunks/{model-resolver-9qa1n9yg.js → filesystem-z5c2z2ge.js} +20 -20
- package/dist/chunks/{model-resolver-ha02ktpj.js → filesystem-z72m2yzn.js} +11 -11
- package/dist/chunks/filesystem-z829e1vf.js +265 -0
- package/dist/chunks/{model-resolver-najt5kby.js → filesystem-zeppcy2b.js} +18 -18
- package/dist/chunks/{model-resolver-rt29q10a.js → filesystem-zfzncdf1.js} +43 -43
- package/dist/chunks/{model-resolver-j4yx3b1w.js → filesystem-zhjr46dy.js} +4 -4
- package/dist/chunks/{model-resolver-56t20xve.js → filesystem-zt8d2mt2.js} +10 -10
- package/dist/chunks/{model-resolver-9tntx0tg.js → filesystem-zvbpgp0m.js} +12 -12
- package/dist/chunks/{model-resolver-yp6k58js.js → filesystem-zzmy57bz.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- 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 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- 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 +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +101 -101
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +431 -431
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- 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 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +169 -169
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +253 -253
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- package/dist/chunks/model-resolver-00ve6mdn.js +0 -18
- package/dist/chunks/model-resolver-4h7dzzwv.js +0 -26
- package/dist/chunks/model-resolver-fss82tpd.js +0 -571
- package/dist/chunks/model-resolver-jnad4gzd.js +0 -265
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-108x4f4w.js → filesystem-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3af0jn4w.js → filesystem-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6agm2x70.js → filesystem-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bhmrqjy3.js → filesystem-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-syrav9an.js → filesystem-syrav9an.js} +0 -0
- /package/dist/chunks/{model-resolver-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-resolver-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-vtarvj67.js → filesystem-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x4th4bpe.js → filesystem-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z0h12gs8.js → filesystem-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-resolver-zxpyjp51.js → filesystem-zxpyjp51.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./filesystem-bh19fz13.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./filesystem-gg2b8mjc.js";
|
|
13
13
|
import {
|
|
14
14
|
invocation2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./filesystem-jqrvh40r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service18,
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-7s99zgth.js";
|
|
21
21
|
import {
|
|
22
22
|
output2,
|
|
23
23
|
notice2,
|
|
24
24
|
metadata2,
|
|
25
25
|
notification2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-89287pr7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service52,
|
|
29
29
|
name17
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-3ev9nt0s.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError8,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service50
|
|
34
|
+
} from "./filesystem-68ng9fap.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service28
|
|
37
|
+
} from "./filesystem-1rkgdt11.js";
|
|
38
38
|
import {
|
|
39
39
|
scan3
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-zhjr46dy.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/shell.ts
|
|
46
|
-
var
|
|
47
|
-
__export(
|
|
46
|
+
var exports_shell = {};
|
|
47
|
+
__export(exports_shell, {
|
|
48
48
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
51
|
-
ShellTool: () =>
|
|
52
|
-
name: () =>
|
|
49
|
+
Input: () => Input14,
|
|
50
|
+
Plugin: () => Plugin35,
|
|
51
|
+
ShellTool: () => exports_shell,
|
|
52
|
+
name: () => name14
|
|
53
53
|
});
|
|
54
54
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
55
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
56
|
+
var name14 = "shell";
|
|
57
57
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
58
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
59
59
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -67,7 +67,7 @@ var description = (shell) => [
|
|
|
67
67
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
68
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
69
|
].join(" ");
|
|
70
|
-
var
|
|
70
|
+
var Input14 = Schema.Struct({
|
|
71
71
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
72
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
73
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -113,18 +113,18 @@ Output is streaming to: ${file}`,
|
|
|
113
113
|
truncated: false,
|
|
114
114
|
status: "running"
|
|
115
115
|
});
|
|
116
|
-
var
|
|
116
|
+
var Plugin35 = {
|
|
117
117
|
id: "opencode.tool.shell",
|
|
118
118
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
119
|
+
const sessions = yield* Service28;
|
|
120
|
+
const jobs = yield* Service59;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
122
|
+
const environment = yield* Service80;
|
|
123
|
+
const access = yield* Service18;
|
|
124
|
+
const shell = yield* Service50;
|
|
125
|
+
const shellSelect = yield* Service52;
|
|
126
126
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
|
-
const permission = yield*
|
|
127
|
+
const permission = yield* Service64;
|
|
128
128
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
129
129
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
130
130
|
invocation.cwd = target.absolute;
|
|
@@ -137,7 +137,7 @@ var Plugin26 = {
|
|
|
137
137
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
138
|
if (parsed.commands.length > 0)
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name14,
|
|
141
141
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
142
|
save: parsed.commands.map((command) => command.save),
|
|
143
143
|
...invocation2(context)
|
|
@@ -172,10 +172,10 @@ var Plugin26 = {
|
|
|
172
172
|
yield* jobs.completeBackground(info.notificationID);
|
|
173
173
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
174
174
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
175
|
-
name:
|
|
175
|
+
name: name14,
|
|
176
176
|
options: { codemode: false },
|
|
177
177
|
description: description(),
|
|
178
|
-
input:
|
|
178
|
+
input: Input14,
|
|
179
179
|
output: Output,
|
|
180
180
|
execute: (input, context) => Effect.gen(function* () {
|
|
181
181
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -212,7 +212,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
212
212
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
213
213
|
const job = yield* jobs.start({
|
|
214
214
|
id: info.id,
|
|
215
|
-
type:
|
|
215
|
+
type: name14,
|
|
216
216
|
title: info.command,
|
|
217
217
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
218
218
|
recovery: {
|
|
@@ -242,7 +242,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
242
242
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
243
243
|
})).pipe(Effect.orDie);
|
|
244
244
|
const hook = (event) => Effect.gen(function* () {
|
|
245
|
-
const tool = event.tools[
|
|
245
|
+
const tool = event.tools[name14];
|
|
246
246
|
if (!tool)
|
|
247
247
|
return;
|
|
248
248
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -253,4 +253,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name14, DEFAULT_TIMEOUT_MS2, Input14, Plugin35, exports_shell };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID18,
|
|
3
|
-
Service85,
|
|
4
|
-
node88
|
|
5
|
-
} from "./model-resolver-9y0r5z65.js";
|
|
6
1
|
import {
|
|
7
2
|
ID17,
|
|
3
|
+
Service74,
|
|
4
|
+
node75
|
|
5
|
+
} from "./filesystem-gqwyess1.js";
|
|
6
|
+
import {
|
|
7
|
+
ID16,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node74
|
|
20
|
+
} from "./filesystem-0mp36kg4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node61
|
|
24
|
+
} from "./filesystem-ccckf9jr.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID15,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service72,
|
|
30
|
+
node73,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-jd9j19df.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service58,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node59,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -66,8 +66,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
|
|
|
66
66
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
67
67
|
import { Npm } from "@opencode/util/npm";
|
|
68
68
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
69
|
-
providerID:
|
|
70
|
-
modelID:
|
|
69
|
+
providerID: ID16,
|
|
70
|
+
modelID: ID15,
|
|
71
71
|
variant: VariantID2
|
|
72
72
|
}) {
|
|
73
73
|
get message() {
|
|
@@ -76,8 +76,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID16,
|
|
80
|
+
modelID: ID15,
|
|
81
81
|
package: Schema.String
|
|
82
82
|
}) {
|
|
83
83
|
get message() {
|
|
@@ -87,8 +87,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
88
88
|
|
|
89
89
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID16,
|
|
91
|
+
modelID: ID15,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
detail: Schema.String
|
|
94
94
|
}) {
|
|
@@ -98,8 +98,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID16,
|
|
102
|
+
modelID: ID15,
|
|
103
103
|
package: Schema.String,
|
|
104
104
|
phase: InitializationPhase2,
|
|
105
105
|
detail: Schema.String
|
|
@@ -110,8 +110,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
113
|
-
providerID:
|
|
114
|
-
modelID:
|
|
113
|
+
providerID: ID16,
|
|
114
|
+
modelID: ID15,
|
|
115
115
|
variables: Schema.Array(Schema.String)
|
|
116
116
|
}) {
|
|
117
117
|
get message() {
|
|
@@ -120,8 +120,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
123
|
-
providerID:
|
|
124
|
-
modelID:
|
|
123
|
+
providerID: ID16,
|
|
124
|
+
modelID: ID15,
|
|
125
125
|
route: Schema.String
|
|
126
126
|
}) {
|
|
127
127
|
get message() {
|
|
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
133
133
|
}
|
|
134
134
|
var withVariant2 = (model, variantID) => {
|
|
135
135
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -273,7 +273,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
273
273
|
return tokenSettings(specifier, credential.access);
|
|
274
274
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
275
275
|
return { auth: "sigv4" };
|
|
276
|
-
if (model.providerID ===
|
|
276
|
+
if (model.providerID === ID16.azure)
|
|
277
277
|
return tokenSettings(specifier, "azure-cli");
|
|
278
278
|
return {};
|
|
279
279
|
};
|
|
@@ -308,19 +308,19 @@ var causeMessage = (cause) => {
|
|
|
308
308
|
};
|
|
309
309
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
310
310
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
311
|
-
var
|
|
312
|
-
const providers = yield*
|
|
313
|
-
const models = yield*
|
|
314
|
-
const integrations = yield*
|
|
311
|
+
var layer24 = Layer.effect(Service58, Effect.gen(function* () {
|
|
312
|
+
const providers = yield* Service73;
|
|
313
|
+
const models = yield* Service72;
|
|
314
|
+
const integrations = yield* Service74;
|
|
315
315
|
const npm = yield* Npm.Service;
|
|
316
|
-
const aisdk = yield*
|
|
316
|
+
const aisdk = yield* Service60;
|
|
317
317
|
const dependencies = {
|
|
318
318
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
319
319
|
loadAISDK: (model) => aisdk.model(model)
|
|
320
320
|
};
|
|
321
321
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
322
322
|
const provider = yield* providers.get(selected.providerID);
|
|
323
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
323
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
|
|
324
324
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
325
325
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
326
326
|
const runtimeInfo = {
|
|
@@ -356,7 +356,7 @@ var layer23 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
356
356
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
357
357
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service58.of({
|
|
360
360
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
361
361
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
362
362
|
if (!selected)
|
|
@@ -415,10 +415,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
415
415
|
return false;
|
|
416
416
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
417
417
|
}
|
|
418
|
-
var
|
|
419
|
-
service:
|
|
420
|
-
layer:
|
|
421
|
-
deps: [
|
|
418
|
+
var node59 = makeLocationNode({
|
|
419
|
+
service: Service58,
|
|
420
|
+
layer: layer24,
|
|
421
|
+
deps: [node74, node73, node75, Npm.node, node61]
|
|
422
422
|
});
|
|
423
423
|
|
|
424
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
424
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node59, exports_model_resolver };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service54,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service54 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service54, exports_runner };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make30,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-r7zrbnjn.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-jqrvh40r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service41,
|
|
12
|
+
node44
|
|
13
|
+
} from "./filesystem-7ns12trf.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name15
|
|
17
|
+
} from "./filesystem-yv682wh0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions6 = {};
|
|
24
24
|
__export(exports_instructions6, {
|
|
25
25
|
McpInstructions: () => exports_instructions6,
|
|
26
26
|
Service: () => Service35,
|
|
27
|
-
layer: () =>
|
|
27
|
+
layer: () => layer14,
|
|
28
28
|
node: () => node38
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -59,11 +59,11 @@ var update = listUpdate2({
|
|
|
59
59
|
|
|
60
60
|
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const mcp = yield*
|
|
62
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
63
|
+
const mcp = yield* Service41;
|
|
64
64
|
return Service35.of({
|
|
65
65
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
66
|
-
const source = (value) =>
|
|
66
|
+
const source = (value) => make30({
|
|
67
67
|
key: Key3.make("core/mcp-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(value),
|
|
@@ -80,7 +80,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
80
80
|
const visible = instructions.flatMap((item) => {
|
|
81
81
|
const owned = tools.filter((tool) => tool.server === item.server);
|
|
82
82
|
const codemode = canExecute && owned[0]?.codemode !== false;
|
|
83
|
-
if (!owned.some((tool) => evaluate3(
|
|
83
|
+
if (!owned.some((tool) => evaluate3(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
84
84
|
return [];
|
|
85
85
|
return [
|
|
86
86
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -90,6 +90,6 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
}));
|
|
93
|
-
var node38 = makeLocationNode({ service: Service35, layer:
|
|
93
|
+
var node38 = makeLocationNode({ service: Service35, layer: layer14, deps: [node44] });
|
|
94
94
|
|
|
95
|
-
export { Service35,
|
|
95
|
+
export { Service35, layer14, node38, exports_instructions6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-7nqkf5r1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin12,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin12 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin54 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin12, exports_identity };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./filesystem-jqrvh40r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./filesystem-365eavge.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/fetch.ts
|
|
12
12
|
var exports_fetch = {};
|
|
@@ -27,8 +27,8 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
|
|
|
27
27
|
return yield* Effect.fail(new Error("fetch cannot be used for filesystem access."));
|
|
28
28
|
if (parsed?.username || parsed?.password)
|
|
29
29
|
return yield* Effect.fail(new TypeError("fetch cannot be used with credentials in the URL."));
|
|
30
|
-
const execution = yield*
|
|
31
|
-
const permission = yield*
|
|
30
|
+
const execution = yield* Service47;
|
|
31
|
+
const permission = yield* Service64;
|
|
32
32
|
const source = { type: "tool", messageID: execution.messageID, id: execution.id };
|
|
33
33
|
yield* permission.assert({
|
|
34
34
|
action: "webfetch",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node93
|
|
4
|
+
} from "./filesystem-gzmww30b.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref5,
|
|
11
11
|
Service88,
|
|
12
12
|
node91
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-48wvk849.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service62,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
eventDefinition: () => eventDefinition2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node63
|
|
26
26
|
});
|
|
27
27
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
28
28
|
import { Event } from "@opencode/schema/event";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
31
|
-
class
|
|
31
|
+
class Service62 extends Context.Service()("@opencode/Rpc") {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
class DeclaredError extends Error {
|
|
@@ -40,8 +40,8 @@ class DeclaredError extends Error {
|
|
|
40
40
|
this.data = data;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
43
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service90;
|
|
45
45
|
const location = yield* Service88;
|
|
46
46
|
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
47
47
|
const closed = yield* Deferred.make();
|
|
@@ -124,9 +124,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
return
|
|
127
|
+
return Service62.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node63 = makeLocationNode({ service: Service62, layer, deps: [node93, node91] });
|
|
130
130
|
var fields = {
|
|
131
131
|
id: Event.ID,
|
|
132
132
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service62, node63, eventDefinition2, exports_rpc, define2 };
|