@opencode/core 0.0.0-dev-20092 → 0.0.0-dev-20103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{form-jmjh0wq4.js → location-service-map-06ejv7nx.js} +20 -20
- package/dist/chunks/{form-d7vwcxj8.js → location-service-map-0bfzm7aa.js} +17 -17
- package/dist/chunks/{form-afed7ext.js → location-service-map-0c2xmx3r.js} +12 -12
- package/dist/chunks/{form-jrswvxaf.js → location-service-map-0cjbgter.js} +11 -11
- package/dist/chunks/{form-ckyd1krv.js → location-service-map-0e3tt2mf.js} +4 -4
- package/dist/chunks/{form-kxpygcw9.js → location-service-map-0ft9cg2j.js} +4 -4
- package/dist/chunks/{form-pvw8r2wg.js → location-service-map-0mttjrfr.js} +10 -10
- package/dist/chunks/{form-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-sx1n432n.js → location-service-map-0v53mg2y.js} +4 -4
- package/dist/chunks/{form-r5x6zcsm.js → location-service-map-1bbkgx8g.js} +3 -3
- package/dist/chunks/{form-y11rahcj.js → location-service-map-1d5e7fjz.js} +24 -24
- package/dist/chunks/{form-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-fqb2p7cx.js → location-service-map-1g7epwpd.js} +7 -7
- package/dist/chunks/{form-ekdnc1t3.js → location-service-map-1kw05xve.js} +27 -27
- package/dist/chunks/{form-hmtpe4q9.js → location-service-map-1kyxasan.js} +5 -5
- package/dist/chunks/{form-55c4derm.js → location-service-map-1v08eb6w.js} +20 -20
- package/dist/chunks/{form-e3kb8xnq.js → location-service-map-1yqzakes.js} +8 -8
- package/dist/chunks/{form-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{form-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{form-fhs97t90.js → location-service-map-24dd53tp.js} +9 -9
- package/dist/chunks/{form-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-pf9yz9v2.js → location-service-map-2c0dm15m.js} +6 -6
- package/dist/chunks/{form-b40cgvj8.js → location-service-map-2gnwkpvd.js} +5 -5
- package/dist/chunks/{form-ex3azxtp.js → location-service-map-2h8zcfyj.js} +6 -6
- package/dist/chunks/{form-607tc6va.js → location-service-map-2k8khapm.js} +5 -5
- package/dist/chunks/{form-byssvj29.js → location-service-map-2v9qn293.js} +11 -11
- package/dist/chunks/{form-zq6stcrg.js → location-service-map-2w5dyyz8.js} +8 -8
- package/dist/chunks/{form-d9sgy5v4.js → location-service-map-30krspkn.js} +4 -4
- package/dist/chunks/{form-r94pzv5m.js → location-service-map-36cphf8b.js} +9 -9
- package/dist/chunks/{form-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-05drz63z.js → location-service-map-3hbctp76.js} +26 -26
- package/dist/chunks/{form-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-6hs0a2ea.js → location-service-map-3kh5ghz4.js} +18 -18
- package/dist/chunks/{form-818pfwc9.js → location-service-map-3pbjq009.js} +8 -8
- package/dist/chunks/{form-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-p87g5rtv.js → location-service-map-45r8z7s5.js} +41 -41
- package/dist/chunks/{form-4qpgmmah.js → location-service-map-495chtjc.js} +21 -21
- package/dist/chunks/{form-ng1k2tev.js → location-service-map-4acwr5gm.js} +22 -22
- package/dist/chunks/{form-ftf41wa5.js → location-service-map-4bvexzs9.js} +7 -7
- package/dist/chunks/{form-d20da8j9.js → location-service-map-4bx5mh4w.js} +20 -20
- package/dist/chunks/{form-q0f9bf0g.js → location-service-map-4bxhq5dc.js} +12 -12
- package/dist/chunks/{form-eeaf82dq.js → location-service-map-4c8bw516.js} +8 -8
- package/dist/chunks/{form-pv751y59.js → location-service-map-4t7rsg8e.js} +49 -49
- package/dist/chunks/{form-t0vhg212.js → location-service-map-4tgay3js.js} +15 -15
- package/dist/chunks/{form-s5qtarnf.js → location-service-map-4z91h2q2.js} +19 -19
- package/dist/chunks/{form-emn263y3.js → location-service-map-5153gk4s.js} +30 -30
- package/dist/chunks/{form-as6bcte4.js → location-service-map-55krd67x.js} +24 -24
- package/dist/chunks/{form-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{form-5ekn9679.js → location-service-map-5ekn9679.js} +1 -1
- package/dist/chunks/{form-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-2m0d8rb6.js → location-service-map-60djdr4t.js} +10 -10
- package/dist/chunks/{form-8xxyxnjg.js → location-service-map-61a3zr4c.js} +14 -14
- package/dist/chunks/{form-mgmaefw5.js → location-service-map-63kngrnd.js} +5 -5
- package/dist/chunks/{form-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{form-zjdabrpw.js → location-service-map-68dy1mx9.js} +28 -28
- package/dist/chunks/{form-1cn7k6zr.js → location-service-map-6a44wwkp.js} +6 -6
- package/dist/chunks/location-service-map-6enptsyn.js +507 -0
- package/dist/chunks/{form-xk7cfvv2.js → location-service-map-6k4ynzw8.js} +5 -5
- package/dist/chunks/{form-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-djszqvmq.js → location-service-map-79qaa2kf.js} +9 -9
- package/dist/chunks/{form-gm4kvx4x.js → location-service-map-7bgeh318.js} +12 -12
- package/dist/chunks/{form-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-r60dvb0d.js → location-service-map-7evypc3h.js} +3 -3
- package/dist/chunks/{form-m2sbdswz.js → location-service-map-7shq9dj0.js} +8 -8
- package/dist/chunks/{form-xxka3pjy.js → location-service-map-833tk66z.js} +11 -11
- package/dist/chunks/{form-dgnytp49.js → location-service-map-853pnbmg.js} +4 -4
- package/dist/chunks/{form-pjzg4rs2.js → location-service-map-88ncvmwj.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-eq0p2d4m.js → location-service-map-8e9852ac.js} +11 -11
- package/dist/chunks/location-service-map-8gz0hh7m.js +252 -0
- package/dist/chunks/{form-51re7bcp.js → location-service-map-8hcfckj3.js} +8 -8
- package/dist/chunks/{form-yvtv9hrf.js → location-service-map-8r011ra3.js} +18 -18
- package/dist/chunks/{form-hfj9a1t1.js → location-service-map-8ssbnkm6.js} +30 -30
- package/dist/chunks/{form-b1vvvnp6.js → location-service-map-8yktps7k.js} +11 -11
- package/dist/chunks/{form-zrfbtdf7.js → location-service-map-939j0jr0.js} +14 -14
- package/dist/chunks/{form-gfvb90ym.js → location-service-map-94ek1h2f.js} +2 -2
- package/dist/chunks/{form-6av2z5d4.js → location-service-map-9n2ezk31.js} +19 -19
- package/dist/chunks/{form-fpxnyzjx.js → location-service-map-9qkckev2.js} +29 -29
- package/dist/chunks/{form-zvkxymqp.js → location-service-map-9ss103sy.js} +7 -7
- package/dist/chunks/{form-sxbp20vh.js → location-service-map-9x3kmp58.js} +9 -9
- package/dist/chunks/{form-jca4demv.js → location-service-map-a3r4dcrj.js} +2 -2
- package/dist/chunks/{form-5e81w77y.js → location-service-map-a79ds6nc.js} +16 -16
- package/dist/chunks/{form-n2srvep7.js → location-service-map-a89e0tac.js} +4 -4
- package/dist/chunks/{form-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{form-57ez7d0k.js → location-service-map-aamtrqep.js} +9 -9
- package/dist/chunks/{form-41b5e87c.js → location-service-map-apeh0v2n.js} +10 -10
- package/dist/chunks/{form-wq49c4yf.js → location-service-map-aq0amx4n.js} +23 -23
- package/dist/chunks/{form-e3gmrg4e.js → location-service-map-aq106s15.js} +9 -9
- package/dist/chunks/{form-258tza17.js → location-service-map-aq9v1yk8.js} +8 -8
- package/dist/chunks/{form-6g3qzat6.js → location-service-map-ardd2bsn.js} +5 -5
- package/dist/chunks/{form-4n4fn861.js → location-service-map-as62jwn8.js} +22 -22
- package/dist/chunks/{form-69syr1jf.js → location-service-map-asq856p3.js} +17 -17
- package/dist/chunks/{form-fqtvmpfq.js → location-service-map-at1kfnmk.js} +8 -8
- package/dist/chunks/{form-d48vtfkp.js → location-service-map-avae2qkj.js} +18 -18
- package/dist/chunks/{form-4jv7e9dq.js → location-service-map-awaee7qt.js} +7 -7
- package/dist/chunks/{form-pxe6gr54.js → location-service-map-awhka9ay.js} +21 -21
- package/dist/chunks/{form-ejtaj14a.js → location-service-map-axjpx4kj.js} +4 -4
- package/dist/chunks/{form-n3yv30fq.js → location-service-map-b24v4ebx.js} +26 -26
- package/dist/chunks/{form-qcyzmg46.js → location-service-map-b3s7ae97.js} +37 -37
- package/dist/chunks/{form-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-kxch5bmm.js → location-service-map-b87s103s.js} +24 -24
- package/dist/chunks/{form-78eghtzp.js → location-service-map-bdphn620.js} +55 -55
- package/dist/chunks/{form-fgepna9y.js → location-service-map-bf0cd63e.js} +5 -5
- package/dist/chunks/{form-vf1f92b8.js → location-service-map-bk0crrr6.js} +18 -18
- package/dist/chunks/{form-h4p652km.js → location-service-map-bq1hpwve.js} +3 -3
- package/dist/chunks/{form-96692np8.js → location-service-map-bthk55h6.js} +32 -32
- package/dist/chunks/{form-p2m0n0hn.js → location-service-map-bwdmmacb.js} +11 -11
- package/dist/chunks/{form-sbnznnja.js → location-service-map-c16s4pd0.js} +38 -38
- package/dist/chunks/{form-ba4w6g48.js → location-service-map-c1np9tvh.js} +12 -12
- package/dist/chunks/{form-r4yqrmdq.js → location-service-map-ce5fknq2.js} +5 -5
- package/dist/chunks/{form-bppvgyma.js → location-service-map-cfmv9c3d.js} +18 -18
- package/dist/chunks/{form-zgqasnrv.js → location-service-map-cgm666vp.js} +17 -17
- package/dist/chunks/{form-08tmt5c8.js → location-service-map-cgza1zmh.js} +14 -14
- package/dist/chunks/{form-54tcyq79.js → location-service-map-ckecvw8r.js} +2 -2
- package/dist/chunks/{form-dg66y715.js → location-service-map-ckh625m3.js} +33 -33
- package/dist/chunks/{form-3ktbe3hf.js → location-service-map-cmefedvg.js} +6 -6
- package/dist/chunks/{form-s2hgmt76.js → location-service-map-cn44awdn.js} +31 -31
- package/dist/chunks/{form-ng9vn86m.js → location-service-map-cnzxmjcj.js} +32 -32
- package/dist/chunks/{form-atbxxdgy.js → location-service-map-cphrfjpg.js} +3 -3
- package/dist/chunks/{form-epck1df4.js → location-service-map-cw6vaqhy.js} +11 -11
- package/dist/chunks/{form-f9rzce54.js → location-service-map-czvzv6fj.js} +6 -6
- package/dist/chunks/{form-25x24fm4.js → location-service-map-d40gq58t.js} +22 -22
- package/dist/chunks/{form-qedfkepq.js → location-service-map-d4vrvgq4.js} +11 -11
- package/dist/chunks/{form-cr7r8nac.js → location-service-map-d4w6k1nt.js} +13 -13
- package/dist/chunks/{form-sj7d9cqd.js → location-service-map-d5g0vem9.js} +24 -24
- package/dist/chunks/{form-vr6tcf4m.js → location-service-map-ddvvm6a9.js} +17 -17
- package/dist/chunks/{form-s9720vp0.js → location-service-map-dfq5ekm3.js} +5 -5
- package/dist/chunks/{form-vewbafv1.js → location-service-map-dkgjef6k.js} +15 -15
- package/dist/chunks/{form-xkntkrq7.js → location-service-map-dmqcgk4z.js} +5 -5
- package/dist/chunks/{form-51gpa1xv.js → location-service-map-dmx755zn.js} +11 -11
- package/dist/chunks/{form-g912tqdn.js → location-service-map-dp4kwseh.js} +16 -16
- package/dist/chunks/{form-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-e74wffys.js → location-service-map-e2k0bps6.js} +34 -34
- package/dist/chunks/{form-yrkv8vj7.js → location-service-map-e5wg673t.js} +23 -23
- package/dist/chunks/{form-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-pj28zw9r.js → location-service-map-efg2p63t.js} +34 -34
- package/dist/chunks/{form-d49yjp64.js → location-service-map-egx0h0k6.js} +24 -24
- package/dist/chunks/{form-m1de2ch9.js → location-service-map-eqqc0c45.js} +17 -17
- package/dist/chunks/{form-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
- package/dist/chunks/{form-m9r59bp6.js → location-service-map-esxc65j0.js} +20 -20
- package/dist/chunks/{form-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-c78bbtc9.js → location-service-map-evbgk2k8.js} +5 -5
- package/dist/chunks/{form-5xtgfte3.js → location-service-map-eys57y9b.js} +8 -8
- package/dist/chunks/{form-f9wy4a67.js → location-service-map-f13k8as2.js} +4 -4
- package/dist/chunks/{form-g190xswt.js → location-service-map-f3ngv102.js} +4 -4
- package/dist/chunks/{form-dhmh7aw6.js → location-service-map-f73rjn58.js} +4 -4
- package/dist/chunks/{form-r7wq386s.js → location-service-map-fanjy7dq.js} +27 -27
- package/dist/chunks/{form-5yh5b1zw.js → location-service-map-fh5hhkj6.js} +32 -32
- package/dist/chunks/{form-h7tbdw6f.js → location-service-map-fp4gar62.js} +20 -20
- package/dist/chunks/{form-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-m8eeppqn.js → location-service-map-gg0c0qt7.js} +24 -24
- package/dist/chunks/{form-zfe0ttmx.js → location-service-map-gk0e7dgm.js} +5 -5
- package/dist/chunks/{form-1ed2t66p.js → location-service-map-gp9g74ej.js} +4 -4
- package/dist/chunks/{form-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-tvkgnt5p.js → location-service-map-h4m0f94k.js} +5 -5
- package/dist/chunks/{form-ab603qg2.js → location-service-map-h5f6ggqy.js} +10 -10
- package/dist/chunks/{form-48wk2ymj.js → location-service-map-h66kq4ja.js} +10 -10
- package/dist/chunks/{form-44h5tttr.js → location-service-map-h6r3nrb9.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-s8zy8myc.js → location-service-map-hkfg6fzm.js} +5 -5
- package/dist/chunks/{form-jw5517n6.js → location-service-map-j237fm2y.js} +24 -24
- package/dist/chunks/{form-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{form-sqy4ahhk.js → location-service-map-j9ty9cws.js} +1 -1
- package/dist/chunks/{form-q3t37ft6.js → location-service-map-jexxy024.js} +3 -3
- package/dist/chunks/{form-8jgpxt85.js → location-service-map-jqw5f6af.js} +22 -22
- package/dist/chunks/{form-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
- package/dist/chunks/{form-fq0xkp38.js → location-service-map-k5h5c7q1.js} +37 -37
- package/dist/chunks/{form-ch1weyeb.js → location-service-map-k8f6en75.js} +11 -11
- package/dist/chunks/{form-fknhp1f0.js → location-service-map-ket9r42f.js} +18 -18
- package/dist/chunks/location-service-map-m18qmtz2.js +18 -0
- package/dist/chunks/{form-8rt04me1.js → location-service-map-m1shccce.js} +32 -32
- package/dist/chunks/{form-n9en70f3.js → location-service-map-m24y9wwb.js} +17 -17
- package/dist/chunks/{form-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-nkshrmvn.js → location-service-map-m3z1x1h0.js} +11 -11
- package/dist/chunks/{form-k9d40v1y.js → location-service-map-m6nec9qq.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-bt22nkjp.js → location-service-map-mfpnwtem.js} +7 -7
- package/dist/chunks/{form-mfqp6xfm.js → location-service-map-mfqp6xfm.js} +2 -2
- package/dist/chunks/{form-fjrjs8mz.js → location-service-map-mswzr7xn.js} +23 -23
- package/dist/chunks/{form-dq74agaf.js → location-service-map-mvav9bkw.js} +12 -12
- package/dist/chunks/{form-cmq39cwv.js → location-service-map-mvc34etw.js} +9 -9
- package/dist/chunks/{form-z4qtbdmm.js → location-service-map-myypamct.js} +33 -33
- package/dist/chunks/{form-12p30pv4.js → location-service-map-n2fjwnd6.js} +8 -8
- package/dist/chunks/{form-nxbft40j.js → location-service-map-n51zs5vf.js} +8 -8
- package/dist/chunks/{form-494w821z.js → location-service-map-npsqtpy7.js} +35 -35
- package/dist/chunks/{form-c4waf52n.js → location-service-map-nt81b04e.js} +20 -20
- package/dist/chunks/{form-5dj1xsep.js → location-service-map-ntx68rw5.js} +6 -6
- package/dist/chunks/{form-gsbffn1y.js → location-service-map-nwheqxjr.js} +30 -30
- package/dist/chunks/{form-zaancc48.js → location-service-map-ny2517wm.js} +21 -21
- package/dist/chunks/{form-mwez6v5w.js → location-service-map-ny2gagq3.js} +8 -8
- package/dist/chunks/location-service-map-p2zqjdg1.js +26 -0
- package/dist/chunks/{form-ennmqkeh.js → location-service-map-p8vkj1y5.js} +5 -5
- package/dist/chunks/{form-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{form-3aj4spyv.js → location-service-map-pkvp83aw.js} +18 -18
- package/dist/chunks/{form-qqbtwq91.js → location-service-map-pnd08bfh.js} +15 -15
- package/dist/chunks/{form-c2y24p2y.js → location-service-map-prgnye3a.js} +19 -19
- package/dist/chunks/{form-m7dsxs5s.js → location-service-map-psnz0b2m.js} +87 -87
- package/dist/chunks/{form-11pq52jb.js → location-service-map-pwqjnrnh.js} +3 -3
- package/dist/chunks/{form-w92k2e0p.js → location-service-map-py3kkmfq.js} +8 -8
- package/dist/chunks/{form-0gk8zhag.js → location-service-map-q0ez028y.js} +12 -12
- package/dist/chunks/{form-kskjmaqs.js → location-service-map-q9v0w4bd.js} +26 -26
- package/dist/chunks/{form-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{form-nyqx1cb3.js → location-service-map-qvreyy9g.js} +5 -5
- package/dist/chunks/{form-6aj1h6ge.js → location-service-map-r4k9ar4d.js} +9 -9
- package/dist/chunks/{form-yp2x3t23.js → location-service-map-r8xr0va3.js} +4 -4
- package/dist/chunks/{form-h71w788e.js → location-service-map-r9w3djhf.js} +9 -9
- package/dist/chunks/{form-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-d13kp6w9.js → location-service-map-rgm7mqtj.js} +17 -17
- package/dist/chunks/{form-f07zn61c.js → location-service-map-rh6g2sa8.js} +11 -11
- package/dist/chunks/{form-v8d44gfq.js → location-service-map-rhrfrnty.js} +43 -43
- package/dist/chunks/{form-za7gw4wk.js → location-service-map-s6m6nc9p.js} +6 -6
- package/dist/chunks/{form-x2awn7t1.js → location-service-map-s78dyy7j.js} +25 -25
- package/dist/chunks/{form-eaj1djv9.js → location-service-map-s8d7rejh.js} +6 -6
- package/dist/chunks/{form-38gc11f3.js → location-service-map-szeyyw6m.js} +33 -33
- package/dist/chunks/{form-wwaev9vd.js → location-service-map-t2kq1zb2.js} +70 -70
- package/dist/chunks/{form-14zkycxn.js → location-service-map-t30mswsp.js} +17 -17
- package/dist/chunks/{form-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{form-spbewqtm.js → location-service-map-te3fz92z.js} +9 -9
- package/dist/chunks/{form-m7eyfjrp.js → location-service-map-te77dbbn.js} +8 -8
- package/dist/chunks/{form-c8bydgjz.js → location-service-map-tegs1ycp.js} +6 -6
- package/dist/chunks/{form-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{form-v3zyw3t1.js → location-service-map-v7tjtnqr.js} +42 -42
- package/dist/chunks/{form-d3qk8e4k.js → location-service-map-vc0vj5dz.js} +18 -18
- package/dist/chunks/{form-8mhxxeg4.js → location-service-map-vcdwqy0t.js} +43 -43
- package/dist/chunks/{form-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{form-btbmdjwj.js → location-service-map-vfjhn2wd.js} +4 -4
- package/dist/chunks/{form-13bngj7t.js → location-service-map-vg14phsn.js} +26 -26
- package/dist/chunks/{form-rqcygfwd.js → location-service-map-vgkexb79.js} +8 -8
- package/dist/chunks/{form-3kj2denn.js → location-service-map-vhycsadx.js} +43 -43
- package/dist/chunks/{form-ma6xfzer.js → location-service-map-vp8cnahr.js} +18 -18
- package/dist/chunks/{form-qap0fdgx.js → location-service-map-vrp7sfj8.js} +28 -24
- package/dist/chunks/{form-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-fnf8k50s.js → location-service-map-w1rn1h1h.js} +10 -10
- package/dist/chunks/{form-gvke2z1d.js → location-service-map-w2qrtdv7.js} +22 -22
- package/dist/chunks/{form-trz9crgd.js → location-service-map-w3m67914.js} +44 -44
- package/dist/chunks/{form-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-a881zpfh.js → location-service-map-w8djw5a7.js} +9 -9
- package/dist/chunks/{form-p0m4nb5f.js → location-service-map-wb86x3ay.js} +1 -1
- package/dist/chunks/{form-psazpmmj.js → location-service-map-wd3x2cqz.js} +2 -2
- package/dist/chunks/{form-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{form-08p0mrxa.js → location-service-map-wk1rrwe6.js} +13 -13
- package/dist/chunks/{form-mbma4yh7.js → location-service-map-wn3c38y7.js} +13 -13
- package/dist/chunks/{form-140rqsbt.js → location-service-map-wnxpvc6c.js} +2 -2
- package/dist/chunks/{form-dntrgzg4.js → location-service-map-wt3nx885.js} +13 -13
- package/dist/chunks/{form-3e35s4mq.js → location-service-map-wxp0jyf7.js} +20 -20
- package/dist/chunks/{form-r9n1h5e1.js → location-service-map-wzrg2q53.js} +48 -48
- package/dist/chunks/{form-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-ywdjejdj.js → location-service-map-x1vt8hry.js} +10 -10
- package/dist/chunks/{form-rgy4pp43.js → location-service-map-x3v6tvna.js} +13 -13
- package/dist/chunks/{form-gdkt1bct.js → location-service-map-x5spkhqe.js} +25 -25
- package/dist/chunks/{form-19tft2ya.js → location-service-map-x7xg137b.js} +4 -4
- package/dist/chunks/{form-vaabtg8n.js → location-service-map-xdhfzwgn.js} +6 -6
- package/dist/chunks/{form-57b9ws8p.js → location-service-map-xfkkasph.js} +7 -7
- package/dist/chunks/{form-c0c64v71.js → location-service-map-xgjvnsnz.js} +10 -10
- package/dist/chunks/{form-kmmhwf5p.js → location-service-map-xmznkxks.js} +1 -1
- package/dist/chunks/{form-nmyrfs22.js → location-service-map-xqngxfdt.js} +176 -176
- package/dist/chunks/{form-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-r1659vap.js → location-service-map-y6bc7ytb.js} +18 -18
- package/dist/chunks/{form-0hdrvdsw.js → location-service-map-y6n8wcsw.js} +13 -13
- package/dist/chunks/{form-aeycry7f.js → location-service-map-y7d70cjs.js} +12 -12
- package/dist/chunks/{form-1vyzjnq9.js → location-service-map-yf10kn3d.js} +8 -8
- package/dist/chunks/{form-bm0j3psj.js → location-service-map-yffarvam.js} +16 -16
- package/dist/chunks/{form-qn4ba14w.js → location-service-map-yjptyezs.js} +5 -5
- package/dist/chunks/{form-tae84zs9.js → location-service-map-ykwb97px.js} +7 -7
- package/dist/chunks/{form-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{form-15znadw3.js → location-service-map-yvybj0e9.js} +91 -91
- package/dist/chunks/{form-kykdcbq0.js → location-service-map-yx96bawg.js} +56 -56
- package/dist/chunks/{form-bjtzbw4r.js → location-service-map-z07pqspn.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-347vaxex.js → location-service-map-z4vn3wja.js} +9 -9
- package/dist/chunks/{form-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{form-0gtbcy6a.js → location-service-map-z6k93gbd.js} +26 -26
- package/dist/chunks/{form-k89d419f.js → location-service-map-z8tmpf1c.js} +3 -3
- package/dist/chunks/{form-z8xsvp2p.js → location-service-map-z8tr7vps.js} +41 -41
- package/dist/chunks/{form-ymvhzfzq.js → location-service-map-z9m63e6h.js} +11 -11
- package/dist/chunks/{form-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +225 -225
- package/dist/project/schema.js +8 -8
- 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/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/tool/read-filesystem.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/form-54qy129q.js +0 -26
- package/dist/chunks/form-9zdhvgqs.js +0 -18
- package/dist/chunks/form-a59zsbk6.js +0 -507
- package/dist/chunks/form-ftpkz8yb.js +0 -252
- /package/dist/chunks/{form-0mesazry.js → location-service-map-0mesazry.js} +0 -0
- /package/dist/chunks/{form-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin28,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin28 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin28, exports_identity };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event18,
|
|
13
|
+
ID: () => ID15,
|
|
14
|
+
Info: () => Info31,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID15 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info31 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event18 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID15, Current3, Info31, UpdateInput4, Event18, Vcs3, exports_schema };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-pwqjnrnh.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service63,
|
|
17
|
+
node: () => node67
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service63.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service63, node67, exports_kv };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-d4vrvgq4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-x7xg137b.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./location-service-map-8ssbnkm6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-cn44awdn.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID13
|
|
20
|
+
} from "./location-service-map-m1shccce.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-2h8zcfyj.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID13.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID13.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./location-service-map-ddvvm6a9.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-rgm7mqtj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin21 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service77;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin21, exports_hg };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make16,
|
|
14
|
+
node: () => node54,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make16 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node54 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make16, RegistryService2, registry2, registryNode2, node54, exports_driver };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-xmznkxks.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-ntx68rw5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service53,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node58,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service53 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service53.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service53.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service53).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service53, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service53, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node58 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options9, Service53, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured10, node58, exports_watcher };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-pwqjnrnh.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service69.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID10, Info23, ListInput4, AddInput2, Service69, node73, exports_saved };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node78, exports_hooks };
|