Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
export type BillingSettingsIdentity = {
mode: 'signed-out' | 'local' | 'cloud';
membershipKind: 'personal' | 'org' | null;
};
export function canAccessBillingSettings(identity: BillingSettingsIdentity): boolean {
return identity.mode === 'cloud' && identity.membershipKind === 'personal';
}