@opencode/core 0.0.0-dev-21026 → 0.0.0-dev-21027
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-36sc5tph.js → tool-01t36tg3.js} +41 -41
- package/dist/chunks/{model-trrs9qjc.js → tool-07fb0sq0.js} +13 -13
- package/dist/chunks/{model-bxp5y3gq.js → tool-0bjrbxj3.js} +9 -9
- package/dist/chunks/{model-ze19dk6b.js → tool-0fgjfwm5.js} +3 -3
- package/dist/chunks/{model-0jwsre1p.js → tool-0jwsre1p.js} +1 -1
- package/dist/chunks/{model-ywkcfvf7.js → tool-0q78z8wc.js} +11 -11
- package/dist/chunks/{model-md6a2bpm.js → tool-0reb07hh.js} +6 -6
- package/dist/chunks/{model-y52pq506.js → tool-0tndnf13.js} +25 -25
- package/dist/chunks/{model-e9ap395p.js → tool-0vakwkee.js} +26 -26
- package/dist/chunks/{model-nym9wyb3.js → tool-0vawvjhj.js} +6 -6
- package/dist/chunks/{model-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-qfxf707x.js → tool-0w6w9fz6.js} +14 -14
- package/dist/chunks/{model-4dbz3zxd.js → tool-12j10hcs.js} +81 -81
- package/dist/chunks/{model-8mbscqky.js → tool-166kng33.js} +8 -8
- package/dist/chunks/{model-3cqwnyj9.js → tool-1bmjn0qh.js} +8 -8
- package/dist/chunks/{model-f0d2hz6a.js → tool-1gdff4pf.js} +8 -8
- package/dist/chunks/{model-21xby13n.js → tool-1sn90gb4.js} +23 -23
- package/dist/chunks/{model-t2az9yje.js → tool-1vezggaq.js} +4 -4
- package/dist/chunks/{model-pcpm970h.js → tool-20m9xb7p.js} +30 -30
- package/dist/chunks/{model-d7bz7cyc.js → tool-27f0285z.js} +73 -73
- package/dist/chunks/{model-y6cwq76b.js → tool-2ggw9qke.js} +11 -11
- package/dist/chunks/{model-b0w22pfr.js → tool-2jrf0397.js} +9 -9
- package/dist/chunks/{model-31xfzrxg.js → tool-31xfzrxg.js} +2 -2
- package/dist/chunks/{model-pakcngh0.js → tool-3cwb9jzf.js} +8 -8
- package/dist/chunks/{model-bhdyt95r.js → tool-3djbzr3c.js} +21 -21
- package/dist/chunks/{model-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-r9jzxqvq.js → tool-3n76ftvs.js} +36 -36
- package/dist/chunks/{model-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-8hdm4x97.js → tool-4020new0.js} +8 -8
- package/dist/chunks/{model-pj9xvhw4.js → tool-436seg2v.js} +1 -1
- package/dist/chunks/{model-yg62bcth.js → tool-43fay8tn.js} +11 -11
- package/dist/chunks/{model-qxfsh50a.js → tool-45teq17z.js} +16 -16
- package/dist/chunks/{model-stpcs325.js → tool-4747cwex.js} +8 -8
- package/dist/chunks/{model-fx9ycnc9.js → tool-4e5pn4jt.js} +5 -5
- package/dist/chunks/{model-qysp5m4p.js → tool-4k8q0s1e.js} +19 -19
- package/dist/chunks/{model-kt26yds1.js → tool-4kj8mwjy.js} +15 -15
- package/dist/chunks/{model-p1pg3s4t.js → tool-4m26txwv.js} +24 -24
- package/dist/chunks/{model-yhtxwa5q.js → tool-4nrp0c99.js} +10 -10
- package/dist/chunks/{model-8kfrjq0p.js → tool-4qb6esnv.js} +33 -33
- package/dist/chunks/{model-rd1cgpxp.js → tool-4zp8myha.js} +20 -20
- package/dist/chunks/{model-sp1bq8t5.js → tool-4zs78ha8.js} +4 -4
- package/dist/chunks/{model-r94pvvab.js → tool-54ma36ye.js} +4 -4
- package/dist/chunks/{model-afb9wseb.js → tool-5627zfvx.js} +22 -22
- package/dist/chunks/{model-k4xvcd80.js → tool-5jkej3gj.js} +50 -50
- package/dist/chunks/{model-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-vppcbm3y.js → tool-5nfvqhja.js} +10 -10
- package/dist/chunks/{model-fd5g32kx.js → tool-5q5nh3sy.js} +3 -3
- package/dist/chunks/{model-y6xhfxcm.js → tool-5rwcywtx.js} +25 -25
- package/dist/chunks/{model-vq4kdd46.js → tool-6hgfbb6p.js} +18 -18
- package/dist/chunks/{model-fdms3n6w.js → tool-6hjx5zpb.js} +9 -9
- package/dist/chunks/{model-d022x100.js → tool-6htb5gr0.js} +11 -11
- package/dist/chunks/{model-ygdna4kr.js → tool-6kzp9tjq.js} +5 -5
- package/dist/chunks/{model-rkprpv83.js → tool-6pc27hjz.js} +6 -6
- package/dist/chunks/{model-77bypgyx.js → tool-6q8kncxp.js} +5 -5
- package/dist/chunks/{model-454sa7n0.js → tool-6sghnyqr.js} +14 -14
- package/dist/chunks/{model-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-5bcww33d.js → tool-6yacqn2k.js} +11 -11
- package/dist/chunks/{model-s13c7292.js → tool-73e552s4.js} +27 -27
- package/dist/chunks/{model-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{model-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-q45w12d8.js → tool-7n3bkkdp.js} +25 -25
- package/dist/chunks/{model-wp97teag.js → tool-7qb04ksq.js} +17 -17
- package/dist/chunks/{model-t79s17n5.js → tool-7qdpe4cb.js} +9 -9
- package/dist/chunks/{model-5m24e1bs.js → tool-7qyahes4.js} +29 -29
- package/dist/chunks/{model-zzzv4s15.js → tool-7tbkgw72.js} +22 -22
- package/dist/chunks/{model-w1eejvng.js → tool-84txncab.js} +5 -5
- package/dist/chunks/{model-rx4wz1w4.js → tool-871668nt.js} +11 -11
- package/dist/chunks/{model-89znhe33.js → tool-89znhe33.js} +1 -1
- package/dist/chunks/{model-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-91qna3x0.js → tool-91qna3x0.js} +3 -3
- package/dist/chunks/{model-46mt6x8j.js → tool-96r9dk5h.js} +16 -16
- package/dist/chunks/{model-a3s2mkkw.js → tool-9a94vrwg.js} +40 -40
- package/dist/chunks/{model-1ttk16ha.js → tool-9hkdgzmv.js} +8 -8
- package/dist/chunks/{model-nxj57cfn.js → tool-9nr0k19d.js} +4 -4
- package/dist/chunks/{model-w4j701p4.js → tool-9rmtxcny.js} +8 -8
- package/dist/chunks/{model-tbkx8g7m.js → tool-9rz0s9vq.js} +7 -7
- package/dist/chunks/{model-dqvv6bdz.js → tool-9y9sk2j9.js} +2 -2
- package/dist/chunks/{model-8x2j076n.js → tool-9ydk86ss.js} +53 -53
- package/dist/chunks/{model-y2kcrf7q.js → tool-a7p75jc5.js} +12 -12
- package/dist/chunks/{model-0hmbxfvk.js → tool-ab5hd1e3.js} +24 -24
- package/dist/chunks/{model-bbnjt3hf.js → tool-abadc73r.js} +7 -7
- package/dist/chunks/{model-db2wf4at.js → tool-addxnjmp.js} +4 -4
- package/dist/chunks/{model-xxxym934.js → tool-afrtgck4.js} +4 -4
- package/dist/chunks/{model-3mvas6ge.js → tool-aqegtsfq.js} +5 -5
- package/dist/chunks/{model-pyzjd10w.js → tool-axe3mf62.js} +3 -3
- package/dist/chunks/{model-q8smq9rm.js → tool-az2ak1fn.js} +29 -29
- package/dist/chunks/{model-scgrse2b.js → tool-b3f8fkhc.js} +5 -5
- package/dist/chunks/{model-mm2924pv.js → tool-b6j5xzrd.js} +35 -35
- package/dist/chunks/{model-wt6b9xn1.js → tool-bc7dxhqv.js} +5 -5
- package/dist/chunks/{model-wfq6jpmw.js → tool-bjfh2y0a.js} +32 -32
- package/dist/chunks/{model-bd498wnj.js → tool-bjzmfjgq.js} +11 -11
- package/dist/chunks/{model-x2jnxxy0.js → tool-bqqze0bz.js} +20 -20
- package/dist/chunks/{model-gpdxzypf.js → tool-bsc349qs.js} +330 -330
- package/dist/chunks/{model-6jxha2sg.js → tool-bvr8yq7m.js} +33 -33
- package/dist/chunks/{model-p2x1ybm5.js → tool-bwp6pqna.js} +24 -24
- package/dist/chunks/{model-ra67jj04.js → tool-bx7n6myc.js} +9 -9
- package/dist/chunks/{model-7cmh32yw.js → tool-by3f32n0.js} +26 -26
- package/dist/chunks/{model-c1fqxshp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-mnypcc0v.js → tool-c1ngfaaf.js} +9 -9
- package/dist/chunks/{model-ty6kwv90.js → tool-c3qawk1f.js} +22 -22
- package/dist/chunks/{model-124s7jg1.js → tool-c8cbefa2.js} +4 -4
- package/dist/chunks/{model-pg3yv55e.js → tool-ccdthk42.js} +20 -20
- package/dist/chunks/{model-c0q9byrh.js → tool-ccn484d6.js} +3 -3
- package/dist/chunks/{model-h6310vsd.js → tool-cp937pt4.js} +4 -4
- package/dist/chunks/{model-01rfddxe.js → tool-cv7zkw6d.js} +45 -45
- package/dist/chunks/{model-4q7c2z0k.js → tool-cw03ndct.js} +4 -4
- package/dist/chunks/{model-40fe41y2.js → tool-cz6pgrah.js} +36 -36
- package/dist/chunks/{model-9nthj2st.js → tool-d1weh077.js} +2 -2
- package/dist/chunks/{model-nxe4pcap.js → tool-d2czbp48.js} +4 -4
- package/dist/chunks/{model-5gagafpw.js → tool-d4658f60.js} +8 -8
- package/dist/chunks/{model-g5y76h12.js → tool-d4843n8f.js} +31 -31
- package/dist/chunks/{model-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-yv09eh8f.js → tool-dre3mh8q.js} +8 -8
- package/dist/chunks/{model-drwq78ky.js → tool-drwq78ky.js} +1 -1
- package/dist/chunks/{model-xfrnbqxb.js → tool-e0aypp2c.js} +7 -7
- package/dist/chunks/{model-x17e2yyb.js → tool-e9rp6zjw.js} +21 -21
- package/dist/chunks/{model-edrmdtr5.js → tool-edrmdtr5.js} +1 -1
- package/dist/chunks/{model-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-0k9wf2hg.js → tool-efbjw4je.js} +11 -11
- package/dist/chunks/{model-bfh1r411.js → tool-erpzfxtv.js} +19 -19
- package/dist/chunks/{model-0kgrmwp0.js → tool-esxsxdtm.js} +25 -25
- package/dist/chunks/{model-ht3067rw.js → tool-evcnqajx.js} +27 -27
- package/dist/chunks/{model-2aegfh2p.js → tool-ezy28dwm.js} +11 -11
- package/dist/chunks/{model-jke95dby.js → tool-f124mjt0.js} +15 -15
- package/dist/chunks/{model-358yc98n.js → tool-f3cd59m9.js} +1 -1
- package/dist/chunks/{model-79vjxwag.js → tool-f5cw550v.js} +24 -24
- package/dist/chunks/{model-0grnp236.js → tool-fgy4jrac.js} +4 -4
- package/dist/chunks/{model-k1ck9wgq.js → tool-fqt76dtj.js} +11 -11
- package/dist/chunks/{model-r2m716tb.js → tool-ft3hqk2c.js} +9 -9
- package/dist/chunks/{model-ny8edt06.js → tool-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-p37cw4rj.js → tool-g0445xdp.js} +8 -8
- package/dist/chunks/{model-rffh3mqk.js → tool-g0ebsb7w.js} +16 -16
- package/dist/chunks/{model-am4dv7bb.js → tool-g5hnex30.js} +33 -33
- package/dist/chunks/{model-1pgs1s3m.js → tool-g88qc0rs.js} +11 -11
- package/dist/chunks/{model-x5ay7k0w.js → tool-g8p1nq0c.js} +6 -6
- package/dist/chunks/{model-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-nw1b9wk3.js → tool-gj7b0stj.js} +4 -4
- package/dist/chunks/{model-nms2wt4g.js → tool-gk4m79v4.js} +5 -5
- package/dist/chunks/{model-jfw34q2z.js → tool-gyn58nzm.js} +17 -17
- package/dist/chunks/{model-cc080dhf.js → tool-gzxvfr9h.js} +35 -35
- package/dist/chunks/{model-wr1ewhk4.js → tool-h1mvd9nt.js} +5 -5
- package/dist/chunks/{model-jhr8jnrw.js → tool-h2n9jjkq.js} +16 -16
- package/dist/chunks/{model-21yyccfm.js → tool-h6bky6ca.js} +3 -3
- package/dist/chunks/{model-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-45mc4at0.js → tool-ha6a199g.js} +14 -14
- package/dist/chunks/{model-c3arycbm.js → tool-hfm3768t.js} +15 -15
- package/dist/chunks/{model-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-0b5g1ynf.js → tool-hkffa77z.js} +4 -4
- package/dist/chunks/{model-8rw8yr2z.js → tool-hxg485bt.js} +25 -25
- package/dist/chunks/{model-8ng4acg9.js → tool-j4bzjt4e.js} +6 -6
- package/dist/chunks/{model-wmcaf8ca.js → tool-j60sz84g.js} +33 -33
- package/dist/chunks/{model-jk540des.js → tool-jk540des.js} +2 -2
- package/dist/chunks/{model-y0ymffas.js → tool-k4z4pfzw.js} +45 -45
- package/dist/chunks/{model-a4r1667r.js → tool-k5m21wex.js} +20 -20
- package/dist/chunks/{model-kfrz2jxp.js → tool-kfdkvwtq.js} +5 -5
- package/dist/chunks/{model-6b06eyw5.js → tool-khbn7h8s.js} +12 -12
- package/dist/chunks/{model-dz1h6v1j.js → tool-kjwzqyf2.js} +47 -47
- package/dist/chunks/{model-20f5kd3r.js → tool-kk3ptvrd.js} +50 -50
- package/dist/chunks/{model-r7wmahnz.js → tool-kt2d8jz0.js} +15 -15
- package/dist/chunks/{model-7kesx33y.js → tool-m389c5cq.js} +50 -50
- package/dist/chunks/{model-40sbw5pj.js → tool-m7707mrb.js} +35 -35
- package/dist/chunks/{model-z75pxxh7.js → tool-m8c4x33k.js} +3 -3
- package/dist/chunks/{model-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{model-kwjpkb26.js → tool-me5fzwjd.js} +17 -17
- package/dist/chunks/{model-pqrr6518.js → tool-meza9nwc.js} +42 -42
- package/dist/chunks/{model-wdz250da.js → tool-mkj7w19c.js} +28 -28
- package/dist/chunks/{model-bf8cw6nk.js → tool-mngzetc9.js} +15 -15
- package/dist/chunks/{model-pzhd9fhs.js → tool-mqf2wszw.js} +24 -24
- package/dist/chunks/{model-w6h1y6dq.js → tool-ms8afdx3.js} +11 -11
- package/dist/chunks/{model-s2z0d44b.js → tool-mv3hx7wz.js} +4 -4
- package/dist/chunks/{model-70spc8zb.js → tool-n2seafqy.js} +22 -22
- package/dist/chunks/{model-g0d965vs.js → tool-ne0v3mcr.js} +12 -12
- package/dist/chunks/{model-rp09h2a9.js → tool-neh9qwyn.js} +18 -18
- package/dist/chunks/{model-9sbgnbhh.js → tool-nfq9k2qg.js} +16 -16
- package/dist/chunks/{model-f2dsq0sx.js → tool-njq4v3ck.js} +30 -30
- package/dist/chunks/{model-wtqshrcq.js → tool-nrsgf78h.js} +11 -11
- package/dist/chunks/{model-99wq20s7.js → tool-p48tkg4d.js} +14 -14
- package/dist/chunks/{model-7pvy9pzv.js → tool-pa866ny5.js} +11 -11
- package/dist/chunks/{model-9xc4s1wq.js → tool-pdw1sk9c.js} +36 -36
- package/dist/chunks/{model-pt8t6bwe.js → tool-pes0tbvz.js} +15 -15
- package/dist/chunks/{model-mp3rbb49.js → tool-pewbjeww.js} +12 -12
- package/dist/chunks/tool-phpwwk39.js +253 -0
- package/dist/chunks/{model-xs3x383r.js → tool-pje47fk7.js} +12 -12
- package/dist/chunks/{model-vqk1e85q.js → tool-pjsqfx9m.js} +6 -6
- package/dist/chunks/{model-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{model-9ae44cfy.js → tool-prmgem5b.js} +6 -6
- package/dist/chunks/{model-b77ja0wt.js → tool-ptzgpnc3.js} +27 -27
- package/dist/chunks/{model-fs5hygsn.js → tool-pz1gbv8g.js} +14 -14
- package/dist/chunks/{model-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{model-7d2a7xbs.js → tool-q4fmv0xv.js} +5 -5
- package/dist/chunks/tool-q509s3k3.js +18 -0
- package/dist/chunks/tool-q9a0p4yb.js +26 -0
- package/dist/chunks/{model-zfq801h6.js → tool-qn56gx0x.js} +6 -6
- package/dist/chunks/{model-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{model-hgqgzfp7.js → tool-r0s4cps9.js} +13 -13
- package/dist/chunks/{model-f2n192rq.js → tool-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-y8zy7amg.js → tool-r8yr4pbq.js} +16 -16
- package/dist/chunks/{model-xgwqb5jk.js → tool-rd6jcjw6.js} +26 -26
- package/dist/chunks/{model-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rert0e01.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{model-rj3eygr5.js → tool-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-6vvy3pkk.js → tool-rkea8fjp.js} +21 -21
- package/dist/chunks/{model-ctn84etg.js → tool-rpdh36zp.js} +24 -24
- package/dist/chunks/{model-43xeh9aq.js → tool-rrbf5752.js} +4 -4
- package/dist/chunks/{model-vw126e4d.js → tool-s1mwa3em.js} +17 -17
- package/dist/chunks/{model-5deaz9jv.js → tool-s5jbqbt2.js} +4 -4
- package/dist/chunks/{model-t550f9t1.js → tool-s8d7rejh.js} +4 -4
- package/dist/chunks/{model-xbnpeec3.js → tool-s90vv90s.js} +34 -34
- package/dist/chunks/{model-sa8ekw3f.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-1hc858k7.js → tool-sbhhmpa1.js} +5 -5
- package/dist/chunks/{model-559cv5mq.js → tool-sexk3xwd.js} +43 -43
- package/dist/chunks/{model-b096sb2f.js → tool-sjs4cgq8.js} +13 -13
- package/dist/chunks/{model-m9m2bw1x.js → tool-swcgf9tw.js} +70 -70
- package/dist/chunks/{model-8y6qxnd2.js → tool-swg2czr5.js} +32 -32
- package/dist/chunks/{model-e80seqcp.js → tool-sxcaecc0.js} +3 -3
- package/dist/chunks/{model-15cj51dt.js → tool-sxd457kj.js} +18 -18
- package/dist/chunks/{model-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{model-csjs0rgm.js → tool-sz25zewp.js} +14 -14
- package/dist/chunks/{model-m2y34ngg.js → tool-t25nyb44.js} +18 -18
- package/dist/chunks/{model-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{model-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-v6wtv6sh.js → tool-tmdsjbh9.js} +14 -14
- package/dist/chunks/{model-6g25qtd6.js → tool-tnpc41a5.js} +3 -3
- package/dist/chunks/{model-d70j4vcr.js → tool-trhb4xzf.js} +41 -41
- package/dist/chunks/{model-zpegy5y1.js → tool-trpqdd18.js} +13 -13
- package/dist/chunks/{model-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{model-tg7bkhef.js → tool-v0es1rhs.js} +7 -7
- package/dist/chunks/{model-zf7skas7.js → tool-v0hgep7b.js} +20 -20
- package/dist/chunks/{model-mrpe8yp5.js → tool-v703bhdd.js} +35 -35
- package/dist/chunks/{model-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-h99738j4.js → tool-vcvkpszh.js} +12 -12
- package/dist/chunks/{model-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{model-vrrq7v3g.js → tool-vrrq7v3g.js} +2 -2
- package/dist/chunks/{model-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-scgz3sns.js → tool-w4dca2d6.js} +27 -27
- package/dist/chunks/{model-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{model-3855cc73.js → tool-wj5c1p6d.js} +48 -48
- package/dist/chunks/{model-bjx1sjef.js → tool-wjr9rjd7.js} +6 -6
- package/dist/chunks/{model-mw0c0vj6.js → tool-wx95s5vn.js} +26 -26
- package/dist/chunks/{model-y9y8j1f2.js → tool-wy6dfgcn.js} +23 -23
- package/dist/chunks/{model-gd6gh308.js → tool-x0rtsm8e.js} +185 -185
- package/dist/chunks/{model-7rxph2nn.js → tool-x1dvw4cn.js} +13 -13
- package/dist/chunks/{model-gb2d0a3q.js → tool-x3cmp8k1.js} +37 -37
- package/dist/chunks/{model-vfw5w8v2.js → tool-x988sc1p.js} +17 -17
- package/dist/chunks/{model-n52gv0t2.js → tool-xbprrnbe.js} +26 -26
- package/dist/chunks/{model-r85h4k88.js → tool-xc0stz1c.js} +33 -33
- package/dist/chunks/{model-0cqcz89e.js → tool-xcwxhh1p.js} +9 -9
- package/dist/chunks/{model-qq8gj99e.js → tool-xfemfc1r.js} +14 -14
- package/dist/chunks/{model-mq6shjb6.js → tool-xhx94tt7.js} +9 -9
- package/dist/chunks/{model-58hng72m.js → tool-xj1aydcy.js} +5 -5
- package/dist/chunks/{model-e70pe916.js → tool-xqdej0ab.js} +20 -20
- package/dist/chunks/{model-6xcvt31d.js → tool-xybefm6f.js} +1 -1
- package/dist/chunks/{model-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{model-trya7axm.js → tool-y945vb8n.js} +8 -8
- package/dist/chunks/{model-q9z6c42s.js → tool-yd16xvn4.js} +9 -9
- package/dist/chunks/{model-31zph7gx.js → tool-yvqbnyr5.js} +32 -32
- package/dist/chunks/{model-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-gnngpsss.js → tool-z3zv6y4t.js} +34 -34
- package/dist/chunks/{model-4acmj4he.js → tool-z7bx7nj5.js} +7 -7
- package/dist/chunks/{model-4qa4eb2f.js → tool-ze6bq4cz.js} +5 -5
- package/dist/chunks/{model-0g9exnkr.js → tool-zm3rhkfq.js} +11 -11
- package/dist/chunks/{model-mz8as577.js → tool-zpbcv7tg.js} +3 -3
- package/dist/chunks/{model-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-7ca3xte1.js → tool-zrr3y58q.js} +10 -10
- package/dist/chunks/{model-8fh9asg7.js → tool-zsf4swtr.js} +15 -15
- package/dist/chunks/{model-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +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 +220 -220
- 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 +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +137 -137
- package/dist/session/context.js +151 -151
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- 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 +207 -207
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- 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 +122 -122
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-19rpp6m5.js +0 -253
- package/dist/chunks/model-b54ntt24.js +0 -26
- package/dist/chunks/model-pf31ssb9.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ezy28dwm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./tool-ne0v3mcr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID15,
|
|
9
|
+
Event19,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./tool-d4843n8f.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-7qyahes4.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service77
|
|
25
|
+
} from "./tool-g5hnex30.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID8
|
|
28
|
+
} from "./tool-bvr8yq7m.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-j4bzjt4e.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const credentials = yield* Service79;
|
|
77
|
+
const providers = yield* Service77;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make5(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make5(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make5(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make5(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make5(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make5(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make5(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make5(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make5(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID13.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID13.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make5(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make5(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID13.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID13.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make5(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID13.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make7();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID8.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID8.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-ne0v3mcr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./tool-96r9dk5h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node63
|
|
12
|
+
} from "./tool-rpdh36zp.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service49,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node53
|
|
20
|
+
} from "./tool-nfq9k2qg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service75,
|
|
23
|
+
node79
|
|
24
|
+
} from "./tool-166kng33.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service35,
|
|
27
|
+
node39
|
|
28
|
+
} from "./tool-3cwb9jzf.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-axe3mf62.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service36,
|
|
35
|
+
node40
|
|
36
|
+
} from "./tool-wj5c1p6d.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-43fay8tn.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-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: () => Service34,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node38
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service34 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
91
|
-
const bus = yield*
|
|
92
|
-
const location = yield*
|
|
90
|
+
var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
91
|
+
const bus = yield* Service83;
|
|
92
|
+
const location = yield* Service81;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service49;
|
|
95
|
+
const environment = yield* Service59;
|
|
96
|
+
const hooks = yield* Service75;
|
|
97
|
+
const environments = yield* Service35;
|
|
98
|
+
const config = yield* Service36;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError4({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service34.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node38 = makeLocationNode({
|
|
329
|
+
service: Service34,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
node87,
|
|
333
|
+
node85,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
node74,
|
|
335
|
+
node53,
|
|
337
336
|
node63,
|
|
338
|
-
|
|
339
|
-
|
|
337
|
+
node79,
|
|
338
|
+
node39,
|
|
339
|
+
node40,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service34, cleanup2, node38, exports_shell4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-ne0v3mcr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service30,
|
|
7
7
|
node33
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-trhb4xzf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./tool-9ydk86ss.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service54,
|
|
15
|
+
node58
|
|
16
|
+
} from "./tool-7n3bkkdp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
@@ -39,9 +39,9 @@ class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
|
39
39
|
}
|
|
40
40
|
var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service30;
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
42
|
+
const tools = yield* Service54;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service71;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -123,7 +123,7 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
123
123
|
var node32 = makeLocationNode({
|
|
124
124
|
service: Service29,
|
|
125
125
|
layer: layer14,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node58, node33, node87, node75]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
129
|
export { namespace2, name14, Service29, layer14, node32, exports_mcp3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ccn484d6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./tool-ne0v3mcr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./tool-prmgem5b.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service82,
|
|
19
|
+
node86
|
|
20
|
+
} from "./tool-m7707mrb.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-96r9dk5h.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node74
|
|
27
|
+
} from "./tool-c1ngfaaf.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./tool-pjsqfx9m.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service62
|
|
39
|
+
} from "./tool-1vezggaq.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service73,
|
|
42
|
+
node77
|
|
43
|
+
} from "./tool-tmdsjbh9.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service65,
|
|
48
|
+
node69,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./tool-evcnqajx.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service61,
|
|
53
|
+
node66
|
|
54
|
+
} from "./tool-9a94vrwg.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node28
|
|
57
|
+
} from "./tool-4k8q0s1e.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./tool-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -88,18 +88,18 @@ class Service19 extends Context.Service()("@opencode/SessionMove") {
|
|
|
88
88
|
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service82;
|
|
92
|
+
const locations = yield* Service70;
|
|
93
|
+
const store = yield* Service73;
|
|
94
|
+
const execution = yield* Service61;
|
|
95
|
+
const instances = yield* Service64;
|
|
96
|
+
const admission = yield* Service65;
|
|
97
97
|
const database = yield* Service85;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service62.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
136
|
return Service19.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
@@ -169,15 +169,15 @@ var node22 = makeGlobalNode({
|
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node86,
|
|
173
|
+
node74,
|
|
174
|
+
node77,
|
|
175
|
+
node66,
|
|
176
|
+
node68,
|
|
177
|
+
node69,
|
|
178
178
|
node89,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node87,
|
|
180
|
+
node28
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|