@opencode/core 0.0.0-dev-21530 → 0.0.0-dev-21556
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{schema-47rxzzmb.js → filesystem-028swf18.js} +9 -9
- package/dist/chunks/{schema-prjrmqps.js → filesystem-02vhp1nx.js} +50 -50
- package/dist/chunks/{schema-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{schema-cs5q1j33.js → filesystem-0f67byd1.js} +5 -5
- package/dist/chunks/{schema-bb2erevm.js → filesystem-0mjdzdxd.js} +2 -2
- package/dist/chunks/{schema-dqj1x724.js → filesystem-0q608b5f.js} +12 -12
- package/dist/chunks/{schema-3qb95gy8.js → filesystem-0se0c77j.js} +4 -4
- package/dist/chunks/{schema-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-y56ehv6b.js → filesystem-11dqjexa.js} +9 -9
- package/dist/chunks/{schema-sxswpjsy.js → filesystem-126zz3q1.js} +3 -3
- package/dist/chunks/{schema-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-hba2d548.js → filesystem-1g6janhj.js} +15 -15
- package/dist/chunks/{schema-qsr7754b.js → filesystem-1p1p7tgy.js} +31 -31
- package/dist/chunks/{schema-wk0f6cnb.js → filesystem-1qjvw4y4.js} +7 -7
- package/dist/chunks/{schema-jh9qevh8.js → filesystem-1sf913kj.js} +25 -25
- package/dist/chunks/{schema-1afj0k1v.js → filesystem-1sqqfm6b.js} +13 -13
- package/dist/chunks/{schema-5acb438f.js → filesystem-1sr9fzxh.js} +9 -9
- package/dist/chunks/{schema-kdnmkssn.js → filesystem-1waq66yh.js} +4 -4
- package/dist/chunks/{schema-dzz2f3za.js → filesystem-1z98e4c3.js} +32 -32
- package/dist/chunks/{schema-2yr926wd.js → filesystem-242ky9er.js} +10 -10
- package/dist/chunks/{schema-qymj231q.js → filesystem-27bs79w9.js} +9 -12
- package/dist/chunks/{schema-knevfgda.js → filesystem-29qym6xz.js} +4 -4
- package/dist/chunks/{schema-60bb96q1.js → filesystem-2a3m6met.js} +12 -12
- package/dist/chunks/{schema-gegxtyrp.js → filesystem-2g49mxwr.js} +3 -3
- package/dist/chunks/{schema-0jwsre1p.js → filesystem-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-1svhfytg.js → filesystem-2wv0qy41.js} +17 -17
- package/dist/chunks/{schema-dta6adxg.js → filesystem-2z2h29k5.js} +15 -15
- package/dist/chunks/{schema-n44fvqa5.js → filesystem-328ypx93.js} +20 -20
- package/dist/chunks/filesystem-36kqp0j3.js +523 -0
- package/dist/chunks/{schema-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-1mx78vzr.js → filesystem-3p8bby9p.js} +21 -22
- package/dist/chunks/{schema-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-w2bpkvh3.js → filesystem-3y03y7vv.js} +11 -11
- package/dist/chunks/{schema-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-hfjg8gb5.js → filesystem-400872z1.js} +20 -20
- package/dist/chunks/{schema-zdjfzqgx.js → filesystem-45pdh49v.js} +22 -22
- package/dist/chunks/filesystem-45th5jwr.js +18 -0
- package/dist/chunks/{schema-aq5y8b9e.js → filesystem-4e8vs6eh.js} +8 -8
- package/dist/chunks/{schema-70xh0458.js → filesystem-4h1zccz9.js} +19 -19
- package/dist/chunks/{schema-zjznsnv6.js → filesystem-4m9n96wx.js} +16 -16
- package/dist/chunks/{schema-gt4kt70v.js → filesystem-4qfhrk35.js} +15 -15
- package/dist/chunks/{schema-wh6zw745.js → filesystem-4xpgt2w9.js} +5 -5
- package/dist/chunks/{schema-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-bkrhp30v.js → filesystem-573jag1d.js} +6 -7
- package/dist/chunks/{schema-8hej200e.js → filesystem-591k6mra.js} +6 -6
- package/dist/chunks/{schema-q490b428.js → filesystem-5bg7ay96.js} +32 -29
- package/dist/chunks/{schema-gtz7nked.js → filesystem-5ddxr1dn.js} +24 -24
- package/dist/chunks/{schema-phwvtd3y.js → filesystem-5jfh860z.js} +4 -4
- package/dist/chunks/{schema-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-e3qxr5gk.js → filesystem-5qd3pb7m.js} +2 -2
- package/dist/chunks/{schema-mpd49xq9.js → filesystem-5saf3c2d.js} +11 -11
- package/dist/chunks/{schema-shrrr7kk.js → filesystem-5sbgwf3f.js} +10 -10
- package/dist/chunks/{schema-k8naqxk9.js → filesystem-5y3cvn6v.js} +8 -8
- package/dist/chunks/{schema-v6gqda18.js → filesystem-63zyt423.js} +13 -13
- package/dist/chunks/{schema-6827pfxn.js → filesystem-6827pfxn.js} +1 -1
- package/dist/chunks/{schema-qb6nzafx.js → filesystem-6g6nf04w.js} +4 -3
- package/dist/chunks/{schema-e6748pxh.js → filesystem-6gda7trc.js} +10 -10
- package/dist/chunks/{schema-qvfnp1sk.js → filesystem-6j7dwqsx.js} +24 -24
- package/dist/chunks/{schema-cbmrewd6.js → filesystem-6kwr73dn.js} +21 -21
- package/dist/chunks/{schema-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-88tf66q2.js → filesystem-6zhaf8kp.js} +7 -7
- package/dist/chunks/{schema-vep9yay1.js → filesystem-76p14g35.js} +4 -4
- package/dist/chunks/{schema-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
- package/dist/chunks/{schema-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-6pc27hjz.js → filesystem-7fkffz83.js} +8 -8
- package/dist/chunks/{schema-cmp3rkz8.js → filesystem-7q4dk8at.js} +24 -25
- package/dist/chunks/{schema-ajmz7z9n.js → filesystem-7vnmjcnk.js} +2 -2
- package/dist/chunks/{schema-rkg4v3e5.js → filesystem-81f7vt2z.js} +9 -9
- package/dist/chunks/{schema-x13wf28v.js → filesystem-81gkh252.js} +16 -16
- package/dist/chunks/{schema-56j2d20k.js → filesystem-82a5zyy8.js} +11 -11
- package/dist/chunks/{schema-w1eejvng.js → filesystem-84txncab.js} +5 -5
- package/dist/chunks/{schema-3ewed21c.js → filesystem-86qzxe6p.js} +4 -4
- package/dist/chunks/{schema-044xr5hv.js → filesystem-8b6rm75k.js} +46 -46
- package/dist/chunks/{schema-38a6f3y0.js → filesystem-8c364tr5.js} +3 -3
- package/dist/chunks/{schema-q5eftdkn.js → filesystem-8g0yt8dy.js} +66 -66
- package/dist/chunks/{schema-jpypjf72.js → filesystem-8m2msbn3.js} +22 -22
- package/dist/chunks/{schema-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-sf2p74k8.js → filesystem-8myfktms.js} +21 -21
- package/dist/chunks/{schema-8mywswrd.js → filesystem-8mywswrd.js} +1 -1
- package/dist/chunks/{schema-0bg0bx69.js → filesystem-8ndffx4j.js} +7 -7
- package/dist/chunks/{schema-y38m9zb5.js → filesystem-8ngy3mqv.js} +13 -13
- package/dist/chunks/{schema-ygxsryh2.js → filesystem-8w8x3cmh.js} +34 -34
- package/dist/chunks/{schema-cbywt2p6.js → filesystem-8wy82xn4.js} +32 -32
- package/dist/chunks/{schema-7ec2v9ed.js → filesystem-8wyta6jv.js} +5 -5
- package/dist/chunks/{schema-x9xt4rzp.js → filesystem-8ya1vr8t.js} +13 -13
- package/dist/chunks/{schema-bmheq9zx.js → filesystem-93be92en.js} +34 -34
- package/dist/chunks/{schema-tmmkgp6g.js → filesystem-93p4vdsy.js} +23 -23
- package/dist/chunks/{schema-b82aynba.js → filesystem-979fg1jj.js} +23 -23
- package/dist/chunks/{schema-4tsfkw9e.js → filesystem-9893enz5.js} +11 -11
- package/dist/chunks/{schema-kbwg7qyy.js → filesystem-98z44by5.js} +23 -23
- package/dist/chunks/{schema-dvj9ct8m.js → filesystem-998yhzzq.js} +3 -3
- package/dist/chunks/{schema-mt5v9ry9.js → filesystem-9fjp44j3.js} +16 -16
- package/dist/chunks/{schema-1dxbsdj5.js → filesystem-9gcsz2p2.js} +9 -9
- package/dist/chunks/{schema-cm7rzrpy.js → filesystem-9jabj0jk.js} +4 -4
- package/dist/chunks/{schema-ap73x2p1.js → filesystem-9m4ve779.js} +4 -4
- package/dist/chunks/{schema-9wev2pgg.js → filesystem-9wev2pgg.js} +1 -1
- package/dist/chunks/{schema-v9ktrhzk.js → filesystem-9yvejhhv.js} +15 -15
- package/dist/chunks/{schema-3t0ybcrp.js → filesystem-a058387c.js} +4 -2
- package/dist/chunks/{schema-zv150g5a.js → filesystem-a2dbqtpr.js} +19 -20
- package/dist/chunks/{schema-jfh9q8qf.js → filesystem-a56ettrm.js} +11 -11
- package/dist/chunks/{schema-se052hy2.js → filesystem-aaf0tqjs.js} +3 -3
- package/dist/chunks/{schema-k6kw0x3x.js → filesystem-afgz2svm.js} +13 -13
- package/dist/chunks/{schema-586k1tpv.js → filesystem-are0chd1.js} +6 -6
- package/dist/chunks/{schema-8vcf4cwr.js → filesystem-ayjs7tqn.js} +3 -3
- package/dist/chunks/{schema-1g5hkw1w.js → filesystem-azr9yky1.js} +30 -30
- package/dist/chunks/{schema-b11a7tx7.js → filesystem-b11a7tx7.js} +1 -1
- package/dist/chunks/{schema-ycefwdcs.js → filesystem-b2hzfzr1.js} +8 -8
- package/dist/chunks/{schema-ykw333za.js → filesystem-b7c09qga.js} +5 -5
- package/dist/chunks/{schema-atzyg80d.js → filesystem-bdbdb37z.js} +45 -45
- package/dist/chunks/{schema-bnbbr2d0.js → filesystem-bg1zss7r.js} +36 -36
- package/dist/chunks/{schema-qg6wj6c5.js → filesystem-bg57z5ae.js} +20 -20
- package/dist/chunks/{schema-9hwaqfsw.js → filesystem-bhhtdc9d.js} +7 -11
- package/dist/chunks/{schema-kgjy8mzn.js → filesystem-bj2d5s9t.js} +31 -33
- package/dist/chunks/{schema-ywt8jp22.js → filesystem-bjx1sjef.js} +9 -9
- package/dist/chunks/{schema-ysbkpfh3.js → filesystem-bkc947cz.js} +23 -23
- package/dist/chunks/filesystem-btej2qac.js +257 -0
- package/dist/chunks/{schema-bzeyqsqd.js → filesystem-bzeyqsqd.js} +1 -1
- package/dist/chunks/{schema-7zafwtqv.js → filesystem-c35ra91z.js} +19 -19
- package/dist/chunks/{schema-0tn9bjc5.js → filesystem-chveay43.js} +21 -21
- package/dist/chunks/{schema-qnk07h1p.js → filesystem-chxb0k6t.js} +21 -21
- package/dist/chunks/{schema-be7qvw84.js → filesystem-cq9vh2fv.js} +7 -7
- package/dist/chunks/{schema-n2ew48d4.js → filesystem-cqw872z8.js} +32 -32
- package/dist/chunks/{schema-cr9hweqv.js → filesystem-cr9hweqv.js} +2 -2
- package/dist/chunks/{schema-6jk406cr.js → filesystem-cz5fe6tg.js} +14 -13
- package/dist/chunks/{schema-ys6xw3x7.js → filesystem-d3yv44qs.js} +11 -11
- package/dist/chunks/{schema-ks795mkk.js → filesystem-d7wa81mb.js} +14 -14
- package/dist/chunks/{schema-few1k6py.js → filesystem-d869kc9t.js} +5 -5
- package/dist/chunks/{schema-vxqrmefd.js → filesystem-dkp7y90n.js} +23 -23
- package/dist/chunks/{schema-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-4c8ty7y6.js → filesystem-dxbacq08.js} +16 -16
- package/dist/chunks/{schema-a2950d4b.js → filesystem-e2z0k8kw.js} +11 -11
- package/dist/chunks/{schema-7n76hb68.js → filesystem-e71bjph2.js} +14 -14
- package/dist/chunks/{schema-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-r0dp87ge.js → filesystem-epeyn0qs.js} +28 -28
- package/dist/chunks/{schema-9fshpcpc.js → filesystem-eq13jef3.js} +23 -23
- package/dist/chunks/{schema-2vs2nh1n.js → filesystem-f73rjn58.js} +4 -4
- package/dist/chunks/{schema-kmvrn13k.js → filesystem-f8h5648v.js} +10 -10
- package/dist/chunks/{schema-fcy631f0.js → filesystem-fcy631f0.js} +1 -1
- package/dist/chunks/{schema-h6r4200x.js → filesystem-fd592q7h.js} +12 -12
- package/dist/chunks/{schema-g6kecgse.js → filesystem-fjdpyz7x.js} +85 -85
- package/dist/chunks/{schema-qs4w04g8.js → filesystem-fm3t8chm.js} +15 -15
- package/dist/chunks/{schema-3t06g8dq.js → filesystem-fn9t717r.js} +6 -6
- package/dist/chunks/{schema-8nbq5p6s.js → filesystem-fpyn1g9k.js} +15 -15
- package/dist/chunks/{schema-zhpk82ba.js → filesystem-fwt7vey7.js} +8 -8
- package/dist/chunks/{schema-sxz6gkc3.js → filesystem-g8d3gcyj.js} +4 -4
- package/dist/chunks/{schema-b7az7nzg.js → filesystem-gb398jef.js} +5 -5
- package/dist/chunks/{schema-8ce0521a.js → filesystem-gc65y9s2.js} +13 -13
- package/dist/chunks/{schema-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-t8w5j2tp.js → filesystem-gg68t3hz.js} +14 -14
- package/dist/chunks/{schema-p33ckn3v.js → filesystem-gj0f7hmv.js} +7 -7
- package/dist/chunks/{schema-zxxfwhgr.js → filesystem-gmb516bh.js} +10 -10
- package/dist/chunks/{schema-4w411070.js → filesystem-gs856eh7.js} +1 -1
- package/dist/chunks/{schema-2gta2q4r.js → filesystem-gwj0vhyb.js} +35 -35
- package/dist/chunks/{schema-yc36fn85.js → filesystem-h2ettege.js} +7 -7
- package/dist/chunks/{schema-vnt3yn01.js → filesystem-h32rg1s2.js} +19 -19
- package/dist/chunks/{schema-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-syv4x271.js → filesystem-h8vwnyd8.js} +4 -2
- package/dist/chunks/{schema-bjx4q2dn.js → filesystem-ha3bx9by.js} +35 -35
- package/dist/chunks/{schema-sy3r6n62.js → filesystem-hd48n6ar.js} +25 -25
- package/dist/chunks/{schema-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-8hdppygf.js → filesystem-hsmb96zs.js} +17 -17
- package/dist/chunks/{schema-9fp5cy9e.js → filesystem-jjfs97vk.js} +30 -30
- package/dist/chunks/{schema-r5wxxd2p.js → filesystem-jmv89t63.js} +42 -42
- package/dist/chunks/{schema-40ac0r3r.js → filesystem-jp01ts1z.js} +9 -9
- package/dist/chunks/{schema-5hzj2gnj.js → filesystem-k5ggreqd.js} +1 -1
- package/dist/chunks/{schema-yxxhm6wn.js → filesystem-kb25sj3q.js} +52 -52
- package/dist/chunks/{schema-9brafa5j.js → filesystem-kbhdv85b.js} +18 -18
- package/dist/chunks/{schema-ecz00bat.js → filesystem-kh6bv03q.js} +13 -13
- package/dist/chunks/{schema-1w2wqhfv.js → filesystem-khmqacep.js} +4 -4
- package/dist/chunks/{schema-xtxypabt.js → filesystem-kjv4pfpn.js} +12 -12
- package/dist/chunks/{schema-ftrv57z3.js → filesystem-kvmjtnbr.js} +25 -25
- package/dist/chunks/{schema-kwb1v3vj.js → filesystem-kwb1v3vj.js} +1 -1
- package/dist/chunks/{schema-vsgt0m8t.js → filesystem-m0hzqf10.js} +6 -6
- package/dist/chunks/{schema-b8y1c3zn.js → filesystem-m6r8hh6a.js} +14 -14
- package/dist/chunks/{schema-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{schema-kjqvt6c0.js → filesystem-mbw2zwxv.js} +4 -4
- package/dist/chunks/{schema-xqyrxmej.js → filesystem-mbynq3pt.js} +17 -17
- package/dist/chunks/{schema-mych7xnr.js → filesystem-mctgdp4w.js} +32 -32
- package/dist/chunks/{schema-fwd7f3n7.js → filesystem-medva3v3.js} +43 -43
- package/dist/chunks/{schema-5yqngkrh.js → filesystem-mn8trjc8.js} +3 -3
- package/dist/chunks/{schema-r41txaew.js → filesystem-mr7jwncp.js} +23 -23
- package/dist/chunks/{schema-bswnba0x.js → filesystem-mrb3pdj1.js} +4 -4
- package/dist/chunks/{schema-nxc81nce.js → filesystem-mvgnf8hp.js} +20 -22
- package/dist/chunks/{schema-md39vkm3.js → filesystem-mx44zc9z.js} +24 -24
- package/dist/chunks/{schema-rztgzzkf.js → filesystem-n19gt92d.js} +32 -32
- package/dist/chunks/{schema-z18fegx4.js → filesystem-n6mrmtb3.js} +2 -10
- package/dist/chunks/{schema-phdpwmhe.js → filesystem-na6gcdt8.js} +21 -24
- package/dist/chunks/{schema-4g2jt153.js → filesystem-nc6zk1r7.js} +21 -21
- package/dist/chunks/{schema-stbcvrcx.js → filesystem-nnpwh0my.js} +15 -15
- package/dist/chunks/{schema-4w9ygdqj.js → filesystem-ns9nx42n.js} +18 -18
- package/dist/chunks/{schema-apm2b389.js → filesystem-nv560stn.js} +3 -3
- package/dist/chunks/{schema-phstrbs2.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{schema-j8qhg9bw.js → filesystem-p4hdtfs4.js} +1 -1
- package/dist/chunks/{schema-xyd93zwz.js → filesystem-p76v2pnh.js} +43 -43
- package/dist/chunks/{schema-8bc2ahr8.js → filesystem-pc1v25hk.js} +3 -3
- package/dist/chunks/{schema-atz56vhv.js → filesystem-pec85awn.js} +21 -21
- package/dist/chunks/{schema-jn3svvm7.js → filesystem-pez308bj.js} +17 -17
- package/dist/chunks/{schema-tnj6rg6w.js → filesystem-pfq93rbg.js} +15 -15
- package/dist/chunks/{schema-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{schema-thq5mtmm.js → filesystem-pntdjgj5.js} +11 -11
- package/dist/chunks/{schema-kxbkpg81.js → filesystem-pr4qgnr7.js} +23 -23
- package/dist/chunks/{schema-krb84gwz.js → filesystem-pw2zv200.js} +28 -28
- package/dist/chunks/{schema-25gmhyge.js → filesystem-pz87hs4r.js} +4 -4
- package/dist/chunks/{schema-sykc9y4a.js → filesystem-q17z9dx8.js} +5 -5
- package/dist/chunks/{schema-yds4b9yz.js → filesystem-q2m888qa.js} +37 -37
- package/dist/chunks/{schema-rxxgwrt9.js → filesystem-q9n4taz4.js} +14 -14
- package/dist/chunks/{schema-m1rbdz0y.js → filesystem-qdvnf0ks.js} +9 -9
- package/dist/chunks/{schema-9m5m65a4.js → filesystem-qey1j5h6.js} +24 -24
- package/dist/chunks/{schema-zctrycv6.js → filesystem-qp797tjx.js} +87 -91
- package/dist/chunks/{schema-02mvvr71.js → filesystem-qp7m8750.js} +3 -3
- package/dist/chunks/{schema-nnsw46vg.js → filesystem-qpk6w0sf.js} +2 -2
- package/dist/chunks/{schema-drwq78ky.js → filesystem-qqeeq2t9.js} +7 -7
- package/dist/chunks/{schema-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-kjxerx4y.js → filesystem-qtvz41fz.js} +146 -146
- package/dist/chunks/{schema-t0jwwps0.js → filesystem-qx9ba4sp.js} +34 -34
- package/dist/chunks/{schema-c765mh8b.js → filesystem-r2m716tb.js} +5 -5
- package/dist/chunks/{schema-r335j1fq.js → filesystem-r4vchsx7.js} +18 -18
- package/dist/chunks/{schema-3qm998m2.js → filesystem-r5wxk7rn.js} +11 -11
- package/dist/chunks/{schema-kjd40bgk.js → filesystem-ra67jj04.js} +9 -9
- package/dist/chunks/{schema-02ve1zyw.js → filesystem-rb1cnjjp.js} +18 -18
- package/dist/chunks/{schema-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-8dj74pby.js → filesystem-ryh741tj.js} +5 -5
- package/dist/chunks/{schema-r2kbwwh1.js → filesystem-s06pmf3q.js} +6 -6
- package/dist/chunks/{schema-bnjeam3m.js → filesystem-s5ckyk9d.js} +11 -11
- package/dist/chunks/{schema-4axgq110.js → filesystem-s73jzx7y.js} +43 -43
- package/dist/chunks/{schema-7vdznjcr.js → filesystem-s80bpp8r.js} +8 -8
- package/dist/chunks/{schema-0gdmqesm.js → filesystem-s8d7rejh.js} +4 -4
- package/dist/chunks/filesystem-smhs581c.js +26 -0
- package/dist/chunks/{schema-xb2raker.js → filesystem-sqeeta82.js} +3 -3
- package/dist/chunks/{schema-wvyymv1h.js → filesystem-sv72chne.js} +8 -8
- package/dist/chunks/{schema-v1d51sdw.js → filesystem-sxpag4wm.js} +12 -12
- package/dist/chunks/{schema-tp3t781r.js → filesystem-szszjrwy.js} +4 -4
- package/dist/chunks/{schema-tvcjbwgd.js → filesystem-t7a1f2y6.js} +16 -16
- package/dist/chunks/{schema-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → filesystem-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{schema-sxzvkvgj.js → filesystem-tegs1ycp.js} +6 -6
- package/dist/chunks/{schema-eh1n47qm.js → filesystem-tpv3en06.js} +28 -28
- package/dist/chunks/{schema-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-b1vpyjsr.js → filesystem-v1w8mgqr.js} +6 -6
- package/dist/chunks/{schema-vc0tgat8.js → filesystem-v2y4kgk1.js} +43 -43
- package/dist/chunks/{schema-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-pp9nj0b2.js → filesystem-vc9x991w.js} +20 -20
- package/dist/chunks/{schema-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-7j1zf1qw.js → filesystem-vk7a0qve.js} +15 -15
- package/dist/chunks/{schema-wbt9zsn3.js → filesystem-vktwk5kv.js} +9 -9
- package/dist/chunks/{schema-zdvv5291.js → filesystem-vwt6h3tz.js} +2 -2
- package/dist/chunks/{schema-grqp3cmb.js → filesystem-vx3jgdek.js} +3 -3
- package/dist/chunks/{schema-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-r01t9b5y.js → filesystem-w5zzhgd0.js} +6 -6
- package/dist/chunks/{schema-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{schema-tqw72dge.js → filesystem-wq8gz3e1.js} +14 -14
- package/dist/chunks/{schema-7ph0n1vg.js → filesystem-wqhwg8sr.js} +23 -23
- package/dist/chunks/{schema-cjrse1k0.js → filesystem-x08z24be.js} +15 -15
- package/dist/chunks/{schema-addxnjmp.js → filesystem-x661k3y3.js} +4 -4
- package/dist/chunks/{schema-gd5ks2q2.js → filesystem-x8j4awb7.js} +26 -26
- package/dist/chunks/{schema-7q165t4g.js → filesystem-xab8tp7k.js} +14 -14
- package/dist/chunks/{schema-6qbhemwa.js → filesystem-xfraezgp.js} +31 -32
- package/dist/chunks/{schema-kxf3nz33.js → filesystem-xng5v1sj.js} +7 -7
- package/dist/chunks/{schema-3ghrgbf8.js → filesystem-xrrvmzfg.js} +9 -9
- package/dist/chunks/{schema-42kdbcte.js → filesystem-xt7gh04x.js} +28 -28
- package/dist/chunks/{schema-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-gtt9vv4e.js → filesystem-y7w5x3t0.js} +14 -14
- package/dist/chunks/{schema-tc11merm.js → filesystem-yv1na398.js} +10 -10
- package/dist/chunks/{schema-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-m71k82xx.js → filesystem-z4xmyae6.js} +13 -13
- package/dist/chunks/{schema-kn8ed5j7.js → filesystem-z6r6yped.js} +22 -22
- package/dist/chunks/{schema-8mc7s0wd.js → filesystem-z9r12f9w.js} +11 -11
- package/dist/chunks/{schema-247gbw12.js → filesystem-zapavctn.js} +3 -3
- package/dist/chunks/{schema-15esv6g5.js → filesystem-zgbfmbmk.js} +3 -3
- package/dist/chunks/{schema-pgqyayq7.js → filesystem-zhfa0hft.js} +14 -14
- package/dist/chunks/{schema-d3cjz2rg.js → filesystem-zn5evjtn.js} +30 -30
- package/dist/chunks/{schema-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-gymq2tgt.js → filesystem-zryx1e9j.js} +9 -9
- package/dist/chunks/{schema-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-ysy9ysqp.js → filesystem-zys69r9h.js} +54 -54
- package/dist/codemode/catalog.js +1 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -17
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -218
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +12 -12
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/codemode/catalog.d.ts +7 -8
- package/dist/types/codemode/tool.d.ts +1 -7
- package/dist/types/persistent-pty/daemon.d.ts +39 -21
- package/dist/types/session/history.d.ts +0 -5
- package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
- package/dist/types/session.d.ts +38 -38
- package/dist/types/v1/config/migrate.d.ts +2 -28
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/schema-2xehkjwm.js +0 -257
- package/dist/chunks/schema-9sh4wc5j.js +0 -18
- package/dist/chunks/schema-v0yck56n.js +0 -26
- package/dist/chunks/schema-x5by4g9q.js +0 -523
- /package/dist/chunks/{schema-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./filesystem-5ddxr1dn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service41,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-8ya1vr8t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service15
|
|
11
|
+
} from "./filesystem-x08z24be.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./filesystem-kb25sj3q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service68
|
|
17
|
+
} from "./filesystem-ns9nx42n.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin45,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name9,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin45 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service68;
|
|
56
|
+
const fileMutation = yield* Service41;
|
|
57
|
+
const environment = yield* Service53;
|
|
58
|
+
const formatter = yield* Service15;
|
|
59
|
+
const permission = yield* Service69;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output7, toModelContent5, Plugin45, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5jfh860z.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-kb25sj3q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event4,
|
|
21
|
+
ID: () => ID3,
|
|
22
22
|
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
24
|
Service: () => Service35,
|
|
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event4 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source3 = Skill.Source;
|
|
43
43
|
var Info6 = Skill.Info;
|
|
44
|
-
var
|
|
44
|
+
var ID3 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
46
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -87,19 +87,20 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const
|
|
95
|
+
const key = ID3.make(id);
|
|
96
|
+
const current = editor.skills.get(key);
|
|
96
97
|
if (!current)
|
|
97
98
|
return;
|
|
98
99
|
update(current);
|
|
99
|
-
current.id =
|
|
100
|
+
current.id = key;
|
|
100
101
|
},
|
|
101
102
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
103
|
+
editor.skills.delete(ID3.make(id));
|
|
103
104
|
}
|
|
104
105
|
}),
|
|
105
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
@@ -121,4 +122,4 @@ var node38 = makeLocationNode({
|
|
|
121
122
|
deps: [node89]
|
|
122
123
|
});
|
|
123
124
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID3, Name2, available2, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event4 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node57
|
|
9
|
+
} from "./filesystem-5ddxr1dn.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-jjfs97vk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-9wev2pgg.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_read_filesystem, {
|
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
36
|
Service: () => Service31,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node34,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service53;
|
|
335
335
|
return Service31.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node57] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service31, read2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service31, read2, node34, exports_read_filesystem };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5jfh860z.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./filesystem-pw2zv200.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-dkp7y90n.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./filesystem-5bg7ay96.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./filesystem-chxb0k6t.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service77;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin2,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin2 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint2,
|
|
83
|
+
export { endpoint2, Plugin2, exports_exa };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5jfh860z.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./filesystem-pw2zv200.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-x661k3y3.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-4m9n96wx.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID14,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info22,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service78,
|
|
49
|
+
node: () => node82
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
72
|
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info22 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -107,13 +107,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service78 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service79;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info22.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service78.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node82 = makeLocationNode({
|
|
633
|
+
service: Service78,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node83, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service78, node82, exports_integration, Event16 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5saf3c2d.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5jfh860z.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./filesystem-pw2zv200.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-dkp7y90n.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-5bg7ay96.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info17
|
|
24
|
+
} from "./filesystem-azr9yky1.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-are0chd1.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service79;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info17.default(ID13.openai, ID7.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./filesystem-8b6rm75k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./filesystem-hd48n6ar.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin27 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const snapshot = yield* Service38;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin8 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin27, exports_snapshot };
|