Add image-designer skill, align billing to DeepSeek ×1, and enrich Plaza demo.
Introduce AI image generation with chat shortcut and agent API, improve MindSpace chat-to-page save resolution, and seed Plaza covers with production deploy scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+5
-4
@@ -272,14 +272,15 @@ export async function checkAuth(): Promise<AuthStatus> {
|
||||
if (!response.ok) return { authenticated: false };
|
||||
const status = (await response.json()) as AuthStatus;
|
||||
if (status.authenticated) resetUnauthorizedGuard();
|
||||
if (status.authenticated && status.mode === 'user' && !status.capabilities) {
|
||||
if (status.authenticated && status.mode === 'user') {
|
||||
try {
|
||||
const me = await getMe();
|
||||
return {
|
||||
...status,
|
||||
capabilities: me.capabilities,
|
||||
grantedSkills: me.grantedSkills,
|
||||
user: me.user,
|
||||
user: me.user ?? status.user,
|
||||
capabilities: me.capabilities ?? status.capabilities,
|
||||
grantedSkills: me.grantedSkills ?? status.grantedSkills,
|
||||
unrestricted: me.unrestricted ?? status.unrestricted,
|
||||
};
|
||||
} catch {
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user