🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🔨 chore(auth): add Plus, Pro and Max to the dev quick-login buttons (#22764)
YuTengjingc7665a5627ce
diff --git a/src/features/Auth/SignIn/DevSeedSignIn.tsx b/src/features/Auth/SignIn/DevSeedSignIn.tsxindex 103bfbf26d4..85d33f63d1c 100644--- a/src/features/Auth/SignIn/DevSeedSignIn.tsx+++ b/src/features/Auth/SignIn/DevSeedSignIn.tsx@@ -5,6 +5,15 @@ import { memo, useEffect, useState } from 'react';const SEED_SIGN_IN_PATH = '/api/dev/seed-sign-in';+/** Seeded runtime accounts, one per plan, in the order the buttons render. */+const SEED_ACCOUNTS = [+ { account: 'ultimate', label: 'Ultimate' },+ { account: 'free', label: 'Free' },+ { account: 'plus', label: 'Plus' },+ { account: 'pro', label: 'Pro' },+ { account: 'max', label: 'Max' },+] as const;+/*** Dev-only quick login for the seeded runtime accounts (see the cloud* `dev:runtime` tooling). Renders nothing unless the backend exposes the@@ -33,8 +42,8 @@ const DevSeedSignIn = memo(() => {<Text fontSize={12} type={'secondary'}>Dev quick login</Text>- <Flexbox horizontal gap={8}>- {(['ultimate', 'free'] as const).map((account) => (+ <Flexbox horizontal gap={8} justify={'center'} wrap={'wrap'}>+ {SEED_ACCOUNTS.map(({ account, label }) => (<Buttonkey={account}size={'small'}@@ -51,7 +60,7 @@ const DevSeedSignIn = memo(() => {window.location.assign(target.href);}}>- {account === 'ultimate' ? 'Ultimate' : 'Free'}+ {label}</Button>))}</Flexbox>