@opencode/core 0.0.0-dev-21108 → 0.0.0-dev-21112
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{vcs-tcdv4xxx.js → job-08zhq3v6.js} +3 -3
- package/dist/chunks/{vcs-ev6xeesc.js → job-0bf787b1.js} +8 -8
- package/dist/chunks/{vcs-b6770wny.js → job-0ks9zhpr.js} +44 -44
- package/dist/chunks/{vcs-0p6hghjm.js → job-0qyq0657.js} +11 -11
- package/dist/chunks/{vcs-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-st8atvy4.js → job-0w52vqev.js} +2 -2
- package/dist/chunks/{vcs-694900vg.js → job-0wjm486e.js} +17 -17
- package/dist/chunks/{vcs-gz9sjfgx.js → job-1248teyj.js} +6 -6
- package/dist/chunks/{vcs-57mezkvj.js → job-190jc4zy.js} +26 -26
- package/dist/chunks/{vcs-j9s0qvjv.js → job-1bfrgapb.js} +12 -12
- package/dist/chunks/{vcs-apbzx1qy.js → job-1dxcywt8.js} +1 -1
- package/dist/chunks/{vcs-b4gkm0yn.js → job-1g3z0azh.js} +15 -15
- package/dist/chunks/{vcs-5fykfdj7.js → job-1pxz8ven.js} +5 -5
- package/dist/chunks/{vcs-70n7ee7d.js → job-1v130mpx.js} +33 -33
- package/dist/chunks/{vcs-6jn4zywt.js → job-1v8dj1h2.js} +20 -20
- package/dist/chunks/{vcs-kzc3h1h3.js → job-1y283654.js} +4 -4
- package/dist/chunks/{vcs-trt0dew0.js → job-1zj7cxje.js} +47 -47
- package/dist/chunks/{vcs-qzawr4c0.js → job-2358bwaq.js} +46 -46
- package/dist/chunks/{vcs-1bmjn0qh.js → job-2395y7e1.js} +8 -8
- package/dist/chunks/{vcs-1xwjxjf0.js → job-247t7n51.js} +45 -45
- package/dist/chunks/{vcs-8wpwcw2c.js → job-2txft6xz.js} +26 -26
- package/dist/chunks/{vcs-wbzy543d.js → job-2ygtdfg2.js} +29 -29
- package/dist/chunks/{vcs-31xfzrxg.js → job-31xfzrxg.js} +2 -2
- package/dist/chunks/{vcs-6e6k9ee1.js → job-32w60ewp.js} +6 -6
- package/dist/chunks/{vcs-9dawpgdd.js → job-33a8026s.js} +6 -6
- package/dist/chunks/{vcs-kbgg0xp7.js → job-3bbkcze6.js} +28 -28
- package/dist/chunks/{vcs-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-r5tp3nbh.js → job-3ga9zd2f.js} +4 -4
- package/dist/chunks/{vcs-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-2x84g0hg.js → job-3k0ta86q.js} +16 -16
- package/dist/chunks/{vcs-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-ewcy99y7.js → job-3zxgx73k.js} +26 -26
- package/dist/chunks/{vcs-f00h63f7.js → job-42g932k2.js} +33 -33
- package/dist/chunks/{vcs-mm8g4k7x.js → job-44nt178b.js} +39 -39
- package/dist/chunks/{vcs-8034592z.js → job-4e4k5cgw.js} +20 -20
- package/dist/chunks/{vcs-nxe4pcap.js → job-4j4tgtq5.js} +4 -4
- package/dist/chunks/{vcs-bcq6ngff.js → job-4meka6v1.js} +85 -85
- package/dist/chunks/{vcs-g1kppfdc.js → job-4s76bvka.js} +28 -28
- package/dist/chunks/{vcs-t7nkm7zy.js → job-4yxncqzk.js} +11 -11
- package/dist/chunks/{vcs-9h5geed1.js → job-54jctmtt.js} +25 -25
- package/dist/chunks/{vcs-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-kwztdq7h.js → job-5802gy43.js} +12 -12
- package/dist/chunks/{vcs-z0c53cnc.js → job-5f78e0bk.js} +15 -15
- package/dist/chunks/{vcs-15fn43ap.js → job-5hr13e4c.js} +8 -8
- package/dist/chunks/{vcs-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/job-619r8v3y.js +18 -0
- package/dist/chunks/{vcs-2cmv458r.js → job-66r9f6z1.js} +5 -5
- package/dist/chunks/{vcs-bh74vh5r.js → job-67690ebn.js} +21 -21
- package/dist/chunks/job-67mv0zeb.js +26 -0
- package/dist/chunks/{vcs-zsaystjn.js → job-696t2cy7.js} +17 -17
- package/dist/chunks/{vcs-98v90pwc.js → job-6cav1d9v.js} +24 -24
- package/dist/chunks/{vcs-a72zk5vh.js → job-6ek5mamz.js} +4 -4
- package/dist/chunks/{vcs-py94f0e0.js → job-6f203fky.js} +21 -21
- package/dist/chunks/{vcs-mq3zggt6.js → job-6n5tmcsn.js} +24 -24
- package/dist/chunks/{vcs-t0pyhqcw.js → job-6v23mrsw.js} +11 -11
- package/dist/chunks/{vcs-6xb47vfp.js → job-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-7jsc1qpe.js → job-6xcd06cn.js} +3 -3
- package/dist/chunks/{vcs-abwx4fz1.js → job-744z4pjx.js} +14 -14
- package/dist/chunks/{vcs-775gj3j1.js → job-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-qf76qvkk.js → job-782zrs06.js} +5 -5
- package/dist/chunks/{vcs-749m9j3c.js → job-78jnw47a.js} +7 -7
- package/dist/chunks/{vcs-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-nrkkc40d.js → job-7ehe1q82.js} +84 -84
- package/dist/chunks/{vcs-pn9m0qmr.js → job-7kvnyt6p.js} +5 -5
- package/dist/chunks/{vcs-3febqyrh.js → job-7n3gnz9r.js} +19 -19
- package/dist/chunks/{vcs-d216944b.js → job-7sbkp4xb.js} +7 -7
- package/dist/chunks/{vcs-mp6m6hpj.js → job-802megp1.js} +10 -10
- package/dist/chunks/{vcs-3bz86aqc.js → job-81q2xnhg.js} +20 -20
- package/dist/chunks/{vcs-tf57n56z.js → job-84mtzs8k.js} +14 -14
- package/dist/chunks/{vcs-kbvzwwv7.js → job-866j0qgd.js} +14 -14
- package/dist/chunks/{vcs-j758eka2.js → job-8a0tbawn.js} +17 -17
- package/dist/chunks/{vcs-9s83jr1p.js → job-8a524ch7.js} +7 -7
- package/dist/chunks/{vcs-23fmqdqn.js → job-8hmjtt7t.js} +13 -13
- package/dist/chunks/{vcs-zae46mp4.js → job-8jxeyxc9.js} +5 -5
- package/dist/chunks/{vcs-wdk0efzn.js → job-8kvx9d9a.js} +16 -16
- package/dist/chunks/{vcs-8m6m0r52.js → job-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-aqab6bvk.js → job-8tayx2nk.js} +4 -4
- package/dist/chunks/{vcs-91qna3x0.js → job-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-gcr4j17e.js → job-95vmf0cx.js} +29 -29
- package/dist/chunks/{vcs-6xnzn5r9.js → job-98h8vcmf.js} +15 -15
- package/dist/chunks/{vcs-bsegt2fq.js → job-9ahf605z.js} +5 -5
- package/dist/chunks/{vcs-80vk4pbp.js → job-9cememrc.js} +13 -13
- package/dist/chunks/{vcs-e7x5qhf1.js → job-9csbzq3k.js} +327 -327
- package/dist/chunks/{vcs-qkfkzs5q.js → job-9k0qe3x2.js} +22 -22
- package/dist/chunks/{vcs-e497y9d1.js → job-9mbkb3sc.js} +9 -9
- package/dist/chunks/{vcs-81ncqz2m.js → job-9pg1zzvb.js} +20 -20
- package/dist/chunks/{vcs-y1kqc1p7.js → job-9r4f3n38.js} +40 -40
- package/dist/chunks/{vcs-stwte7t7.js → job-a3tzcvmz.js} +32 -32
- package/dist/chunks/{vcs-n8rrra3a.js → job-ad1gt5z6.js} +12 -12
- package/dist/chunks/{vcs-tz4n1mmd.js → job-afdssyjb.js} +4 -4
- package/dist/chunks/{vcs-zbzfepeb.js → job-am8zjywx.js} +4 -4
- package/dist/chunks/{vcs-j2s852az.js → job-ay56yawg.js} +30 -30
- package/dist/chunks/{vcs-q6cvmfpv.js → job-b039cdhy.js} +13 -13
- package/dist/chunks/{vcs-278dshqs.js → job-b39124se.js} +11 -11
- package/dist/chunks/{vcs-y4v5ah6d.js → job-b8s6fp5j.js} +23 -23
- package/dist/chunks/{vcs-5bvwnfz3.js → job-bkp4f76d.js} +9 -9
- package/dist/chunks/{vcs-mv3hx7wz.js → job-bmr56wjg.js} +4 -4
- package/dist/chunks/{vcs-zz2r6mts.js → job-bte6ngej.js} +26 -26
- package/dist/chunks/{vcs-az977ysh.js → job-bvd5z42w.js} +35 -35
- package/dist/chunks/{vcs-c1fqxshp.js → job-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-kbs69a2x.js → job-cgzvyhvv.js} +3 -3
- package/dist/chunks/{vcs-0pnx5nh0.js → job-ck327ev6.js} +13 -13
- package/dist/chunks/{vcs-0aqfmf5v.js → job-cs1fz2ym.js} +33 -33
- package/dist/chunks/{vcs-cwa6csj7.js → job-cwa6csj7.js} +2 -2
- package/dist/chunks/{vcs-5z6fkxtw.js → job-d1rddd69.js} +9 -9
- package/dist/chunks/{vcs-v9cgcx37.js → job-d2wek193.js} +28 -28
- package/dist/chunks/{vcs-2kz8np98.js → job-d38556p2.js} +31 -31
- package/dist/chunks/{vcs-sswp2h42.js → job-d88k20pt.js} +14 -14
- package/dist/chunks/{vcs-5ywzfb3j.js → job-da185en6.js} +6 -6
- package/dist/chunks/{vcs-gdvrp62c.js → job-dp9jtaaz.js} +7 -7
- package/dist/chunks/{vcs-fn9t717r.js → job-dq407baf.js} +6 -6
- package/dist/chunks/{vcs-dqxsqydv.js → job-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-drwq78ky.js → job-drwq78ky.js} +1 -1
- package/dist/chunks/{vcs-a8r1ndjr.js → job-dxxdd5gf.js} +11 -11
- package/dist/chunks/{vcs-7em5ghts.js → job-e04mjppw.js} +17 -17
- package/dist/chunks/{vcs-q0qjy1zt.js → job-e2f548m5.js} +19 -19
- package/dist/chunks/{vcs-sesj2hvf.js → job-e9w0xgk5.js} +45 -45
- package/dist/chunks/{vcs-rhjbct0v.js → job-eaj1djv9.js} +8 -8
- package/dist/chunks/{vcs-wt2f84b9.js → job-ee0kfng7.js} +4 -4
- package/dist/chunks/{vcs-eej6y6fw.js → job-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-29m6mk6w.js → job-eqdqwaa8.js} +8 -8
- package/dist/chunks/{vcs-g72yd4k4.js → job-er2q2s93.js} +12 -12
- package/dist/chunks/{vcs-gqmeawtn.js → job-ez6t5hx2.js} +23 -23
- package/dist/chunks/{vcs-8vkwsqvz.js → job-f5r4rnzc.js} +14 -14
- package/dist/chunks/{vcs-z3nay82g.js → job-faj2svbs.js} +9 -9
- package/dist/chunks/{vcs-fcy631f0.js → job-fcy631f0.js} +1 -1
- package/dist/chunks/{vcs-de3tz8ce.js → job-fn5wdjwd.js} +6 -6
- package/dist/chunks/{vcs-5hpssq55.js → job-fwb3fm18.js} +30 -30
- package/dist/chunks/{vcs-e7w08kap.js → job-gbqsrtzy.js} +32 -32
- package/dist/chunks/{vcs-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-z1z60s25.js → job-gdc55jvc.js} +4 -4
- package/dist/chunks/{vcs-c44mjgcb.js → job-gp792ppf.js} +21 -21
- package/dist/chunks/{vcs-bf12m7kx.js → job-gt0x4809.js} +17 -17
- package/dist/chunks/{vcs-7h4aqy0s.js → job-gwaf4cyv.js} +10 -10
- package/dist/chunks/{vcs-02e36gs3.js → job-gx4kjbww.js} +20 -20
- package/dist/chunks/{vcs-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-cv00cvbs.js → job-hder4p07.js} +55 -55
- package/dist/chunks/{vcs-vrja8bfg.js → job-hfqcc610.js} +1 -1
- package/dist/chunks/{vcs-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-fkyvq0kx.js → job-hk4kyacq.js} +26 -26
- package/dist/chunks/{vcs-84msw036.js → job-hmf5dsnm.js} +10 -10
- package/dist/chunks/{vcs-w7xw82wb.js → job-hvg55y1m.js} +11 -11
- package/dist/chunks/{vcs-74g3bhj7.js → job-jhc0stxs.js} +8 -8
- package/dist/chunks/{vcs-ps6734b0.js → job-jk42ka2z.js} +15 -15
- package/dist/chunks/{vcs-n1f7gktn.js → job-jxpbf905.js} +27 -27
- package/dist/chunks/{vcs-ssprmpe5.js → job-jxrsvt8d.js} +14 -14
- package/dist/chunks/{vcs-wqffb857.js → job-jxty7jvr.js} +13 -13
- package/dist/chunks/{vcs-q4rtw0sm.js → job-k0qzeszc.js} +50 -50
- package/dist/chunks/{vcs-1a430sh5.js → job-kf8xxjz9.js} +11 -11
- package/dist/chunks/{vcs-fxaymqdw.js → job-khmqacep.js} +4 -4
- package/dist/chunks/{vcs-z4rktwb2.js → job-kq0z1tjb.js} +11 -11
- package/dist/chunks/{vcs-7hvkf8ba.js → job-kq1kh5hf.js} +29 -29
- package/dist/chunks/{vcs-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
- package/dist/chunks/{vcs-yyjjzvwv.js → job-kya4n3gt.js} +45 -45
- package/dist/chunks/{vcs-2hcv2g42.js → job-m8cz1ghn.js} +11 -11
- package/dist/chunks/{vcs-7ar02ars.js → job-m9n427xj.js} +17 -17
- package/dist/chunks/{vcs-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → job-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-1vayj7pv.js → job-mccdgat0.js} +7 -7
- package/dist/chunks/{vcs-jwkxpzhb.js → job-mgh2a7gf.js} +153 -153
- package/dist/chunks/{vcs-tprpskj3.js → job-mjtg0kct.js} +3 -3
- package/dist/chunks/{vcs-r70na3yp.js → job-nd4tfyg0.js} +9 -9
- package/dist/chunks/{vcs-a2wv01vg.js → job-nfnb91wf.js} +15 -15
- package/dist/chunks/{vcs-yx0rmv9r.js → job-nm4299rz.js} +8 -8
- package/dist/chunks/{vcs-kr3za5q8.js → job-nxm9x0fe.js} +37 -37
- package/dist/chunks/{vcs-t1n56gek.js → job-nz36rv7r.js} +64 -64
- package/dist/chunks/{vcs-ecja6gpk.js → job-p3tsgby1.js} +5 -5
- package/dist/chunks/{vcs-pa8pe2x7.js → job-p4mj4rdp.js} +8 -8
- package/dist/chunks/{vcs-8mnysrst.js → job-p5jqnpch.js} +3 -3
- package/dist/chunks/{vcs-tx5fk5pn.js → job-p6y63wrz.js} +4 -4
- package/dist/chunks/{vcs-0qke7b7v.js → job-pa6wp5yh.js} +18 -18
- package/dist/chunks/{vcs-x1bbg2xd.js → job-pc0k0p8h.js} +13 -13
- package/dist/chunks/{vcs-xa1ekjr5.js → job-pdb8rjdp.js} +18 -18
- package/dist/chunks/{vcs-5ryha89e.js → job-pe2b4pg4.js} +19 -19
- package/dist/chunks/{vcs-vh1d1c6z.js → job-pfvte5ex.js} +23 -23
- package/dist/chunks/{vcs-my0tytnd.js → job-ph29776d.js} +24 -24
- package/dist/chunks/{vcs-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-c8zwaxmp.js → job-pt1ss6jy.js} +3 -3
- package/dist/chunks/{vcs-rd3e5ygt.js → job-q54p6b31.js} +14 -14
- package/dist/chunks/{vcs-ec487xam.js → job-q9en3hpz.js} +16 -16
- package/dist/chunks/{vcs-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{vcs-2cybgqhz.js → job-qmgn8zg7.js} +2 -2
- package/dist/chunks/{vcs-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-d1pkjdrj.js → job-qrytbsaj.js} +34 -34
- package/dist/chunks/{vcs-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-ppbmqrvr.js → job-qvb3nf84.js} +8 -8
- package/dist/chunks/{vcs-6fh64ftw.js → job-r21rn0zz.js} +19 -19
- package/dist/chunks/{vcs-regzcayk.js → job-r38b4gm7.js} +9 -9
- package/dist/chunks/{vcs-f2n192rq.js → job-r8xr0va3.js} +4 -4
- package/dist/chunks/{vcs-m27qakrx.js → job-rcph0yae.js} +17 -17
- package/dist/chunks/{vcs-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-pa2b1817.js → job-re0zn3g0.js} +42 -42
- package/dist/chunks/{vcs-rert0e01.js → job-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-rj3eygr5.js → job-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-rkprpv83.js → job-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-9zm0mfan.js → job-rkx677gg.js} +5 -5
- package/dist/chunks/{vcs-9jvzcmy4.js → job-rm21d51n.js} +5 -5
- package/dist/chunks/{vcs-jxg22agt.js → job-rrz44tnd.js} +12 -12
- package/dist/chunks/{vcs-tb2eav5j.js → job-rwsg7th0.js} +24 -24
- package/dist/chunks/{vcs-rnn4727b.js → job-rxn86gf6.js} +13 -13
- package/dist/chunks/{vcs-jwrbm3d8.js → job-rzcz91ek.js} +22 -22
- package/dist/chunks/{vcs-my4qtva3.js → job-s1f6gdw2.js} +19 -19
- package/dist/chunks/{vcs-cqwdbp8s.js → job-s2navjnm.js} +21 -21
- package/dist/chunks/{vcs-mwpybj7y.js → job-s74x8zwn.js} +12 -12
- package/dist/chunks/{vcs-sa8ekw3f.js → job-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-5wzb8f99.js → job-sjhrg4z8.js} +23 -23
- package/dist/chunks/{vcs-jj5ks10b.js → job-spec05k6.js} +2 -2
- package/dist/chunks/{vcs-w6xajd1d.js → job-swymws4c.js} +18 -18
- package/dist/chunks/{vcs-e80seqcp.js → job-sxcaecc0.js} +3 -3
- package/dist/chunks/{vcs-syv4x271.js → job-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-xset6v8e.js → job-t2rny1q8.js} +29 -29
- package/dist/chunks/{vcs-p9p9s22a.js → job-t79xkb5x.js} +9 -9
- package/dist/chunks/{vcs-k80zjrbm.js → job-t8gxprjd.js} +29 -29
- package/dist/chunks/{vcs-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-89znhe33.js → job-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-jhf3jymm.js → job-tegs1ycp.js} +6 -6
- package/dist/chunks/{vcs-eyn1arby.js → job-tfskcm3z.js} +47 -47
- package/dist/chunks/{vcs-jypkjyjj.js → job-tk518f6g.js} +179 -179
- package/dist/chunks/{vcs-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-ksqkdsfg.js → job-tpg09gg7.js} +33 -33
- package/dist/chunks/{vcs-3xxwenrj.js → job-tpw005b1.js} +11 -11
- package/dist/chunks/{vcs-pgcq6gba.js → job-tqa9g821.js} +10 -10
- package/dist/chunks/{vcs-ah9qjh8p.js → job-tsrjfj85.js} +11 -11
- package/dist/chunks/{vcs-zrq8kphx.js → job-tx9w5tca.js} +8 -8
- package/dist/chunks/{vcs-tyytaxap.js → job-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-v0es1rhs.js → job-v0es1rhs.js} +2 -2
- package/dist/chunks/{vcs-bbpptzmy.js → job-v3xkyz7p.js} +26 -26
- package/dist/chunks/{vcs-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-sdkx3pjx.js → job-vcbrf7nh.js} +47 -47
- package/dist/chunks/{vcs-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-4ztejm5p.js → job-vfz1kjtz.js} +19 -19
- package/dist/chunks/{vcs-yh2wrcre.js → job-vhdxrt7h.js} +29 -29
- package/dist/chunks/{vcs-gxv64e4w.js → job-vmc6r1cj.js} +19 -19
- package/dist/chunks/{vcs-b3xja3vs.js → job-vqq02yr7.js} +11 -11
- package/dist/chunks/{vcs-xbarvga5.js → job-vscxjy0v.js} +47 -47
- package/dist/chunks/{vcs-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-84txncab.js → job-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-kw0erqyq.js → job-waj06c1d.js} +18 -18
- package/dist/chunks/{vcs-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-kqx1b4hy.js → job-wg81ww38.js} +4 -4
- package/dist/chunks/{vcs-82rhge12.js → job-wk5z6jzv.js} +9 -9
- package/dist/chunks/{vcs-3k043h5p.js → job-wzhq9xxz.js} +9 -9
- package/dist/chunks/{vcs-j0bxzt0p.js → job-x2prm6ae.js} +4 -4
- package/dist/chunks/{vcs-cqbghwqx.js → job-x8mwr189.js} +30 -30
- package/dist/chunks/{vcs-8chrd1c9.js → job-xh9n323v.js} +10 -10
- package/dist/chunks/{vcs-c1dxt66b.js → job-xnb4btwz.js} +14 -14
- package/dist/chunks/{vcs-6xcvt31d.js → job-xt4njr3s.js} +1 -1
- package/dist/chunks/{vcs-p1j52kwe.js → job-xxa9ptsg.js} +8 -8
- package/dist/chunks/{vcs-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-7evj5wva.js → job-y4qwpzs9.js} +6 -6
- package/dist/chunks/{vcs-0xqyf95c.js → job-y5rf7nzv.js} +4 -4
- package/dist/chunks/{vcs-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-gzx41zxb.js → job-y7sdd497.js} +28 -28
- package/dist/chunks/{vcs-wtv33j88.js → job-ye9cngvp.js} +32 -32
- package/dist/chunks/{vcs-3wvege5j.js → job-yfq0f3ty.js} +5 -5
- package/dist/chunks/{vcs-gj71zhbs.js → job-ygdna4kr.js} +5 -5
- package/dist/chunks/{vcs-yw1yd8am.js → job-yjsx3ryv.js} +11 -11
- package/dist/chunks/{vcs-rqds5wzt.js → job-yn9v0zkv.js} +14 -14
- package/dist/chunks/{vcs-1ffvrpkg.js → job-ywt8jp22.js} +6 -6
- package/dist/chunks/{vcs-at768xak.js → job-yyc2c3pa.js} +18 -18
- package/dist/chunks/{vcs-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-tre5yt63.js → job-z0dmr40s.js} +8 -8
- package/dist/chunks/{vcs-cjmfqnq2.js → job-z0gr4p3m.js} +34 -34
- package/dist/chunks/{vcs-pymsrck8.js → job-z9g794zs.js} +16 -16
- package/dist/chunks/{vcs-6kbcj5hv.js → job-zqy5zsvc.js} +8 -8
- package/dist/chunks/{vcs-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-t08z9s5h.js → job-zv29qtws.js} +8 -8
- package/dist/chunks/{vcs-jf22arnf.js → job-zvy6w0zs.js} +3 -3
- package/dist/chunks/{vcs-mxvxcxwy.js → job-zw2hpfmh.js} +4 -4
- package/dist/chunks/{vcs-snhrfy7w.js → job-zwe6tn9h.js} +28 -28
- package/dist/chunks/{vcs-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- 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 +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- 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-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +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 +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- 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 +136 -136
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +112 -112
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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/voice.js +88 -88
- package/dist/websearch.js +86 -86
- 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 +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/vcs-ht5y0zrb.js +0 -18
- package/dist/chunks/vcs-xb6h6tjx.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → job-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → job-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → job-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-hmf5dsnm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./job-1bfrgapb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID8,
|
|
9
|
+
Event15,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./job-tpg09gg7.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-zw2hpfmh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-1v130mpx.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID6,
|
|
24
|
+
Service65
|
|
25
|
+
} from "./job-ye9cngvp.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID5
|
|
28
|
+
} from "./job-42g932k2.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-fn5wdjwd.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID6.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service84;
|
|
76
|
+
const credentials = yield* Service69;
|
|
77
|
+
const providers = yield* Service65;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID6.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID6.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID6.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID6.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID8.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID6.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID6.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID6.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID6.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID6.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID6.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID6.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make8(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID6.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID6.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID6.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID6.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make8(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID6.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make8(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID6.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID6.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make8(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID6.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make7();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID5.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID5.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./job-tfskcm3z.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./job-gp792ppf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./job-3k0ta86q.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service74
|
|
19
|
+
} from "./job-hder4p07.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service20,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-5f78e0bk.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service81,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-vmc6r1cj.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./job-vcbrf7nh.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./job-4meka6v1.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-am8zjywx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./job-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin32,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin32 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service24;
|
|
124
|
+
const jobs = yield* Service67;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service53;
|
|
127
|
+
const access = yield* Service20;
|
|
128
|
+
const shell = yield* Service40;
|
|
129
|
+
const shellSelect = yield* Service81;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service74;
|
|
132
|
+
const config = yield* Service45;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin6 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin6 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin6 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin32, exports_shell2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info11
|
|
7
|
+
} from "./job-bmr56wjg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent3,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info7
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info11)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info7 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info7, exports_agent3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./job-6n5tmcsn.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./job-42g932k2.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./job-tfskcm3z.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-pt1ss6jy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service67
|
|
18
|
+
} from "./job-3k0ta86q.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./job-hder4p07.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service24
|
|
25
|
+
} from "./job-4meka6v1.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service9
|
|
31
|
+
} from "./job-s1f6gdw2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./job-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: () => Input8,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin28,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name8
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name8 = "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 Input8 = 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,12 +72,12 @@ var Input9 = 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 Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin28 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service24;
|
|
93
|
+
const jobs = yield* Service67;
|
|
94
|
+
const agents = yield* Service77;
|
|
95
|
+
const config = yield* Service45;
|
|
96
|
+
const permission = yield* Service74;
|
|
97
|
+
const models = yield* Service64;
|
|
98
|
+
const subagents = yield* Service9;
|
|
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 Plugin10 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output6,
|
|
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 Plugin10 = {
|
|
|
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: name8,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin10 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID13.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -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 !== name8 || !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[name8];
|
|
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(name8, 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 { name8, Input8, Output6, description3, Plugin28, exports_subagent };
|