@opencode/core 0.0.0-dev-21062 → 0.0.0-dev-21067
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 +75 -75
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{git-3md19t04.js → repository-cache-04fq9w7k.js} +15 -15
- package/dist/chunks/{git-08mr04zk.js → repository-cache-04hm8sbf.js} +3 -3
- package/dist/chunks/{git-5mnnp3cw.js → repository-cache-0fkzsajt.js} +22 -22
- package/dist/chunks/{git-x61k1gv7.js → repository-cache-0gwaxdb5.js} +9 -9
- package/dist/chunks/{git-8e2wevyg.js → repository-cache-0h584zcj.js} +28 -28
- package/dist/chunks/{git-azh057g0.js → repository-cache-0ks8fkk7.js} +20 -20
- package/dist/chunks/{git-c7rx12mq.js → repository-cache-0mp77758.js} +19 -19
- package/dist/chunks/{git-jx6k168v.js → repository-cache-0q1bg550.js} +7 -7
- package/dist/chunks/{git-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-xyq213da.js → repository-cache-0vxmkk46.js} +10 -10
- package/dist/chunks/{git-y8jmcg8k.js → repository-cache-1002ah85.js} +1 -1
- package/dist/chunks/{git-d69z9xpr.js → repository-cache-14ghcskf.js} +11 -11
- package/dist/chunks/{git-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
- package/dist/chunks/{git-0qymy61s.js → repository-cache-1c0nrm75.js} +31 -31
- package/dist/chunks/{git-wjk3jbnn.js → repository-cache-1mhdjbgf.js} +51 -51
- package/dist/chunks/{git-352j6603.js → repository-cache-1zkr7at4.js} +17 -17
- package/dist/chunks/{git-6ees7pqa.js → repository-cache-20ddjeqk.js} +5 -5
- package/dist/chunks/{git-wwx8h3qn.js → repository-cache-2c7hjkzv.js} +15 -15
- package/dist/chunks/{git-4yt2kt0b.js → repository-cache-2hs2b7gr.js} +13 -13
- package/dist/chunks/{git-63d46qpn.js → repository-cache-2r93mh4x.js} +12 -12
- package/dist/chunks/{git-h1wet0ag.js → repository-cache-2reh3z7q.js} +11 -11
- package/dist/chunks/{git-g97vj1p3.js → repository-cache-34wbqfzd.js} +13 -13
- package/dist/chunks/{git-y32r5m3m.js → repository-cache-3dp26de5.js} +5 -5
- package/dist/chunks/{git-ct2atp7x.js → repository-cache-3f3jw9g7.js} +23 -23
- package/dist/chunks/{git-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-133h4rxs.js → repository-cache-3j6skxgn.js} +11 -11
- package/dist/chunks/{git-yf4jcbx9.js → repository-cache-3ppptnan.js} +6 -6
- package/dist/chunks/{git-2z976w7f.js → repository-cache-3s0pff9n.js} +4 -4
- package/dist/chunks/{git-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-mshkz34v.js → repository-cache-3yfx7ssa.js} +8 -8
- package/dist/chunks/{git-6mp3ggm1.js → repository-cache-3yx1m4p2.js} +32 -32
- package/dist/chunks/{git-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-qh6v5qqy.js → repository-cache-47p11zqp.js} +22 -22
- package/dist/chunks/{git-ytcapqcx.js → repository-cache-491xdksk.js} +27 -27
- package/dist/chunks/{git-jt1egq2b.js → repository-cache-4cacgcg4.js} +13 -13
- package/dist/chunks/{git-r186t613.js → repository-cache-4s488yf0.js} +25 -25
- package/dist/chunks/{git-4w5f3qm5.js → repository-cache-4w5f3qm5.js} +1 -1
- package/dist/chunks/{git-hqbqqsx7.js → repository-cache-4weqkh0r.js} +12 -12
- package/dist/chunks/{git-at7t4gwn.js → repository-cache-529j2gk6.js} +8 -8
- package/dist/chunks/{git-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{git-xfkkasph.js → repository-cache-57b9ws8p.js} +7 -7
- package/dist/chunks/{git-ssf4yhs8.js → repository-cache-5b8jzjbb.js} +10 -10
- package/dist/chunks/{git-m7xf8rkm.js → repository-cache-5cgvgbkt.js} +19 -19
- package/dist/chunks/{git-a8037f1v.js → repository-cache-5fggwg49.js} +9 -9
- package/dist/chunks/{git-4327w5ky.js → repository-cache-5kcxs3hq.js} +11 -11
- package/dist/chunks/{git-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-y56ehv6b.js → repository-cache-6fatt4mk.js} +9 -9
- package/dist/chunks/{git-wtk2ksb2.js → repository-cache-6mvxpr6a.js} +7 -7
- package/dist/chunks/{git-ve85v3xb.js → repository-cache-6rm5yzkt.js} +4 -4
- package/dist/chunks/{git-7kp85qqg.js → repository-cache-6shgtgh7.js} +20 -20
- package/dist/chunks/{git-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-eq1gkzp1.js → repository-cache-6y3da09e.js} +9 -9
- package/dist/chunks/{git-9rqfv6yv.js → repository-cache-71ydk2nh.js} +5 -5
- package/dist/chunks/{git-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{git-cmqxwqzx.js → repository-cache-7862sz3y.js} +5 -5
- package/dist/chunks/{git-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-4q8aq0yj.js → repository-cache-7hpzbegt.js} +5 -5
- package/dist/chunks/{git-ev8bzsg1.js → repository-cache-7s2t8884.js} +7 -7
- package/dist/chunks/{git-j85zdcpy.js → repository-cache-87xdddg2.js} +14 -14
- package/dist/chunks/{git-tcezcvh9.js → repository-cache-89znhe33.js} +4 -4
- package/dist/chunks/{git-gd01rr9s.js → repository-cache-8ke26ekv.js} +21 -21
- package/dist/chunks/{git-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-fe40c1g9.js → repository-cache-8nmsyqvc.js} +158 -158
- package/dist/chunks/{git-28t5xsh3.js → repository-cache-8qpd1wq0.js} +24 -24
- package/dist/chunks/{git-rybfjp7a.js → repository-cache-8tsx4356.js} +17 -17
- package/dist/chunks/{git-gpqws9nq.js → repository-cache-8xbb1bj4.js} +4 -4
- package/dist/chunks/{git-fe2th2wh.js → repository-cache-8xfr6ygr.js} +4 -4
- package/dist/chunks/{git-91qna3x0.js → repository-cache-91qna3x0.js} +3 -3
- package/dist/chunks/{git-xj1aydcy.js → repository-cache-94ca0bep.js} +5 -5
- package/dist/chunks/{git-nx34zgwq.js → repository-cache-9a1tk2ax.js} +9 -9
- package/dist/chunks/{git-2tj3byjt.js → repository-cache-9bepqb19.js} +37 -37
- package/dist/chunks/{git-svvm20fx.js → repository-cache-9e6h2n11.js} +5 -5
- package/dist/chunks/{git-ts0sm5wa.js → repository-cache-9hd7xbnq.js} +3 -3
- package/dist/chunks/{git-1e8qp1yh.js → repository-cache-9m58ky0y.js} +26 -26
- package/dist/chunks/{git-y0p3px76.js → repository-cache-9rehpywf.js} +24 -24
- package/dist/chunks/{git-2d0p9y9z.js → repository-cache-9y9sk2j9.js} +2 -2
- package/dist/chunks/{git-00kba7x3.js → repository-cache-9ydfqn9m.js} +24 -24
- package/dist/chunks/{git-etnbc6at.js → repository-cache-a5efwarc.js} +16 -16
- package/dist/chunks/{git-gyxaygr4.js → repository-cache-a7q6bcxf.js} +43 -43
- package/dist/chunks/{git-vhnmz40v.js → repository-cache-ab7kh9ah.js} +13 -13
- package/dist/chunks/{git-96k8c7ca.js → repository-cache-abs0cgcn.js} +31 -31
- package/dist/chunks/{git-3y377wv9.js → repository-cache-addxnjmp.js} +4 -4
- package/dist/chunks/{git-xt6nrjvw.js → repository-cache-apjrvc88.js} +16 -16
- package/dist/chunks/{git-3jq4fafe.js → repository-cache-at71mg2v.js} +7 -7
- package/dist/chunks/{git-geje6z9c.js → repository-cache-ave3dvq0.js} +10 -10
- package/dist/chunks/{git-vpm8vpz0.js → repository-cache-axe3mf62.js} +3 -3
- package/dist/chunks/{git-kckqmhre.js → repository-cache-aypb1cd9.js} +10 -10
- package/dist/chunks/{git-e9v5qsfh.js → repository-cache-b15enhky.js} +25 -25
- package/dist/chunks/{git-asvx1cy5.js → repository-cache-b4qvnwj4.js} +44 -44
- package/dist/chunks/{git-52fpbh6z.js → repository-cache-be7qvw84.js} +8 -8
- package/dist/chunks/{git-89embc53.js → repository-cache-bfv9bv9k.js} +6 -6
- package/dist/chunks/{git-9hke9rzz.js → repository-cache-bqcq01f8.js} +1 -1
- package/dist/chunks/{git-0nde5ztd.js → repository-cache-btec747f.js} +5 -5
- package/dist/chunks/{git-kdazpp6j.js → repository-cache-bxv8f0vx.js} +38 -38
- package/dist/chunks/{git-3rx778rd.js → repository-cache-by2m0qzd.js} +14 -14
- package/dist/chunks/{git-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
- package/dist/chunks/{git-8jwr2qnf.js → repository-cache-c342w7bd.js} +17 -17
- package/dist/chunks/{git-xq7d7py0.js → repository-cache-c63260k1.js} +20 -20
- package/dist/chunks/{git-x2hbrvsn.js → repository-cache-cchmky4n.js} +4 -4
- package/dist/chunks/{git-7vdkza44.js → repository-cache-cdv61tg0.js} +11 -11
- package/dist/chunks/{git-vkjty8zp.js → repository-cache-ch54pc8v.js} +5 -5
- package/dist/chunks/{git-qpm7s57z.js → repository-cache-cjb9bptw.js} +10 -10
- package/dist/chunks/{git-dv1qgsyq.js → repository-cache-cmwkp3r5.js} +8 -8
- package/dist/chunks/{git-mqzqahne.js → repository-cache-crq3qyq7.js} +16 -16
- package/dist/chunks/{git-zvm05j0q.js → repository-cache-ctj9g63t.js} +18 -18
- package/dist/chunks/{git-2zs3ps38.js → repository-cache-cwe0vf0q.js} +17 -17
- package/dist/chunks/{git-bv2ny28d.js → repository-cache-cx8gshh0.js} +18 -18
- package/dist/chunks/{git-mnns84tq.js → repository-cache-d1qr7c61.js} +22 -22
- package/dist/chunks/{git-d2czbp48.js → repository-cache-d2czbp48.js} +1 -1
- package/dist/chunks/{git-5e3m6ttb.js → repository-cache-d4k0r7c4.js} +27 -27
- package/dist/chunks/{git-y3m021e8.js → repository-cache-d591ppm4.js} +28 -28
- package/dist/chunks/{git-510fpdjj.js → repository-cache-d8v8pkk5.js} +32 -32
- package/dist/chunks/{git-747advjj.js → repository-cache-d9vjfnsx.js} +21 -21
- package/dist/chunks/{git-w6gd0mvv.js → repository-cache-dk6v5ecn.js} +20 -20
- package/dist/chunks/{git-dqxsqydv.js → repository-cache-dqxsqydv.js} +1 -1
- package/dist/chunks/repository-cache-dxj72tfx.js +18 -0
- package/dist/chunks/{git-npw39rc8.js → repository-cache-dys7k0s0.js} +8 -8
- package/dist/chunks/{git-2cahkbfy.js → repository-cache-e2pebnkw.js} +49 -49
- package/dist/chunks/{git-pmexrvbd.js → repository-cache-e40rpznh.js} +11 -11
- package/dist/chunks/{git-h1n9eedh.js → repository-cache-e49nbjze.js} +14 -14
- package/dist/chunks/{git-6n0ste9k.js → repository-cache-e5m8tg9t.js} +21 -21
- package/dist/chunks/{git-9tv8kj20.js → repository-cache-e5tpmdkr.js} +19 -19
- package/dist/chunks/{git-gjcxsqdv.js → repository-cache-e7r48vpy.js} +11 -11
- package/dist/chunks/{git-e80seqcp.js → repository-cache-e80seqcp.js} +1 -1
- package/dist/chunks/{git-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-0wgmrba7.js → repository-cache-eg4pqzs7.js} +15 -15
- package/dist/chunks/{git-7vtrn64f.js → repository-cache-ejb551xx.js} +50 -50
- package/dist/chunks/{git-5te1apv5.js → repository-cache-ejvep6r2.js} +27 -27
- package/dist/chunks/{git-00b36z4k.js → repository-cache-ewxjqerj.js} +46 -46
- package/dist/chunks/{git-2052heee.js → repository-cache-f0q5jczr.js} +5 -5
- package/dist/chunks/{git-m9pkn1rm.js → repository-cache-f25zr6qz.js} +21 -21
- package/dist/chunks/{git-ttqw03tt.js → repository-cache-fdg7jwgm.js} +19 -19
- package/dist/chunks/{git-64wjsvpw.js → repository-cache-fe4hjjyy.js} +11 -11
- package/dist/chunks/{git-w91axksf.js → repository-cache-fjtmed58.js} +13 -13
- package/dist/chunks/{git-1hnmhrtt.js → repository-cache-fpyqxqmr.js} +16 -16
- package/dist/chunks/{git-b6an89mh.js → repository-cache-fqp693fh.js} +21 -21
- package/dist/chunks/{git-ssaywjka.js → repository-cache-fvcpcef7.js} +14 -14
- package/dist/chunks/{git-y54hr7f3.js → repository-cache-fw181sc9.js} +9 -9
- package/dist/chunks/{git-yrw4mpv0.js → repository-cache-g3y8m8pp.js} +9 -9
- package/dist/chunks/{git-cwa6csj7.js → repository-cache-g6q9qykm.js} +9 -9
- package/dist/chunks/{git-g6yfr6ja.js → repository-cache-g6yfr6ja.js} +2 -2
- package/dist/chunks/{git-y1gc13fs.js → repository-cache-gd39dmhb.js} +13 -13
- package/dist/chunks/{git-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-39381q6g.js → repository-cache-geyja93h.js} +26 -26
- package/dist/chunks/{git-z6c3x22d.js → repository-cache-gj71zhbs.js} +5 -5
- package/dist/chunks/{git-kprygma0.js → repository-cache-gq7y3cd8.js} +27 -27
- package/dist/chunks/{git-ttqh24zm.js → repository-cache-gst7axd9.js} +4 -4
- package/dist/chunks/{git-ds58hxpb.js → repository-cache-gv37jgcn.js} +30 -30
- package/dist/chunks/{git-5y1ssq42.js → repository-cache-h0y6q46p.js} +22 -22
- package/dist/chunks/{git-n0freqwz.js → repository-cache-h4a8c9dz.js} +4 -4
- package/dist/chunks/{git-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-31xfzrxg.js → repository-cache-h7s7r6s9.js} +5 -5
- package/dist/chunks/{git-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-v3qh3xqk.js → repository-cache-hqxhqkds.js} +6 -6
- package/dist/chunks/{git-zt0d3ekd.js → repository-cache-j1wkfhwt.js} +3 -3
- package/dist/chunks/{git-r81t6b6n.js → repository-cache-j2b91fdp.js} +14 -14
- package/dist/chunks/{git-fn9hs14h.js → repository-cache-j9x0khfw.js} +6 -6
- package/dist/chunks/{git-c872t358.js → repository-cache-jecp24jg.js} +6 -6
- package/dist/chunks/repository-cache-jevmk2ks.js +26 -0
- package/dist/chunks/{git-ge8zn40h.js → repository-cache-k57ac7j1.js} +6 -6
- package/dist/chunks/{git-6vmt1kdw.js → repository-cache-k9gyx25e.js} +23 -23
- package/dist/chunks/{git-pvkdhk7d.js → repository-cache-kcvbm89f.js} +30 -30
- package/dist/chunks/{git-fxaymqdw.js → repository-cache-khmqacep.js} +4 -4
- package/dist/chunks/{git-7th6dh9e.js → repository-cache-kpe059n0.js} +9 -9
- package/dist/chunks/{git-fyn09b5n.js → repository-cache-kqtg52fn.js} +65 -65
- package/dist/chunks/{git-hkffa77z.js → repository-cache-kqx1b4hy.js} +4 -4
- package/dist/chunks/{git-rr1z7ahj.js → repository-cache-krf4tsjk.js} +34 -34
- package/dist/chunks/repository-cache-ks80404h.js +513 -0
- package/dist/chunks/{git-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/{git-a16f6bk4.js → repository-cache-m6b17x9v.js} +2 -2
- package/dist/chunks/{git-2qm80vd6.js → repository-cache-m8sfq14v.js} +13 -13
- package/dist/chunks/{git-1a515dmz.js → repository-cache-m93cgr6s.js} +5 -5
- package/dist/chunks/{git-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{git-cm5f7pma.js → repository-cache-mdre6djm.js} +11 -11
- package/dist/chunks/{git-bcys5w9d.js → repository-cache-mj4tx5qy.js} +18 -18
- package/dist/chunks/{git-7xe39psp.js → repository-cache-mp7nbm6p.js} +3 -3
- package/dist/chunks/{git-k1am5yw9.js → repository-cache-mpy9qz4k.js} +11 -11
- package/dist/chunks/{git-chhj7fee.js → repository-cache-mq9zb5b9.js} +32 -32
- package/dist/chunks/{git-3es4phk5.js → repository-cache-mv1zf9z2.js} +42 -42
- package/dist/chunks/{git-9bb8qht6.js → repository-cache-mwyvanbh.js} +14 -14
- package/dist/chunks/{git-c4nsn6b8.js → repository-cache-n2wb2mch.js} +25 -25
- package/dist/chunks/{git-161hqbep.js → repository-cache-ngpfqwbj.js} +18 -18
- package/dist/chunks/{git-27sw9x7x.js → repository-cache-nj3byha7.js} +16 -16
- package/dist/chunks/{git-58w8wmj1.js → repository-cache-nq7pnem0.js} +15 -15
- package/dist/chunks/{git-2gbz9bkd.js → repository-cache-p91h8kfs.js} +4 -4
- package/dist/chunks/{git-raz7n7tw.js → repository-cache-pdx0gykg.js} +21 -21
- package/dist/chunks/{git-e67s7wnb.js → repository-cache-pfjh7j5z.js} +11 -11
- package/dist/chunks/{git-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-jyc9d1z3.js → repository-cache-pk4ymh6x.js} +20 -20
- package/dist/chunks/{git-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{git-jq5qpyxf.js → repository-cache-pm1kn7fh.js} +20 -20
- package/dist/chunks/{git-ga0xp5gq.js → repository-cache-ptjpt6w9.js} +78 -78
- package/dist/chunks/{git-s84ry3mb.js → repository-cache-px85ptb0.js} +14 -14
- package/dist/chunks/{git-7wvrqce5.js → repository-cache-q2pht526.js} +13 -13
- package/dist/chunks/{git-fh3h2rrs.js → repository-cache-q51r5gk2.js} +11 -11
- package/dist/chunks/{git-5jebk2rh.js → repository-cache-q5v42qaq.js} +19 -19
- package/dist/chunks/{git-aj2sbhs3.js → repository-cache-qb9n2841.js} +3 -3
- package/dist/chunks/{git-7dqw4kz8.js → repository-cache-qgn6gcr1.js} +5 -5
- package/dist/chunks/{git-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{git-f78dsz6n.js → repository-cache-qyj1vcvk.js} +11 -11
- package/dist/chunks/{git-ct331857.js → repository-cache-rap56gfv.js} +8 -8
- package/dist/chunks/{git-0y6maag9.js → repository-cache-rcy0c9yy.js} +42 -42
- package/dist/chunks/{git-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-rert0e01.js → repository-cache-rert0e01.js} +2 -2
- package/dist/chunks/{git-s8d7rejh.js → repository-cache-rhjbct0v.js} +4 -4
- package/dist/chunks/{git-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
- package/dist/chunks/{git-gwcrv1gc.js → repository-cache-rkxvzxf2.js} +42 -42
- package/dist/chunks/{git-w6zk8pbt.js → repository-cache-rsvmvhbp.js} +8 -8
- package/dist/chunks/{git-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
- package/dist/chunks/{git-4a2776we.js → repository-cache-sgjfhjy7.js} +11 -11
- package/dist/chunks/{git-19720hhg.js → repository-cache-sje3rda6.js} +8 -8
- package/dist/chunks/{git-at87fsc1.js → repository-cache-sxk90dft.js} +29 -29
- package/dist/chunks/{git-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{git-rbpvdgf0.js → repository-cache-t0yfw6ys.js} +5 -5
- package/dist/chunks/{git-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{git-chgyesm2.js → repository-cache-temcp865.js} +4 -4
- package/dist/chunks/{git-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{git-02fz4yjj.js → repository-cache-tnw9vg4a.js} +1 -1
- package/dist/chunks/{git-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/{git-4434d9q2.js → repository-cache-v0es1rhs.js} +9 -9
- package/dist/chunks/{git-myzt0ztr.js → repository-cache-v1cyyw7h.js} +15 -15
- package/dist/chunks/{git-kftjr2e3.js → repository-cache-v4v9aph4.js} +13 -13
- package/dist/chunks/{git-qa3qhgw8.js → repository-cache-v5dkyp31.js} +4 -4
- package/dist/chunks/{git-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-jnrq1n4d.js → repository-cache-vcdzpava.js} +31 -31
- package/dist/chunks/{git-3hk2ztfw.js → repository-cache-ve7zbnhg.js} +3 -3
- package/dist/chunks/{git-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{git-j9tkb0kk.js → repository-cache-vhaf4ayt.js} +81 -81
- package/dist/chunks/{git-q39cs03p.js → repository-cache-vk80et65.js} +4 -4
- package/dist/chunks/{git-4gw7zdme.js → repository-cache-vr44d4hm.js} +15 -15
- package/dist/chunks/{git-8myf2bph.js → repository-cache-vsye7q8h.js} +32 -32
- package/dist/chunks/{git-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/repository-cache-w3tje0hb.js +253 -0
- package/dist/chunks/{git-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-8sze2n9a.js → repository-cache-w92k2e0p.js} +4 -4
- package/dist/chunks/{git-sz15zhhw.js → repository-cache-waskdk5r.js} +4 -4
- package/dist/chunks/{git-z44656xp.js → repository-cache-wbv8krvw.js} +28 -28
- package/dist/chunks/{git-3xn4xn8n.js → repository-cache-wcmdh5fr.js} +8 -8
- package/dist/chunks/{git-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{git-scgrse2b.js → repository-cache-wecqtg5s.js} +5 -5
- package/dist/chunks/{git-1ffvrpkg.js → repository-cache-wjr9rjd7.js} +9 -9
- package/dist/chunks/{git-66mwys5v.js → repository-cache-wp5jg3qv.js} +15 -15
- package/dist/chunks/{git-4p6eznaa.js → repository-cache-wqaksqmk.js} +18 -18
- package/dist/chunks/{git-59gkzr6d.js → repository-cache-wz0h12mc.js} +36 -36
- package/dist/chunks/{git-qnjzkknc.js → repository-cache-x7pmjftd.js} +7 -7
- package/dist/chunks/{git-55s65rp4.js → repository-cache-xfnq57nx.js} +15 -15
- package/dist/chunks/{git-mafhwm8q.js → repository-cache-xgq2rm19.js} +9 -9
- package/dist/chunks/{git-djyswthr.js → repository-cache-xreky3y6.js} +31 -31
- package/dist/chunks/{git-hjwvg3qx.js → repository-cache-xrr5sc3f.js} +32 -32
- package/dist/chunks/{git-gayeec0v.js → repository-cache-xxtzrfs4.js} +9 -9
- package/dist/chunks/{git-xybefm6f.js → repository-cache-xybefm6f.js} +1 -1
- package/dist/chunks/{git-dmecs3pv.js → repository-cache-xyzkt3tg.js} +24 -24
- package/dist/chunks/{git-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-n2srvep7.js → repository-cache-y6mhz57t.js} +4 -4
- package/dist/chunks/{git-dpkg50ah.js → repository-cache-y71avatq.js} +4 -4
- package/dist/chunks/{git-nd4tfyg0.js → repository-cache-y7nndgyc.js} +9 -9
- package/dist/chunks/{git-1zz9rj5d.js → repository-cache-yacze3r8.js} +5 -5
- package/dist/chunks/{git-dnn66tcs.js → repository-cache-ycpsy51k.js} +22 -22
- package/dist/chunks/{git-fww2ha2b.js → repository-cache-yh1stbkq.js} +10 -10
- package/dist/chunks/{git-a09dvcfs.js → repository-cache-yrmnft4d.js} +11 -11
- package/dist/chunks/{git-7bznv11x.js → repository-cache-ywqzdww2.js} +23 -23
- package/dist/chunks/{git-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-0y0ec6ym.js → repository-cache-z0qz3jqt.js} +50 -50
- package/dist/chunks/{git-4kvk04s5.js → repository-cache-zgza60ny.js} +8 -8
- package/dist/chunks/{git-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-8159bw5m.js → repository-cache-zss4em3h.js} +21 -21
- package/dist/chunks/{git-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-5v8fgs5z.js → repository-cache-zzt06fmm.js} +17 -17
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/git-28w77qnw.js +0 -26
- package/dist/chunks/git-5jhv0vnb.js +0 -513
- package/dist/chunks/git-f81tjggh.js +0 -18
- package/dist/chunks/git-jw0xc3ac.js +0 -253
- /package/dist/chunks/{git-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-h4a8c9dz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event19,
|
|
7
|
+
Service79
|
|
8
|
+
} from "./repository-cache-0h584zcj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./repository-cache-n2wb2mch.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-jecp24jg.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service79;
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
3
|
Service73
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6mvxpr6a.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service60
|
|
8
|
+
} from "./repository-cache-abs0cgcn.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./repository-cache-e2pebnkw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-axe3mf62.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service74
|
|
18
|
+
} from "./repository-cache-2hs2b7gr.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
21
|
Service69
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-cache-0fkzsajt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./repository-cache-vhaf4ayt.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-cache-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./repository-cache-fdg7jwgm.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description2,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin37 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service74;
|
|
94
94
|
const agents = yield* Service73;
|
|
95
|
-
const config = yield*
|
|
95
|
+
const config = yield* Service50;
|
|
96
96
|
const permission = yield* Service69;
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
97
|
+
const models = yield* Service60;
|
|
98
|
+
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin9 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description2,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin9 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin37, exports_subagent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-h4a8c9dz.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-abs0cgcn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service57,
|
|
9
|
+
Event11
|
|
10
|
+
} from "./repository-cache-xrr5sc3f.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service57;
|
|
42
42
|
const bus = yield* Service84;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./repository-cache-zzt06fmm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./repository-cache-e2pebnkw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./repository-cache-eg4pqzs7.js";
|
|
10
10
|
import {
|
|
11
11
|
make10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-e80seqcp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin5
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin5 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service50;
|
|
36
|
+
const formatter = yield* Service14;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin5, exports_formatter };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-cjb9bptw.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin24,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin24 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin20 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin20 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin24, exports_firecrawl };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./repository-cache-zzt06fmm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./repository-cache-9ydfqn9m.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./repository-cache-cx8gshh0.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-krf4tsjk.js";
|
|
24
24
|
import {
|
|
25
25
|
Service69
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-0fkzsajt.js";
|
|
27
27
|
import {
|
|
28
28
|
Service22
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-9a1tk2ax.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin43,
|
|
41
|
+
name: () => name7,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name7 = "grep";
|
|
48
|
+
var Input7 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin43 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
const environment = yield* Service64;
|
|
90
|
+
const ripgrep = yield* Service63;
|
|
91
|
+
const location = yield* Service81;
|
|
92
92
|
const access = yield* Service22;
|
|
93
93
|
const permission = yield* Service69;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input7,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name7,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin12 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin12 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name7, Input7, Output5, toModelContent4, Plugin43, exports_grep };
|