import type { AuthApi } from '@astrale-os/sdk/auth' import { useIdentityBinding } from './act-as.context.js' /** The exact Client Auth capability for the effective subtree principal. */ export function useAuth(): AuthApi { return useIdentityBinding().kernel.auth }