@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,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: () => Info30,
|
|
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 Info30 = 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, Info30, UpdateInput4, Event18, Vcs3, exports_schema };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./location-service-map-7zdm33ac.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node78
|
|
14
|
+
} from "./location-service-map-01p65wz6.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID7,
|
|
27
27
|
Service: () => Service54,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node60,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID7 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
@@ -47,9 +47,9 @@ class Service54 extends Context.Service()("@opencode/Snapshot") {
|
|
|
47
47
|
}
|
|
48
48
|
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service75;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service73;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID7.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
136
|
return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
138
|
+
var node60 = makeLocationNode({
|
|
139
139
|
service: Service54,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service54, Service54.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error4({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID7, Error4, Service54, node60, noopLayer2, exports_snapshot2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./location-service-map-ek11p338.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service40
|
|
8
|
+
} from "./location-service-map-s6tekys1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-jexxy024.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./location-service-map-vvpv9ns1.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service64
|
|
18
|
+
} from "./location-service-map-k8snxye3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service23
|
|
21
|
+
} from "./location-service-map-5kvfrgqq.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./location-service-map-pms7pbs7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Output: () => Output8,
|
|
37
|
+
Plugin: () => Plugin44,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description5,
|
|
40
|
+
name: () => name12
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name12 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input12 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input6 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output8 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description5 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description2 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin44 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service23;
|
|
84
|
+
const jobs = yield* Service62;
|
|
85
|
+
const agents = yield* Service67;
|
|
86
|
+
const config = yield* Service40;
|
|
87
|
+
const permission = yield* Service64;
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name12,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description5,
|
|
93
|
+
input: Input12,
|
|
94
|
+
output: Output8,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin25 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name12,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin25 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID10.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name12];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name12, Input12, Output8, description5, Plugin44, exports_subagent };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./location-service-map-7g49kwy5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event13,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service51,
|
|
31
|
+
configured: () => configured11,
|
|
32
|
+
layer: () => layer21,
|
|
33
|
+
node: () => node57
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event13 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service51 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer21 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service78;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event13.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service51.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service51,
|
|
110
|
+
layer: layer21(options),
|
|
111
|
+
deps: [node83]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node57 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event13, Options10, Service51, layer21, configured11, node57, exports_instruction_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./location-service-map-01p65wz6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service73;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-paphc93g.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
16
|
Options: () => Options7,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service41,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node45,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -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(load2());
|
|
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service41 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 layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service41.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 layer21 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service41.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(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service41).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(Service41, 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 configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service41, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node45 = configured6();
|
|
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, Options7, Service41, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured6, node45, exports_watcher };
|