@opencode/core 0.0.0-dev-20086 → 0.0.0-dev-20088
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{state-n45qbav7.js → wellknown-02ay6hqg.js} +5 -5
- package/dist/chunks/{state-02cj0pc8.js → wellknown-07qks21j.js} +16 -16
- package/dist/chunks/{state-12as4csw.js → wellknown-0cmnazqm.js} +4 -4
- package/dist/chunks/{state-1em0vfhe.js → wellknown-0kbvaqxg.js} +7 -7
- package/dist/chunks/{state-nh5efkqv.js → wellknown-0n3stnym.js} +9 -9
- package/dist/chunks/{state-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-nrx107y4.js → wellknown-0sw8n72f.js} +16 -16
- package/dist/chunks/{state-vgbaqptb.js → wellknown-0ztq6350.js} +6 -6
- package/dist/chunks/{state-96frkt8z.js → wellknown-16qm5t5a.js} +7 -7
- package/dist/chunks/{state-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-0tmgye68.js → wellknown-1nzh38e4.js} +5 -5
- package/dist/chunks/{state-7z9wgydg.js → wellknown-1w01qkgz.js} +10 -10
- package/dist/chunks/{state-mpsr4xxv.js → wellknown-1yxn9t92.js} +8 -8
- package/dist/chunks/{state-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{state-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-yvvvp4gn.js → wellknown-2hr5nhwa.js} +8 -8
- package/dist/chunks/{state-5vmwkxe9.js → wellknown-2kkyas57.js} +24 -24
- package/dist/chunks/{state-njbb07ax.js → wellknown-2r7n83y8.js} +15 -15
- package/dist/chunks/{state-fdv30zvt.js → wellknown-34rkz0x9.js} +4 -4
- package/dist/chunks/{state-jtjd9btn.js → wellknown-35gpf1q0.js} +15 -15
- package/dist/chunks/{state-637kffsg.js → wellknown-391dmqr2.js} +24 -24
- package/dist/chunks/{state-ggydwk5a.js → wellknown-3bx4j3sb.js} +27 -27
- package/dist/chunks/{state-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-12p4qwq0.js → wellknown-417f0ndq.js} +17 -17
- package/dist/chunks/{state-1bmsx0zf.js → wellknown-4j14e5ea.js} +10 -10
- package/dist/chunks/{state-qwjmgwmn.js → wellknown-4w5f3qm5.js} +8 -8
- package/dist/chunks/{state-1ygqh575.js → wellknown-56gdpj1q.js} +9 -9
- package/dist/chunks/{state-sc9th92v.js → wellknown-5774vrx5.js} +19 -19
- package/dist/chunks/{state-6w1rts7e.js → wellknown-5a6s7q48.js} +4 -4
- package/dist/chunks/{state-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{state-5ekn9679.js → wellknown-5ekn9679.js} +1 -1
- package/dist/chunks/{state-ftffmgpp.js → wellknown-5pk6mrn1.js} +24 -24
- package/dist/chunks/{state-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-addr2z3b.js → wellknown-627mbqxc.js} +5 -5
- package/dist/chunks/{state-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{state-gv189fdt.js → wellknown-678e88h8.js} +4 -4
- package/dist/chunks/{state-p1m5akjg.js → wellknown-6d6wpktw.js} +10 -10
- package/dist/chunks/{state-64dtqc3f.js → wellknown-6er8x6d0.js} +3 -3
- package/dist/chunks/{state-epb60yey.js → wellknown-6fkvgzc7.js} +26 -26
- package/dist/chunks/{state-6h73sxmp.js → wellknown-6h73sxmp.js} +1 -1
- package/dist/chunks/{state-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-3xe0jx7r.js → wellknown-6q0e5evp.js} +5 -5
- package/dist/chunks/{state-0erg9wwv.js → wellknown-6txqsvff.js} +29 -29
- package/dist/chunks/{state-nj1j17x6.js → wellknown-6ysrkrkr.js} +8 -8
- package/dist/chunks/{state-x7gyst7m.js → wellknown-71abkhq3.js} +12 -12
- package/dist/chunks/{state-6xxehmv1.js → wellknown-754kaqqn.js} +16 -16
- package/dist/chunks/{state-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-6s8wj2t2.js → wellknown-7d7d17vd.js} +4 -4
- package/dist/chunks/{state-6pc27hjz.js → wellknown-7fkffz83.js} +8 -8
- package/dist/chunks/{state-tr7ttk42.js → wellknown-7q1ypnqr.js} +17 -17
- package/dist/chunks/{state-cbm7rw8j.js → wellknown-7x92602t.js} +26 -26
- package/dist/chunks/{state-dmcwwrzf.js → wellknown-81c3ttat.js} +43 -43
- package/dist/chunks/{state-57ez7d0k.js → wellknown-81swgkk7.js} +7 -7
- package/dist/chunks/{state-rycbktba.js → wellknown-85h5126a.js} +3 -3
- package/dist/chunks/{state-g6h7bsxt.js → wellknown-86enc17z.js} +18 -18
- package/dist/chunks/{state-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-bxxr9cq6.js → wellknown-8djatqda.js} +23 -23
- package/dist/chunks/{state-dxs7zpw7.js → wellknown-8hjzc8er.js} +24 -24
- package/dist/chunks/{state-xhvbz364.js → wellknown-8jbk1876.js} +16 -16
- package/dist/chunks/{state-d858xzj7.js → wellknown-8tsdq50x.js} +4 -4
- package/dist/chunks/{state-m5qjvym0.js → wellknown-8ya03gbb.js} +30 -30
- package/dist/chunks/{state-94ek1h2f.js → wellknown-94ek1h2f.js} +2 -2
- package/dist/chunks/{state-k7hn9ts1.js → wellknown-99yqgcre.js} +11 -11
- package/dist/chunks/{state-mp6axp2d.js → wellknown-9psb6rs6.js} +17 -17
- package/dist/chunks/{state-6qsj15fd.js → wellknown-9s848a1g.js} +9 -9
- package/dist/chunks/{state-zdnfnbnt.js → wellknown-a13sefkk.js} +21 -21
- package/dist/chunks/{state-2cdppye1.js → wellknown-a1gyj93n.js} +9 -9
- package/dist/chunks/{state-7z7az0f5.js → wellknown-a2rpfkac.js} +13 -9
- package/dist/chunks/{state-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{state-0wey50z9.js → wellknown-aapew5zc.js} +15 -15
- package/dist/chunks/{state-1vtry6ap.js → wellknown-adwdgm2s.js} +11 -11
- package/dist/chunks/{state-dq0v80fr.js → wellknown-afed7ext.js} +5 -5
- package/dist/chunks/{state-dg2cj1yd.js → wellknown-ag580yac.js} +4 -4
- package/dist/chunks/wellknown-agqhfaby.js +252 -0
- package/dist/chunks/{state-rhg03jha.js → wellknown-ajwjy3vs.js} +18 -18
- package/dist/chunks/{state-9aq5295b.js → wellknown-am860khz.js} +5 -5
- package/dist/chunks/{state-g5vp43hv.js → wellknown-awrhstbg.js} +4 -4
- package/dist/chunks/{state-4n607a2z.js → wellknown-axs6pdy0.js} +5 -5
- package/dist/chunks/{state-fdms3n6w.js → wellknown-b0dgvpy7.js} +9 -9
- package/dist/chunks/{state-38zhvv5q.js → wellknown-b2emagap.js} +9 -9
- package/dist/chunks/{state-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-w6wc4w52.js → wellknown-bh9zpxkf.js} +319 -319
- package/dist/chunks/{state-gpk600j1.js → wellknown-bn0s77k4.js} +17 -17
- package/dist/chunks/{state-x46s54wc.js → wellknown-bphmbv2n.js} +5 -5
- package/dist/chunks/{state-zhfw9w26.js → wellknown-bqtyhf1w.js} +26 -26
- package/dist/chunks/{state-9g7qqvsb.js → wellknown-c0k7dzdy.js} +66 -66
- package/dist/chunks/{state-dj9sq318.js → wellknown-c78bbtc9.js} +5 -5
- package/dist/chunks/{state-331q5pgp.js → wellknown-c935hdwy.js} +24 -24
- package/dist/chunks/{state-gj2fds2z.js → wellknown-c9d081nh.js} +12 -12
- package/dist/chunks/{state-a8bn8zg0.js → wellknown-cavr175a.js} +4 -4
- package/dist/chunks/{state-tmgek03n.js → wellknown-cdx1pajz.js} +34 -34
- package/dist/chunks/{state-ckecvw8r.js → wellknown-ckecvw8r.js} +2 -2
- package/dist/chunks/{state-h6r3nrb9.js → wellknown-cpj0znwe.js} +4 -4
- package/dist/chunks/{state-dqpqvfc1.js → wellknown-csvdae6h.js} +22 -22
- package/dist/chunks/{state-djszqvmq.js → wellknown-cwa6csj7.js} +9 -9
- package/dist/chunks/{state-9zch71dn.js → wellknown-d5nw2z1z.js} +24 -24
- package/dist/chunks/{state-sfr5ve0q.js → wellknown-d7xn25tt.js} +20 -20
- package/dist/chunks/{state-ahze9mkv.js → wellknown-dek7wc1c.js} +8 -8
- package/dist/chunks/{state-9smb885v.js → wellknown-dppzafmr.js} +20 -20
- package/dist/chunks/{state-rdve76c1.js → wellknown-dqde9yfd.js} +11 -11
- package/dist/chunks/{state-wgzsnxjh.js → wellknown-dqg5586z.js} +20 -20
- package/dist/chunks/{state-qkrrfaax.js → wellknown-dsxxwtp7.js} +27 -27
- package/dist/chunks/{state-3pt3xjye.js → wellknown-dtscaaz7.js} +3 -3
- package/dist/chunks/{state-qp3v07n2.js → wellknown-dwq6ryhm.js} +8 -8
- package/dist/chunks/{state-527n1w5n.js → wellknown-dy5jbeh5.js} +7 -7
- package/dist/chunks/{state-87df55d3.js → wellknown-e1gwt1x8.js} +13 -13
- package/dist/chunks/{state-rhjbct0v.js → wellknown-eaj1djv9.js} +8 -8
- package/dist/chunks/{state-8hm487hb.js → wellknown-ec6my3m6.js} +22 -22
- package/dist/chunks/{state-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-x69hm2n9.js → wellknown-eg1dr1mk.js} +25 -25
- package/dist/chunks/{state-w2fbgn6w.js → wellknown-ekbzd23w.js} +20 -20
- package/dist/chunks/{state-4nzwy074.js → wellknown-em3h5ktn.js} +4 -4
- package/dist/chunks/{state-ttkne1yr.js → wellknown-em5kycxp.js} +26 -26
- package/dist/chunks/{state-erw5rpbs.js → wellknown-erw5rpbs.js} +2 -2
- package/dist/chunks/{state-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-smmy5npd.js → wellknown-ex8f569q.js} +23 -23
- package/dist/chunks/{state-ezbzr521.js → wellknown-ezzbe5rx.js} +32 -32
- package/dist/chunks/{state-dsdkcqh1.js → wellknown-f20kv4h9.js} +12 -12
- package/dist/chunks/{state-r8xr0va3.js → wellknown-f2n192rq.js} +4 -4
- package/dist/chunks/{state-eqrfgmgr.js → wellknown-f3ydt0tv.js} +32 -32
- package/dist/chunks/{state-s0gvgf44.js → wellknown-f4xvve52.js} +22 -22
- package/dist/chunks/{state-vchqcv40.js → wellknown-f931w4ch.js} +17 -17
- package/dist/chunks/{state-chjpp9jv.js → wellknown-fgdmd333.js} +14 -14
- package/dist/chunks/{state-07rdd209.js → wellknown-fjt4ex07.js} +17 -17
- package/dist/chunks/{state-kv8zgwe7.js → wellknown-fxd4qk6y.js} +5 -5
- package/dist/chunks/{state-ksg5ge3c.js → wellknown-g57wvbe7.js} +9 -9
- package/dist/chunks/{state-y7x142mt.js → wellknown-g8jasmdt.js} +8 -8
- package/dist/chunks/{state-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-6xjd4qpp.js → wellknown-gmyzj2jd.js} +84 -84
- package/dist/chunks/{state-580xtat9.js → wellknown-gp1cjb3w.js} +9 -9
- package/dist/chunks/{state-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-a8tm1nmv.js → wellknown-h3tjb8kw.js} +11 -11
- package/dist/chunks/{state-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-bwgpf6kh.js → wellknown-h8f4eya8.js} +21 -21
- package/dist/chunks/{state-gvz217w8.js → wellknown-h9h0mx4r.js} +14 -14
- package/dist/chunks/{state-bswpvtym.js → wellknown-hk66nqvm.js} +8 -8
- package/dist/chunks/{state-a3r4dcrj.js → wellknown-hkagk5ex.js} +2 -2
- package/dist/chunks/{state-ws3tx48n.js → wellknown-hktrdnnd.js} +82 -82
- package/dist/chunks/{state-dhw6r217.js → wellknown-hkvqk6yv.js} +20 -20
- package/dist/chunks/{state-1px9a8xa.js → wellknown-hkxzh5mk.js} +34 -34
- package/dist/chunks/{state-aesvhg1d.js → wellknown-hm7fj9g2.js} +43 -43
- package/dist/chunks/{state-vyxryegc.js → wellknown-hmzmjmkz.js} +33 -33
- package/dist/chunks/{state-4qv3yyzg.js → wellknown-hrepkr0b.js} +10 -10
- package/dist/chunks/{state-vpwpbydj.js → wellknown-hsm12kgw.js} +12 -12
- package/dist/chunks/wellknown-ht5y0zrb.js +18 -0
- package/dist/chunks/{state-m46seram.js → wellknown-hzmnsnsk.js} +20 -20
- package/dist/chunks/{state-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{state-14qvxy67.js → wellknown-je7wb95j.js} +4 -4
- package/dist/chunks/{state-ybhbtxjg.js → wellknown-jemfgm91.js} +3 -3
- package/dist/chunks/{state-52hb404k.js → wellknown-jhf3jymm.js} +6 -6
- package/dist/chunks/{state-dnrkp1py.js → wellknown-jmfhbzhy.js} +37 -37
- package/dist/chunks/{state-6n2eehmw.js → wellknown-jpazqe9z.js} +27 -27
- package/dist/chunks/{state-n98mt2bs.js → wellknown-jwhvtnff.js} +1 -1
- package/dist/chunks/{state-40e94ye7.js → wellknown-jwkjpyjz.js} +20 -20
- package/dist/chunks/{state-eef7h5va.js → wellknown-jxdqd6y8.js} +11 -11
- package/dist/chunks/{state-cjagda2z.js → wellknown-jyr2yk35.js} +25 -25
- package/dist/chunks/{state-ash9qzxk.js → wellknown-k13t3p08.js} +8 -8
- package/dist/chunks/{state-prk02b1h.js → wellknown-k21vf7jx.js} +17 -17
- package/dist/chunks/{state-kbhz4k7s.js → wellknown-k6nqjfhj.js} +11 -11
- package/dist/chunks/{state-4ncjv8c3.js → wellknown-kjg57q5q.js} +30 -30
- package/dist/chunks/{state-my5aw7sa.js → wellknown-kk5y5e31.js} +10 -10
- package/dist/chunks/{state-ngxakx5z.js → wellknown-kp7kck1f.js} +30 -30
- package/dist/chunks/{state-g9a672k8.js → wellknown-kpcbfkys.js} +8 -8
- package/dist/chunks/{state-ww31mshw.js → wellknown-kpd5tq3d.js} +21 -21
- package/dist/chunks/{state-scad059f.js → wellknown-kpscmddh.js} +51 -51
- package/dist/chunks/{state-q0jqcs2e.js → wellknown-ks5rdx6p.js} +25 -25
- package/dist/chunks/{state-q994nwkr.js → wellknown-kwzmgxvf.js} +6 -6
- package/dist/chunks/{state-xcfbfb3r.js → wellknown-ky3r4m1q.js} +23 -23
- package/dist/chunks/{state-2r4f9961.js → wellknown-kysfx830.js} +20 -20
- package/dist/chunks/{state-72c7x5rd.js → wellknown-m1met2j0.js} +5 -5
- package/dist/chunks/{state-fhs97t90.js → wellknown-m2d0j7c0.js} +9 -9
- package/dist/chunks/{state-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-dnndpd67.js → wellknown-m4arwand.js} +21 -21
- package/dist/chunks/{state-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-mhkvc446.js → wellknown-mvfsc1pv.js} +3 -3
- package/dist/chunks/{state-8tt36ewb.js → wellknown-mwjcgr28.js} +24 -24
- package/dist/chunks/{state-6q87yf47.js → wellknown-mykefr3t.js} +13 -13
- package/dist/chunks/{state-bhnryp6n.js → wellknown-n5g8qfkh.js} +32 -32
- package/dist/chunks/{state-jexxy024.js → wellknown-ndmv45hp.js} +3 -3
- package/dist/chunks/{state-10jtetaj.js → wellknown-ndqtf2h8.js} +6 -6
- package/dist/chunks/{state-892zz8qj.js → wellknown-nf2bhtke.js} +2 -2
- package/dist/chunks/{state-44849632.js → wellknown-ngkes2xe.js} +17 -17
- package/dist/chunks/{state-es9xe94t.js → wellknown-nvkqntqe.js} +6 -6
- package/dist/chunks/{state-3ztzj39p.js → wellknown-nygkak42.js} +15 -15
- package/dist/chunks/{state-k3c624dm.js → wellknown-nzks3jc8.js} +3 -3
- package/dist/chunks/{state-9hn6k4tm.js → wellknown-p42hj8p8.js} +8 -8
- package/dist/chunks/{state-b4xx7p0v.js → wellknown-pd22eygj.js} +10 -10
- package/dist/chunks/{state-nxhqveyz.js → wellknown-pecb0brz.js} +5 -5
- package/dist/chunks/{state-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{state-dbs1cfk5.js → wellknown-pwnwhfpz.js} +17 -17
- package/dist/chunks/{state-271vm2mc.js → wellknown-q272xss5.js} +175 -175
- package/dist/chunks/{state-22r3fh08.js → wellknown-q5s1j7v7.js} +10 -10
- package/dist/chunks/{state-nkf0pzw4.js → wellknown-q6acr7kh.js} +13 -13
- package/dist/chunks/{state-zw06ysnm.js → wellknown-qfynbmn6.js} +9 -9
- package/dist/chunks/{state-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{state-t3dtk66s.js → wellknown-qj9gqmga.js} +19 -19
- package/dist/chunks/{state-k53npxr2.js → wellknown-qjxevsft.js} +1 -1
- package/dist/chunks/{state-8w6y8kk9.js → wellknown-qn6refn7.js} +18 -18
- package/dist/chunks/{state-drwq78ky.js → wellknown-qqeeq2t9.js} +7 -7
- package/dist/chunks/{state-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{state-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-b2rczs3a.js → wellknown-rjyppv6f.js} +3 -3
- package/dist/chunks/{state-tvqfr44j.js → wellknown-rkqmn6vx.js} +20 -20
- package/dist/chunks/{state-khz59kc2.js → wellknown-rnkz2ts9.js} +26 -26
- package/dist/chunks/{state-r33ff4dw.js → wellknown-rph3zd4r.js} +6 -6
- package/dist/chunks/{state-trg234vc.js → wellknown-s333fh32.js} +30 -30
- package/dist/chunks/{state-x9ftw283.js → wellknown-s67bm65s.js} +42 -42
- package/dist/chunks/{state-r860wnh4.js → wellknown-sh0rhkk8.js} +3 -3
- package/dist/chunks/{state-nj4z6qgz.js → wellknown-shnd1k2w.js} +5 -5
- package/dist/chunks/{state-8zz3fhf5.js → wellknown-sng0mpqx.js} +27 -27
- package/dist/chunks/{state-wm0kxxzy.js → wellknown-sp9dn3zb.js} +11 -11
- package/dist/chunks/{state-2akz4pff.js → wellknown-stqdgpbp.js} +20 -20
- package/dist/chunks/{state-bgs9y14h.js → wellknown-sykc9y4a.js} +5 -5
- package/dist/chunks/{state-dq47ydgj.js → wellknown-t73e6et9.js} +11 -11
- package/dist/chunks/{state-2wh0tznn.js → wellknown-t9q6q9b2.js} +44 -44
- package/dist/chunks/{state-384gf1m7.js → wellknown-t9sbjs2e.js} +30 -30
- package/dist/chunks/{state-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-w2gpeyga.js → wellknown-tcae2ee6.js} +23 -23
- package/dist/chunks/{state-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{state-86dam8yv.js → wellknown-tf8gy6s3.js} +15 -15
- package/dist/chunks/{state-5gftdx11.js → wellknown-tk8n40ec.js} +39 -39
- package/dist/chunks/{state-821ss22x.js → wellknown-tm13csnt.js} +48 -48
- package/dist/chunks/{state-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{state-ckf8nxjz.js → wellknown-tz4n1mmd.js} +4 -4
- package/dist/chunks/{state-t15fh6tg.js → wellknown-tzbpqgcm.js} +11 -11
- package/dist/chunks/{state-zaxbaxp3.js → wellknown-v2ceagrf.js} +13 -13
- package/dist/chunks/{state-bgte5q86.js → wellknown-v2vtvyk0.js} +9 -9
- package/dist/chunks/{state-6f09tcf1.js → wellknown-v4agpjxc.js} +29 -29
- package/dist/chunks/{state-bct739vz.js → wellknown-ve4pfa0n.js} +4 -4
- package/dist/chunks/{state-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{state-63cq5ear.js → wellknown-vp2dr8ef.js} +11 -11
- package/dist/chunks/{state-r9tfwnqk.js → wellknown-vrzwcp5a.js} +3 -3
- package/dist/chunks/{state-vtxr0yy2.js → wellknown-vtxr0yy2.js} +2 -2
- package/dist/chunks/{state-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd3x2cqz.js → wellknown-wd3x2cqz.js} +2 -2
- package/dist/chunks/{state-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{state-cfm9g534.js → wellknown-wdwph0vc.js} +6 -6
- package/dist/chunks/{state-nybzzdwf.js → wellknown-wezhver3.js} +28 -28
- package/dist/chunks/{state-3fmtxraa.js → wellknown-wq4mmp7m.js} +4 -4
- package/dist/chunks/{state-fv5cfh7k.js → wellknown-wtp3j6ww.js} +11 -11
- package/dist/chunks/{state-vyj7e0dj.js → wellknown-wvncmcwq.js} +40 -40
- package/dist/chunks/{state-t6msp11s.js → wellknown-wwksdzh2.js} +6 -6
- package/dist/chunks/{state-8d0p2m37.js → wellknown-wxe1qfek.js} +6 -6
- package/dist/chunks/{state-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-103sd08j.js → wellknown-xmrqcsy3.js} +23 -23
- package/dist/chunks/{state-w5mngq82.js → wellknown-xqn9gnks.js} +1 -1
- package/dist/chunks/{state-g4w6jwnj.js → wellknown-xtv80xxm.js} +5 -5
- package/dist/chunks/{state-2gsn04w3.js → wellknown-xvhqwa82.js} +33 -33
- package/dist/chunks/{state-s2zjj5p9.js → wellknown-xw879xmy.js} +22 -22
- package/dist/chunks/{state-ab3q5qw2.js → wellknown-xx9hpt89.js} +30 -30
- package/dist/chunks/{state-n436yt00.js → wellknown-xz3z2ytp.js} +30 -30
- package/dist/chunks/{state-en8wy5tc.js → wellknown-y0ff3w8f.js} +6 -6
- package/dist/chunks/{state-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-k1jc7js8.js → wellknown-y285t7cb.js} +37 -37
- package/dist/chunks/{state-zpx8x5b1.js → wellknown-y4m0v0jh.js} +15 -15
- package/dist/chunks/{state-y71avatq.js → wellknown-y71avatq.js} +1 -1
- package/dist/chunks/{state-7wrqfeey.js → wellknown-y82z2pvx.js} +43 -43
- package/dist/chunks/{state-jrfdjycb.js → wellknown-yazmrbe0.js} +14 -14
- package/dist/chunks/{state-d2jcr80b.js → wellknown-ycxznwxp.js} +15 -15
- package/dist/chunks/{state-rxp8vwqb.js → wellknown-yfe0myzd.js} +14 -14
- package/dist/chunks/{state-e6hmchc5.js → wellknown-yjptyezs.js} +5 -5
- package/dist/chunks/{state-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-yrznvahk.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{state-z07pqspn.js → wellknown-z07pqspn.js} +3 -3
- package/dist/chunks/{state-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
- package/dist/chunks/{state-3tza3sf4.js → wellknown-zb6er0nt.js} +48 -48
- package/dist/chunks/{state-za95q0ey.js → wellknown-zbzar1k2.js} +15 -15
- package/dist/chunks/{state-1s1ztnqh.js → wellknown-zdmbvcj1.js} +14 -14
- package/dist/chunks/{state-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-37pjvmwd.js → wellknown-zej982vg.js} +9 -9
- package/dist/chunks/{state-jmx7yt6q.js → wellknown-zk4ds5mz.js} +3 -3
- package/dist/chunks/{state-vssbqz3f.js → wellknown-znwq617a.js} +6 -6
- package/dist/chunks/{state-87qk2fb2.js → wellknown-zpzh683m.js} +13 -13
- package/dist/chunks/{state-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/wellknown-zvrfp1rb.js +26 -0
- package/dist/chunks/{state-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +99 -99
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +8 -0
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/plugin/{mcp-codemode-exclusion.d.ts → mcp-codemode-defaults.d.ts} +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- 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 +78 -78
- 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 +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/state-6mkgf16q.js +0 -252
- package/dist/chunks/state-qc068m1q.js +0 -18
- package/dist/chunks/state-tp76zfa1.js +0 -26
- package/dist/plugin/mcp-codemode-exclusion.js +0 -8
- /package/dist/chunks/{state-0mesazry.js → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{state-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-afed7ext.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./wellknown-hrepkr0b.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node84,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service80 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service80.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node84 = makeGlobalNode({
|
|
171
|
+
service: Service80,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-0cmnazqm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service39,
|
|
31
|
+
configured: () => configured4,
|
|
32
|
+
layer: () => layer16,
|
|
33
|
+
node: () => node41
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service39 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service39.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured4(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service39,
|
|
110
|
+
layer: layer16(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node41 = configured4();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options4, Service39, layer16, configured4, node41, exports_instruction_discovery };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Info10
|
|
10
|
-
} from "./state-y7x142mt.js";
|
|
6
|
+
Info13
|
|
7
|
+
} from "./wellknown-cavr175a.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
9
|
+
Info12
|
|
10
|
+
} from "./wellknown-g8jasmdt.js";
|
|
14
11
|
import {
|
|
15
12
|
Info14
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./wellknown-c78bbtc9.js";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
15
|
+
Info17
|
|
16
|
+
} from "./wellknown-34rkz0x9.js";
|
|
20
17
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
18
|
+
Info16
|
|
19
|
+
} from "./wellknown-ndqtf2h8.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
21
|
+
Layout2
|
|
22
|
+
} from "./wellknown-21r38tys.js";
|
|
26
23
|
import {
|
|
27
24
|
Info15
|
|
28
|
-
} from "./
|
|
25
|
+
} from "./wellknown-rph3zd4r.js";
|
|
26
|
+
import {
|
|
27
|
+
Info10
|
|
28
|
+
} from "./wellknown-pecb0brz.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./wellknown-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info11
|
|
34
|
+
} from "./wellknown-yjptyezs.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info18
|
|
40
|
+
} from "./wellknown-ve4pfa0n.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info9,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info9 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info8 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info18).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info8 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info12),
|
|
119
|
+
build: Schema.optional(Info12),
|
|
120
|
+
general: Schema.optional(Info12),
|
|
121
|
+
explore: Schema.optional(Info12),
|
|
122
|
+
title: Schema.optional(Info12),
|
|
123
|
+
summary: Schema.optional(Info12),
|
|
124
|
+
compaction: Schema.optional(Info12)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info10, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info16).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info15).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info13),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info14).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info8 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info9, exports_config2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tm13csnt.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node57
|
|
9
|
+
} from "./wellknown-c935hdwy.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service54,
|
|
24
|
+
node: () => node56
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service54 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service55;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service54.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node56 = makeLocationNode({ service: Service54, layer, deps: [node57, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service54, node56, exports_ripgrep };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-n5g8qfkh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-s333fh32.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info20.make({
|
|
98
|
+
...Info20.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|