@opencode/core 0.0.0-dev-19615 → 0.0.0-dev-19618
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 +80 -80
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-eaj1djv9.js → filesystem-02nrjc1r.js} +4 -4
- package/dist/chunks/{persistent-pty-676hzarg.js → filesystem-07yk87ch.js} +4 -4
- package/dist/chunks/{persistent-pty-d2aac7k2.js → filesystem-0f9afca0.js} +5 -5
- package/dist/chunks/{persistent-pty-17yz0dpg.js → filesystem-0j4pm1hq.js} +11 -11
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/{persistent-pty-dc3gn177.js → filesystem-0m11qpm4.js} +24 -24
- package/dist/chunks/{persistent-pty-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-qcvkt5ys.js → filesystem-0rshgchp.js} +10 -10
- package/dist/chunks/{persistent-pty-6qr3rp4k.js → filesystem-1ak9gecn.js} +6 -6
- package/dist/chunks/{persistent-pty-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-t2fc4mz5.js → filesystem-1g7epwpd.js} +7 -7
- package/dist/chunks/{persistent-pty-4kynjgmh.js → filesystem-1k8tpdq4.js} +6 -6
- package/dist/chunks/{persistent-pty-wbfsxz0q.js → filesystem-1mqcdkn4.js} +17 -17
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → filesystem-1ygqh575.js} +6 -6
- package/dist/chunks/{persistent-pty-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-kxpygcw9.js → filesystem-23pqda6t.js} +4 -4
- package/dist/chunks/{persistent-pty-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-jexxy024.js → filesystem-2f04pwep.js} +3 -3
- package/dist/chunks/{persistent-pty-ea0wf7ef.js → filesystem-2h5jvt6q.js} +38 -38
- package/dist/chunks/{persistent-pty-r3hedab7.js → filesystem-2vep0yyn.js} +15 -15
- package/dist/chunks/{persistent-pty-1rcrwsx6.js → filesystem-2w7hg4c7.js} +45 -45
- package/dist/chunks/{persistent-pty-py1dnmkf.js → filesystem-33js1h5h.js} +18 -18
- package/dist/chunks/{persistent-pty-2a2cqssq.js → filesystem-33ka9sw2.js} +20 -20
- package/dist/chunks/{persistent-pty-r37qap0f.js → filesystem-364eg4va.js} +24 -24
- package/dist/chunks/{persistent-pty-00ddz8r8.js → filesystem-37k0eqq3.js} +3 -3
- package/dist/chunks/{persistent-pty-tn0aqsam.js → filesystem-37s12vcn.js} +5 -5
- package/dist/chunks/{persistent-pty-15njw289.js → filesystem-38hz51bw.js} +18 -18
- package/dist/chunks/{persistent-pty-cj23dd3r.js → filesystem-39btv581.js} +1 -1
- package/dist/chunks/{persistent-pty-k7nyhs2p.js → filesystem-3a5s2rra.js} +10 -10
- package/dist/chunks/{persistent-pty-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-xvk71cdz.js → filesystem-3fr2v5qz.js} +4 -4
- package/dist/chunks/{persistent-pty-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-cqvrk7k3.js → filesystem-3j24hfx9.js} +9 -9
- package/dist/chunks/{persistent-pty-xk66p9py.js → filesystem-3n48t328.js} +11 -11
- package/dist/chunks/{persistent-pty-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-2n22gnr4.js → filesystem-3w85bfh1.js} +27 -27
- package/dist/chunks/{persistent-pty-9ttc7nk4.js → filesystem-3wj4dvam.js} +9 -9
- package/dist/chunks/{persistent-pty-0tmgye68.js → filesystem-406qt69j.js} +9 -9
- package/dist/chunks/{persistent-pty-x45er773.js → filesystem-40xvhc0y.js} +20 -20
- package/dist/chunks/{persistent-pty-xznwr7ns.js → filesystem-41f61ev5.js} +11 -11
- package/dist/chunks/{persistent-pty-0p9gaksb.js → filesystem-4890h4h8.js} +30 -30
- package/dist/chunks/{persistent-pty-t6sne0kb.js → filesystem-4f699rp4.js} +10 -10
- package/dist/chunks/{persistent-pty-bz85s9hh.js → filesystem-4jc5c4h4.js} +1 -1
- package/dist/chunks/{persistent-pty-6psyn72r.js → filesystem-4jf7s0ck.js} +4 -4
- package/dist/chunks/{persistent-pty-jqw55cbk.js → filesystem-4n11223c.js} +33 -33
- package/dist/chunks/{persistent-pty-pk7e3h3q.js → filesystem-4sazzpff.js} +33 -33
- package/dist/chunks/{persistent-pty-6bnhsggd.js → filesystem-56n3j9hn.js} +52 -52
- package/dist/chunks/{persistent-pty-0ke265bw.js → filesystem-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-yyw42t83.js → filesystem-5df2rnfx.js} +13 -13
- package/dist/chunks/{persistent-pty-zngsg18x.js → filesystem-5pkq4p4h.js} +50 -50
- package/dist/chunks/{persistent-pty-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-6g5dp8bv.js → filesystem-5w764t2b.js} +20 -20
- package/dist/chunks/{persistent-pty-606maf0m.js → filesystem-5xy61mm9.js} +4 -4
- package/dist/chunks/{persistent-pty-m01mrk84.js → filesystem-5y69nyve.js} +11 -11
- package/dist/chunks/{persistent-pty-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-vsw1grft.js → filesystem-698rmahv.js} +10 -10
- package/dist/chunks/{persistent-pty-d3tz2ej1.js → filesystem-6dt5d3yy.js} +9 -9
- package/dist/chunks/{persistent-pty-pnb9ns89.js → filesystem-6ev5h72j.js} +89 -89
- package/dist/chunks/{persistent-pty-dmyqzcf7.js → filesystem-6f0xwptt.js} +18 -18
- package/dist/chunks/{persistent-pty-gf6drbgy.js → filesystem-6j62sct7.js} +17 -17
- package/dist/chunks/{persistent-pty-6scr59yh.js → filesystem-6kt92yqk.js} +13 -13
- package/dist/chunks/{persistent-pty-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-rwyftrqw.js → filesystem-6n2tb6ee.js} +17 -17
- package/dist/chunks/{persistent-pty-bmdpbe9w.js → filesystem-6nrgx7s9.js} +15 -15
- package/dist/chunks/{persistent-pty-q4mq6gzb.js → filesystem-6ynxx3sz.js} +10 -10
- package/dist/chunks/{persistent-pty-xxwh85ck.js → filesystem-6z8y8spb.js} +24 -24
- package/dist/chunks/{persistent-pty-kayctt86.js → filesystem-70qmacgz.js} +6 -6
- package/dist/chunks/{persistent-pty-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → filesystem-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-vrgp73wa.js → filesystem-7gzpfzkj.js} +24 -24
- package/dist/chunks/{persistent-pty-793b0gca.js → filesystem-7qne9t03.js} +24 -24
- package/dist/chunks/{persistent-pty-skmkmxp0.js → filesystem-7rmm56r3.js} +5 -5
- package/dist/chunks/{persistent-pty-a7s8hxm1.js → filesystem-7xbgkkry.js} +17 -17
- package/dist/chunks/{persistent-pty-e30th1gq.js → filesystem-813ty9ck.js} +20 -20
- package/dist/chunks/{persistent-pty-a7gjz33w.js → filesystem-827vnqcm.js} +40 -40
- package/dist/chunks/{persistent-pty-asmz7wyz.js → filesystem-844ef7ks.js} +8 -8
- package/dist/chunks/{persistent-pty-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-cqf2xh9s.js → filesystem-8de9g2wa.js} +8 -8
- package/dist/chunks/{persistent-pty-2gs48sxz.js → filesystem-8hm8e1by.js} +15 -15
- package/dist/chunks/{persistent-pty-sv9chvdr.js → filesystem-8m0x795s.js} +32 -32
- package/dist/chunks/{persistent-pty-0ewnzcv7.js → filesystem-8nwmmt46.js} +32 -32
- package/dist/chunks/{persistent-pty-dj2t23y0.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → filesystem-8z00fdkb.js} +4 -4
- package/dist/chunks/{persistent-pty-9pfgr6qx.js → filesystem-903hvwdd.js} +32 -32
- package/dist/chunks/{persistent-pty-yhj4pxny.js → filesystem-92k45pvj.js} +6 -6
- package/dist/chunks/{persistent-pty-wjh3v1jb.js → filesystem-92s2v7tn.js} +47 -47
- package/dist/chunks/{persistent-pty-1xmfxxn8.js → filesystem-9389c3ww.js} +11 -11
- package/dist/chunks/{persistent-pty-mk55h7rv.js → filesystem-9c8qb4fx.js} +15 -15
- package/dist/chunks/{persistent-pty-tvq811ks.js → filesystem-9tmk4wfj.js} +5 -5
- package/dist/chunks/{persistent-pty-7a3bvnr0.js → filesystem-9v67fpxy.js} +17 -17
- package/dist/chunks/{persistent-pty-2xm786hw.js → filesystem-9wgyq2tt.js} +11 -11
- package/dist/chunks/{persistent-pty-4m2pmvxz.js → filesystem-9yr2yfq4.js} +6 -6
- package/dist/chunks/{persistent-pty-f7ehr2sm.js → filesystem-9zswys26.js} +9 -9
- package/dist/chunks/{persistent-pty-5c4hm403.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-j5sy72my.js → filesystem-a38p36g0.js} +14 -14
- package/dist/chunks/filesystem-a5kagja2.js +26 -0
- package/dist/chunks/{persistent-pty-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-9h7ckpab.js → filesystem-apwwcccb.js} +23 -23
- package/dist/chunks/{persistent-pty-r8jacvma.js → filesystem-asysv629.js} +11 -11
- package/dist/chunks/{persistent-pty-9avjsh34.js → filesystem-axq00zzf.js} +20 -20
- package/dist/chunks/{persistent-pty-ecvt32vq.js → filesystem-b339w5wj.js} +44 -44
- package/dist/chunks/{persistent-pty-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-1jg83eh2.js → filesystem-b6nkjk1t.js} +22 -22
- package/dist/chunks/{persistent-pty-kgv25dq2.js → filesystem-bcfqw6ff.js} +15 -15
- package/dist/chunks/{persistent-pty-9ccb5f3v.js → filesystem-bh5mjw3r.js} +43 -43
- package/dist/chunks/{persistent-pty-e5nv3ght.js → filesystem-bndc73cn.js} +5 -5
- package/dist/chunks/{persistent-pty-78k4hpgd.js → filesystem-brhvyepg.js} +10 -10
- package/dist/chunks/{persistent-pty-3tt1qkhr.js → filesystem-btec747f.js} +5 -5
- package/dist/chunks/{persistent-pty-nwkxvrjh.js → filesystem-byacmj7b.js} +16 -16
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-g6vw9x20.js → filesystem-chf0k88c.js} +2 -2
- package/dist/chunks/{persistent-pty-j956qkgw.js → filesystem-cjjf7ytg.js} +26 -26
- package/dist/chunks/{persistent-pty-awwjsxkk.js → filesystem-ck5yfnd1.js} +26 -26
- package/dist/chunks/{persistent-pty-ya92ykk0.js → filesystem-cqhybqg6.js} +26 -26
- package/dist/chunks/{persistent-pty-amtcdxb0.js → filesystem-ctn2km86.js} +8 -8
- package/dist/chunks/{persistent-pty-v6jj17d0.js → filesystem-d2k0bxc6.js} +14 -14
- package/dist/chunks/{persistent-pty-hsvhxp1c.js → filesystem-d3rs6qmg.js} +9 -9
- package/dist/chunks/{persistent-pty-3g8pxf29.js → filesystem-dm18e6rv.js} +21 -21
- package/dist/chunks/{persistent-pty-s4xyb5fw.js → filesystem-dnxjdd8e.js} +11 -11
- package/dist/chunks/{persistent-pty-ngtvz82x.js → filesystem-dq0sj55k.js} +8 -8
- package/dist/chunks/{persistent-pty-2h9bx89r.js → filesystem-dvj7hexm.js} +1 -1
- package/dist/chunks/{persistent-pty-mawyg7zm.js → filesystem-dyzsby59.js} +11 -11
- package/dist/chunks/{persistent-pty-gcsw9js5.js → filesystem-dzjvqage.js} +4 -4
- package/dist/chunks/{persistent-pty-168cxzkt.js → filesystem-e0mmdbx3.js} +10 -10
- package/dist/chunks/{persistent-pty-t2pnbfzy.js → filesystem-e54dr8r7.js} +13 -13
- package/dist/chunks/{persistent-pty-fp01c4dv.js → filesystem-e6ajfsdf.js} +9 -9
- package/dist/chunks/{persistent-pty-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-da8nh50n.js → filesystem-ejhwb09y.js} +1 -1
- package/dist/chunks/{persistent-pty-159vhs70.js → filesystem-eqs0pmgx.js} +6 -6
- package/dist/chunks/{persistent-pty-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-v623y87q.js → filesystem-evvf1n35.js} +19 -19
- package/dist/chunks/{persistent-pty-a09p09ba.js → filesystem-f0yntm5b.js} +17 -17
- package/dist/chunks/{persistent-pty-ccwg80eh.js → filesystem-f7dhzska.js} +37 -37
- package/dist/chunks/{persistent-pty-hdnk95c8.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-9hdj3naw.js → filesystem-fap9mv8s.js} +37 -37
- package/dist/chunks/{persistent-pty-vsx7z4qv.js → filesystem-fcw1zqre.js} +18 -18
- package/dist/chunks/{persistent-pty-fq80gekt.js → filesystem-fddsyqr4.js} +8 -8
- package/dist/chunks/{persistent-pty-e058e3s9.js → filesystem-fdywpn9x.js} +11 -11
- package/dist/chunks/{persistent-pty-7zqgez5c.js → filesystem-fw7t8djd.js} +62 -62
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → filesystem-fxqygnfa.js} +4 -4
- package/dist/chunks/{persistent-pty-jz7vjy1b.js → filesystem-gcx5yr3q.js} +15 -15
- package/dist/chunks/{persistent-pty-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-4c8bw516.js → filesystem-gdezgtpw.js} +8 -8
- package/dist/chunks/{persistent-pty-smhn81zh.js → filesystem-gdqqvv7c.js} +18 -18
- package/dist/chunks/{persistent-pty-f729kafc.js → filesystem-gf5fcfbn.js} +13 -13
- package/dist/chunks/{persistent-pty-7cghnzfc.js → filesystem-gn350eyy.js} +20 -20
- package/dist/chunks/{persistent-pty-3ybepafv.js → filesystem-grkcecy6.js} +30 -30
- package/dist/chunks/{persistent-pty-6c4ajerj.js → filesystem-gsjsmvjz.js} +28 -28
- package/dist/chunks/{persistent-pty-am406eak.js → filesystem-gw9t2z3w.js} +21 -21
- package/dist/chunks/{persistent-pty-fjr2n3hs.js → filesystem-gzprh467.js} +25 -25
- package/dist/chunks/{persistent-pty-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-8vvpb9k6.js → filesystem-h609avsd.js} +10 -10
- package/dist/chunks/{persistent-pty-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-crptryd9.js → filesystem-h7ygw6q4.js} +9 -9
- package/dist/chunks/{persistent-pty-rb223waz.js → filesystem-he07zsyr.js} +11 -11
- package/dist/chunks/{persistent-pty-0n0nsrah.js → filesystem-hrc76cbb.js} +18 -18
- package/dist/chunks/{persistent-pty-2ewtncz9.js → filesystem-j41a475f.js} +11 -11
- package/dist/chunks/{persistent-pty-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-vj9rsbtx.js → filesystem-j8hh79t3.js} +172 -172
- package/dist/chunks/{persistent-pty-836tdgwv.js → filesystem-jaqr24m8.js} +31 -31
- package/dist/chunks/{persistent-pty-128k6fv0.js → filesystem-jfc61th8.js} +27 -27
- package/dist/chunks/{persistent-pty-wpfxdaf4.js → filesystem-jfzms4ed.js} +1 -1
- package/dist/chunks/{persistent-pty-ks9mcypz.js → filesystem-jgj0cmjf.js} +7 -7
- package/dist/chunks/{persistent-pty-3945624f.js → filesystem-jmnxg2hy.js} +36 -36
- package/dist/chunks/{persistent-pty-d9gs8gt2.js → filesystem-jtzgk00g.js} +9 -9
- package/dist/chunks/{persistent-pty-0416qr2w.js → filesystem-jx4a7yyx.js} +1 -1
- package/dist/chunks/{persistent-pty-0w7p6pc4.js → filesystem-k17k9k58.js} +10 -10
- package/dist/chunks/{persistent-pty-eyx2h93p.js → filesystem-kj1rs0ex.js} +4 -4
- package/dist/chunks/{persistent-pty-1665kmjf.js → filesystem-kpmnv95v.js} +8 -8
- package/dist/chunks/{persistent-pty-yxfwmy22.js → filesystem-kzqkxx2v.js} +22 -22
- package/dist/chunks/{persistent-pty-t3sbk6vh.js → filesystem-m3npdpng.js} +5 -5
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-magykp64.js → filesystem-magykp64.js} +1 -1
- package/dist/chunks/{persistent-pty-nnxcy4dv.js → filesystem-mfw11q3n.js} +28 -28
- package/dist/chunks/{persistent-pty-zyz1zm3y.js → filesystem-mmy54dzb.js} +9 -9
- package/dist/chunks/{persistent-pty-g14qqa5m.js → filesystem-mqjke63f.js} +18 -18
- package/dist/chunks/{persistent-pty-0nnbvqte.js → filesystem-ms4phxsh.js} +20 -20
- package/dist/chunks/{persistent-pty-emwdkzex.js → filesystem-mx9sgxdp.js} +2 -2
- package/dist/chunks/{persistent-pty-tdgh5t2p.js → filesystem-n0k1g4fc.js} +16 -16
- package/dist/chunks/{persistent-pty-cftjh0pp.js → filesystem-n3pf906j.js} +12 -12
- package/dist/chunks/{persistent-pty-7m2tq7cp.js → filesystem-n8mqzfm9.js} +12 -12
- package/dist/chunks/{persistent-pty-hdw8tt72.js → filesystem-nb9b6p15.js} +25 -25
- package/dist/chunks/{persistent-pty-bnn7b9a6.js → filesystem-nc6g6xf4.js} +6 -6
- package/dist/chunks/{persistent-pty-gg33va22.js → filesystem-ndh7jbby.js} +22 -22
- package/dist/chunks/{persistent-pty-8tpwn33w.js → filesystem-ngqd1g3c.js} +4 -4
- package/dist/chunks/{persistent-pty-47gsdddb.js → filesystem-nhy5jxhy.js} +5 -5
- package/dist/chunks/{persistent-pty-f8x48a86.js → filesystem-nryd581v.js} +49 -49
- package/dist/chunks/filesystem-nyrzeqwa.js +251 -0
- package/dist/chunks/{persistent-pty-etagmg0f.js → filesystem-p5tc0jkc.js} +3 -3
- package/dist/chunks/filesystem-pf31ssb9.js +18 -0
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-ndqtf2h8.js → filesystem-q5nw5m1n.js} +6 -6
- package/dist/chunks/{persistent-pty-xcj7mwvd.js → filesystem-q7ts5rjt.js} +89 -89
- package/dist/chunks/{persistent-pty-yjptyezs.js → filesystem-qjnxxf51.js} +5 -5
- package/dist/chunks/{persistent-pty-sgwh5nyn.js → filesystem-qp3v07n2.js} +8 -8
- package/dist/chunks/{persistent-pty-pb1eahw5.js → filesystem-qq1c0rfq.js} +6 -6
- package/dist/chunks/{persistent-pty-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-n6j2na38.js → filesystem-qxk9wp59.js} +22 -22
- package/dist/chunks/{persistent-pty-kr15r9j0.js → filesystem-qznyv1pd.js} +6 -6
- package/dist/chunks/{persistent-pty-r9mregkx.js → filesystem-r9mregkx.js} +2 -2
- package/dist/chunks/{persistent-pty-qsnd21jp.js → filesystem-rds95j8z.js} +1 -1
- package/dist/chunks/{persistent-pty-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-93354nf3.js → filesystem-req2f1zf.js} +14 -14
- package/dist/chunks/{persistent-pty-yk4whm8q.js → filesystem-s1aps666.js} +7 -7
- package/dist/chunks/{persistent-pty-1z4441q1.js → filesystem-s2rjst4c.js} +32 -32
- package/dist/chunks/{persistent-pty-tejhb5zm.js → filesystem-s4bmhrbd.js} +14 -14
- package/dist/chunks/{persistent-pty-63trw53e.js → filesystem-s5pht5ae.js} +32 -32
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → filesystem-s8610hey.js} +2 -2
- package/dist/chunks/{persistent-pty-shcrswgg.js → filesystem-s9jsf10w.js} +9 -9
- package/dist/chunks/{persistent-pty-qyaww9ez.js → filesystem-sfnc39yp.js} +8 -8
- package/dist/chunks/{persistent-pty-1080qp6z.js → filesystem-shh6fz4q.js} +4 -4
- package/dist/chunks/{persistent-pty-ryphtns4.js → filesystem-skz9jdxs.js} +47 -47
- package/dist/chunks/{persistent-pty-qqr71d1k.js → filesystem-syxap8am.js} +4 -4
- package/dist/chunks/{persistent-pty-q0w303rt.js → filesystem-t73pnhmt.js} +37 -37
- package/dist/chunks/{persistent-pty-f73rjn58.js → filesystem-t7n9q6bq.js} +4 -4
- package/dist/chunks/{persistent-pty-n9vsahr8.js → filesystem-t82q7pe6.js} +6 -6
- package/dist/chunks/{persistent-pty-j83byb14.js → filesystem-t9zs3egg.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → filesystem-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-58qggt1v.js → filesystem-tn345pzm.js} +6 -6
- package/dist/chunks/{persistent-pty-82yprfhz.js → filesystem-tqb4zsas.js} +18 -18
- package/dist/chunks/{persistent-pty-he5sq67e.js → filesystem-tqq9vv0r.js} +13 -13
- package/dist/chunks/{persistent-pty-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-1v3qmhpx.js → filesystem-v1kfa28m.js} +9 -9
- package/dist/chunks/{persistent-pty-fv78erfy.js → filesystem-v5b0xx0m.js} +16 -16
- package/dist/chunks/{persistent-pty-h7jbsx2h.js → filesystem-vbxkep6a.js} +15 -15
- package/dist/chunks/{persistent-pty-akxe4e1m.js → filesystem-vbzbj883.js} +34 -34
- package/dist/chunks/{persistent-pty-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-aqnkc8vq.js → filesystem-vy0wt1xp.js} +34 -34
- package/dist/chunks/{persistent-pty-qqkyq49c.js → filesystem-vymvq99p.js} +24 -24
- package/dist/chunks/{persistent-pty-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-b8hbvna6.js → filesystem-w0fqee3t.js} +4 -4
- package/dist/chunks/{persistent-pty-06dxphr1.js → filesystem-w1k39n5e.js} +4 -4
- package/dist/chunks/{persistent-pty-e2516hzg.js → filesystem-w3jz5mh3.js} +17 -17
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-qd7g4580.js → filesystem-wbt8vg77.js} +20 -20
- package/dist/chunks/{persistent-pty-napk2q6z.js → filesystem-wd41hx6g.js} +6 -6
- package/dist/chunks/{persistent-pty-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-gzyg5frm.js → filesystem-wesp68ae.js} +26 -26
- package/dist/chunks/{persistent-pty-b7wd86f2.js → filesystem-wjrkf519.js} +5 -5
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → filesystem-wqkncbjv.js} +3 -3
- package/dist/chunks/{persistent-pty-mzm91676.js → filesystem-ws7b1vd7.js} +24 -24
- package/dist/chunks/{persistent-pty-7t7cf13d.js → filesystem-wtaqqafq.js} +11 -11
- package/dist/chunks/{persistent-pty-rweh3sg7.js → filesystem-wtkcq731.js} +41 -41
- package/dist/chunks/{persistent-pty-29eh7px0.js → filesystem-wwxgka64.js} +18 -18
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-7wp0300p.js → filesystem-x8kx70zw.js} +17 -17
- package/dist/chunks/{persistent-pty-cng9f4dx.js → filesystem-xa9r7nw9.js} +20 -20
- package/dist/chunks/{persistent-pty-ems0kgp9.js → filesystem-xd7p5zqs.js} +25 -25
- package/dist/chunks/{persistent-pty-r5fm14bv.js → filesystem-xyyjnszw.js} +5 -5
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-dpkg50ah.js → filesystem-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-zs6fhvxe.js → filesystem-y7z8aqqx.js} +15 -15
- package/dist/chunks/{persistent-pty-vewj4445.js → filesystem-yd1jaf3z.js} +11 -11
- package/dist/chunks/{persistent-pty-rgpm5swf.js → filesystem-yjg451mg.js} +27 -27
- package/dist/chunks/{persistent-pty-m7n2arr4.js → filesystem-ymcnatpj.js} +25 -25
- package/dist/chunks/{persistent-pty-rhraev7y.js → filesystem-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-q163eq15.js → filesystem-ysz7wnt3.js} +30 -30
- package/dist/chunks/{persistent-pty-5t1r04e6.js → filesystem-z07af02a.js} +21 -21
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-b5xe1e3z.js → filesystem-z6259ffv.js} +8 -8
- package/dist/chunks/{persistent-pty-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-2nqnw7p6.js → filesystem-z97y4ypk.js} +3 -3
- package/dist/chunks/{persistent-pty-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-x5w67hdr.js → filesystem-zfs18d5t.js} +5 -5
- package/dist/chunks/{persistent-pty-w38nqpbs.js → filesystem-zh0vtjyr.js} +24 -24
- package/dist/chunks/filesystem-zmn1asca.js +472 -0
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-2npcnmz2.js → filesystem-zvt32j6c.js} +17 -17
- package/dist/chunks/{persistent-pty-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-s9gf5sr7.js → filesystem-zxse2e34.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +121 -121
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- 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 +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- 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 +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +85 -85
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +123 -123
- 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 +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/session/inbox.d.ts +120 -40
- package/dist/types/session/session.d.ts +21 -7
- 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 +5 -5
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +1 -1
- 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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-16c3xx7h.js +0 -472
- package/dist/chunks/persistent-pty-619r8v3y.js +0 -18
- package/dist/chunks/persistent-pty-jh3x0mgs.js +0 -251
- package/dist/chunks/persistent-pty-rjc8hf95.js +0 -26
- /package/dist/chunks/{persistent-pty-0mesazry.js → filesystem-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5xy61mm9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node80
|
|
12
|
+
} from "./filesystem-req2f1zf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID7,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
Service53,
|
|
18
|
+
node57,
|
|
19
|
+
Event11
|
|
20
|
+
} from "./filesystem-8nwmmt46.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/model.ts
|
|
26
26
|
var exports_model2 = {};
|
|
@@ -28,25 +28,25 @@ __export(exports_model2, {
|
|
|
28
28
|
Capabilities: () => Capabilities2,
|
|
29
29
|
Compatibility: () => Compatibility2,
|
|
30
30
|
Cost: () => Cost2,
|
|
31
|
-
Event: () =>
|
|
31
|
+
Event: () => Event10,
|
|
32
32
|
Family: () => Family2,
|
|
33
|
-
ID: () =>
|
|
34
|
-
Info: () =>
|
|
33
|
+
ID: () => ID6,
|
|
34
|
+
Info: () => Info18,
|
|
35
35
|
Model: () => exports_model2,
|
|
36
36
|
ReasoningField: () => ReasoningField2,
|
|
37
37
|
Ref: () => Ref2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service52,
|
|
39
39
|
VariantID: () => VariantID2,
|
|
40
40
|
compatibility: () => compatibility2,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node56,
|
|
42
42
|
parse: () => parse5
|
|
43
43
|
});
|
|
44
44
|
import { Model } from "@opencode/schema/model";
|
|
45
45
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { freeze } from "immer";
|
|
48
|
-
import { Event as
|
|
49
|
-
var
|
|
48
|
+
import { Event as Event10 } from "@opencode/schema/model";
|
|
49
|
+
var ID6 = Model.ID;
|
|
50
50
|
var VariantID2 = Model.VariantID;
|
|
51
51
|
var Family2 = Model.Family;
|
|
52
52
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -54,14 +54,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
54
54
|
var Capabilities2 = Model.Capabilities;
|
|
55
55
|
var Cost2 = Model.Cost;
|
|
56
56
|
var Ref2 = Model.Ref;
|
|
57
|
-
var
|
|
57
|
+
var Info18 = Model.Info;
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service52 extends Context.Service()("@opencode/Model") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const providers = yield*
|
|
61
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
62
|
+
const providers = yield* Service53;
|
|
63
63
|
const bus = yield* Service80;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service75;
|
|
65
65
|
let input;
|
|
66
66
|
const state = create3({
|
|
67
67
|
name: "model",
|
|
@@ -85,7 +85,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
85
85
|
const models = data.models.get(providerID);
|
|
86
86
|
if (!models)
|
|
87
87
|
return;
|
|
88
|
-
const model = models.get(modelID) ??
|
|
88
|
+
const model = models.get(modelID) ?? Info18.default(providerID, modelID);
|
|
89
89
|
update(model);
|
|
90
90
|
model.id = modelID;
|
|
91
91
|
model.providerID = providerID;
|
|
@@ -162,8 +162,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
162
162
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
163
163
|
});
|
|
164
164
|
});
|
|
165
|
-
yield* bus.subscribe(
|
|
166
|
-
return
|
|
165
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
166
|
+
return Service52.of({
|
|
167
167
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
168
168
|
reload,
|
|
169
169
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -182,7 +182,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
182
182
|
})
|
|
183
183
|
});
|
|
184
184
|
}));
|
|
185
|
-
var
|
|
185
|
+
var node56 = makeLocationNode({ service: Service52, layer, deps: [node57, node85, node80] });
|
|
186
186
|
function compatibility2(input) {
|
|
187
187
|
if (typeof input === "string")
|
|
188
188
|
return { reasoningField: input };
|
|
@@ -193,9 +193,9 @@ function compatibility2(input) {
|
|
|
193
193
|
function parse5(input) {
|
|
194
194
|
const index = input.indexOf("/");
|
|
195
195
|
return {
|
|
196
|
-
providerID:
|
|
197
|
-
modelID:
|
|
196
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
197
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info18, Service52, node56, compatibility2, parse5, exports_model2, Event10 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./filesystem-dm18e6rv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./filesystem-req2f1zf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./filesystem-b339w5wj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service79,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-6f0xwptt.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./filesystem-q7ts5rjt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./filesystem-dnxjdd8e.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin30
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin30 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service41;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin4 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service75;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service79;
|
|
60
|
+
const sessions = yield* Service17;
|
|
61
|
+
const agents = yield* Service72;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin4 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin30, exports_command2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-j41a475f.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5xy61mm9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./filesystem-mfw11q3n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-gzprh467.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
packageName2,
|
|
21
21
|
mergeOverlay2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-8nwmmt46.js";
|
|
23
23
|
import {
|
|
24
24
|
iife2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-1kg9ymc8.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-1k8tpdq4.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
45
45
|
var AzurePlugin2 = define({
|
|
46
46
|
id: "opencode.provider.azure",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const configured = yield* configuredSettings2(
|
|
48
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
50
|
const bus = yield* Service80;
|
|
51
51
|
const tokens = new Map;
|
|
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
|
|
|
81
81
|
});
|
|
82
82
|
yield* ctx.integration.transform((editor) => {
|
|
83
83
|
editor.method.update({
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.azure,
|
|
85
85
|
method: { type: "key", label: "API key", form: form() }
|
|
86
86
|
});
|
|
87
87
|
if (!available)
|
|
88
88
|
return;
|
|
89
89
|
editor.method.update({
|
|
90
|
-
integrationID:
|
|
90
|
+
integrationID: ID7.azure,
|
|
91
91
|
method: {
|
|
92
92
|
id: methodID,
|
|
93
93
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
122
|
-
const connection = yield* ctx.integration.connection.active(
|
|
122
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
123
123
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
124
124
|
return;
|
|
125
125
|
})) : undefined;
|
|
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
|
|
|
133
133
|
yield* load();
|
|
134
134
|
yield* ctx.provider.transform((evt) => {
|
|
135
135
|
for (const item of evt.list()) {
|
|
136
|
-
if (item.provider.id !==
|
|
136
|
+
if (item.provider.id !== ID7.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
137
137
|
continue;
|
|
138
138
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
139
139
|
if (resourceName)
|
|
@@ -148,7 +148,7 @@ var AzurePlugin2 = define({
|
|
|
148
148
|
});
|
|
149
149
|
yield* ctx.model.transform((models) => {
|
|
150
150
|
for (const item of models.provider.list()) {
|
|
151
|
-
if (item.provider.id !==
|
|
151
|
+
if (item.provider.id !== ID7.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
152
152
|
continue;
|
|
153
153
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
154
154
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -164,11 +164,11 @@ var AzurePlugin2 = define({
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
167
|
-
yield* bus.subscribe(
|
|
167
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
168
168
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
169
|
-
if (evt.model.providerID !==
|
|
169
|
+
if (evt.model.providerID !== ID7.azure)
|
|
170
170
|
return;
|
|
171
|
-
const connection = yield* ctx.integration.connection.active(
|
|
171
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
172
172
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
173
173
|
return;
|
|
174
174
|
})) : undefined;
|
|
@@ -181,7 +181,7 @@ var AzurePlugin2 = define({
|
|
|
181
181
|
evt.request.headers.delete("x-api-key");
|
|
182
182
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
183
183
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
184
|
-
}), { providerID:
|
|
184
|
+
}), { providerID: ID7.azure });
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5xy61mm9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node60
|
|
9
|
+
} from "./filesystem-mfw11q3n.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-wesp68ae.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event12,
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service54,
|
|
44
|
+
node: () => node58
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event12 } from "@opencode/schema/integration";
|
|
66
|
+
var ID8 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info21 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -88,19 +88,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
91
|
-
integrationID:
|
|
91
|
+
integrationID: ID8,
|
|
92
92
|
attemptID: AttemptID2
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
var Ref3 = Integration.Ref;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service54 extends Context.Service()("@opencode/Integration") {
|
|
98
98
|
}
|
|
99
99
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
100
100
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
101
101
|
var scrubInterval = Duration.seconds(30);
|
|
102
|
-
var layer = Layer.effect(
|
|
103
|
-
const credentials = yield*
|
|
102
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
103
|
+
const credentials = yield* Service56;
|
|
104
104
|
const bus = yield* Service80;
|
|
105
105
|
const processes = yield* AppProcess.Service;
|
|
106
106
|
const scope = yield* Scope.Scope;
|
|
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
194
194
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
195
195
|
return [...credentials, ...env];
|
|
196
196
|
};
|
|
197
|
-
const project = (entry, connections) =>
|
|
197
|
+
const project = (entry, connections) => Info21.make({
|
|
198
198
|
id: entry.ref.id,
|
|
199
199
|
name: entry.ref.name,
|
|
200
200
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
424
424
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
425
425
|
return CommandAttempt2.make({ attemptID, time });
|
|
426
426
|
});
|
|
427
|
-
return
|
|
427
|
+
return Service54.of({
|
|
428
428
|
transform: state.transform,
|
|
429
429
|
reload: state.reload,
|
|
430
430
|
revision: state.revision,
|
|
@@ -573,10 +573,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
}));
|
|
576
|
-
var
|
|
577
|
-
service:
|
|
576
|
+
var node58 = makeLocationNode({
|
|
577
|
+
service: Service54,
|
|
578
578
|
layer,
|
|
579
|
-
deps: [
|
|
579
|
+
deps: [node60, node85, AppProcess.node]
|
|
580
580
|
});
|
|
581
581
|
|
|
582
|
-
export {
|
|
582
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service54, node58, exports_integration, Event12 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./filesystem-req2f1zf.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-33ka9sw2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin8,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin8 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service75;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin8, exports_git };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node15, exports_discovery };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./filesystem-wesp68ae.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./filesystem-nryd581v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service55;
|
|
57
|
+
const permission = yield* Service69;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name13, description6,
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|