@opencode/core 0.0.0-dev-19342 → 0.0.0-dev-19345
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-retention-e59w6ff2.js → mime-02tds00a.js} +13 -13
- package/dist/chunks/{file-retention-h66ky8mw.js → mime-088n5vnd.js} +51 -51
- package/dist/chunks/{file-retention-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-rv7h995b.js → mime-0rqbdkvg.js} +20 -20
- package/dist/chunks/{file-retention-6bdbvcy9.js → mime-11hdm724.js} +20 -20
- package/dist/chunks/{file-retention-jwjk52g2.js → mime-11tcp5y8.js} +4 -4
- package/dist/chunks/{file-retention-qb679xd1.js → mime-133g6x3j.js} +13 -13
- package/dist/chunks/{file-retention-8h998g6s.js → mime-168791n0.js} +1 -1
- package/dist/chunks/{file-retention-457xx6wr.js → mime-16x2etdg.js} +9 -9
- package/dist/chunks/{file-retention-4ram32jk.js → mime-1ar9tdzh.js} +21 -21
- package/dist/chunks/{file-retention-vt377krn.js → mime-1ct58dhd.js} +61 -61
- package/dist/chunks/{file-retention-ep52dk3v.js → mime-1d81kemj.js} +22 -22
- package/dist/chunks/{file-retention-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1dfhrqqs.js → mime-1dfhrqqs.js} +2 -2
- package/dist/chunks/{file-retention-emc1bwfy.js → mime-1f66m63a.js} +7 -7
- package/dist/chunks/{file-retention-xxmdkfzw.js → mime-1mj9jbws.js} +6 -6
- package/dist/chunks/{file-retention-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{file-retention-495xzanh.js → mime-243y984z.js} +3 -3
- package/dist/chunks/{file-retention-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-zcxgbk88.js → mime-2g95xqej.js} +4 -4
- package/dist/chunks/{file-retention-844ef7ks.js → mime-2hyh68ab.js} +8 -8
- package/dist/chunks/{file-retention-xmqphtg9.js → mime-2m09jy5t.js} +43 -43
- package/dist/chunks/{file-retention-6vfxs2dk.js → mime-33ca5pxe.js} +19 -19
- package/dist/chunks/{file-retention-z3pw5915.js → mime-37s12vcn.js} +5 -5
- package/dist/chunks/{file-retention-tk4atcvg.js → mime-3af28565.js} +10 -10
- package/dist/chunks/{file-retention-gdvy8fx6.js → mime-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-retention-pqfk32hy.js → mime-3h1dh17g.js} +21 -21
- package/dist/chunks/{file-retention-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-k16ay38w.js → mime-3hestq8p.js} +1 -1
- package/dist/chunks/{file-retention-z69s9t6b.js → mime-3kwvdx6y.js} +5 -5
- package/dist/chunks/{file-retention-vvv3thrh.js → mime-3qzfbvdy.js} +12 -12
- package/dist/chunks/{file-retention-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-szbk6at4.js → mime-438cv0y9.js} +6 -6
- package/dist/chunks/{file-retention-rajee5vh.js → mime-43np8af1.js} +8 -8
- package/dist/chunks/{file-retention-2wmkh6wf.js → mime-456rmk1m.js} +15 -15
- package/dist/chunks/{file-retention-8vg9ss2j.js → mime-47wgbh1b.js} +5 -5
- package/dist/chunks/{file-retention-aj8kkpvr.js → mime-4ccjrj4w.js} +4 -4
- package/dist/chunks/{file-retention-mas5vrzc.js → mime-4pxh79v4.js} +4 -4
- package/dist/chunks/{file-retention-35etrq90.js → mime-4szvz0dy.js} +22 -22
- package/dist/chunks/{file-retention-8pak98y4.js → mime-4yvhae7v.js} +20 -20
- package/dist/chunks/{file-retention-cz0cqjej.js → mime-5080dy1a.js} +5 -5
- package/dist/chunks/{file-retention-5qng0t1j.js → mime-55bk8pm9.js} +8 -8
- package/dist/chunks/{file-retention-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-retention-m7ckg0ge.js → mime-56wgdq5b.js} +37 -37
- package/dist/chunks/{file-retention-wznsaygs.js → mime-57fqtxcw.js} +9 -9
- package/dist/chunks/{file-retention-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-eksy8cvr.js → mime-5gyfktnb.js} +3 -3
- package/dist/chunks/{file-retention-m7a7ecn8.js → mime-5hxsjejd.js} +23 -23
- package/dist/chunks/{file-retention-fpasx09t.js → mime-5kvnsejc.js} +11 -11
- package/dist/chunks/{file-retention-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-9wnjnk6r.js → mime-5txbv38z.js} +5 -5
- package/dist/chunks/{file-retention-p1tnmtrd.js → mime-64z8dyvg.js} +41 -41
- package/dist/chunks/{file-retention-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-6tkx0wew.js → mime-69pxdd4k.js} +8 -8
- package/dist/chunks/{file-retention-epfxrcc1.js → mime-6aswj5x9.js} +27 -27
- package/dist/chunks/mime-6kdq0pjd.js +4 -0
- package/dist/chunks/{file-retention-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-dcm7ab38.js → mime-6w0bcxbh.js} +27 -27
- package/dist/chunks/{file-retention-71q4at8m.js → mime-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-cvmpta01.js → mime-7gp47pj0.js} +161 -161
- package/dist/chunks/{file-retention-a6x36d81.js → mime-7jxaeb6r.js} +4 -4
- package/dist/chunks/{file-retention-bcnz578n.js → mime-7sgansy8.js} +2 -2
- package/dist/chunks/{file-retention-283c8amn.js → mime-7zzvg2d9.js} +23 -23
- package/dist/chunks/{file-retention-d67aqa6n.js → mime-81swgkk7.js} +9 -9
- package/dist/chunks/{file-retention-xhpvdsvw.js → mime-82eqrsw3.js} +13 -13
- package/dist/chunks/{file-retention-fgh0kbhd.js → mime-8489kzp1.js} +1 -1
- package/dist/chunks/{file-retention-rpd6j9rw.js → mime-85z7b11m.js} +19 -19
- package/dist/chunks/{file-retention-9t1jp5yp.js → mime-88xad3v8.js} +9 -9
- package/dist/chunks/{file-retention-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-j26kwb45.js → mime-8pccszvy.js} +10 -10
- package/dist/chunks/{file-retention-nvxqht09.js → mime-8q7cq0y1.js} +2 -2
- package/dist/chunks/{file-retention-541f07s9.js → mime-8t2b84nn.js} +17 -17
- package/dist/chunks/{file-retention-3tc1r0mp.js → mime-93xhsgw0.js} +14 -14
- package/dist/chunks/{file-retention-dfdxrv27.js → mime-9c26h465.js} +26 -26
- package/dist/chunks/{file-retention-7eagj9kf.js → mime-9cpary1r.js} +9 -9
- package/dist/chunks/{file-retention-42fa2mq1.js → mime-9ftth5vm.js} +25 -25
- package/dist/chunks/{file-retention-xg28p7zb.js → mime-9g4m8n77.js} +20 -20
- package/dist/chunks/{file-retention-k3aec3va.js → mime-9mwfxnzp.js} +7 -7
- package/dist/chunks/{file-retention-wac04bcv.js → mime-a0t51jnz.js} +16 -16
- package/dist/chunks/{file-retention-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-er56z9m3.js → mime-a4xkxa28.js} +4 -4
- package/dist/chunks/{file-retention-baeg8a9n.js → mime-a5e04ee8.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-e7058pvs.js → mime-agxarav8.js} +17 -17
- package/dist/chunks/{file-retention-9pyf0cwy.js → mime-ah8nfyxn.js} +15 -15
- package/dist/chunks/{file-retention-7b6kgw3h.js → mime-anhgbzpg.js} +43 -43
- package/dist/chunks/{file-retention-yy1nq4n5.js → mime-b08twemt.js} +22 -22
- package/dist/chunks/{file-retention-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-hfdr1yjj.js → mime-bajakh74.js} +4 -4
- package/dist/chunks/{file-retention-d0zk2jym.js → mime-bc9737rz.js} +6 -6
- package/dist/chunks/{file-retention-2a9489x0.js → mime-bez6jkeq.js} +12 -12
- package/dist/chunks/{file-retention-0sdp51s0.js → mime-bmkkgyyb.js} +16 -16
- package/dist/chunks/{file-retention-e6d6pdps.js → mime-bscb95cy.js} +4 -4
- package/dist/chunks/{file-retention-y9btvcpe.js → mime-c22rd54z.js} +7 -7
- package/dist/chunks/{file-retention-fcnx6kxm.js → mime-c4thz8m2.js} +26 -26
- package/dist/chunks/{file-retention-ec8389mk.js → mime-c5gn303e.js} +4 -4
- package/dist/chunks/{file-retention-rr6hv98y.js → mime-c6k6mpeh.js} +7 -7
- package/dist/chunks/{file-retention-jf9e43jb.js → mime-c82tz0n6.js} +27 -27
- package/dist/chunks/{file-retention-dn5dwck5.js → mime-c8b5nr3q.js} +15 -15
- package/dist/chunks/{file-retention-jkg5sjyj.js → mime-cejv791v.js} +22 -22
- package/dist/chunks/{file-retention-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-2dhvjk9m.js → mime-ck0ctze1.js} +38 -38
- package/dist/chunks/{file-retention-6xfzx76p.js → mime-ck2hnzkb.js} +11 -11
- package/dist/chunks/{file-retention-gexddpvz.js → mime-ck2vragq.js} +8 -8
- package/dist/chunks/{file-retention-7ebn0nc0.js → mime-cpy6gm2a.js} +4 -4
- package/dist/chunks/{file-retention-0djgsxfa.js → mime-csa3t7pa.js} +6 -6
- package/dist/chunks/{file-retention-v0pw5p58.js → mime-ct2c37mg.js} +24 -24
- package/dist/chunks/{file-retention-kntggcm2.js → mime-cwhjh763.js} +37 -37
- package/dist/chunks/{file-retention-hs0jw6ga.js → mime-cx8y2bn6.js} +38 -38
- package/dist/chunks/{file-retention-69ycz7qv.js → mime-d88yrek2.js} +30 -30
- package/dist/chunks/{file-retention-629h1w84.js → mime-d89wb828.js} +6 -6
- package/dist/chunks/{file-retention-7zypnq1v.js → mime-daa3vrdn.js} +12 -12
- package/dist/chunks/{file-retention-ccmdxyv2.js → mime-dc7knmg2.js} +11 -11
- package/dist/chunks/{file-retention-jdzbt2xe.js → mime-dc9gsvve.js} +5 -5
- package/dist/chunks/{file-retention-cne0g9zz.js → mime-dh23jx6d.js} +11 -11
- package/dist/chunks/{file-retention-m27pyyd3.js → mime-djwmzzhk.js} +6 -6
- package/dist/chunks/{file-retention-mwsqdqh0.js → mime-dvsy9eq6.js} +6 -6
- package/dist/chunks/{file-retention-hp4rcpke.js → mime-dw9etqnp.js} +27 -27
- package/dist/chunks/{file-retention-3bfh1azg.js → mime-dykcbgv3.js} +81 -81
- package/dist/chunks/{file-retention-agj0b0se.js → mime-e4kseffw.js} +17 -17
- package/dist/chunks/{file-retention-fs0qk05d.js → mime-e575995y.js} +18 -18
- package/dist/chunks/{file-retention-f8hk6r9n.js → mime-e5s1yzpb.js} +28 -28
- package/dist/chunks/mime-ec32znm2.js +462 -0
- package/dist/chunks/{file-retention-8qbgjw8c.js → mime-ep6z9mt6.js} +11 -11
- package/dist/chunks/{file-retention-6jnybvqn.js → mime-es1gkq3r.js} +9 -9
- package/dist/chunks/{file-retention-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-dy2q6f9r.js → mime-ezj79k2w.js} +17 -17
- package/dist/chunks/{file-retention-qz85fsjb.js → mime-f4d9fb2p.js} +5 -5
- package/dist/chunks/{file-retention-f828m53h.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-gnv2jnak.js → mime-ffgb433v.js} +11 -11
- package/dist/chunks/{file-retention-rm1xb6h6.js → mime-fjfzy0ft.js} +11 -11
- package/dist/chunks/{file-retention-kty5e6rg.js → mime-fstm3t6m.js} +25 -25
- package/dist/chunks/{file-retention-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-mwxv72xg.js → mime-fxm6czzg.js} +27 -27
- package/dist/chunks/{file-retention-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-gpa4jt68.js → mime-gqv90n74.js} +10 -10
- package/dist/chunks/{file-retention-4hqfr28c.js → mime-grkb1es6.js} +32 -32
- package/dist/chunks/{file-retention-yeyn4dnq.js → mime-gtkzr06a.js} +7 -7
- package/dist/chunks/{file-retention-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-47gsdddb.js → mime-hjt4xg1x.js} +7 -7
- package/dist/chunks/{file-retention-ya188s48.js → mime-hpajbe9q.js} +28 -28
- package/dist/chunks/{file-retention-9p2ve8w2.js → mime-htjbf50c.js} +26 -26
- package/dist/chunks/{file-retention-a8zn6wm8.js → mime-hvtrc2sr.js} +21 -21
- package/dist/chunks/{file-retention-3cqavhax.js → mime-j068kma8.js} +8 -8
- package/dist/chunks/{file-retention-b65ks73n.js → mime-j0avgrhm.js} +33 -33
- package/dist/chunks/{file-retention-jfcgv9fx.js → mime-j1nc1ypa.js} +33 -33
- package/dist/chunks/{file-retention-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-bs7hmeg3.js → mime-j5k41gmt.js} +18 -18
- package/dist/chunks/{file-retention-y7xpfv66.js → mime-jdv50zsr.js} +11 -11
- package/dist/chunks/{file-retention-qte5z7bc.js → mime-jv01nqvq.js} +5 -5
- package/dist/chunks/{file-retention-ephtsj6m.js → mime-jv7gg9s4.js} +77 -77
- package/dist/chunks/{file-retention-f7ehr2sm.js → mime-jwx4y25k.js} +2 -2
- package/dist/chunks/{file-retention-s1jhc5dh.js → mime-jxhkeq1z.js} +7 -7
- package/dist/chunks/{file-retention-mry8kks8.js → mime-jyag7kpd.js} +19 -19
- package/dist/chunks/{file-retention-kg06axw8.js → mime-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-6dxcmtmc.js → mime-kkf18jfd.js} +27 -27
- package/dist/chunks/{file-retention-fygdb7h7.js → mime-m2j1zwfr.js} +3 -3
- package/dist/chunks/{file-retention-qqnpzgrv.js → mime-m6ssgqy9.js} +11 -11
- package/dist/chunks/{file-retention-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-jr3tywxk.js → mime-magykp64.js} +21 -21
- package/dist/chunks/{file-retention-qzg4pp06.js → mime-mh6gcjg5.js} +3 -3
- package/dist/chunks/{file-retention-mkcjrzeh.js → mime-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-64kphnzf.js → mime-msq0jde0.js} +4 -4
- package/dist/chunks/{file-retention-73tb2d7t.js → mime-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-retention-bd1zqjbj.js → mime-mxcdw21b.js} +15 -15
- package/dist/chunks/{file-retention-nqvtjg2n.js → mime-n53003ns.js} +54 -54
- package/dist/chunks/{file-retention-anhfpk2y.js → mime-n8ncag7m.js} +15 -15
- package/dist/chunks/mime-n95b3jav.js +18 -0
- package/dist/chunks/{file-retention-rmmwd74s.js → mime-npy0pcv6.js} +21 -21
- package/dist/chunks/{file-retention-gx1zhcta.js → mime-p33ejz0k.js} +1 -1
- package/dist/chunks/{file-retention-ng32y6cj.js → mime-p5ttnzxg.js} +15 -15
- package/dist/chunks/{file-retention-aywpdfxt.js → mime-p6cv4jkm.js} +13 -13
- package/dist/chunks/{file-retention-j935v87r.js → mime-paphc93g.js} +2 -2
- package/dist/chunks/{file-retention-nqk5w1a0.js → mime-peq2m4zd.js} +32 -32
- package/dist/chunks/{file-retention-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-bf0ztrs3.js → mime-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-retention-f8q7mv7a.js → mime-q6k0ydck.js} +1 -1
- package/dist/chunks/{file-retention-zv0544jz.js → mime-qa3qhgw8.js} +4 -4
- package/dist/chunks/{file-retention-51pqj4sw.js → mime-qf9x3e4y.js} +46 -46
- package/dist/chunks/{file-retention-cyymmyy1.js → mime-qfpdxyz6.js} +15 -15
- package/dist/chunks/{file-retention-7dqw4kz8.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/mime-qj9sgvpq.js +22 -0
- package/dist/chunks/{file-retention-6f22aege.js → mime-qnf2z1wn.js} +31 -31
- package/dist/chunks/{file-retention-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-3eqpb9zq.js → mime-qxk2r6jc.js} +23 -23
- package/dist/chunks/{file-retention-0vqy458c.js → mime-r60jfj5j.js} +9 -9
- package/dist/chunks/{file-retention-vmcy0e8f.js → mime-rdhh766h.js} +4 -4
- package/dist/chunks/{file-retention-j62zf0j4.js → mime-rksemafj.js} +11 -11
- package/dist/chunks/{file-retention-p5gjast5.js → mime-rmc6y74k.js} +32 -32
- package/dist/chunks/{file-retention-1q5awywt.js → mime-rmk2c50f.js} +5 -5
- package/dist/chunks/{file-retention-1d0fhjp0.js → mime-rn61w89f.js} +9 -9
- package/dist/chunks/{file-retention-g917tkp4.js → mime-rp2k1chf.js} +17 -17
- package/dist/chunks/{file-retention-w9s5j4xj.js → mime-rwcemz8c.js} +2 -2
- package/dist/chunks/{file-retention-3tf484fr.js → mime-ryea99zr.js} +8 -8
- package/dist/chunks/{file-retention-6ppfrw8p.js → mime-s08ate44.js} +20 -20
- package/dist/chunks/{file-retention-45ax9jcn.js → mime-s1wede50.js} +27 -27
- package/dist/chunks/{file-retention-g7kcqsv9.js → mime-s22vqpmb.js} +10 -10
- package/dist/chunks/{file-retention-95fjfv4d.js → mime-s326psv9.js} +11 -11
- package/dist/chunks/{file-retention-6zagmew0.js → mime-s6dsm5hz.js} +10 -10
- package/dist/chunks/{file-retention-1d5qcw44.js → mime-semqf2xs.js} +12 -12
- package/dist/chunks/{file-retention-0bzed8qe.js → mime-sm5xrj98.js} +30 -30
- package/dist/chunks/{file-retention-4c9pdqrn.js → mime-smx0h7mz.js} +18 -18
- package/dist/chunks/{file-retention-dfwmnba5.js → mime-sqnwhwkn.js} +24 -24
- package/dist/chunks/{file-retention-68vz8m4p.js → mime-sqxedksp.js} +11 -11
- package/dist/chunks/mime-sth3c461.js +247 -0
- package/dist/chunks/{file-retention-5c9mjg6a.js → mime-svjx41xm.js} +29 -29
- package/dist/chunks/{file-retention-50mx3fww.js → mime-t0d6gkvd.js} +8 -8
- package/dist/chunks/{file-retention-1emffesh.js → mime-t0tjasbx.js} +5 -5
- package/dist/chunks/{file-retention-t0x5rdq8.js → mime-t0x5rdq8.js} +2 -2
- package/dist/chunks/{file-retention-s8d7rejh.js → mime-t550f9t1.js} +4 -4
- package/dist/chunks/{file-retention-yz6s7xzz.js → mime-t8h1d4xm.js} +9 -9
- package/dist/chunks/{file-retention-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-89xjw27r.js → mime-te7pedy9.js} +36 -36
- package/dist/chunks/{file-retention-585pw9ae.js → mime-trnjn3sg.js} +24 -24
- package/dist/chunks/{file-retention-havkms48.js → mime-ts2eqmrv.js} +22 -22
- package/dist/chunks/{file-retention-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-ksz0h0wp.js → mime-tye6f8h2.js} +1 -1
- package/dist/chunks/{file-retention-84e78dg0.js → mime-v4nx8rhf.js} +8 -8
- package/dist/chunks/{file-retention-62qy00sv.js → mime-v52wsnkd.js} +2 -2
- package/dist/chunks/{file-retention-nd0e9ps3.js → mime-v7jve9ab.js} +40 -40
- package/dist/chunks/{file-retention-b0p6ev8e.js → mime-v98pcphq.js} +6 -6
- package/dist/chunks/{file-retention-dn7xhbn4.js → mime-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-retention-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-e2nxat5d.js → mime-vfnexndp.js} +6 -6
- package/dist/chunks/{file-retention-np25b77a.js → mime-vjcjk6v2.js} +16 -16
- package/dist/chunks/{file-retention-zzyk28zh.js → mime-vjm50dby.js} +20 -20
- package/dist/chunks/{file-retention-d8s0zgrq.js → mime-vr7gxye5.js} +15 -15
- package/dist/chunks/{file-retention-53b5596a.js → mime-vtb9d41w.js} +9 -9
- package/dist/chunks/{file-retention-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-r9babyk8.js → mime-w3hg1by5.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-qzf7gp6y.js → mime-w7zdnn3n.js} +18 -18
- package/dist/chunks/{file-retention-2a4f6v5q.js → mime-was7srj9.js} +5 -5
- package/dist/chunks/{file-retention-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-96yt6zt0.js → mime-ww3j1jeh.js} +1 -1
- package/dist/chunks/{file-retention-k2fzxap7.js → mime-x0c1a7xp.js} +11 -11
- package/dist/chunks/{file-retention-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-x43y2vfs.js → mime-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-retention-8wsye86r.js → mime-x8gz1y8e.js} +8 -8
- package/dist/chunks/{file-retention-35gx5fr5.js → mime-xbar29gt.js} +12 -12
- package/dist/chunks/{file-retention-pmhn6z4y.js → mime-xbmh9apa.js} +17 -17
- package/dist/chunks/{file-retention-v98h3e24.js → mime-xeejjgkv.js} +11 -11
- package/dist/chunks/{file-retention-1p35s36r.js → mime-xngzz0fa.js} +19 -19
- package/dist/chunks/{file-retention-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-ymbwjezv.js → mime-y400rwxv.js} +36 -36
- package/dist/chunks/{file-retention-dpkg50ah.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{file-retention-xxk5ry2v.js → mime-y8p3zjbc.js} +6 -6
- package/dist/chunks/{file-retention-pnean495.js → mime-yf4ks7mc.js} +5 -5
- package/dist/chunks/{file-retention-n76fdqym.js → mime-yp11bte6.js} +5 -5
- package/dist/chunks/{file-retention-r8xr0va3.js → mime-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-retention-z8jx6s5t.js → mime-yr7ny2fv.js} +27 -27
- package/dist/chunks/{file-retention-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-s4enseaf.js → mime-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-mtft99cd.js → mime-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-retention-49ej072a.js → mime-z01wqcwa.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-ktd0ny7h.js → mime-z2p70en7.js} +26 -26
- package/dist/chunks/{file-retention-29x78va6.js → mime-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-asqsdy15.js → mime-z6gx8zfr.js} +40 -40
- package/dist/chunks/{file-retention-ab3m9e4p.js → mime-zc93s7ce.js} +11 -11
- package/dist/chunks/{file-retention-k76fn4kw.js → mime-zcrspsvn.js} +4 -4
- package/dist/chunks/{file-retention-9a0n252a.js → mime-zdcf82tg.js} +53 -53
- package/dist/chunks/{file-retention-hgdkda7v.js → mime-zds8cgrm.js} +24 -24
- package/dist/chunks/{file-retention-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-aqhnkr3e.js → mime-zejhr07q.js} +44 -44
- package/dist/chunks/{file-retention-wa9n8nyq.js → mime-zerdtc7d.js} +8 -8
- package/dist/chunks/{file-retention-fpffc2t3.js → mime-zf35384k.js} +23 -23
- package/dist/chunks/{file-retention-9pgqtxcp.js → mime-zpsd46jx.js} +20 -20
- package/dist/chunks/{file-retention-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-8yc64hpa.js → mime-zspysg16.js} +13 -13
- package/dist/chunks/{file-retention-2wddc2mm.js → mime-zvk2568b.js} +15 -15
- package/dist/chunks/{file-retention-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +92 -92
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- 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/id/id.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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -95
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +218 -218
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-retention-0mesazry.js +0 -4
- package/dist/chunks/file-retention-79fjvhba.js +0 -247
- package/dist/chunks/file-retention-9sh4wc5j.js +0 -18
- package/dist/chunks/file-retention-a4qn8ft9.js +0 -462
- package/dist/chunks/file-retention-sb5atwea.js +0 -22
- /package/dist/chunks/{file-retention-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a1tpkmh4.js → mime-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-ck0ctze1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin43 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin43, exports_plan };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-z01wqcwa.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node83
|
|
11
|
+
} from "./mime-semqf2xs.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node82
|
|
15
|
+
} from "./mime-8pccszvy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,11 +94,11 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service77;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service78;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -169,11 +169,11 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
169
169
|
if (!row)
|
|
170
170
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID17.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID17.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID17.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID17.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node81 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node83, node85, FSUtil.node, node82, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./mime-semqf2xs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service25,
|
|
6
|
+
Event7
|
|
7
|
+
} from "./mime-y400rwxv.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,8 +14,8 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
18
|
-
const bus = yield*
|
|
17
|
+
const modelsDev = yield* Service25;
|
|
18
|
+
const bus = yield* Service78;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
21
21
|
for (const provider of loaded.data) {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./mime-8t2b84nn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service21
|
|
9
|
+
} from "./mime-agxarav8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service7
|
|
12
|
+
} from "./mime-1ar9tdzh.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./mime-ah8nfyxn.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input4,
|
|
36
|
+
Plugin: () => Plugin22,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name4,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name4 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input4 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin22 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service21;
|
|
63
|
+
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name4,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input4,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin31 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name4, Input4, Plugin22, toModelContent3, exports_read };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./mime-semqf2xs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node43
|
|
8
|
+
} from "./mime-zdcf82tg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service59,
|
|
11
11
|
node62
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-ck0ctze1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service67,
|
|
15
|
+
node70
|
|
16
|
+
} from "./mime-4szvz0dy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer15,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service67;
|
|
43
|
+
const bus = yield* Service78;
|
|
44
|
+
const permission = yield* Service59;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node42 = makeLocationNode({
|
|
118
|
+
service: Service37,
|
|
119
|
+
layer: layer15,
|
|
120
|
+
deps: [node70, node43, node83, node62]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name14,
|
|
123
|
+
export { namespace2, name14, Service37, layer15, node42, exports_mcp3 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|