@opencode/core 0.0.0-dev-21307 → 0.0.0-dev-21314
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/{repository-cache-7yyqgw31.js → session-02g8yb1z.js} +13 -13
- package/dist/chunks/{repository-cache-qh8vdwx1.js → session-07770t2t.js} +6 -6
- package/dist/chunks/{repository-cache-5cd6vznj.js → session-0c6p43cp.js} +6 -6
- package/dist/chunks/{repository-cache-0gdmqesm.js → session-0gdmqesm.js} +1 -1
- package/dist/chunks/{repository-cache-d4ex4t7m.js → session-0psg52y2.js} +24 -24
- package/dist/chunks/{repository-cache-0vbcp93d.js → session-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-m5ac8kwq.js → session-0xgrx95y.js} +26 -26
- package/dist/chunks/{repository-cache-zt0s3nmc.js → session-14hgbde8.js} +5 -5
- package/dist/chunks/{repository-cache-n2bfkdv4.js → session-14pg4h6h.js} +8 -8
- package/dist/chunks/session-15aq8qza.js +257 -0
- package/dist/chunks/{repository-cache-8hht930z.js → session-1bzr682y.js} +16 -16
- package/dist/chunks/{repository-cache-bzeyqsqd.js → session-1ep4rre3.js} +4 -4
- package/dist/chunks/{repository-cache-ywt8jp22.js → session-1ffvrpkg.js} +6 -6
- package/dist/chunks/{repository-cache-045nn9pc.js → session-1j6m29mr.js} +4 -4
- package/dist/chunks/{repository-cache-x91navb3.js → session-1nw3zm24.js} +5 -5
- package/dist/chunks/{repository-cache-5w4193mt.js → session-1ptcz1aw.js} +59 -59
- package/dist/chunks/{repository-cache-4y6kwa1w.js → session-1sgxfzw3.js} +14 -14
- package/dist/chunks/{repository-cache-nqx608f1.js → session-1v2qx10z.js} +9 -9
- package/dist/chunks/{repository-cache-213xhah1.js → session-1vy01fax.js} +3 -3
- package/dist/chunks/{repository-cache-q3s5c4wd.js → session-23kra5v4.js} +12 -12
- package/dist/chunks/{repository-cache-z6jgmdqw.js → session-2420hj0p.js} +30 -30
- package/dist/chunks/{repository-cache-kmj26603.js → session-25yddszk.js} +6 -6
- package/dist/chunks/{repository-cache-ntcd7r2c.js → session-29kdakx0.js} +15 -15
- package/dist/chunks/{repository-cache-7dqw4kz8.js → session-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-cache-04se7enf.js → session-35epk4r0.js} +5 -5
- package/dist/chunks/{repository-cache-gbx5w9e0.js → session-37gc27dg.js} +48 -48
- package/dist/chunks/{repository-cache-2xfc23b2.js → session-37zydtf8.js} +24 -24
- package/dist/chunks/{repository-cache-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
- package/dist/chunks/{repository-cache-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-21fhc1jw.js → session-3w50xvmd.js} +8 -8
- package/dist/chunks/{repository-cache-x661k3y3.js → session-3y377wv9.js} +4 -4
- package/dist/chunks/{repository-cache-p8qee5dd.js → session-3yt14ahe.js} +6 -6
- package/dist/chunks/{repository-cache-v7h4apfv.js → session-3zktm4st.js} +12 -12
- package/dist/chunks/{repository-cache-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-rvjhec0b.js → session-43frtkeb.js} +26 -26
- package/dist/chunks/{repository-cache-pjhexp1d.js → session-46nb00bf.js} +11 -11
- package/dist/chunks/{repository-cache-z6c3x22d.js → session-47jkzegy.js} +5 -5
- package/dist/chunks/{repository-cache-1n5bn1zm.js → session-4bcztqfp.js} +19 -19
- package/dist/chunks/{repository-cache-m3n8w99j.js → session-4kk33tta.js} +2 -2
- package/dist/chunks/{repository-cache-0cg871e2.js → session-4m4myvej.js} +5 -5
- package/dist/chunks/{repository-cache-y56ehv6b.js → session-4nj4bn9q.js} +5 -5
- package/dist/chunks/{repository-cache-qj368rjp.js → session-52rp03wm.js} +9 -9
- package/dist/chunks/{repository-cache-dp622nh3.js → session-5eek9100.js} +19 -19
- package/dist/chunks/{repository-cache-7cd0cd1q.js → session-5h49dtg2.js} +22 -22
- package/dist/chunks/{repository-cache-7sdjsr81.js → session-5jszk2xw.js} +21 -21
- package/dist/chunks/{repository-cache-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-0dq0w1jq.js → session-5njtz3qm.js} +8 -8
- package/dist/chunks/{repository-cache-pa8pe2x7.js → session-5yzzbxa7.js} +8 -8
- package/dist/chunks/{repository-cache-6827pfxn.js → session-6827pfxn.js} +1 -1
- package/dist/chunks/{repository-cache-qkpkhkva.js → session-6thrtbgs.js} +11 -11
- package/dist/chunks/{repository-cache-b3pexw4z.js → session-6w6x9nqq.js} +5 -5
- package/dist/chunks/{repository-cache-6yncxzed.js → session-6x4m2wb8.js} +11 -11
- package/dist/chunks/{repository-cache-6xb47vfp.js → session-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-8z19p36t.js → session-6zw2r5dj.js} +3 -3
- package/dist/chunks/{repository-cache-gy6q8pjn.js → session-71nj6hcx.js} +5 -5
- package/dist/chunks/{repository-cache-775gj3j1.js → session-775gj3j1.js} +2 -2
- package/dist/chunks/{repository-cache-xaf8j326.js → session-78jd07r2.js} +13 -13
- package/dist/chunks/{repository-cache-avhvgy5k.js → session-797s8g7v.js} +10 -10
- package/dist/chunks/{repository-cache-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-cyd8k6yp.js → session-7djx2bk3.js} +30 -30
- package/dist/chunks/{repository-cache-9mwy3bj8.js → session-7ge0sy1k.js} +18 -18
- package/dist/chunks/{repository-cache-zvjhkatg.js → session-7rwqf82v.js} +8 -8
- package/dist/chunks/{repository-cache-59m3023s.js → session-7t2yk244.js} +13 -13
- package/dist/chunks/{repository-cache-a20pjse5.js → session-7v6vae4w.js} +3 -3
- package/dist/chunks/{repository-cache-qbqbaz6q.js → session-80scg3y3.js} +4 -4
- package/dist/chunks/{repository-cache-84txncab.js → session-84txncab.js} +1 -1
- package/dist/chunks/{repository-cache-z4ev155g.js → session-86qjnnqk.js} +11 -11
- package/dist/chunks/{repository-cache-xn26nr4q.js → session-88hn0rhj.js} +39 -39
- package/dist/chunks/{repository-cache-ht6gncry.js → session-8akh696h.js} +15 -15
- package/dist/chunks/{repository-cache-q4fmv0xv.js → session-8dff8bqa.js} +5 -5
- package/dist/chunks/{repository-cache-tz4n1mmd.js → session-8gxqpgph.js} +4 -4
- package/dist/chunks/{repository-cache-vc7fmfhz.js → session-8hzf46d8.js} +12 -12
- package/dist/chunks/{repository-cache-8m6m0r52.js → session-8m6m0r52.js} +1 -1
- package/dist/chunks/{repository-cache-8mywswrd.js → session-8mywswrd.js} +1 -1
- package/dist/chunks/{repository-cache-69wpfr64.js → session-8pwke1r9.js} +6 -6
- package/dist/chunks/{repository-cache-vht2c7bf.js → session-8tv96w5n.js} +4 -4
- package/dist/chunks/{repository-cache-pg4vymq4.js → session-96ks7dsb.js} +24 -24
- package/dist/chunks/{repository-cache-4r9nnegq.js → session-9cksbnqm.js} +20 -20
- package/dist/chunks/{repository-cache-kb4h046s.js → session-9pay6nf1.js} +11 -11
- package/dist/chunks/{repository-cache-ahgrg4fe.js → session-a7v5357x.js} +39 -39
- package/dist/chunks/{repository-cache-scnkw924.js → session-awex745w.js} +20 -20
- package/dist/chunks/{repository-cache-xhfr7w54.js → session-baht5a7f.js} +25 -25
- package/dist/chunks/{repository-cache-mj2j2ta6.js → session-bbgk03y5.js} +26 -26
- package/dist/chunks/{repository-cache-52bg0ad9.js → session-bbq853ba.js} +25 -25
- package/dist/chunks/{repository-cache-vbybff9w.js → session-bgdj39ha.js} +21 -21
- package/dist/chunks/{repository-cache-ghbjgsw7.js → session-bsaxn52h.js} +43 -43
- package/dist/chunks/{repository-cache-ycy3dsx4.js → session-by8mmdze.js} +13 -13
- package/dist/chunks/{repository-cache-c1fqxshp.js → session-c1fqxshp.js} +3 -3
- package/dist/chunks/{repository-cache-hzrfc1p4.js → session-c2sed5cq.js} +2 -2
- package/dist/chunks/{repository-cache-t406dmjj.js → session-c4fk019e.js} +35 -35
- package/dist/chunks/{repository-cache-sjmbs52b.js → session-c54tsqp9.js} +53 -53
- package/dist/chunks/{repository-cache-f1qq7sr1.js → session-c67h1spr.js} +4 -4
- package/dist/chunks/{repository-cache-ysasxc1a.js → session-ch2bk5zb.js} +19 -19
- package/dist/chunks/{repository-cache-b89y6y9w.js → session-cqggc1c2.js} +32 -32
- package/dist/chunks/{repository-cache-pjxggghw.js → session-cxrde8tg.js} +83 -83
- package/dist/chunks/{repository-cache-1n1cqex2.js → session-d1ehftyt.js} +17 -17
- package/dist/chunks/{repository-cache-b47jeb7t.js → session-d2pksewe.js} +9 -9
- package/dist/chunks/{repository-cache-3frchmgr.js → session-d7ne5qeg.js} +25 -25
- package/dist/chunks/{repository-cache-2kpvexxf.js → session-d8n4fhj7.js} +191 -191
- package/dist/chunks/{repository-cache-thsfkehz.js → session-d9te6n0s.js} +24 -24
- package/dist/chunks/{repository-cache-ry5vqzb9.js → session-damjh02j.js} +13 -13
- package/dist/chunks/{repository-cache-cyzjpqgc.js → session-dhtv0h7a.js} +28 -28
- package/dist/chunks/{repository-cache-80gay8fv.js → session-dmbbmepx.js} +4 -4
- package/dist/chunks/{repository-cache-dpkg50ah.js → session-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-cache-dqkkx36v.js → session-dqkkx36v.js} +4 -4
- package/dist/chunks/{repository-cache-drwq78ky.js → session-drwq78ky.js} +1 -1
- package/dist/chunks/{repository-cache-ggn007s3.js → session-ds55a4pt.js} +24 -24
- package/dist/chunks/{repository-cache-56chjs90.js → session-dvbx8fwf.js} +18 -18
- package/dist/chunks/{repository-cache-fkkvv55g.js → session-dxkpj95f.js} +14 -14
- package/dist/chunks/{repository-cache-92e46w1f.js → session-dz9xz8v9.js} +12 -12
- package/dist/chunks/{repository-cache-zqfakkws.js → session-e2dv7ppq.js} +4 -4
- package/dist/chunks/{repository-cache-3k5zc895.js → session-e8e679h3.js} +5 -5
- package/dist/chunks/{repository-cache-y45edm1f.js → session-edp3xafe.js} +10 -10
- package/dist/chunks/{repository-cache-bwva9967.js → session-eds25nnt.js} +44 -44
- package/dist/chunks/{repository-cache-eej6y6fw.js → session-eej6y6fw.js} +2 -2
- package/dist/chunks/{repository-cache-g0yf6pzc.js → session-eesy0e1p.js} +33 -33
- package/dist/chunks/{repository-cache-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-7ep8m250.js → session-ef635fzj.js} +17 -17
- package/dist/chunks/{repository-cache-20tcdtxb.js → session-enk0yhn1.js} +10 -10
- package/dist/chunks/{repository-cache-0ar81yxa.js → session-esnzzcyr.js} +24 -24
- package/dist/chunks/{repository-cache-1xcax4md.js → session-ewwtztm3.js} +26 -26
- package/dist/chunks/{repository-cache-86m4f4y9.js → session-f44ek8sd.js} +4 -4
- package/dist/chunks/{repository-cache-xyx20s09.js → session-f4wq5gqb.js} +11 -11
- package/dist/chunks/{repository-cache-f8k7tqpr.js → session-f599k877.js} +14 -14
- package/dist/chunks/{repository-cache-s8pfr3sa.js → session-f79cx7ac.js} +18 -18
- package/dist/chunks/{repository-cache-y0pqx9ee.js → session-f9yxy0m4.js} +41 -41
- package/dist/chunks/{repository-cache-fcy631f0.js → session-fcy631f0.js} +1 -1
- package/dist/chunks/{repository-cache-68kcj400.js → session-fwwp496y.js} +32 -32
- package/dist/chunks/{repository-cache-3g0wgjny.js → session-g2hf8053.js} +23 -23
- package/dist/chunks/{repository-cache-n0qazxv2.js → session-g3yp498d.js} +93 -93
- package/dist/chunks/{repository-cache-n882j125.js → session-g54xzkr1.js} +34 -34
- package/dist/chunks/{repository-cache-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-36ceq5gy.js → session-ge7hzr6s.js} +10 -10
- package/dist/chunks/{repository-cache-bb4j8mte.js → session-gg7n7cq5.js} +18 -18
- package/dist/chunks/{repository-cache-c765mh8b.js → session-gjwgx2c5.js} +9 -9
- package/dist/chunks/{repository-cache-g14xsv6s.js → session-gp46n7z2.js} +25 -25
- package/dist/chunks/{repository-cache-8s4zq5p9.js → session-gs3s1a1g.js} +4 -4
- package/dist/chunks/{repository-cache-xt3a7zk5.js → session-gzdwz4a3.js} +24 -24
- package/dist/chunks/{repository-cache-6mwbv2j4.js → session-h0a2v749.js} +9 -9
- package/dist/chunks/{repository-cache-76ehfx7y.js → session-h2qvmc2h.js} +46 -46
- package/dist/chunks/{repository-cache-dn36g5j0.js → session-h49q8d6s.js} +26 -26
- package/dist/chunks/{repository-cache-kd5hk5hb.js → session-h6smha7e.js} +14 -14
- package/dist/chunks/{repository-cache-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
- package/dist/chunks/{repository-cache-z3eyvff3.js → session-hmez9bs2.js} +26 -26
- package/dist/chunks/{repository-cache-htyafsv3.js → session-hn4xx6fz.js} +23 -23
- package/dist/chunks/{repository-cache-khmqacep.js → session-hq3c8me3.js} +4 -4
- package/dist/chunks/{repository-cache-sd1g7zk7.js → session-hqv6b3hj.js} +46 -46
- package/dist/chunks/{repository-cache-8qk5d3q5.js → session-jet15fae.js} +28 -28
- package/dist/chunks/{repository-cache-d0ky7b2n.js → session-jhy0c2w1.js} +38 -38
- package/dist/chunks/{repository-cache-w29cs0xs.js → session-js7veaaa.js} +14 -14
- package/dist/chunks/{repository-cache-nhf4vs0f.js → session-jsqhg9pg.js} +7 -7
- package/dist/chunks/{repository-cache-axharnyz.js → session-jwvqdnb4.js} +32 -32
- package/dist/chunks/{repository-cache-xjqn2mzm.js → session-jzy7dktq.js} +5 -5
- package/dist/chunks/{repository-cache-drfn6gwd.js → session-k3jwsnas.js} +9 -9
- package/dist/chunks/{repository-cache-j2wmg2r4.js → session-kaaz2pqz.js} +12 -12
- package/dist/chunks/{repository-cache-9fkx84pm.js → session-kj6j32wh.js} +31 -31
- package/dist/chunks/{repository-cache-6yz0wx8n.js → session-kjdm35cs.js} +5 -5
- package/dist/chunks/{repository-cache-rccq1xcq.js → session-kjws9vxb.js} +36 -36
- package/dist/chunks/{repository-cache-xdf0ykp7.js → session-kr7s7jw4.js} +23 -23
- package/dist/chunks/{repository-cache-92m64p6f.js → session-krh48cfp.js} +16 -16
- package/dist/chunks/{repository-cache-qeew10aa.js → session-ks9wygpw.js} +21 -21
- package/dist/chunks/{repository-cache-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
- package/dist/chunks/{repository-cache-1b45vsnf.js → session-kxst37h1.js} +16 -16
- package/dist/chunks/{repository-cache-pdp9s7c9.js → session-m7w940qr.js} +8 -8
- package/dist/chunks/{repository-cache-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-px1ksxsk.js → session-ma9dkv0f.js} +17 -17
- package/dist/chunks/{repository-cache-maspj1v3.js → session-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-xf58effc.js → session-mfm47423.js} +13 -13
- package/dist/chunks/{repository-cache-e80seqcp.js → session-nma959mg.js} +3 -3
- package/dist/chunks/{repository-cache-ye1k03a4.js → session-nmckqh63.js} +3 -3
- package/dist/chunks/{repository-cache-1d5acrpd.js → session-np3jyw33.js} +1 -1
- package/dist/chunks/{repository-cache-zxcvat1v.js → session-nvqs6q9m.js} +17 -17
- package/dist/chunks/{repository-cache-0f8kejsb.js → session-nya7mvzv.js} +22 -22
- package/dist/chunks/{repository-cache-v13b12ef.js → session-nz56sr1f.js} +5 -5
- package/dist/chunks/{repository-cache-4xahkvr1.js → session-p1r0ca3p.js} +20 -20
- package/dist/chunks/{repository-cache-v5ysgbsj.js → session-p7rgkda9.js} +11 -11
- package/dist/chunks/{repository-cache-8bk6jfgk.js → session-p8evsf9g.js} +11 -11
- package/dist/chunks/{repository-cache-6dg8hvxd.js → session-pgyprfwm.js} +18 -18
- package/dist/chunks/{repository-cache-2hmm1e15.js → session-phrdbnb5.js} +23 -23
- package/dist/chunks/{repository-cache-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-v45pkn04.js → session-pjxg738y.js} +43 -43
- package/dist/chunks/{repository-cache-v8jthr7x.js → session-pk8zaavv.js} +26 -26
- package/dist/chunks/{repository-cache-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-vd7s5kxy.js → session-pnkgzv4a.js} +5 -5
- package/dist/chunks/{repository-cache-8xebk442.js → session-pqtwa2sg.js} +43 -43
- package/dist/chunks/{repository-cache-wnr41wz0.js → session-prdsqtxg.js} +32 -32
- package/dist/chunks/{repository-cache-314kp7wc.js → session-py4ydd0q.js} +22 -22
- package/dist/chunks/{repository-cache-vp0bfksy.js → session-q0p071b0.js} +2 -2
- package/dist/chunks/{repository-cache-1yek6bdb.js → session-q0zspkt5.js} +23 -23
- package/dist/chunks/{repository-cache-95ncemsy.js → session-q34gkbzk.js} +7 -7
- package/dist/chunks/{repository-cache-b2492xjg.js → session-q6zp2pqa.js} +24 -24
- package/dist/chunks/{repository-cache-kxz1hg5v.js → session-qdpww7hp.js} +18 -18
- package/dist/chunks/{repository-cache-azxbdxcx.js → session-qdz5k9vp.js} +10 -10
- package/dist/chunks/{repository-cache-c38fscx1.js → session-qgj3wp86.js} +4 -4
- package/dist/chunks/{repository-cache-d0m33awg.js → session-qgmckqby.js} +9 -9
- package/dist/chunks/{repository-cache-qnc92qwc.js → session-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-cache-6t9tjhsk.js → session-qr1za0rd.js} +3 -3
- package/dist/chunks/{repository-cache-0rytgdhm.js → session-qrqfate7.js} +46 -46
- package/dist/chunks/{repository-cache-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-ja1fgew7.js → session-qvvs38aa.js} +50 -50
- package/dist/chunks/{repository-cache-qdgns3yy.js → session-qy65zb1j.js} +8 -8
- package/dist/chunks/{repository-cache-kvp13sbf.js → session-r39bqfe1.js} +13 -13
- package/dist/chunks/{repository-cache-sfq9t108.js → session-r489rbmh.js} +20 -20
- package/dist/chunks/{repository-cache-ne4p9z9f.js → session-r4b54d4z.js} +16 -16
- package/dist/chunks/{repository-cache-8eb4w425.js → session-r4c363na.js} +15 -15
- package/dist/chunks/{repository-cache-54ma36ye.js → session-r94pvvab.js} +4 -4
- package/dist/chunks/{repository-cache-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-rert0e01.js → session-rert0e01.js} +2 -2
- package/dist/chunks/{repository-cache-rj3eygr5.js → session-rj3eygr5.js} +2 -2
- package/dist/chunks/{repository-cache-rkprpv83.js → session-rkprpv83.js} +2 -2
- package/dist/chunks/{repository-cache-vnqzk1gb.js → session-rq16f1jw.js} +3 -3
- package/dist/chunks/{repository-cache-1r08b1ze.js → session-s1ejbwm9.js} +11 -11
- package/dist/chunks/{repository-cache-ntm1cgex.js → session-s8q9kger.js} +19 -19
- package/dist/chunks/{repository-cache-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
- package/dist/chunks/{repository-cache-vpshk9t2.js → session-scfcjeer.js} +9 -9
- package/dist/chunks/{repository-cache-mh32msp7.js → session-sgt7k2k4.js} +2 -2
- package/dist/chunks/{repository-cache-b07jp80w.js → session-shttx1tf.js} +4 -4
- package/dist/chunks/{repository-cache-abshngws.js → session-stt02d3y.js} +13 -13
- package/dist/chunks/{repository-cache-f78sms3n.js → session-swfv1pfg.js} +32 -32
- package/dist/chunks/{repository-cache-fm2qvscf.js → session-sxz6gkc3.js} +7 -7
- package/dist/chunks/{repository-cache-syv4x271.js → session-syv4x271.js} +1 -1
- package/dist/chunks/{repository-cache-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-f1mpmm74.js → session-tbenmwhf.js} +3 -3
- package/dist/chunks/{repository-cache-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
- package/dist/chunks/{repository-cache-kg45811x.js → session-tnj6rg6w.js} +10 -10
- package/dist/chunks/{repository-cache-td613cjm.js → session-tsq4bn52.js} +74 -74
- package/dist/chunks/{repository-cache-v210v162.js → session-tx0gtb9m.js} +9 -9
- package/dist/chunks/{repository-cache-tyytaxap.js → session-tyytaxap.js} +1 -1
- package/dist/chunks/{repository-cache-g686f6pq.js → session-v1vh7s4p.js} +9 -9
- package/dist/chunks/{repository-cache-bghdg7bn.js → session-v64zkvxt.js} +22 -22
- package/dist/chunks/{repository-cache-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
- package/dist/chunks/{repository-cache-5mv65mph.js → session-ve0j9bk6.js} +17 -17
- package/dist/chunks/{repository-cache-a2rpfkac.js → session-ve85v3xb.js} +4 -4
- package/dist/chunks/{repository-cache-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-jwc1ahma.js → session-vfdqv3ee.js} +30 -30
- package/dist/chunks/{repository-cache-dsc6dxmh.js → session-vgzd9mgs.js} +7 -7
- package/dist/chunks/session-vsdyktar.js +18 -0
- package/dist/chunks/{repository-cache-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-c63mpyjp.js → session-w23fc1td.js} +10 -10
- package/dist/chunks/{repository-cache-frp158f6.js → session-w3svmbxk.js} +12 -12
- package/dist/chunks/{repository-cache-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-rma03sff.js → session-wfm1pds2.js} +9 -9
- package/dist/chunks/{repository-cache-sd8vqtn7.js → session-ws8k684n.js} +40 -40
- package/dist/chunks/{repository-cache-d5n8aweh.js → session-wsvjh7tt.js} +31 -31
- package/dist/chunks/{repository-cache-h1532brx.js → session-x0yhpn32.js} +31 -31
- package/dist/chunks/{repository-cache-hv879400.js → session-x5wrmng7.js} +8 -8
- package/dist/chunks/{repository-cache-3cs3gdnf.js → session-x75bq86t.js} +22 -22
- package/dist/chunks/{repository-cache-5d10bvnq.js → session-x84e8zg0.js} +4 -4
- package/dist/chunks/{repository-cache-p7a39gy5.js → session-xcd0eash.js} +6 -6
- package/dist/chunks/{repository-cache-vktwk5kv.js → session-xdx7acry.js} +9 -9
- package/dist/chunks/{repository-cache-fnkj6y17.js → session-xf4kanpa.js} +11 -11
- package/dist/chunks/{repository-cache-fyv9rghq.js → session-xjjjkywx.js} +3 -3
- package/dist/chunks/{repository-cache-3mkjzvwp.js → session-xpeshqab.js} +6 -6
- package/dist/chunks/{repository-cache-tyhwyzay.js → session-xry9jdq8.js} +9 -9
- package/dist/chunks/{repository-cache-w4twd3tw.js → session-xssg7psk.js} +24 -24
- package/dist/chunks/session-xww13zgw.js +26 -0
- package/dist/chunks/{repository-cache-2r2p8fzx.js → session-xycyqh7m.js} +28 -28
- package/dist/chunks/{repository-cache-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-593nqyk2.js → session-y1p6ax1j.js} +9 -9
- package/dist/chunks/{repository-cache-4rjz15yc.js → session-y30xd0nk.js} +54 -54
- package/dist/chunks/{repository-cache-vt8aqadh.js → session-yc8hc8f5.js} +8 -8
- package/dist/chunks/{repository-cache-yp2x3t23.js → session-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-cache-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-z18fegx4.js → session-z18fegx4.js} +1 -1
- package/dist/chunks/{repository-cache-e1mscf3d.js → session-z9sbqhmm.js} +24 -24
- package/dist/chunks/{repository-cache-srv5nkk5.js → session-zgsa76g2.js} +7 -7
- package/dist/chunks/session-zh95g90e.js +517 -0
- package/dist/chunks/{repository-cache-5zh2xrv1.js → session-zj1e5rys.js} +36 -36
- package/dist/chunks/{repository-cache-vppn3xvj.js → session-zk7b3ek0.js} +29 -29
- package/dist/chunks/{repository-cache-161qchch.js → session-zpd81yx7.js} +1 -1
- package/dist/chunks/{repository-cache-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-atfxxx72.js → session-zs6v24ss.js} +5 -5
- package/dist/chunks/{repository-cache-rjpvqnxg.js → session-ztady1js.js} +6 -6
- package/dist/chunks/{repository-cache-zxq2ej10.js → session-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 +84 -84
- 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 +135 -135
- 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-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- 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 +117 -117
- 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 +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 +370 -370
- 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 +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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- 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 +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- 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 +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 +358 -358
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- 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 +332 -332
- 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 +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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- 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 +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- 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 +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 +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +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 +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- 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 +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- 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 +95 -95
- 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 +118 -118
- 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 +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- 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/todo.js +138 -138
- 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 +16 -16
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/repository-cache-1x11rq2a.js +0 -18
- package/dist/chunks/repository-cache-87b1qs38.js +0 -517
- package/dist/chunks/repository-cache-8egray66.js +0 -26
- package/dist/chunks/repository-cache-n48d28kv.js +0 -257
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → session-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e3qxr5gk.js → session-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → session-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-pyv0edze.js → session-pyv0edze.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → session-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-nmckqh63.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service76,
|
|
17
|
+
node: () => node80
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service76 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service86).db;
|
|
26
|
-
return
|
|
26
|
+
return Service76.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service76, node80, exports_kv };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./session-dz9xz8v9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event11,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info12,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event11 } from "@opencode/schema/agent";
|
|
29
|
+
var ID8 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID8.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info12 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service60 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info12.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service60.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID8.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID8.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node62 = makeLocationNode({ service: Service60, layer, deps: [node89] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID8, Name3, defaultID2, Color2, Info12, Service60, node62, exports_agent3, Event11 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
node57
|
|
7
|
+
} from "./session-pjxg738y.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate = {};
|
|
17
|
+
__export(exports_generate, {
|
|
18
|
+
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service24,
|
|
21
|
+
UnavailableError: () => UnavailableError3,
|
|
22
|
+
layer: () => layer12,
|
|
23
|
+
node: () => node27
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service24 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service55;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError3({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service24.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node27 = makeLocationNode({
|
|
77
|
+
service: Service24,
|
|
78
|
+
layer: layer12,
|
|
79
|
+
deps: [node57, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError3, Service24, layer12, node27, exports_generate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-23kra5v4.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make4 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make9 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make4();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service43
|
|
7
|
+
} from "./session-eesy0e1p.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-c2sed5cq.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-3yt14ahe.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service43;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
17
|
Service: () => Service67,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer25,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node70,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load5());
|
|
@@ -53,7 +53,7 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
@@ -62,7 +62,7 @@ class Service67 extends Context.Service()("@opencode/Watcher") {
|
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
67
|
return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
@@ -129,7 +129,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
134
|
subscribe: Context.get(context, Service67).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured8(options) {
|
|
168
|
-
return makeGlobalNode({ service: Service67, layer:
|
|
168
|
+
return makeGlobalNode({ service: Service67, layer: layer25(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node70 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options7, Service67, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured8, node70, exports_watcher };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service45,
|
|
12
|
+
node48
|
|
13
|
+
} from "./session-xycyqh7m.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service34,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node38
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service34 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service45;
|
|
67
|
+
return Service34.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make18({
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node48] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service34, node38, exports_instructions3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./session-esnzzcyr.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service70
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-bbq853ba.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
11
|
Service66
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-88hn0rhj.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-c2sed5cq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service61
|
|
18
|
+
} from "./session-kxst37h1.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./session-c54tsqp9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./session-g3yp498d.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./session-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service10
|
|
31
|
+
} from "./session-ch2bk5zb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./session-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: () => Input11,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin13,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name11
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name11 = "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 Input11 = 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 Input4 = 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 Output8 = 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 description4 = [
|
|
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 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 Plugin13 = {
|
|
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*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service61;
|
|
94
|
+
const agents = yield* Service60;
|
|
95
95
|
const config = yield* Service66;
|
|
96
|
-
const permission = yield*
|
|
96
|
+
const permission = yield* Service57;
|
|
97
97
|
const models = yield* Service70;
|
|
98
|
-
const subagents = yield*
|
|
98
|
+
const subagents = yield* Service10;
|
|
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 Plugin23 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output8,
|
|
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 Plugin23 = {
|
|
|
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: name11,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin23 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.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 !== name11 || !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[name11];
|
|
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(name11, 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 { name11, Input11, Output8, description4, Plugin13, exports_subagent };
|