feat: introduce Rig agent runtime migration

This commit is contained in:
2026-08-04 02:15:18 -05:00
parent d9cf0d8ae3
commit 4c7270db8d
39 changed files with 2551 additions and 211 deletions
@@ -214,6 +214,14 @@ impl AuthSession {
&self,
token: FirebaseToken,
) -> BoxFuture<'static, StdResult<FirebaseAuthTokens, UserAuthenticationError>> {
if !ChannelState::channel().allows_warp_service_egress() {
return Box::pin(async {
Err(UserAuthenticationError::Unexpected(anyhow::anyhow!(
"Warp authentication is disabled in this local-only build"
)))
});
}
let client = self.client.clone();
Box::pin(async move {
let firebase_api_key = ChannelState::firebase_api_key();