@opencode/core 0.0.0-dev-20092 → 0.0.0-dev-20097
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{form-eaj1djv9.js → agent-02nrjc1r.js} +4 -4
- package/dist/chunks/{form-h71w788e.js → agent-0996nyz8.js} +9 -9
- package/dist/chunks/{form-607tc6va.js → agent-0jwsre1p.js} +5 -5
- package/dist/chunks/{form-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-eq0p2d4m.js → agent-0x0enb5q.js} +9 -9
- package/dist/chunks/{form-8mhxxeg4.js → agent-0yxqwdtr.js} +43 -43
- package/dist/chunks/{form-r60dvb0d.js → agent-10xd58z0.js} +3 -3
- package/dist/chunks/{form-fpxnyzjx.js → agent-180z65gf.js} +26 -26
- package/dist/chunks/{form-258tza17.js → agent-187249xp.js} +8 -8
- package/dist/chunks/{form-pj28zw9r.js → agent-195jkryp.js} +25 -25
- package/dist/chunks/{form-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-08p0mrxa.js → agent-1jdf3fxk.js} +11 -11
- package/dist/chunks/{form-a59zsbk6.js → agent-1qmbbwgh.js} +326 -326
- package/dist/chunks/{form-2m0d8rb6.js → agent-1t756eex.js} +10 -10
- package/dist/chunks/{form-bt22nkjp.js → agent-207sxyyq.js} +7 -7
- package/dist/chunks/{form-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{form-2402vzrj.js → agent-2402vzrj.js} +1 -1
- package/dist/chunks/{form-jw5517n6.js → agent-27eedk78.js} +29 -29
- package/dist/chunks/{form-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-dntrgzg4.js → agent-2h5wpswp.js} +13 -13
- package/dist/chunks/{form-kykdcbq0.js → agent-2pn7pm4n.js} +50 -50
- package/dist/chunks/{form-3e35s4mq.js → agent-2q5q7rph.js} +20 -20
- package/dist/chunks/{form-tae84zs9.js → agent-2v3kphkq.js} +7 -7
- package/dist/chunks/{form-c78bbtc9.js → agent-37s12vcn.js} +5 -5
- package/dist/chunks/{form-xk7cfvv2.js → agent-3dwfd5y2.js} +8 -8
- package/dist/chunks/{form-g912tqdn.js → agent-3f7398v7.js} +20 -20
- package/dist/chunks/{form-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-494w821z.js → agent-3jy1139n.js} +35 -35
- package/dist/chunks/{form-5dj1xsep.js → agent-3mmdgdjj.js} +3 -3
- package/dist/chunks/{form-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-51gpa1xv.js → agent-3tnqn7ww.js} +11 -11
- package/dist/chunks/{form-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-mwez6v5w.js → agent-3vsgk2p7.js} +11 -11
- package/dist/chunks/{form-byssvj29.js → agent-3zjyq5kp.js} +6 -6
- package/dist/chunks/{form-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-x2awn7t1.js → agent-40c61p32.js} +24 -24
- package/dist/chunks/{form-rqcygfwd.js → agent-433eb07g.js} +5 -5
- package/dist/chunks/{form-48wk2ymj.js → agent-4378a0hc.js} +10 -10
- package/dist/chunks/{form-zrfbtdf7.js → agent-439r14a2.js} +11 -11
- package/dist/chunks/{form-n2srvep7.js → agent-4bm5ja14.js} +4 -4
- package/dist/chunks/{form-s2hgmt76.js → agent-4snp72qp.js} +25 -25
- package/dist/chunks/{form-mgmaefw5.js → agent-4tb9kxn6.js} +6 -6
- package/dist/chunks/{form-140rqsbt.js → agent-4vtve4mp.js} +2 -2
- package/dist/chunks/{form-8jgpxt85.js → agent-4yxx405s.js} +24 -24
- package/dist/chunks/{form-g190xswt.js → agent-50mzsvk4.js} +4 -4
- package/dist/chunks/{form-mfqp6xfm.js → agent-56gdpj1q.js} +6 -6
- package/dist/chunks/{form-57ez7d0k.js → agent-57ez7d0k.js} +2 -2
- package/dist/chunks/{form-ymvhzfzq.js → agent-5cr33wy9.js} +22 -22
- package/dist/chunks/{form-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{form-5ekn9679.js → agent-5ekn9679.js} +1 -1
- package/dist/chunks/{form-mbma4yh7.js → agent-5gs1xt34.js} +13 -13
- package/dist/chunks/{form-qap0fdgx.js → agent-5j37ws3e.js} +30 -26
- package/dist/chunks/{form-b1vvvnp6.js → agent-5kdwdsfr.js} +11 -11
- package/dist/chunks/{form-ejtaj14a.js → agent-5q306sn2.js} +4 -4
- package/dist/chunks/{form-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-e74wffys.js → agent-5v30z6ja.js} +27 -27
- package/dist/chunks/{form-m7dsxs5s.js → agent-5w978569.js} +81 -81
- package/dist/chunks/{form-h7tbdw6f.js → agent-5z7c0ntw.js} +17 -17
- package/dist/chunks/{form-spbewqtm.js → agent-61xdzkjd.js} +9 -9
- package/dist/chunks/{form-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{form-6g3qzat6.js → agent-6eezz40m.js} +3 -3
- package/dist/chunks/{form-m2sbdswz.js → agent-6fkaw2xz.js} +8 -8
- package/dist/chunks/agent-6kdq0pjd.js +4 -0
- package/dist/chunks/{form-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-78eghtzp.js → agent-6qckwf5w.js} +47 -47
- package/dist/chunks/{form-z4qtbdmm.js → agent-6xscy18h.js} +24 -24
- package/dist/chunks/{form-vr6tcf4m.js → agent-71wjg4kw.js} +2 -2
- package/dist/chunks/{form-c2y24p2y.js → agent-75ftyfa0.js} +16 -16
- package/dist/chunks/{form-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-fgepna9y.js → agent-7hgr463c.js} +5 -5
- package/dist/chunks/{form-as6bcte4.js → agent-7k9dqqsg.js} +25 -25
- package/dist/chunks/{form-z8xsvp2p.js → agent-7ksjx2k2.js} +46 -46
- package/dist/chunks/{form-tcezcvh9.js → agent-89znhe33.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-0hdrvdsw.js → agent-8ek8aczr.js} +13 -13
- package/dist/chunks/{form-dgnytp49.js → agent-8hhx35dq.js} +4 -4
- package/dist/chunks/{form-ekdnc1t3.js → agent-8j3kf1eb.js} +27 -27
- package/dist/chunks/{form-m1de2ch9.js → agent-8qtvggd8.js} +17 -17
- package/dist/chunks/{form-tvkgnt5p.js → agent-8s95nyqa.js} +5 -5
- package/dist/chunks/{form-5xtgfte3.js → agent-8v6pyhej.js} +8 -8
- package/dist/chunks/{form-cr7r8nac.js → agent-8vggh432.js} +15 -15
- package/dist/chunks/{form-ex3azxtp.js → agent-8vkkgngr.js} +6 -6
- package/dist/chunks/{form-m9r59bp6.js → agent-8yfag9w4.js} +11 -11
- package/dist/chunks/{form-6av2z5d4.js → agent-8zmehegn.js} +23 -23
- package/dist/chunks/{form-gfvb90ym.js → agent-94ek1h2f.js} +2 -2
- package/dist/chunks/{form-1cn7k6zr.js → agent-95n9ta3s.js} +3 -3
- package/dist/chunks/{form-jrswvxaf.js → agent-95sbn98w.js} +11 -11
- package/dist/chunks/{form-ba4w6g48.js → agent-96r286zg.js} +12 -12
- package/dist/chunks/{form-51re7bcp.js → agent-970zzb99.js} +11 -11
- package/dist/chunks/{form-sbnznnja.js → agent-974apvmy.js} +37 -37
- package/dist/chunks/{form-kskjmaqs.js → agent-97mkmtmd.js} +29 -29
- package/dist/chunks/{form-38gc11f3.js → agent-98mydvev.js} +33 -33
- package/dist/chunks/{form-zjdabrpw.js → agent-9gnd804a.js} +35 -35
- package/dist/chunks/{form-p87g5rtv.js → agent-9jddndyh.js} +45 -45
- package/dist/chunks/{form-v3zyw3t1.js → agent-9p3rp546.js} +8 -8
- package/dist/chunks/{form-gm4kvx4x.js → agent-9pswe2t8.js} +23 -23
- package/dist/chunks/{form-ftf41wa5.js → agent-9pw8sy2q.js} +2 -2
- package/dist/chunks/{form-nmyrfs22.js → agent-9wwn998v.js} +174 -174
- package/dist/chunks/{form-d7vwcxj8.js → agent-9y90ydfh.js} +17 -17
- package/dist/chunks/{form-9zdhvgqs.js → agent-9zdhvgqs.js} +1 -1
- package/dist/chunks/{form-5e81w77y.js → agent-a12t2k2w.js} +16 -16
- package/dist/chunks/{form-s8zy8myc.js → agent-a1a50ys5.js} +5 -5
- package/dist/chunks/{form-atbxxdgy.js → agent-a8mfdbqj.js} +3 -3
- package/dist/chunks/{form-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{form-14zkycxn.js → agent-aat21nqc.js} +13 -13
- package/dist/chunks/{form-yrkv8vj7.js → agent-aemzcrym.js} +25 -25
- package/dist/chunks/{form-b40cgvj8.js → agent-am1638rj.js} +5 -5
- package/dist/chunks/{form-n3yv30fq.js → agent-b3xz1q2n.js} +16 -16
- package/dist/chunks/{form-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-emn263y3.js → agent-b6n0f07q.js} +27 -27
- package/dist/chunks/{form-fknhp1f0.js → agent-ba5zwyng.js} +15 -15
- package/dist/chunks/{form-sx1n432n.js → agent-bct739vz.js} +4 -4
- package/dist/chunks/{form-zgqasnrv.js → agent-br6g232s.js} +17 -17
- package/dist/chunks/{form-yvtv9hrf.js → agent-bt5x84hs.js} +22 -22
- package/dist/chunks/{form-05drz63z.js → agent-bzfhs60c.js} +30 -30
- package/dist/chunks/{form-rgy4pp43.js → agent-c3q7hj01.js} +17 -17
- package/dist/chunks/{form-d9sgy5v4.js → agent-c651xxjb.js} +4 -4
- package/dist/chunks/{form-dhmh7aw6.js → agent-ca7w653e.js} +4 -4
- package/dist/chunks/{form-qedfkepq.js → agent-cc4mce2f.js} +10 -10
- package/dist/chunks/{form-epck1df4.js → agent-cda3cvpx.js} +14 -14
- package/dist/chunks/{form-c8bydgjz.js → agent-cdm0dq9n.js} +6 -6
- package/dist/chunks/{form-54tcyq79.js → agent-ckecvw8r.js} +2 -2
- package/dist/chunks/{form-vaabtg8n.js → agent-cktb56xb.js} +6 -6
- package/dist/chunks/{form-q0f9bf0g.js → agent-crwh5vwx.js} +12 -12
- package/dist/chunks/{form-djszqvmq.js → agent-cwa6csj7.js} +9 -9
- package/dist/chunks/{form-d20da8j9.js → agent-d6gar2mb.js} +17 -17
- package/dist/chunks/{form-xkntkrq7.js → agent-dmqcgk4z.js} +5 -5
- package/dist/chunks/{form-afed7ext.js → agent-dq0v80fr.js} +5 -5
- package/dist/chunks/{form-57b9ws8p.js → agent-drwq78ky.js} +5 -5
- package/dist/chunks/{form-e3gmrg4e.js → agent-dzmmerrf.js} +7 -7
- package/dist/chunks/{form-t0vhg212.js → agent-e4t91rn4.js} +13 -13
- package/dist/chunks/{form-kmmhwf5p.js → agent-e57neqwz.js} +1 -1
- package/dist/chunks/{form-kxpygcw9.js → agent-e6hd9jay.js} +4 -4
- package/dist/chunks/{form-11pq52jb.js → agent-e8tny9qf.js} +3 -3
- package/dist/chunks/{form-pjzg4rs2.js → agent-ef05nmcp.js} +4 -4
- package/dist/chunks/{form-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-kxch5bmm.js → agent-emyyb3h7.js} +22 -22
- package/dist/chunks/{form-cmq39cwv.js → agent-epd79qdj.js} +9 -9
- package/dist/chunks/{form-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
- package/dist/chunks/{form-zq6stcrg.js → agent-et0rkxxj.js} +8 -8
- package/dist/chunks/{form-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-1vyzjnq9.js → agent-f5gy8qwh.js} +8 -8
- package/dist/chunks/{form-q3t37ft6.js → agent-f5syc60y.js} +3 -3
- package/dist/chunks/{form-vf1f92b8.js → agent-ffqrm4dy.js} +25 -25
- package/dist/chunks/{form-bppvgyma.js → agent-fgfb0b2k.js} +14 -14
- package/dist/chunks/{form-fhs97t90.js → agent-fhs97t90.js} +2 -2
- package/dist/chunks/{form-hfj9a1t1.js → agent-fj6am7we.js} +24 -24
- package/dist/chunks/{form-6hs0a2ea.js → agent-fpcmhq1w.js} +15 -15
- package/dist/chunks/{form-hmtpe4q9.js → agent-fq21n8kg.js} +5 -5
- package/dist/chunks/{form-r9n1h5e1.js → agent-fwpx9avw.js} +48 -48
- package/dist/chunks/{form-08tmt5c8.js → agent-g4nf9hqv.js} +14 -14
- package/dist/chunks/{form-fqb2p7cx.js → agent-g8d3gcyj.js} +7 -7
- package/dist/chunks/{form-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-n9en70f3.js → agent-gf8f2rcw.js} +17 -17
- package/dist/chunks/{form-96692np8.js → agent-gmf134c1.js} +21 -21
- package/dist/chunks/{form-5yh5b1zw.js → agent-grg0hm6f.js} +32 -32
- package/dist/chunks/{form-fqtvmpfq.js → agent-gs3s1a1g.js} +8 -8
- package/dist/chunks/{form-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-k89d419f.js → agent-h0yxpfzn.js} +3 -3
- package/dist/chunks/{form-ckyd1krv.js → agent-h420pbdz.js} +4 -4
- package/dist/chunks/{form-gsbffn1y.js → agent-h4xnkbg8.js} +34 -34
- package/dist/chunks/{form-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-6aj1h6ge.js → agent-hg3pgq27.js} +9 -9
- package/dist/chunks/{form-bm0j3psj.js → agent-hm613f1m.js} +13 -13
- package/dist/chunks/{form-ma6xfzer.js → agent-hp9thjyh.js} +15 -15
- package/dist/chunks/{form-fnf8k50s.js → agent-hvdqw0fa.js} +10 -10
- package/dist/chunks/{form-p0m4nb5f.js → agent-hy7mmz7x.js} +1 -1
- package/dist/chunks/{form-jca4demv.js → agent-j325xqev.js} +2 -2
- package/dist/chunks/{form-vewbafv1.js → agent-j3na2f7t.js} +13 -13
- package/dist/chunks/{form-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{form-69syr1jf.js → agent-j75c8f36.js} +17 -17
- package/dist/chunks/{form-e3kb8xnq.js → agent-j76x6msn.js} +11 -11
- package/dist/chunks/{form-pv751y59.js → agent-jc2w93fw.js} +44 -44
- package/dist/chunks/agent-jq4mhrem.js +26 -0
- package/dist/chunks/{form-r94pzv5m.js → agent-jvv6rca9.js} +9 -9
- package/dist/chunks/{form-c4waf52n.js → agent-jvvge85p.js} +18 -18
- package/dist/chunks/{form-y11rahcj.js → agent-jz6frww0.js} +21 -21
- package/dist/chunks/{form-ennmqkeh.js → agent-k1qjx27w.js} +5 -5
- package/dist/chunks/{form-ng1k2tev.js → agent-k1z6zz7b.js} +24 -24
- package/dist/chunks/{form-k3c624dm.js → agent-k3c624dm.js} +3 -3
- package/dist/chunks/{form-12p30pv4.js → agent-k65r9af3.js} +11 -11
- package/dist/chunks/{form-za7gw4wk.js → agent-kb3wdknj.js} +6 -6
- package/dist/chunks/{form-pvw8r2wg.js → agent-khsmmeas.js} +8 -8
- package/dist/chunks/{form-k9d40v1y.js → agent-kwrf6mrp.js} +4 -4
- package/dist/chunks/{form-8xxyxnjg.js → agent-kzsyc47h.js} +18 -18
- package/dist/chunks/{form-sj7d9cqd.js → agent-m26c3xec.js} +27 -27
- package/dist/chunks/{form-h4p652km.js → agent-m30kdexy.js} +3 -3
- package/dist/chunks/{form-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-0gtbcy6a.js → agent-m6hb8kht.js} +26 -26
- package/dist/chunks/{form-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-s9720vp0.js → agent-mks6kp02.js} +5 -5
- package/dist/chunks/{form-d13kp6w9.js → agent-mkwsrdpy.js} +16 -16
- package/dist/chunks/{form-f9rzce54.js → agent-mr4nn3b0.js} +6 -6
- package/dist/chunks/{form-aeycry7f.js → agent-n68d0cf5.js} +16 -16
- package/dist/chunks/{form-818pfwc9.js → agent-nbzsj80d.js} +8 -8
- package/dist/chunks/{form-qcyzmg46.js → agent-njyz79cc.js} +33 -33
- package/dist/chunks/{form-0gk8zhag.js → agent-nvefxcm9.js} +12 -12
- package/dist/chunks/{form-wwaev9vd.js → agent-nyv1j4r3.js} +55 -55
- package/dist/chunks/{form-f07zn61c.js → agent-nyvvhy0p.js} +14 -14
- package/dist/chunks/{form-44h5tttr.js → agent-nzyhnfxz.js} +4 -4
- package/dist/chunks/{form-pf9yz9v2.js → agent-p1jhb79r.js} +6 -6
- package/dist/chunks/{form-gdkt1bct.js → agent-p28vygmv.js} +20 -20
- package/dist/chunks/{form-qqbtwq91.js → agent-pjah6pe2.js} +15 -15
- package/dist/chunks/{form-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-dq74agaf.js → agent-pk5jep21.js} +18 -18
- package/dist/chunks/{form-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{form-zaancc48.js → agent-prt5basj.js} +21 -21
- package/dist/chunks/{form-pxe6gr54.js → agent-pwa9tev3.js} +12 -12
- package/dist/chunks/{form-ch1weyeb.js → agent-q10v52aa.js} +11 -11
- package/dist/chunks/{form-19tft2ya.js → agent-q3zwv4bp.js} +4 -4
- package/dist/chunks/{form-trz9crgd.js → agent-q9k0gsh2.js} +44 -44
- package/dist/chunks/{form-dg66y715.js → agent-qcfjhy73.js} +33 -33
- package/dist/chunks/{form-qn4ba14w.js → agent-qn4ba14w.js} +2 -2
- package/dist/chunks/{form-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{form-4jv7e9dq.js → agent-qsxf26yz.js} +9 -9
- package/dist/chunks/agent-qxc1ymac.js +252 -0
- package/dist/chunks/{form-ywdjejdj.js → agent-qyvvmpr4.js} +10 -10
- package/dist/chunks/{form-zfe0ttmx.js → agent-qzq3tp80.js} +5 -5
- package/dist/chunks/{form-d48vtfkp.js → agent-r40cdba5.js} +18 -18
- package/dist/chunks/{form-zvkxymqp.js → agent-r4r17rq4.js} +7 -7
- package/dist/chunks/{form-r5x6zcsm.js → agent-r5x6zcsm.js} +1 -1
- package/dist/chunks/{form-ng9vn86m.js → agent-rabh22kx.js} +30 -30
- package/dist/chunks/{form-8rt04me1.js → agent-rcgt23b9.js} +27 -27
- package/dist/chunks/{form-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-sxbp20vh.js → agent-retswvcy.js} +9 -9
- package/dist/chunks/{form-a881zpfh.js → agent-rghjtt8s.js} +9 -9
- package/dist/chunks/{form-btbmdjwj.js → agent-rk7s9xkn.js} +4 -4
- package/dist/chunks/{form-w92k2e0p.js → agent-rkprpv83.js} +8 -8
- package/dist/chunks/{form-eeaf82dq.js → agent-rqqqmm2x.js} +8 -8
- package/dist/chunks/{form-c0c64v71.js → agent-rv27b6j4.js} +7 -7
- package/dist/chunks/{form-d3qk8e4k.js → agent-rw9fhyhq.js} +15 -15
- package/dist/chunks/{form-wq49c4yf.js → agent-s53zfdxe.js} +23 -23
- package/dist/chunks/{form-nxbft40j.js → agent-s75w71bb.js} +8 -8
- package/dist/chunks/{form-13bngj7t.js → agent-s7am3t11.js} +31 -31
- package/dist/chunks/{form-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-r1659vap.js → agent-tbj51q56.js} +23 -23
- package/dist/chunks/{form-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{form-tvtrv512.js → agent-tvtrv512.js} +1 -1
- package/dist/chunks/{form-jmjh0wq4.js → agent-tw7pwy41.js} +23 -23
- package/dist/chunks/{form-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{form-3kj2denn.js → agent-vjxaqdq6.js} +41 -41
- package/dist/chunks/{form-xxka3pjy.js → agent-vt4rwap3.js} +11 -11
- package/dist/chunks/{form-sqy4ahhk.js → agent-vtpkq4qf.js} +1 -1
- package/dist/chunks/{form-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-55c4derm.js → agent-w0m74e8e.js} +20 -20
- package/dist/chunks/{form-41b5e87c.js → agent-w1tfbzx8.js} +10 -10
- package/dist/chunks/{form-fq0xkp38.js → agent-w21repx7.js} +36 -36
- package/dist/chunks/{form-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-4qpgmmah.js → agent-w5bpb8j7.js} +20 -20
- package/dist/chunks/{form-psazpmmj.js → agent-wd3x2cqz.js} +2 -2
- package/dist/chunks/{form-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{form-1ed2t66p.js → agent-wgtcm0m7.js} +4 -4
- package/dist/chunks/{form-3ktbe3hf.js → agent-wkzkw8tr.js} +6 -6
- package/dist/chunks/{form-m7eyfjrp.js → agent-wmmy56cc.js} +8 -8
- package/dist/chunks/{form-r4yqrmdq.js → agent-wr7ps67x.js} +5 -5
- package/dist/chunks/{form-p2m0n0hn.js → agent-wrmaeg5p.js} +9 -9
- package/dist/chunks/{form-s5qtarnf.js → agent-wtzh7vad.js} +16 -16
- package/dist/chunks/{form-nkshrmvn.js → agent-wvvmmxvm.js} +11 -11
- package/dist/chunks/{form-fjrjs8mz.js → agent-wxjq8k3m.js} +23 -23
- package/dist/chunks/{form-15znadw3.js → agent-wz2yh3bc.js} +83 -83
- package/dist/chunks/{form-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-nyqx1cb3.js → agent-x2d9qy7d.js} +5 -5
- package/dist/chunks/{form-4n4fn861.js → agent-x5wbyy1f.js} +22 -22
- package/dist/chunks/{form-gvke2z1d.js → agent-x6mxy5rc.js} +25 -25
- package/dist/chunks/{form-d49yjp64.js → agent-xf20h1cj.js} +19 -19
- package/dist/chunks/{form-25x24fm4.js → agent-xt2arqya.js} +22 -22
- package/dist/chunks/{form-f9wy4a67.js → agent-xy1gf4rw.js} +4 -4
- package/dist/chunks/{form-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-v8d44gfq.js → agent-y4y8g8ts.js} +43 -43
- package/dist/chunks/{form-y71avatq.js → agent-y71avatq.js} +1 -1
- package/dist/chunks/{form-r7wq386s.js → agent-ym7x7v54.js} +29 -29
- package/dist/chunks/{form-yp2x3t23.js → agent-yp2x3t23.js} +1 -1
- package/dist/chunks/{form-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → agent-yrznvahk.js} +2 -2
- package/dist/chunks/{form-347vaxex.js → agent-yv6fwtq8.js} +10 -10
- package/dist/chunks/{form-bjtzbw4r.js → agent-z07pqspn.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-ab603qg2.js → agent-z0pa14ta.js} +10 -10
- package/dist/chunks/{form-z63w68vq.js → agent-z63w68vq.js} +2 -2
- package/dist/chunks/{form-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-m8eeppqn.js → agent-zvtzzjx8.js} +24 -24
- package/dist/chunks/{form-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-3aj4spyv.js → agent-zzvjeq0g.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/tool/read-filesystem.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-0mesazry.js +0 -4
- package/dist/chunks/form-54qy129q.js +0 -26
- package/dist/chunks/form-ftpkz8yb.js +0 -252
- /package/dist/chunks/{form-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → agent-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service51,
|
|
6
|
+
node53
|
|
7
|
+
} from "./agent-q9k0gsh2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node52
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service50 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service51;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service50.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node52 = makeLocationNode({
|
|
69
|
+
service: Service50,
|
|
70
|
+
layer: layer19,
|
|
71
|
+
deps: [node53, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service50, layer19, node52, exports_generate2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-q3zwv4bp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
16
|
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info17,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service52,
|
|
21
|
+
layer: () => layer21,
|
|
22
|
+
node: () => node54
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info17 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info17.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service52.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node54 = makeLocationNode({
|
|
75
|
+
service: Service52,
|
|
76
|
+
layer: layer21,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info17, NotFoundError5, ExecutionError2, Service52, layer21, node54, exports_command5, Event7 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-e8tny9qf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-q3zwv4bp.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-kwrf6mrp.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-wmmy56cc.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-vtpkq4qf.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-gmf134c1.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./agent-xy1gf4rw.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./agent-mr4nn3b0.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./agent-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./agent-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./agent-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node11,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
301
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service9.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node11 = makeLocationNode({
|
|
619
|
+
service: Service9,
|
|
620
620
|
layer: layer7,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node11, exports_compaction3 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-wkzkw8tr.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-6qckwf5w.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-4snp72qp.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-8ek8aczr.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-q3zwv4bp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-71wjg4kw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node79
|
|
12
|
+
} from "./agent-jz6frww0.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service58,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node60
|
|
20
|
+
} from "./agent-ba5zwyng.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service69,
|
|
23
|
+
node72
|
|
24
|
+
} from "./agent-gs3s1a1g.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service39,
|
|
27
|
+
node41
|
|
28
|
+
} from "./agent-rqqqmm2x.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-f5syc60y.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service47,
|
|
35
|
+
node49
|
|
36
|
+
} from "./agent-0yxqwdtr.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./agent-96r286zg.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./agent-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service38,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node40
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service38 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service83;
|
|
91
91
|
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service58;
|
|
94
|
+
const environment = yield* Service76;
|
|
95
|
+
const hooks = yield* Service69;
|
|
96
|
+
const environments = yield* Service39;
|
|
97
|
+
const config = yield* Service47;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service38.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node40 = makeLocationNode({
|
|
320
|
+
service: Service38,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node87,
|
|
324
324
|
node84,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node60,
|
|
327
|
+
node79,
|
|
328
|
+
node72,
|
|
329
|
+
node41,
|
|
330
|
+
node49,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service38, cleanup2, node40, exports_shell4 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-q3zwv4bp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service31,
|
|
7
|
+
node34
|
|
8
|
+
} from "./agent-jc2w93fw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node69
|
|
12
|
+
} from "./agent-6qckwf5w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node43
|
|
16
|
+
} from "./agent-7k9dqqsg.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service24 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service31;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service66;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node27 = makeLocationNode({
|
|
124
|
+
service: Service24,
|
|
125
|
+
layer: layer10,
|
|
126
|
+
deps: [node43, node34, node87, node69]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service24, layer10, node27, exports_mcp3 };
|