@opencode/core 0.0.0-dev-19533 → 0.0.0-dev-19537
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +80 -80
- package/dist/chunks/{skill-t550f9t1.js → location-service-map-02a7j1yb.js} +4 -4
- package/dist/chunks/{skill-dphb4kyd.js → location-service-map-02kqeaaa.js} +10 -10
- package/dist/chunks/{skill-vxh4pggq.js → location-service-map-04rxdvp0.js} +19 -19
- package/dist/chunks/{skill-ke61gtj2.js → location-service-map-04x0dbvj.js} +11 -11
- package/dist/chunks/{skill-825ms0sp.js → location-service-map-06gpygqg.js} +13 -13
- package/dist/chunks/{skill-45hw2ke2.js → location-service-map-0fn2v7vk.js} +4 -4
- package/dist/chunks/{skill-tn57p488.js → location-service-map-0h101say.js} +20 -20
- package/dist/chunks/{skill-7dqw4kz8.js → location-service-map-0jwsre1p.js} +5 -5
- package/dist/chunks/{skill-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{skill-rxxawjt5.js → location-service-map-0twcckz3.js} +22 -22
- package/dist/chunks/{skill-mk7n8ff8.js → location-service-map-0v2v5eak.js} +18 -18
- package/dist/chunks/{skill-btny5n0p.js → location-service-map-0z1ctyg4.js} +7 -7
- package/dist/chunks/{skill-nbddwgy7.js → location-service-map-0zwqsx91.js} +56 -46
- package/dist/chunks/{skill-maqcvqg3.js → location-service-map-13y5pzfr.js} +12 -12
- package/dist/chunks/{skill-esdq8k4j.js → location-service-map-15py5x5a.js} +85 -85
- package/dist/chunks/{skill-pddx5q6p.js → location-service-map-1at5a1z8.js} +43 -43
- package/dist/chunks/{skill-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-8n1nmt6r.js → location-service-map-1en1xn1a.js} +9 -9
- package/dist/chunks/{skill-bae8k7ts.js → location-service-map-1m1dj84h.js} +17 -17
- package/dist/chunks/{skill-xgz7224y.js → location-service-map-1wck6se0.js} +36 -36
- package/dist/chunks/{skill-1ygqh575.js → location-service-map-1ygqh575.js} +2 -2
- package/dist/chunks/{skill-cxp3r8sb.js → location-service-map-1ymkxv6h.js} +8 -8
- package/dist/chunks/{skill-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{skill-13jhzp9t.js → location-service-map-25qt6gnv.js} +23 -23
- package/dist/chunks/{skill-64kphnzf.js → location-service-map-26ym7a2d.js} +4 -4
- package/dist/chunks/{skill-29x78va6.js → location-service-map-29x78va6.js} +2 -2
- package/dist/chunks/{skill-1vz74r98.js → location-service-map-2a0mm7y3.js} +9 -9
- package/dist/chunks/{skill-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-40h7sf0h.js → location-service-map-2fn11zxb.js} +26 -26
- package/dist/chunks/{skill-hwtzgfb5.js → location-service-map-2hqf8r25.js} +8 -8
- package/dist/chunks/{skill-ywkf7sy3.js → location-service-map-2sbgdypg.js} +28 -28
- package/dist/chunks/{skill-s79kvq2b.js → location-service-map-2v772y4b.js} +8 -8
- package/dist/chunks/{skill-v2b8egpj.js → location-service-map-2vvh0fzx.js} +32 -32
- package/dist/chunks/{skill-rkvfcyy6.js → location-service-map-38p3jg3c.js} +20 -20
- package/dist/chunks/{skill-0r91xvpm.js → location-service-map-38qatnx6.js} +24 -24
- package/dist/chunks/{skill-dqb3b4qv.js → location-service-map-38w856qy.js} +29 -29
- package/dist/chunks/{skill-0gaj4617.js → location-service-map-3a6re68j.js} +6 -6
- package/dist/chunks/{skill-ryz7mbkc.js → location-service-map-3akcamr7.js} +10 -10
- package/dist/chunks/{skill-jmphe03k.js → location-service-map-3amprz0f.js} +4 -4
- package/dist/chunks/{skill-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-4zja6p14.js → location-service-map-3hhgyz9z.js} +15 -15
- package/dist/chunks/{skill-x0sqs2m3.js → location-service-map-3nehwj0v.js} +5 -5
- package/dist/chunks/{skill-v2f6dcv3.js → location-service-map-3pv0scen.js} +2 -2
- package/dist/chunks/{skill-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-j199vtx6.js → location-service-map-3szvsdzy.js} +23 -23
- package/dist/chunks/{skill-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-7z7az0f5.js → location-service-map-3ythc6yv.js} +4 -4
- package/dist/chunks/{skill-n9pnxjfp.js → location-service-map-40crx1cw.js} +1 -1
- package/dist/chunks/{skill-n2cdhvqs.js → location-service-map-43gxnd7g.js} +26 -26
- package/dist/chunks/location-service-map-4547fqdb.js +462 -0
- package/dist/chunks/{skill-6qc2b598.js → location-service-map-46gb4b7h.js} +2 -2
- package/dist/chunks/{skill-xqntknzg.js → location-service-map-48bbk4t2.js} +27 -27
- package/dist/chunks/{skill-n8zwenhw.js → location-service-map-492wvmbd.js} +3 -3
- package/dist/chunks/{skill-cjbg6c0k.js → location-service-map-4cmnyshe.js} +12 -12
- package/dist/chunks/{skill-3ceky892.js → location-service-map-4g5m988d.js} +8 -8
- package/dist/chunks/{skill-fg4k6f53.js → location-service-map-4kc6mx0f.js} +9 -9
- package/dist/chunks/{skill-y6m4d15s.js → location-service-map-4qp87j5s.js} +10 -10
- package/dist/chunks/{skill-y50tbcbn.js → location-service-map-4qr4qdmf.js} +27 -27
- package/dist/chunks/{skill-djrjkxn1.js → location-service-map-4w8kf3nz.js} +38 -38
- package/dist/chunks/{skill-15bxkz3b.js → location-service-map-4wf6pcr0.js} +1 -1
- package/dist/chunks/{skill-cb5mypkv.js → location-service-map-4ze8gy6s.js} +18 -18
- package/dist/chunks/{skill-wzt2x390.js → location-service-map-5452wmxb.js} +4 -4
- package/dist/chunks/{skill-qp1ap41s.js → location-service-map-56x76t5c.js} +16 -16
- package/dist/chunks/{skill-8tv223pe.js → location-service-map-57qjsc5p.js} +26 -26
- package/dist/chunks/{skill-2s7jhhpw.js → location-service-map-5856cxm0.js} +6 -6
- package/dist/chunks/{skill-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-fjmrr6sh.js → location-service-map-5kptn8c0.js} +9 -9
- package/dist/chunks/{skill-rdfa9r9x.js → location-service-map-5kzeweb6.js} +18 -18
- package/dist/chunks/{skill-v08rfwf2.js → location-service-map-5rcq086r.js} +31 -31
- package/dist/chunks/{skill-a27syr7x.js → location-service-map-5sgxb9m8.js} +22 -22
- package/dist/chunks/{skill-4cskpe5c.js → location-service-map-5sxs7n9e.js} +11 -11
- package/dist/chunks/{skill-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-w3mct6yr.js → location-service-map-5tk5x0jd.js} +1 -1
- package/dist/chunks/{skill-2b6phbs0.js → location-service-map-5wd49k1e.js} +5 -5
- package/dist/chunks/{skill-g2s4gf6f.js → location-service-map-624gnx8g.js} +24 -24
- package/dist/chunks/{skill-pd87nzmy.js → location-service-map-64tzds00.js} +11 -11
- package/dist/chunks/{skill-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{skill-s8rwmjr0.js → location-service-map-69n8xdtn.js} +11 -11
- package/dist/chunks/{skill-gx1zhcta.js → location-service-map-6bnnszxt.js} +2 -1
- package/dist/chunks/{skill-62bvnefr.js → location-service-map-6c21bb6b.js} +6 -6
- package/dist/chunks/{skill-34m4bwv1.js → location-service-map-6dx65yeb.js} +23 -23
- package/dist/chunks/{skill-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
- package/dist/chunks/{skill-508pb9jd.js → location-service-map-6kkmjw8v.js} +28 -28
- package/dist/chunks/{skill-t51qk8jz.js → location-service-map-6m42r3np.js} +4 -4
- package/dist/chunks/{skill-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-pej13wy9.js → location-service-map-6y0d5afz.js} +16 -16
- package/dist/chunks/{skill-gmb1mkeq.js → location-service-map-6yvzvxek.js} +37 -37
- package/dist/chunks/{skill-xtx71fwa.js → location-service-map-70v21819.js} +20 -20
- package/dist/chunks/{skill-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{skill-eq1pz5kg.js → location-service-map-73tb2d7t.js} +3 -3
- package/dist/chunks/{skill-tyta88qb.js → location-service-map-77ajqfnj.js} +2 -2
- package/dist/chunks/{skill-jpp1dzd3.js → location-service-map-78syc2fc.js} +171 -171
- package/dist/chunks/{skill-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-m231177j.js → location-service-map-85n21aby.js} +24 -24
- package/dist/chunks/{skill-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
- package/dist/chunks/{skill-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-bew16am1.js → location-service-map-8hv2c1z5.js} +6 -6
- package/dist/chunks/{skill-dj2t23y0.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/{skill-hj07p436.js → location-service-map-8pmjhgaz.js} +4 -4
- package/dist/chunks/{skill-qtkzm0vp.js → location-service-map-8ppq07x6.js} +8 -8
- package/dist/chunks/{skill-077jns9k.js → location-service-map-9m35et2d.js} +20 -20
- package/dist/chunks/{skill-w8vrm3c2.js → location-service-map-9p0arqf3.js} +49 -49
- package/dist/chunks/{skill-x1cjph1k.js → location-service-map-9r3pxvdt.js} +6 -6
- package/dist/chunks/{skill-9zswys26.js → location-service-map-9zswys26.js} +2 -2
- package/dist/chunks/{skill-5c4hm403.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{skill-0qmpvfbj.js → location-service-map-a61zyxyk.js} +16 -16
- package/dist/chunks/{skill-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/location-service-map-ada1n15j.js +247 -0
- package/dist/chunks/{skill-1z4e1jhk.js → location-service-map-ae848n5r.js} +109 -87
- package/dist/chunks/{skill-ra14hx7m.js → location-service-map-aecpnnmk.js} +6 -6
- package/dist/chunks/{skill-pn81htgv.js → location-service-map-apdy0k05.js} +17 -17
- package/dist/chunks/{skill-wg3vs4kv.js → location-service-map-aqw8azwy.js} +43 -43
- package/dist/chunks/{skill-aw3sb2nk.js → location-service-map-b10tkd3e.js} +15 -15
- package/dist/chunks/{skill-c72t8cvt.js → location-service-map-b3t9b1fg.js} +50 -45
- package/dist/chunks/{skill-38tw1je5.js → location-service-map-b3z67xjk.js} +3 -3
- package/dist/chunks/{skill-z97cmphj.js → location-service-map-b67z4z5h.js} +14 -14
- package/dist/chunks/{skill-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-hr5ztqgm.js → location-service-map-babm6nrx.js} +57 -57
- package/dist/chunks/{skill-tqj0t39a.js → location-service-map-bc01wvk0.js} +47 -47
- package/dist/chunks/{skill-740mgysh.js → location-service-map-bp410sh6.js} +16 -16
- package/dist/chunks/{skill-2d8sj7ta.js → location-service-map-cceesvm2.js} +36 -36
- package/dist/chunks/{skill-m0jqrx5p.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{skill-403499sv.js → location-service-map-cgx8xbea.js} +12 -12
- package/dist/chunks/{skill-1ss9yq5x.js → location-service-map-d13sq33w.js} +29 -29
- package/dist/chunks/{skill-d87vng18.js → location-service-map-d179fsvm.js} +6 -6
- package/dist/chunks/{skill-me0fwywn.js → location-service-map-d4rcy47n.js} +16 -16
- package/dist/chunks/{skill-dfy6t82j.js → location-service-map-dceqzrt3.js} +20 -20
- package/dist/chunks/{skill-c2n35qq1.js → location-service-map-debkcy1p.js} +9 -9
- package/dist/chunks/{skill-b9g7n7ra.js → location-service-map-df80hb39.js} +17 -17
- package/dist/chunks/{skill-bct739vz.js → location-service-map-dfe8djrf.js} +4 -4
- package/dist/chunks/{skill-t7q2q5yj.js → location-service-map-dxrfc5h5.js} +3 -3
- package/dist/chunks/{skill-n4r2qt20.js → location-service-map-e0s1jcaa.js} +30 -30
- package/dist/chunks/{skill-e6z0vg2z.js → location-service-map-e5add2x6.js} +11 -11
- package/dist/chunks/{skill-4y66k410.js → location-service-map-e5nv3ght.js} +12 -5
- package/dist/chunks/{skill-chph45fe.js → location-service-map-ebnjd4vn.js} +18 -18
- package/dist/chunks/{skill-k26r7p66.js → location-service-map-egh95f4v.js} +12 -12
- package/dist/chunks/{skill-5z1mzdyh.js → location-service-map-eh1r4ehf.js} +4 -4
- package/dist/chunks/{skill-3nbdta8h.js → location-service-map-ena2w3sd.js} +15 -15
- package/dist/chunks/{skill-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-s886meb3.js → location-service-map-f779cxj4.js} +28 -28
- package/dist/chunks/{skill-hdnk95c8.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{skill-yr83sm90.js → location-service-map-fb10msaw.js} +14 -14
- package/dist/chunks/{skill-gq3h8jyv.js → location-service-map-ffj503y8.js} +23 -23
- package/dist/chunks/{skill-m2h1dmaz.js → location-service-map-ffpjxk75.js} +27 -27
- package/dist/chunks/{skill-q65nxkxj.js → location-service-map-fh1g038f.js} +52 -52
- package/dist/chunks/{skill-tf0gwczp.js → location-service-map-fhxn8svr.js} +35 -35
- package/dist/chunks/{skill-g2gg0e72.js → location-service-map-fktzm3fa.js} +16 -16
- package/dist/chunks/{skill-zdek9qng.js → location-service-map-fq5bk62p.js} +22 -22
- package/dist/chunks/{skill-xy495y7n.js → location-service-map-fqaky83x.js} +37 -37
- package/dist/chunks/{skill-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-zcrspsvn.js → location-service-map-gst7axd9.js} +4 -4
- package/dist/chunks/{skill-th5km1p3.js → location-service-map-gv6a8nnw.js} +5 -5
- package/dist/chunks/{skill-mfvp7n1e.js → location-service-map-gy0jmpxz.js} +12 -12
- package/dist/chunks/location-service-map-gyce5qg1.js +18 -0
- package/dist/chunks/{skill-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{skill-9rp78yfz.js → location-service-map-h1qa8csv.js} +41 -41
- package/dist/chunks/{skill-yqbhe5eh.js → location-service-map-h3r6jhph.js} +34 -34
- package/dist/chunks/{skill-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-s4m6ffrn.js → location-service-map-hch7hs3h.js} +11 -11
- package/dist/chunks/{skill-vtgzhbby.js → location-service-map-hr2hej14.js} +1 -1
- package/dist/chunks/{skill-4g5n3egt.js → location-service-map-ht2pk859.js} +7 -7
- package/dist/chunks/{skill-wm0jxkfq.js → location-service-map-htz087a0.js} +6 -6
- package/dist/chunks/{skill-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-na089z8d.js → location-service-map-j6pynq9h.js} +1 -1
- package/dist/chunks/{skill-9pv0dm11.js → location-service-map-j7zc0ft0.js} +9 -9
- package/dist/chunks/{skill-nkwrjnnw.js → location-service-map-jes5qxbr.js} +19 -19
- package/dist/chunks/{skill-8xt7bb1r.js → location-service-map-jt7nkbyw.js} +4 -4
- package/dist/chunks/{skill-hcz3zddy.js → location-service-map-jv01nqvq.js} +5 -5
- package/dist/chunks/{skill-v8p5j567.js → location-service-map-jvker3z1.js} +22 -22
- package/dist/chunks/{skill-q5wkzrg1.js → location-service-map-jw6qs2gs.js} +59 -59
- package/dist/chunks/{skill-ka2k270b.js → location-service-map-k2rknt6h.js} +8 -8
- package/dist/chunks/{skill-4tjnwbjc.js → location-service-map-k3k5htd9.js} +24 -24
- package/dist/chunks/{skill-kk5h0dkn.js → location-service-map-kbs1aahx.js} +7 -7
- package/dist/chunks/{skill-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{skill-ydenpnjr.js → location-service-map-khe0ck07.js} +67 -67
- package/dist/chunks/{skill-eqqfmj4q.js → location-service-map-ktrp48dc.js} +23 -23
- package/dist/chunks/{skill-r3x3z0ah.js → location-service-map-kwxt209v.js} +49 -49
- package/dist/chunks/{skill-cm9s0fk5.js → location-service-map-m3ag11cw.js} +6 -6
- package/dist/chunks/{skill-espqnf3y.js → location-service-map-m5fngzpq.js} +8 -8
- package/dist/chunks/{skill-907f0e9g.js → location-service-map-m61y730t.js} +33 -33
- package/dist/chunks/{skill-dkgmj00c.js → location-service-map-m6zchz64.js} +12 -12
- package/dist/chunks/{skill-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-bdqrk2vk.js → location-service-map-marnn1hp.js} +7 -7
- package/dist/chunks/{skill-sq6ecf7m.js → location-service-map-mj8fwc3d.js} +11 -11
- package/dist/chunks/{skill-7mh291me.js → location-service-map-mk2t9s24.js} +42 -42
- package/dist/chunks/{skill-0hsjtmzs.js → location-service-map-mt3cqa28.js} +6 -6
- package/dist/chunks/{skill-7tmfg39w.js → location-service-map-mwwyvqv7.js} +9 -9
- package/dist/chunks/{skill-r9x7fakt.js → location-service-map-mxdd6pa9.js} +26 -26
- package/dist/chunks/{skill-3eys84td.js → location-service-map-mzdqfm2n.js} +4 -4
- package/dist/chunks/{skill-tbwe9jxb.js → location-service-map-n0n3a2mm.js} +11 -11
- package/dist/chunks/{skill-m9x2z465.js → location-service-map-n44ezvse.js} +30 -30
- package/dist/chunks/{skill-ad3egv10.js → location-service-map-n5yzbj66.js} +12 -12
- package/dist/chunks/{skill-5gr8b7dk.js → location-service-map-n7z6f99n.js} +18 -18
- package/dist/chunks/{skill-pmmjgmh3.js → location-service-map-nftn214z.js} +17 -17
- package/dist/chunks/{skill-mdc3r5s8.js → location-service-map-nhh51nsc.js} +10 -10
- package/dist/chunks/{skill-e82z9tr0.js → location-service-map-nhy5jxhy.js} +7 -7
- package/dist/chunks/{skill-wvmhx4nb.js → location-service-map-nv5vn7qx.js} +8 -8
- package/dist/chunks/{skill-s6vgr22k.js → location-service-map-nvf61pg7.js} +24 -24
- package/dist/chunks/{skill-wxd2bqfr.js → location-service-map-nwezgm6v.js} +9 -9
- package/dist/chunks/{skill-6rwxhq38.js → location-service-map-ny1q4n4h.js} +11 -11
- package/dist/chunks/{skill-g9v6r0b9.js → location-service-map-nzt9jjpr.js} +8 -8
- package/dist/chunks/{skill-cg3d2z57.js → location-service-map-p0bvwtkc.js} +9 -9
- package/dist/chunks/{skill-n1q357tj.js → location-service-map-p0p59wv7.js} +4 -4
- package/dist/chunks/{skill-3tkevmyj.js → location-service-map-pdw53y9t.js} +3 -3
- package/dist/chunks/{skill-yt0fqk68.js → location-service-map-pecb0brz.js} +5 -5
- package/dist/chunks/{skill-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/location-service-map-ptrp1kjm.js +97 -0
- package/dist/chunks/{skill-6908j4sx.js → location-service-map-pw7ckczw.js} +5 -5
- package/dist/chunks/location-service-map-qapv375x.js +4 -0
- package/dist/chunks/{skill-xfdj0sbt.js → location-service-map-qdy2vyx0.js} +27 -27
- package/dist/chunks/{skill-ye0ddrbj.js → location-service-map-qf23eh72.js} +5 -5
- package/dist/chunks/{skill-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-q2wshk4p.js → location-service-map-r8ca47sa.js} +20 -20
- package/dist/chunks/{skill-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
- package/dist/chunks/{skill-na83qcz5.js → location-service-map-r9p7z20f.js} +15 -15
- package/dist/chunks/{skill-jgttmm4a.js → location-service-map-rkdvqggb.js} +5 -5
- package/dist/chunks/{skill-cjsb4aez.js → location-service-map-rrbca1ec.js} +4 -4
- package/dist/chunks/{skill-t9h25825.js → location-service-map-rs89xbka.js} +15 -15
- package/dist/chunks/{skill-bzdcy8yq.js → location-service-map-s0k3ntgq.js} +17 -17
- package/dist/chunks/{skill-s4enseaf.js → location-service-map-s4enseaf.js} +2 -2
- package/dist/chunks/{skill-bwk2jbmh.js → location-service-map-s9y3pymr.js} +11 -11
- package/dist/chunks/{skill-2a1xxtx2.js → location-service-map-sa6e320r.js} +32 -32
- package/dist/chunks/{skill-069yxdfj.js → location-service-map-sdf6ey0z.js} +3 -3
- package/dist/chunks/{skill-j1e4xwy5.js → location-service-map-shfzw9b7.js} +25 -25
- package/dist/chunks/{skill-jfqtm2ew.js → location-service-map-sxz6gkc3.js} +7 -7
- package/dist/chunks/{skill-2f0bjgcj.js → location-service-map-t0fxg8b9.js} +5 -5
- package/dist/chunks/{skill-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{skill-5xtt40bq.js → location-service-map-tnppwh2z.js} +13 -13
- package/dist/chunks/{skill-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-4crhnnhy.js → location-service-map-v1jygnrp.js} +5 -5
- package/dist/chunks/{skill-xb86z6zr.js → location-service-map-v5bke03w.js} +10 -10
- package/dist/chunks/{skill-ddathvnk.js → location-service-map-v8p3byyh.js} +11 -11
- package/dist/chunks/{skill-mjpvddda.js → location-service-map-vbzdw0sa.js} +9 -9
- package/dist/chunks/{skill-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-s0agc963.js → location-service-map-vkt5fbj2.js} +8 -8
- package/dist/chunks/{skill-a8p6djtk.js → location-service-map-vp4d2p1v.js} +17 -17
- package/dist/chunks/{skill-9vs0xtad.js → location-service-map-vpm8vpz0.js} +3 -3
- package/dist/chunks/location-service-map-vqc086n1.js +26 -0
- package/dist/chunks/{skill-31mfex9f.js → location-service-map-vryeqwq0.js} +28 -28
- package/dist/chunks/{skill-tsh7pk9n.js → location-service-map-vw5kj2be.js} +2 -2
- package/dist/chunks/{skill-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{skill-g4rrnh52.js → location-service-map-wejrbswc.js} +31 -31
- package/dist/chunks/{skill-w068afpb.js → location-service-map-wn4cedxa.js} +4 -4
- package/dist/chunks/{skill-rzd9gvvy.js → location-service-map-wqgma00c.js} +16 -16
- package/dist/chunks/{skill-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-x3et2xth.js → location-service-map-x3et2xth.js} +1 -1
- package/dist/chunks/{skill-4awz36xd.js → location-service-map-x5q94vyh.js} +10 -10
- package/dist/chunks/{skill-f7fvq20b.js → location-service-map-x7t95jgy.js} +11 -11
- package/dist/chunks/{skill-x90pe81c.js → location-service-map-x811wgw1.js} +17 -17
- package/dist/chunks/{skill-9s5j442t.js → location-service-map-x9jnhqqq.js} +32 -32
- package/dist/chunks/{skill-h7ygw6q4.js → location-service-map-xekzrwwc.js} +9 -9
- package/dist/chunks/{skill-42mh5gqr.js → location-service-map-xg1qtray.js} +8 -8
- package/dist/chunks/{skill-r4m1ffbn.js → location-service-map-xnhh30tk.js} +21 -21
- package/dist/chunks/{skill-n831wab0.js → location-service-map-xv0jpfyy.js} +9 -9
- package/dist/chunks/{skill-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-mnev3j96.js → location-service-map-y1tepbr5.js} +32 -32
- package/dist/chunks/{skill-dqn3d470.js → location-service-map-y5ber50k.js} +15 -15
- package/dist/chunks/{skill-0349v0ax.js → location-service-map-y69efcjs.js} +7 -7
- package/dist/chunks/{skill-y71avatq.js → location-service-map-y71avatq.js} +1 -1
- package/dist/chunks/{skill-5k36swst.js → location-service-map-y87xzpn8.js} +18 -18
- package/dist/chunks/{skill-xw6fw6zr.js → location-service-map-yb8j6yg8.js} +8 -8
- package/dist/chunks/{skill-f2n192rq.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{skill-bd5gtamn.js → location-service-map-ypsy3c9r.js} +1 -1
- package/dist/chunks/{skill-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-es53vstt.js → location-service-map-yzht29fw.js} +10 -10
- package/dist/chunks/{skill-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-m23k9y15.js → location-service-map-zac6rwn7.js} +9 -9
- package/dist/chunks/{skill-m9zfvw3y.js → location-service-map-zc36aspe.js} +34 -34
- package/dist/chunks/{skill-81rrwt6s.js → location-service-map-zcqf6png.js} +6 -6
- package/dist/chunks/{skill-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-5tm48f18.js → location-service-map-zpyc6n5y.js} +9 -9
- package/dist/chunks/{skill-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-f64qsecf.js → location-service-map-zv63k8dm.js} +13 -13
- package/dist/chunks/{skill-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -116
- package/dist/config/plugin/command.js +210 -208
- package/dist/config/plugin/compaction.js +157 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +117 -116
- package/dist/config/plugin/instruction.js +87 -86
- package/dist/config/plugin/location-watcher.js +117 -116
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +116 -115
- package/dist/config/plugin/provider.js +115 -114
- package/dist/config/plugin/reference.js +119 -118
- package/dist/config/plugin/shell.js +118 -117
- package/dist/config/plugin/skill-file.js +99 -98
- package/dist/config/plugin/skill.js +136 -135
- package/dist/config/plugin/snapshot.js +117 -116
- package/dist/config/plugin/source.js +113 -112
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +115 -114
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -362
- 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 +88 -87
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -89
- 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 +73 -73
- package/dist/file-access.js +101 -100
- package/dist/file-mutation.js +91 -90
- 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 +222 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -85
- package/dist/generate.js +92 -92
- package/dist/git.js +4 -3
- 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 +3 -3
- 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 +354 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -134
- package/dist/location-mutation.js +101 -100
- package/dist/location-service-map.js +85 -84
- package/dist/location-services.js +351 -350
- package/dist/location.js +86 -85
- package/dist/mcp/client.js +88 -87
- package/dist/mcp/index.js +105 -104
- package/dist/mcp/instructions.js +124 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +97 -96
- package/dist/plugin/command.js +96 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -214
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +81 -81
- package/dist/plugin/warming.js +114 -113
- 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 +2 -2
- 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 +226 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -84
- package/dist/provider.js +5 -5
- 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 +94 -93
- package/dist/reference/instructions.js +86 -85
- package/dist/reference.js +88 -87
- package/dist/repository-cache.js +78 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -94
- package/dist/rpc.js +83 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -128
- package/dist/session/context.js +149 -148
- package/dist/session/diff.js +94 -0
- 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 +222 -220
- package/dist/session/execution.js +126 -125
- package/dist/session/generate.js +150 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -111
- package/dist/session/runner/step.js +121 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -168
- package/dist/session/shell.js +133 -132
- package/dist/session/skill.js +100 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -150
- package/dist/session/to-session-error.js +109 -108
- package/dist/session/transfer.js +218 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +135 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -103
- package/dist/skill.js +109 -108
- package/dist/snapshot.js +90 -89
- 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 +121 -120
- package/dist/tool/plugin/edit.js +117 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -121
- package/dist/tool/plugin/grep.js +122 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -116
- package/dist/tool/plugin/question.js +100 -99
- package/dist/tool/plugin/read.js +121 -120
- package/dist/tool/plugin/shell.js +213 -211
- package/dist/tool/plugin/skill.js +98 -97
- package/dist/tool/plugin/subagent.js +213 -211
- package/dist/tool/plugin/webfetch.js +107 -106
- package/dist/tool/plugin/websearch.js +109 -108
- package/dist/tool/plugin/write.js +117 -116
- package/dist/tool/read-filesystem.js +98 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/diff.d.ts +48 -0
- package/dist/types/session/history.d.ts +40 -0
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +12 -1
- package/dist/types/session.d.ts +10 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -7
- package/dist/worktree/refresh.js +341 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -90
- package/package.json +8 -8
- package/dist/chunks/skill-0mesazry.js +0 -4
- package/dist/chunks/skill-18d437kr.js +0 -462
- package/dist/chunks/skill-dxj72tfx.js +0 -18
- package/dist/chunks/skill-sa4dtbm6.js +0 -26
- package/dist/chunks/skill-vkp2jm84.js +0 -247
- /package/dist/chunks/{skill-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-j935v87r.js → location-service-map-j935v87r.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service75,
|
|
7
|
-
node80
|
|
8
|
-
} from "./skill-b9g7n7ra.js";
|
|
9
|
-
import {
|
|
10
|
-
reconcile2,
|
|
11
|
-
create3
|
|
12
|
-
} from "./skill-kg06axw8.js";
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-service-map-egh95f4v.js";
|
|
13
5
|
import {
|
|
14
6
|
PATCH_CONTEXT_LINES2,
|
|
15
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
8
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
10
|
+
import {
|
|
11
|
+
Service72,
|
|
12
|
+
node76
|
|
13
|
+
} from "./location-service-map-df80hb39.js";
|
|
14
|
+
import {
|
|
15
|
+
reconcile2,
|
|
16
|
+
create3
|
|
17
|
+
} from "./location-service-map-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info26,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service66,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node69
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info26, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service66 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service72;
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info26));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service66.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node69 = makeLocationNode({
|
|
165
|
+
service: Service66,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node76, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info26, Mode2, DiffError2, Service66, node69, exports_vcs };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./location-service-map-egh95f4v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service59,
|
|
11
|
+
node62
|
|
12
|
+
} from "./location-service-map-5rcq086r.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service72,
|
|
15
|
+
node76
|
|
16
|
+
} from "./location-service-map-df80hb39.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service70,
|
|
19
19
|
node73
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9m35et2d.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID13,
|
|
23
|
+
Service64,
|
|
24
|
+
node67
|
|
25
|
+
} from "./location-service-map-d13sq33w.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service58,
|
|
34
|
+
node61
|
|
35
|
+
} from "./location-service-map-48bbk4t2.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service26,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured2,
|
|
66
|
+
layer: () => layer12,
|
|
67
|
+
node: () => node30
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service26 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options2 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service72;
|
|
178
|
+
const environment = yield* Service70;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service64;
|
|
181
|
+
const integration = yield* Service58;
|
|
182
|
+
const credentials = yield* Service59;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID13.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service26.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured2(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service26,
|
|
713
|
+
layer: layer12(options),
|
|
714
|
+
deps: [node76, node73, node83, node67, node61, node62]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node30 = configured2();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service26, Options2, layer12, configured2, node30, exports_mcp4 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-service-map-egh95f4v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./location-service-map-df80hb39.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./location-service-map-qapv375x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service62,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node65
|
|
16
|
+
} from "./location-service-map-ena2w3sd.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info3,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info3 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service78;
|
|
62
|
+
const location = yield* Service72;
|
|
63
|
+
const shell = yield* Service62;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node83, node76, node65]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node17, exports_pty, Event3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node76
|
|
4
|
+
} from "./location-service-map-df80hb39.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service21
|
|
7
|
+
} from "./location-service-map-gyce5qg1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service56,
|
|
10
|
+
node59
|
|
11
|
+
} from "./location-service-map-mk2t9s24.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node16
|
|
14
|
+
} from "./location-service-map-0twcckz3.js";
|
|
15
15
|
import {
|
|
16
16
|
node6
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-shfzw9b7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_refresh, {
|
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service72;
|
|
32
|
+
const plugins = yield* Service21;
|
|
33
|
+
const worktrees = yield* Service56;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node59, node76, node16, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node5, exports_refresh };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-hch7hs3h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-service-map-egh95f4v.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./location-service-map-5rcq086r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-48bbk4t2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
packageName2,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-m3ag11cw.js";
|
|
20
20
|
import {
|
|
21
21
|
iife2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-1kg9ymc8.js";
|
|
23
23
|
import {
|
|
24
24
|
which2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-qaymkmh1.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-5wd49k1e.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,9 +45,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
45
45
|
var AzurePlugin2 = define({
|
|
46
46
|
id: "opencode.provider.azure",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const configured = yield* configuredSettings2(
|
|
48
|
+
const configured = yield* configuredSettings2(ID18.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
|
-
const bus = yield*
|
|
50
|
+
const bus = yield* Service78;
|
|
51
51
|
const tokens = new Map;
|
|
52
52
|
const loading = Semaphore.makeUnsafe(1);
|
|
53
53
|
const loaded = {};
|
|
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
|
|
|
81
81
|
});
|
|
82
82
|
yield* ctx.integration.transform((editor) => {
|
|
83
83
|
editor.method.update({
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID18.azure,
|
|
85
85
|
method: { type: "key", label: "API key", form: form() }
|
|
86
86
|
});
|
|
87
87
|
if (!available)
|
|
88
88
|
return;
|
|
89
89
|
editor.method.update({
|
|
90
|
-
integrationID:
|
|
90
|
+
integrationID: ID18.azure,
|
|
91
91
|
method: {
|
|
92
92
|
id: methodID,
|
|
93
93
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
122
|
-
const connection = yield* ctx.integration.connection.active(
|
|
122
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
123
123
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
124
124
|
return;
|
|
125
125
|
})) : undefined;
|
|
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
|
|
|
133
133
|
yield* load();
|
|
134
134
|
yield* ctx.catalog.transform((evt) => {
|
|
135
135
|
for (const item of evt.provider.list()) {
|
|
136
|
-
if (item.provider.id !==
|
|
136
|
+
if (item.provider.id !== ID18.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
137
137
|
continue;
|
|
138
138
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
139
139
|
if (resourceName)
|
|
@@ -157,11 +157,11 @@ var AzurePlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
160
|
-
yield* bus.subscribe(
|
|
160
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
161
161
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
162
|
-
if (evt.model.providerID !==
|
|
162
|
+
if (evt.model.providerID !== ID18.azure)
|
|
163
163
|
return;
|
|
164
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
165
165
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
166
166
|
return;
|
|
167
167
|
})) : undefined;
|
|
@@ -174,7 +174,7 @@ var AzurePlugin2 = define({
|
|
|
174
174
|
evt.request.headers.delete("x-api-key");
|
|
175
175
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
176
176
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
177
|
-
}), { providerID:
|
|
177
|
+
}), { providerID: ID18.azure });
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
180
|
function resolveResourceName(settings, fallback) {
|