Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T04:38:30.687Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

register_app_scheme.rs

17 lines · 467 B · rust
1use gpui::{AsyncApp, actions};
2use release_channel::ReleaseChannel;
3
4actions!(
5    cli,
6    [
7        /// Registers the current Omega URL scheme handler.
8        #[action(deprecated_aliases = ["cli::RegisterZedScheme"])]
9        RegisterAppScheme
10    ]
11);
12
13pub async fn register_app_scheme(cx: &AsyncApp) -> anyhow::Result<()> {
14    let scheme = cx.update(|cx| ReleaseChannel::global(cx).protocol_scheme());
15    cx.update(|cx| cx.register_url_scheme(scheme)).await
16}
17
Served at tenant.openagents/omega Member data and write actions are omitted.