@opencode/core 0.0.0-dev-19406 → 0.0.0-dev-19411
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{workspace-sm6980w8.js → location-service-map-01p65wz6.js} +16 -16
- package/dist/chunks/{workspace-48qrq2th.js → location-service-map-06d6k2sv.js} +13 -13
- package/dist/chunks/{workspace-k3s1wnxs.js → location-service-map-0bj24kwh.js} +18 -18
- package/dist/chunks/{workspace-scg96trk.js → location-service-map-0ejp64q8.js} +17 -17
- package/dist/chunks/{workspace-hkfg6fzm.js → location-service-map-0f9afca0.js} +5 -5
- package/dist/chunks/{workspace-ktdx9tqj.js → location-service-map-0j1nk8fm.js} +18 -18
- package/dist/chunks/{workspace-0jwsre1p.js → location-service-map-0jwsre1p.js} +1 -1
- package/dist/chunks/{workspace-d9sn21bc.js → location-service-map-0nm12y21.js} +2 -2
- package/dist/chunks/{workspace-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-6c6d27ky.js → location-service-map-0scfkq5x.js} +25 -25
- package/dist/chunks/{workspace-4brkry6z.js → location-service-map-16hqy22p.js} +7 -7
- package/dist/chunks/{workspace-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/location-service-map-1g9fyxr5.js +22 -0
- package/dist/chunks/{workspace-7d6jfxsy.js → location-service-map-1h9pan1v.js} +20 -20
- package/dist/chunks/{workspace-48vm7pvj.js → location-service-map-1htcdqw7.js} +16 -16
- package/dist/chunks/{workspace-rpb40cdh.js → location-service-map-1j3gw5vb.js} +11 -11
- package/dist/chunks/{workspace-j2e3vmqt.js → location-service-map-1wb39082.js} +15 -15
- package/dist/chunks/{workspace-56gdpj1q.js → location-service-map-1ygqh575.js} +9 -9
- package/dist/chunks/{workspace-we9gybbj.js → location-service-map-21qsgb56.js} +10 -10
- package/dist/chunks/{workspace-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/location-service-map-23r6rywa.js +462 -0
- package/dist/chunks/{workspace-772n9qp6.js → location-service-map-29zj8nk3.js} +2 -2
- package/dist/chunks/{workspace-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-6f71wzny.js → location-service-map-2kbv6083.js} +21 -21
- package/dist/chunks/{workspace-fyjrpq2n.js → location-service-map-2m8nxcnz.js} +5 -5
- package/dist/chunks/{workspace-acdf9wey.js → location-service-map-2sj0mhkh.js} +20 -20
- package/dist/chunks/{workspace-zgh2pzwp.js → location-service-map-2w88qe7q.js} +7 -7
- package/dist/chunks/{workspace-jx36ppfv.js → location-service-map-2y1k1gba.js} +4 -4
- package/dist/chunks/{workspace-fvev15ye.js → location-service-map-34j7emw3.js} +13 -13
- package/dist/chunks/{workspace-9wbxqmjz.js → location-service-map-388v9ggf.js} +28 -28
- package/dist/chunks/{workspace-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3j1hp0ty.js → location-service-map-3m5y0en8.js} +32 -32
- package/dist/chunks/{workspace-2q352txm.js → location-service-map-3nxsbkd6.js} +46 -46
- package/dist/chunks/{workspace-gqay82r3.js → location-service-map-3skmj079.js} +11 -11
- package/dist/chunks/{workspace-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-6kkm1vms.js → location-service-map-3ywqk9m6.js} +32 -32
- package/dist/chunks/{workspace-ybpsbgjn.js → location-service-map-3zyxpmjt.js} +10 -10
- package/dist/chunks/{workspace-yrejkez5.js → location-service-map-41makasq.js} +5 -5
- package/dist/chunks/{workspace-08va5z8e.js → location-service-map-435pvmfy.js} +44 -44
- package/dist/chunks/{workspace-0df1zyj6.js → location-service-map-48d3jmrj.js} +59 -59
- package/dist/chunks/{workspace-x4f7xa08.js → location-service-map-4a0pdbth.js} +8 -8
- package/dist/chunks/{workspace-r2c1v5cs.js → location-service-map-4e4kessa.js} +11 -11
- package/dist/chunks/{workspace-1hfvq3hk.js → location-service-map-4hfexcc2.js} +9 -9
- package/dist/chunks/{workspace-qfzde7bh.js → location-service-map-4m2pmvxz.js} +6 -6
- package/dist/chunks/{workspace-zjp7g5zn.js → location-service-map-4rnenmp1.js} +35 -35
- package/dist/chunks/{workspace-1agm07vn.js → location-service-map-4ze8r4x4.js} +4 -4
- package/dist/chunks/{workspace-yaw72qpm.js → location-service-map-56dfxjhd.js} +18 -18
- package/dist/chunks/{workspace-paegk39x.js → location-service-map-5c0f1prt.js} +4 -4
- package/dist/chunks/{workspace-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-xfmmbppy.js → location-service-map-5fk020e8.js} +20 -20
- package/dist/chunks/{workspace-1k8a3rj6.js → location-service-map-5kvfrgqq.js} +93 -93
- package/dist/chunks/{workspace-a5bp1xck.js → location-service-map-5qampah2.js} +8 -8
- package/dist/chunks/{workspace-pazbjste.js → location-service-map-5s846xnq.js} +9 -9
- package/dist/chunks/{workspace-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-ks28khcp.js → location-service-map-5tew0ahy.js} +32 -32
- package/dist/chunks/{workspace-nfgy6v4x.js → location-service-map-5z3bszm1.js} +8 -8
- package/dist/chunks/{workspace-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{workspace-zgpjdkre.js → location-service-map-6bfjnmts.js} +28 -28
- package/dist/chunks/{workspace-dcvqdecp.js → location-service-map-6bhxam6g.js} +4 -4
- package/dist/chunks/{workspace-75my1bc5.js → location-service-map-6cd6tdvt.js} +6 -6
- package/dist/chunks/{workspace-17x03v7d.js → location-service-map-6ctw931a.js} +17 -17
- package/dist/chunks/{workspace-wyp518qd.js → location-service-map-6f5ttahn.js} +32 -32
- package/dist/chunks/{workspace-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
- package/dist/chunks/{workspace-c8266qxr.js → location-service-map-6jqkynh6.js} +14 -14
- package/dist/chunks/location-service-map-6kdq0pjd.js +4 -0
- package/dist/chunks/{workspace-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-yd1p1r8q.js → location-service-map-6q2ygfvt.js} +91 -91
- package/dist/chunks/{workspace-av8gdzmj.js → location-service-map-6x8d9r7z.js} +19 -19
- package/dist/chunks/{workspace-ncyvmtt2.js → location-service-map-6ygqctmj.js} +17 -17
- package/dist/chunks/{workspace-j4w9fnyz.js → location-service-map-6zbjj1z9.js} +6 -6
- package/dist/chunks/{workspace-hww6a8kv.js → location-service-map-70gh47fw.js} +16 -16
- package/dist/chunks/{workspace-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{workspace-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-beamfkq3.js → location-service-map-7g49kwy5.js} +16 -16
- package/dist/chunks/{workspace-prdj2v50.js → location-service-map-7h0en3hk.js} +5 -5
- package/dist/chunks/{workspace-9xw3tj2y.js → location-service-map-7mvbw8ws.js} +11 -11
- package/dist/chunks/{workspace-1eyaby9q.js → location-service-map-7sdps93t.js} +5 -5
- package/dist/chunks/{workspace-jefma2gq.js → location-service-map-7zdm33ac.js} +10 -10
- package/dist/chunks/{workspace-2hyh68ab.js → location-service-map-844ef7ks.js} +8 -8
- package/dist/chunks/{workspace-bn5b4a4k.js → location-service-map-86rhggpc.js} +14 -14
- package/dist/chunks/{workspace-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-pcyx20k3.js → location-service-map-8dt54qxk.js} +24 -24
- package/dist/chunks/{workspace-fsyg4b4p.js → location-service-map-8fye2tcx.js} +9 -9
- package/dist/chunks/{workspace-3wnr7h3v.js → location-service-map-8hb18wxv.js} +30 -30
- package/dist/chunks/{workspace-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-gdvq22q3.js → location-service-map-91tp1xfa.js} +10 -10
- package/dist/chunks/{workspace-anadqz16.js → location-service-map-941xxfb4.js} +15 -15
- package/dist/chunks/{workspace-hggyschk.js → location-service-map-96yt6zt0.js} +1 -1
- package/dist/chunks/{workspace-6m75b8cv.js → location-service-map-9ecg8qvc.js} +5 -5
- package/dist/chunks/{workspace-rbfxpsrk.js → location-service-map-9h69x5vk.js} +13 -13
- package/dist/chunks/{workspace-v2dqap2x.js → location-service-map-9qq1jfny.js} +11 -11
- package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
- package/dist/chunks/{workspace-z7th72fz.js → location-service-map-9x4p09wd.js} +37 -37
- package/dist/chunks/{workspace-vcm9nwkf.js → location-service-map-9yhzq78q.js} +28 -28
- package/dist/chunks/{workspace-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-j9987dbw.js → location-service-map-a3g94e75.js} +17 -17
- package/dist/chunks/{workspace-42z94ejy.js → location-service-map-a4455mjt.js} +8 -8
- package/dist/chunks/{workspace-jw80jp6b.js → location-service-map-a8bn8zg0.js} +4 -4
- package/dist/chunks/{workspace-h2r7bbkd.js → location-service-map-a8zr1srk.js} +8 -8
- package/dist/chunks/{workspace-ade7nb1r.js → location-service-map-aaa4d55n.js} +18 -18
- package/dist/chunks/{workspace-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-rybesq9t.js → location-service-map-abthsg09.js} +16 -16
- package/dist/chunks/{workspace-hn57h045.js → location-service-map-afdssyjb.js} +4 -4
- package/dist/chunks/{workspace-b2wde7ay.js → location-service-map-b11w0axe.js} +15 -15
- package/dist/chunks/{workspace-qyyvm09j.js → location-service-map-b2bydtjm.js} +8 -8
- package/dist/chunks/{workspace-w79zsp0s.js → location-service-map-b3t12aqp.js} +1 -1
- package/dist/chunks/{workspace-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-k8e0krnc.js → location-service-map-c576t1j6.js} +6 -6
- package/dist/chunks/{workspace-evbgk2k8.js → location-service-map-c78bbtc9.js} +5 -5
- package/dist/chunks/{workspace-7xpb4b38.js → location-service-map-c7b3nqtq.js} +9 -9
- package/dist/chunks/{workspace-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-zwhke550.js → location-service-map-ckq0dq5k.js} +37 -37
- package/dist/chunks/{workspace-1n9v4yht.js → location-service-map-cqamk86d.js} +3 -3
- package/dist/chunks/{workspace-47z782k9.js → location-service-map-cs61nvka.js} +18 -18
- package/dist/chunks/{workspace-swa700vz.js → location-service-map-cwx43p47.js} +22 -22
- package/dist/chunks/{workspace-qwkytnft.js → location-service-map-d3j2qqy4.js} +6 -6
- package/dist/chunks/{workspace-81swgkk7.js → location-service-map-d67aqa6n.js} +9 -9
- package/dist/chunks/{workspace-gjg21rfc.js → location-service-map-dd0p5wnw.js} +28 -28
- package/dist/chunks/{workspace-zkdt6a6d.js → location-service-map-dg89zhc6.js} +41 -41
- package/dist/chunks/{workspace-564nwv9t.js → location-service-map-djkss86x.js} +28 -28
- package/dist/chunks/{workspace-25z0xxdg.js → location-service-map-dkzspkr0.js} +10 -10
- package/dist/chunks/{workspace-rf48fc3z.js → location-service-map-dq8zcm55.js} +20 -20
- package/dist/chunks/{workspace-e6jfrte4.js → location-service-map-dt11njbd.js} +20 -20
- package/dist/chunks/{workspace-rvbs1y5m.js → location-service-map-dzetj10f.js} +16 -16
- package/dist/chunks/{workspace-5va42dqn.js → location-service-map-ejcsa0er.js} +7 -7
- package/dist/chunks/{workspace-yxse6n4e.js → location-service-map-ek11p338.js} +24 -24
- package/dist/chunks/{workspace-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-tb3qt4de.js → location-service-map-ez0hnnpg.js} +32 -32
- package/dist/chunks/{workspace-2d4astz3.js → location-service-map-f0jbk8jb.js} +15 -15
- package/dist/chunks/{workspace-q1hq4vqk.js → location-service-map-f2wxj98d.js} +18 -18
- package/dist/chunks/{workspace-xaj3yemm.js → location-service-map-f74az5c1.js} +6 -6
- package/dist/chunks/{workspace-f828m53h.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-sczgc2a3.js → location-service-map-f8q7mv7a.js} +1 -1
- package/dist/chunks/{workspace-wvmwf5r3.js → location-service-map-fedgjxw2.js} +35 -35
- package/dist/chunks/{workspace-aan3cyfv.js → location-service-map-fgh0kbhd.js} +1 -1
- package/dist/chunks/{workspace-t0x5rdq8.js → location-service-map-fjmrr6sh.js} +9 -9
- package/dist/chunks/{workspace-35agz59w.js → location-service-map-fvanntqq.js} +5 -5
- package/dist/chunks/{workspace-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-ns261efr.js → location-service-map-fygdb7h7.js} +3 -3
- package/dist/chunks/{workspace-a0z4fccy.js → location-service-map-g631ehbd.js} +4 -4
- package/dist/chunks/{workspace-svjbpvc0.js → location-service-map-g75qr6ta.js} +26 -26
- package/dist/chunks/{workspace-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-bv56xrks.js → location-service-map-gj9xpvv3.js} +6 -6
- package/dist/chunks/{workspace-k2v8w9sh.js → location-service-map-grfv6ppc.js} +17 -17
- package/dist/chunks/{workspace-xekzrwwc.js → location-service-map-gsx0ryk4.js} +9 -9
- package/dist/chunks/{workspace-aam5c1df.js → location-service-map-gt296ajv.js} +41 -41
- package/dist/chunks/{workspace-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-21kgkeg9.js → location-service-map-h9nbds67.js} +9 -9
- package/dist/chunks/{workspace-bha4atvq.js → location-service-map-hfdr1yjj.js} +4 -4
- package/dist/chunks/{workspace-yjptyezs.js → location-service-map-hnr5yq9h.js} +5 -5
- package/dist/chunks/{workspace-rw0gxka2.js → location-service-map-hrkgfcax.js} +16 -16
- package/dist/chunks/{workspace-gbze51rp.js → location-service-map-j3rsgqd3.js} +40 -40
- package/dist/chunks/{workspace-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-00yj64tw.js → location-service-map-j7prjnjt.js} +5 -5
- package/dist/chunks/{workspace-0c2368v0.js → location-service-map-japjevg9.js} +26 -26
- package/dist/chunks/{workspace-mpd5qf4j.js → location-service-map-jdrh1tb9.js} +36 -36
- package/dist/chunks/{workspace-j7wq2tw5.js → location-service-map-jexxy024.js} +3 -3
- package/dist/chunks/{workspace-19p34cwj.js → location-service-map-jh6qknby.js} +9 -9
- package/dist/chunks/{workspace-hs7fbk9e.js → location-service-map-jjmtff00.js} +12 -12
- package/dist/chunks/{workspace-5xyecbgy.js → location-service-map-jk9pjw5g.js} +32 -32
- package/dist/chunks/{workspace-qnnfhh99.js → location-service-map-jv2a9yhk.js} +14 -14
- package/dist/chunks/{workspace-52vrzpkh.js → location-service-map-jwx4y25k.js} +9 -9
- package/dist/chunks/{workspace-zbt061zt.js → location-service-map-jy403fjy.js} +24 -24
- package/dist/chunks/{workspace-fb6ja2y4.js → location-service-map-k16ay38w.js} +1 -1
- package/dist/chunks/{workspace-y0n2m4xg.js → location-service-map-k52252t7.js} +4 -4
- package/dist/chunks/{workspace-ky29xcn8.js → location-service-map-k5yc666g.js} +28 -28
- package/dist/chunks/{workspace-vw4rsjqf.js → location-service-map-k8snxye3.js} +57 -57
- package/dist/chunks/{workspace-tmv3vrbh.js → location-service-map-kertznk7.js} +9 -9
- package/dist/chunks/{workspace-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-260nsw4w.js → location-service-map-khhrtqdj.js} +15 -15
- package/dist/chunks/{workspace-t07nr89d.js → location-service-map-kk74q4k4.js} +15 -15
- package/dist/chunks/{workspace-r0vgb2sm.js → location-service-map-ksz0h0wp.js} +1 -1
- package/dist/chunks/{workspace-671axw96.js → location-service-map-kttq4sa3.js} +25 -25
- package/dist/chunks/{workspace-63c29q5z.js → location-service-map-m27pyyd3.js} +8 -8
- package/dist/chunks/{workspace-rtathh62.js → location-service-map-m3zza4qd.js} +8 -8
- package/dist/chunks/{workspace-98cg5nke.js → location-service-map-m8yqs7k0.js} +67 -67
- package/dist/chunks/{workspace-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-w8ssx6tw.js → location-service-map-md2mjq57.js} +4 -4
- package/dist/chunks/{workspace-mvfsc1pv.js → location-service-map-mhkvc446.js} +3 -3
- package/dist/chunks/{workspace-mkcjrzeh.js → location-service-map-mkcjrzeh.js} +1 -1
- package/dist/chunks/{workspace-mnvzjba7.js → location-service-map-mkj5wxw2.js} +43 -43
- package/dist/chunks/{workspace-0f5r6y21.js → location-service-map-ms1c6w5t.js} +13 -13
- package/dist/chunks/{workspace-0mvrzs3q.js → location-service-map-msvc9xvg.js} +27 -27
- package/dist/chunks/{workspace-q0syr9ta.js → location-service-map-mtp4y8rp.js} +14 -14
- package/dist/chunks/{workspace-87deq66t.js → location-service-map-my4qt5ka.js} +8 -8
- package/dist/chunks/{workspace-kc6m6sz4.js → location-service-map-my970cy4.js} +16 -16
- package/dist/chunks/{workspace-qnbyzqhb.js → location-service-map-mz9bf9p8.js} +31 -31
- package/dist/chunks/{workspace-90h7kwk9.js → location-service-map-n76fdqym.js} +5 -5
- package/dist/chunks/{workspace-j8qeg2b0.js → location-service-map-n7mwft18.js} +28 -28
- package/dist/chunks/{workspace-gpw9wb7z.js → location-service-map-ndwy16me.js} +29 -29
- package/dist/chunks/{workspace-hjt4xg1x.js → location-service-map-nhy5jxhy.js} +4 -4
- package/dist/chunks/{workspace-yjgcx94j.js → location-service-map-p6qm4e2m.js} +12 -12
- package/dist/chunks/location-service-map-pamccwr5.js +247 -0
- package/dist/chunks/{workspace-11f5ey5t.js → location-service-map-pfw9f0az.js} +9 -9
- package/dist/chunks/{workspace-rnwhwxkr.js → location-service-map-pj3035kn.js} +11 -11
- package/dist/chunks/{workspace-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-wycsdkc3.js → location-service-map-pkkwwmgt.js} +11 -11
- package/dist/chunks/{workspace-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-th7rxwpk.js → location-service-map-pms7pbs7.js} +11 -11
- package/dist/chunks/{workspace-5n23cvdt.js → location-service-map-pyra53hk.js} +23 -23
- package/dist/chunks/{workspace-w3c11q9a.js → location-service-map-q254dnr3.js} +29 -29
- package/dist/chunks/{workspace-8sghyhzw.js → location-service-map-q280h65c.js} +8 -8
- package/dist/chunks/{workspace-2nfnt4ye.js → location-service-map-q35hfxt0.js} +37 -37
- package/dist/chunks/{workspace-hxbwkwf2.js → location-service-map-qb1d5ec8.js} +44 -44
- package/dist/chunks/{workspace-pbrpfg1g.js → location-service-map-qg6hqsrz.js} +18 -18
- package/dist/chunks/{workspace-xyvg2pqc.js → location-service-map-qp17mr4w.js} +28 -28
- package/dist/chunks/{workspace-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-nyc7jxxp.js → location-service-map-qtk1vx6q.js} +37 -37
- package/dist/chunks/{workspace-7f86n5vp.js → location-service-map-r5pjmabx.js} +8 -8
- package/dist/chunks/{workspace-1acjjqhc.js → location-service-map-r8xr0va3.js} +4 -4
- package/dist/chunks/{workspace-xep7y6dg.js → location-service-map-r9babyk8.js} +1 -1
- package/dist/chunks/{workspace-jfqtm2ew.js → location-service-map-ratrq7cm.js} +4 -4
- package/dist/chunks/{workspace-xb38tjbm.js → location-service-map-rk90c5b4.js} +27 -27
- package/dist/chunks/{workspace-zg7z3sgq.js → location-service-map-rvv61nyv.js} +36 -36
- package/dist/chunks/{workspace-1a6tnz5m.js → location-service-map-s5apqtmf.js} +6 -6
- package/dist/chunks/{workspace-hhvjvf8g.js → location-service-map-s6t52pfj.js} +4 -4
- package/dist/chunks/{workspace-qp21pdsm.js → location-service-map-s6tekys1.js} +44 -44
- package/dist/chunks/{workspace-jwdv4y1w.js → location-service-map-s89z72k4.js} +11 -11
- package/dist/chunks/{workspace-eaj1djv9.js → location-service-map-s8d7rejh.js} +6 -6
- package/dist/chunks/{workspace-9hvf7zmn.js → location-service-map-shvbt0rk.js} +9 -9
- package/dist/chunks/{workspace-q6xe9kp6.js → location-service-map-sn599rg4.js} +24 -24
- package/dist/chunks/{workspace-9ex8f1cq.js → location-service-map-sp5zyyma.js} +8 -8
- package/dist/chunks/{workspace-vncycja5.js → location-service-map-sx1n432n.js} +4 -4
- package/dist/chunks/{workspace-mn4xswwv.js → location-service-map-sxy0ygpf.js} +26 -26
- package/dist/chunks/{workspace-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
- package/dist/chunks/{workspace-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-szqt16bj.js → location-service-map-tg4h8q13.js} +2 -2
- package/dist/chunks/{workspace-ftsj9eb4.js → location-service-map-tnf3mp9t.js} +17 -17
- package/dist/chunks/{workspace-cxssh81s.js → location-service-map-tnykvtv7.js} +3 -3
- package/dist/chunks/{workspace-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-e9z75ypz.js → location-service-map-vav7xn8m.js} +13 -13
- package/dist/chunks/{workspace-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-bnf2jjvk.js → location-service-map-vjj0v91m.js} +15 -15
- package/dist/chunks/{workspace-r97fj8kj.js → location-service-map-vt5gy8cw.js} +27 -25
- package/dist/chunks/{workspace-cxqtyqa4.js → location-service-map-vty6n0wh.js} +30 -30
- package/dist/chunks/{workspace-qs1x3754.js → location-service-map-vvpv9ns1.js} +17 -17
- package/dist/chunks/{workspace-6h5kb07x.js → location-service-map-vwwev676.js} +20 -20
- package/dist/chunks/{workspace-6jgmv1yx.js → location-service-map-vwwr1smn.js} +13 -13
- package/dist/chunks/{workspace-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-x6cge8hj.js → location-service-map-vzde6xyn.js} +11 -11
- package/dist/chunks/{workspace-60swyqgb.js → location-service-map-w2qts10m.js} +6 -6
- package/dist/chunks/{workspace-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-c30fjtmk.js → location-service-map-w7dehz3m.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-nm95p8zp.js → location-service-map-wh6fjzrx.js} +6 -6
- package/dist/chunks/{workspace-k6hm1c4z.js → location-service-map-wz2t62v3.js} +19 -19
- package/dist/chunks/{workspace-br1eash1.js → location-service-map-wz951ncz.js} +22 -22
- package/dist/chunks/{workspace-18e56dsp.js → location-service-map-x0511brf.js} +4 -4
- package/dist/chunks/{workspace-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-jwef205w.js → location-service-map-x3nsqd1m.js} +10 -10
- package/dist/chunks/{workspace-x43y2vfs.js → location-service-map-x43y2vfs.js} +2 -2
- package/dist/chunks/{workspace-w2tqht5n.js → location-service-map-x9v2dh4x.js} +3 -3
- package/dist/chunks/{workspace-9shdk57a.js → location-service-map-xgsctnpj.js} +51 -51
- package/dist/chunks/{workspace-31japxcc.js → location-service-map-xqwexc54.js} +27 -27
- package/dist/chunks/{workspace-g47eftgs.js → location-service-map-xrmecj4h.js} +9 -9
- package/dist/chunks/{workspace-4knw0yd9.js → location-service-map-y0cz2y4y.js} +43 -43
- package/dist/chunks/{workspace-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-y71avatq.js → location-service-map-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-j2qyabf0.js → location-service-map-yam1kpwt.js} +36 -36
- package/dist/chunks/{workspace-xrnzdda7.js → location-service-map-yg5z348j.js} +25 -25
- package/dist/chunks/{workspace-2atctz6s.js → location-service-map-ygrvqt5w.js} +167 -167
- package/dist/chunks/{workspace-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-5nrew705.js → location-service-map-z2qbjhyn.js} +5 -5
- package/dist/chunks/{workspace-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-62jy5cfr.js → location-service-map-z69s9t6b.js} +5 -5
- package/dist/chunks/{workspace-r6fr6xhv.js → location-service-map-zbf6p4c7.js} +19 -18
- package/dist/chunks/{workspace-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-26hypp0s.js → location-service-map-zjpkrprg.js} +35 -35
- package/dist/chunks/{workspace-saahjfzz.js → location-service-map-zqk2wx4m.js} +7 -7
- package/dist/chunks/{workspace-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-behfe7zr.js → location-service-map-zz9j5mn1.js} +4 -4
- package/dist/chunks/{workspace-gha35mp7.js → location-service-map-zzmg2a8m.js} +53 -53
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -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 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +72 -72
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +3 -3
- 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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/workspace-0mesazry.js +0 -4
- package/dist/chunks/workspace-8g1qq46z.js +0 -247
- package/dist/chunks/workspace-by5v678g.js +0 -18
- package/dist/chunks/workspace-dx1xsamq.js +0 -462
- package/dist/chunks/workspace-mbnhm94y.js +0 -22
- /package/dist/chunks/{workspace-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → location-service-map-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-6bfjnmts.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID5.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID13
|
|
7
|
+
} from "./location-service-map-jjmtff00.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID13.make("gpt-5-chat-latest"), ID13.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-service-map-7g49kwy5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event20,
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./location-service-map-4rnenmp1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service41,
|
|
12
|
+
node45
|
|
13
|
+
} from "./location-service-map-dq8zcm55.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node78
|
|
20
|
+
} from "./location-service-map-01p65wz6.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-sn599rg4.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-dkzspkr0.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service42,
|
|
36
36
|
Event10,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node46
|
|
38
|
+
} from "./location-service-map-hrkgfcax.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options5,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service40,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node44,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options5 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service40 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service40, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service73;
|
|
100
|
+
const watcher = yield* Service41;
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const credentials = yield* Service77;
|
|
103
|
+
const wellknown = yield* Service42;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,7 +223,7 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
@@ -235,20 +235,20 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service40.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured5(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service40,
|
|
248
|
+
layer: layer17(options),
|
|
249
|
+
deps: [node45, node83, FSUtil.node, Global.node, node78, node82, node46]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node44 = configured5();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options5,
|
|
254
|
+
export { latest2, Options5, Service40, Test2, testLayer2, layer17, configured5, node44, exports_config };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-pj3035kn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./location-service-map-4rnenmp1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-mz9bf9p8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID18
|
|
14
|
+
} from "./location-service-map-m27pyyd3.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service77;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-service-map-4m2pmvxz.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-d3j2qqy4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service37
|
|
12
|
+
} from "./location-service-map-6bfjnmts.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service60;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./location-service-map-a8zr1srk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./location-service-map-c78bbtc9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./location-service-map-ratrq7cm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info13
|
|
18
|
+
} from "./location-service-map-0f9afca0.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./location-service-map-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info9
|
|
27
|
+
} from "./location-service-map-gt296ajv.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-service-map-g631ehbd.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info13, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service39,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service39, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service39.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service47, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node43 = makeGlobalNode({ service: Service39, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service39, node43, exports_environment };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_skills };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-service-map-ndwy16me.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./location-service-map-k8snxye3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./location-service-map-g75qr6ta.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin41,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin41 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service64;
|
|
53
|
+
const forms = yield* Service76;
|
|
54
|
+
const websearch = yield* Service18;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name9, NO_RESULTS2, description3, Input9, Plugin41, exports_websearch2 };
|