@lobehub/lobehub 2.0.0-next.307 → 2.0.0-next.309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +58 -0
- package/changelog/v1.json +21 -0
- package/locales/ar/agentGroup.json +5 -0
- package/locales/ar/chat.json +26 -0
- package/locales/ar/models.json +43 -5
- package/locales/ar/plugin.json +4 -5
- package/locales/ar/setting.json +11 -0
- package/locales/ar/subscription.json +2 -0
- package/locales/ar/tool.json +2 -0
- package/locales/bg-BG/agentGroup.json +5 -0
- package/locales/bg-BG/chat.json +26 -0
- package/locales/bg-BG/models.json +49 -3
- package/locales/bg-BG/plugin.json +4 -5
- package/locales/bg-BG/setting.json +11 -0
- package/locales/bg-BG/subscription.json +2 -0
- package/locales/bg-BG/tool.json +2 -0
- package/locales/de-DE/agentGroup.json +5 -0
- package/locales/de-DE/chat.json +26 -0
- package/locales/de-DE/models.json +48 -5
- package/locales/de-DE/plugin.json +4 -5
- package/locales/de-DE/setting.json +11 -0
- package/locales/de-DE/subscription.json +2 -0
- package/locales/de-DE/tool.json +2 -0
- package/locales/en-US/models.json +8 -6
- package/locales/en-US/plugin.json +3 -4
- package/locales/en-US/setting.json +10 -11
- package/locales/en-US/tool.json +2 -0
- package/locales/es-ES/agentGroup.json +5 -0
- package/locales/es-ES/chat.json +26 -0
- package/locales/es-ES/models.json +43 -5
- package/locales/es-ES/plugin.json +4 -5
- package/locales/es-ES/setting.json +11 -0
- package/locales/es-ES/subscription.json +2 -0
- package/locales/es-ES/tool.json +2 -0
- package/locales/fa-IR/agentGroup.json +5 -0
- package/locales/fa-IR/chat.json +26 -0
- package/locales/fa-IR/models.json +42 -5
- package/locales/fa-IR/plugin.json +4 -5
- package/locales/fa-IR/setting.json +11 -0
- package/locales/fa-IR/subscription.json +2 -0
- package/locales/fa-IR/tool.json +2 -0
- package/locales/fr-FR/agentGroup.json +5 -0
- package/locales/fr-FR/chat.json +26 -0
- package/locales/fr-FR/models.json +5 -5
- package/locales/fr-FR/plugin.json +4 -5
- package/locales/fr-FR/setting.json +11 -0
- package/locales/fr-FR/subscription.json +2 -0
- package/locales/fr-FR/tool.json +2 -0
- package/locales/it-IT/agentGroup.json +5 -0
- package/locales/it-IT/chat.json +26 -0
- package/locales/it-IT/models.json +1 -3
- package/locales/it-IT/plugin.json +4 -5
- package/locales/it-IT/setting.json +11 -0
- package/locales/it-IT/subscription.json +2 -0
- package/locales/it-IT/tool.json +2 -0
- package/locales/ja-JP/agentGroup.json +5 -0
- package/locales/ja-JP/chat.json +26 -0
- package/locales/ja-JP/models.json +1 -5
- package/locales/ja-JP/plugin.json +4 -5
- package/locales/ja-JP/setting.json +11 -0
- package/locales/ja-JP/subscription.json +2 -0
- package/locales/ja-JP/tool.json +2 -0
- package/locales/ko-KR/agentGroup.json +5 -0
- package/locales/ko-KR/chat.json +26 -0
- package/locales/ko-KR/models.json +1 -3
- package/locales/ko-KR/plugin.json +4 -5
- package/locales/ko-KR/setting.json +11 -0
- package/locales/ko-KR/subscription.json +2 -0
- package/locales/ko-KR/tool.json +2 -0
- package/locales/nl-NL/agentGroup.json +5 -0
- package/locales/nl-NL/chat.json +26 -0
- package/locales/nl-NL/models.json +35 -3
- package/locales/nl-NL/plugin.json +4 -5
- package/locales/nl-NL/setting.json +11 -0
- package/locales/nl-NL/subscription.json +2 -0
- package/locales/nl-NL/tool.json +2 -0
- package/locales/pl-PL/agentGroup.json +5 -0
- package/locales/pl-PL/chat.json +26 -0
- package/locales/pl-PL/models.json +1 -3
- package/locales/pl-PL/plugin.json +4 -5
- package/locales/pl-PL/setting.json +11 -0
- package/locales/pl-PL/subscription.json +2 -0
- package/locales/pl-PL/tool.json +2 -0
- package/locales/pt-BR/agentGroup.json +5 -0
- package/locales/pt-BR/chat.json +26 -0
- package/locales/pt-BR/models.json +50 -5
- package/locales/pt-BR/plugin.json +4 -5
- package/locales/pt-BR/setting.json +11 -0
- package/locales/pt-BR/subscription.json +2 -0
- package/locales/pt-BR/tool.json +2 -0
- package/locales/ru-RU/agentGroup.json +5 -0
- package/locales/ru-RU/chat.json +26 -0
- package/locales/ru-RU/models.json +22 -3
- package/locales/ru-RU/plugin.json +4 -5
- package/locales/ru-RU/setting.json +11 -0
- package/locales/ru-RU/subscription.json +2 -0
- package/locales/ru-RU/tool.json +2 -0
- package/locales/tr-TR/agentGroup.json +5 -0
- package/locales/tr-TR/chat.json +26 -0
- package/locales/tr-TR/models.json +36 -3
- package/locales/tr-TR/plugin.json +4 -5
- package/locales/tr-TR/setting.json +11 -0
- package/locales/tr-TR/subscription.json +2 -0
- package/locales/tr-TR/tool.json +2 -0
- package/locales/vi-VN/agentGroup.json +5 -0
- package/locales/vi-VN/chat.json +26 -0
- package/locales/vi-VN/models.json +1 -1
- package/locales/vi-VN/plugin.json +4 -5
- package/locales/vi-VN/setting.json +11 -0
- package/locales/vi-VN/subscription.json +2 -0
- package/locales/vi-VN/tool.json +2 -0
- package/locales/zh-CN/models.json +52 -5
- package/locales/zh-CN/plugin.json +6 -7
- package/locales/zh-CN/setting.json +10 -11
- package/locales/zh-CN/tool.json +2 -2
- package/locales/zh-TW/agentGroup.json +5 -0
- package/locales/zh-TW/chat.json +26 -0
- package/locales/zh-TW/models.json +54 -5
- package/locales/zh-TW/plugin.json +4 -5
- package/locales/zh-TW/setting.json +11 -0
- package/locales/zh-TW/subscription.json +2 -0
- package/locales/zh-TW/tool.json +2 -0
- package/package.json +1 -1
- package/packages/agent-runtime/src/types/state.ts +2 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/GetAgentInfo/index.tsx +68 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/index.ts +3 -0
- package/packages/builtin-tool-group-management/src/client/Inspector/ExecuteAgentTask/index.tsx +52 -8
- package/packages/builtin-tool-group-management/src/client/Render/ExecuteTask/index.tsx +2 -21
- package/packages/builtin-tool-group-management/src/executor.test.ts +6 -4
- package/packages/builtin-tool-group-management/src/manifest.ts +5 -1
- package/packages/builtin-tool-group-management/src/types.ts +2 -0
- package/packages/builtin-tool-local-system/src/client/Render/WriteFile/index.tsx +48 -5
- package/packages/builtin-tool-local-system/src/client/Streaming/WriteFile/index.tsx +39 -0
- package/packages/builtin-tool-local-system/src/client/Streaming/index.ts +2 -0
- package/packages/builtin-tool-memory/src/manifest.ts +581 -19
- package/packages/model-bank/src/aiModels/qiniu.ts +24 -0
- package/packages/types/src/topic/thread.ts +2 -2
- package/packages/types/src/userMemory/layers.ts +19 -8
- package/packages/types/src/userMemory/shared.ts +7 -1
- package/src/app/[variants]/(auth)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(auth)/layout.tsx +0 -2
- package/src/app/[variants]/(auth)/login/[[...login]]/page.tsx +1 -3
- package/src/app/[variants]/(auth)/signup/[[...signup]]/page.tsx +1 -3
- package/src/app/[variants]/(desktop)/desktop-onboarding/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/agent/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/agent/features/Portal/index.tsx +0 -2
- package/src/app/[variants]/(main)/community/(list)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/community/(list)/assistant/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/community/(list)/mcp/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/community/(list)/model/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/community/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/group/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/group/features/Conversation/Header/index.tsx +4 -2
- package/src/app/[variants]/(main)/group/features/Portal/index.tsx +0 -2
- package/src/app/[variants]/(main)/home/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/home/index.tsx +0 -2
- package/src/app/[variants]/(main)/image/_layout/Topics/TopicUrlSync.tsx +0 -2
- package/src/app/[variants]/(main)/image/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/memory/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/page/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/resource/(home)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/resource/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/resource/library/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/resource/library/features/Container.tsx +0 -2
- package/src/app/[variants]/(main)/settings/_layout/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/about/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/agent/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/apikey/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/chat-appearance/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/common/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/hotkey/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/image/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/memory/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/provider/(list)/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/proxy/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/security/index.tsx +1 -3
- package/src/app/[variants]/(main)/settings/storage/index.tsx +0 -2
- package/src/app/[variants]/(main)/settings/tts/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/(home)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/_layout/index.tsx +1 -3
- package/src/app/[variants]/(mobile)/chat/_layout/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/chat/settings/_layout/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/community/(detail)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/community/(list)/_layout/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/community/_layout/index.tsx +0 -2
- package/src/app/[variants]/(mobile)/router/MobileClientRouter.tsx +0 -2
- package/src/app/[variants]/(mobile)/settings/index.tsx +0 -2
- package/src/app/[variants]/onboarding/_layout/index.tsx +0 -2
- package/src/app/[variants]/router/DesktopClientRouter.tsx +0 -2
- package/src/components/ModelSelect/index.tsx +6 -56
- package/src/components/server/MobileNavLayout.tsx +0 -2
- package/src/components/server/ServerLayout.tsx +0 -2
- package/src/features/ModelSwitchPanel/components/Footer.tsx +0 -2
- package/src/features/ModelSwitchPanel/components/List/MultipleProvidersModelItem.tsx +0 -1
- package/src/features/ModelSwitchPanel/components/List/SingleProviderModelItem.tsx +0 -1
- package/src/features/ModelSwitchPanel/components/List/VirtualItemRenderer.tsx +0 -1
- package/src/features/ModelSwitchPanel/components/List/index.tsx +15 -13
- package/src/features/ModelSwitchPanel/components/PanelContent.tsx +0 -2
- package/src/features/ModelSwitchPanel/index.tsx +21 -23
- package/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx +0 -2
- package/src/features/User/UserAvatar.tsx +0 -2
- package/src/locales/default/plugin.ts +3 -1
- package/src/server/modules/AgentRuntime/RuntimeExecutors.ts +11 -3
- package/src/server/modules/Mecha/AgentToolsEngine/index.ts +14 -6
- package/src/server/modules/Mecha/AgentToolsEngine/types.ts +4 -3
- package/src/server/routers/lambda/aiAgent.ts +10 -0
- package/src/server/services/agent/index.test.ts +155 -0
- package/src/server/services/agent/index.ts +25 -0
- package/src/server/services/agentRuntime/AgentRuntimeService.ts +2 -0
- package/src/server/services/agentRuntime/types.ts +1 -0
- package/src/server/services/aiAgent/__tests__/execAgent.threadId.test.ts +29 -9
- package/src/server/services/aiAgent/index.ts +175 -6
- package/src/server/services/lobehubSkill/index.ts +109 -0
- package/src/server/services/toolExecution/builtin.ts +28 -2
- package/src/server/services/toolExecution/types.ts +3 -0
- package/src/store/chat/agents/GroupOrchestration/__tests__/call-supervisor.test.ts +305 -0
- package/src/store/chat/agents/GroupOrchestration/createGroupOrchestrationExecutors.ts +2 -1
- package/src/store/chat/agents/createAgentExecutors.ts +4 -2
- package/src/store/chat/slices/plugin/actions/exector.ts +92 -0
- package/src/store/chat/slices/plugin/actions/pluginTypes.ts +82 -177
|
@@ -78,6 +78,30 @@ const qiniuChatModels: AIChatModelCard[] = [
|
|
|
78
78
|
},
|
|
79
79
|
type: 'chat',
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
abilities: {
|
|
83
|
+
reasoning: true,
|
|
84
|
+
},
|
|
85
|
+
contextWindowTokens: 163_840,
|
|
86
|
+
description:
|
|
87
|
+
'DeepSeek Math V2 is a model that has made significant breakthroughs in mathematical reasoning capabilities. Its core innovation lies in the "self-verification" training mechanism, and it has achieved gold medal levels in several top mathematics competitions.',
|
|
88
|
+
displayName: 'DeepSeek Math V2',
|
|
89
|
+
enabled: true,
|
|
90
|
+
id: 'deepseek/deepseek-math-v2',
|
|
91
|
+
maxOutput: 131_072,
|
|
92
|
+
pricing: {
|
|
93
|
+
currency: 'CNY',
|
|
94
|
+
units: [
|
|
95
|
+
{ name: 'textInput', rate: 4.0, strategy: 'fixed', unit: 'millionTokens' },
|
|
96
|
+
{ name: 'textOutput', rate: 16.0, strategy: 'fixed', unit: 'millionTokens' },
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
releasedAt: '2025-11-27',
|
|
100
|
+
settings: {
|
|
101
|
+
searchImpl: 'params',
|
|
102
|
+
},
|
|
103
|
+
type: 'chat',
|
|
104
|
+
},
|
|
81
105
|
{
|
|
82
106
|
abilities: {
|
|
83
107
|
functionCall: true,
|
|
@@ -27,8 +27,8 @@ export interface ThreadMetadata {
|
|
|
27
27
|
completedAt?: string;
|
|
28
28
|
/** Execution duration in milliseconds */
|
|
29
29
|
duration?: number;
|
|
30
|
-
/** Error
|
|
31
|
-
error?:
|
|
30
|
+
/** Error details when task failed */
|
|
31
|
+
error?: any;
|
|
32
32
|
/** Operation ID for tracking */
|
|
33
33
|
operationId?: string;
|
|
34
34
|
/** Task start time, used to calculate duration */
|
|
@@ -10,19 +10,33 @@ export enum UserMemoryContextObjectType {
|
|
|
10
10
|
Knowledge = 'knowledge',
|
|
11
11
|
Other = 'other',
|
|
12
12
|
Person = 'person',
|
|
13
|
-
Place = 'place'
|
|
13
|
+
Place = 'place',
|
|
14
14
|
}
|
|
15
|
+
export const CONTEXT_OBJECT_TYPES = Object.values(UserMemoryContextObjectType);
|
|
15
16
|
|
|
16
17
|
export enum UserMemoryContextSubjectType {
|
|
17
18
|
Item = 'item',
|
|
18
19
|
Other = 'other',
|
|
19
20
|
Person = 'person',
|
|
20
|
-
Pet = 'pet'
|
|
21
|
+
Pet = 'pet',
|
|
21
22
|
}
|
|
23
|
+
export const CONTEXT_SUBJECT_TYPES = Object.values(UserMemoryContextSubjectType);
|
|
22
24
|
|
|
23
25
|
export interface UserMemoryContext extends UserMemoryTimestamps {
|
|
24
|
-
associatedObjects:
|
|
25
|
-
|
|
26
|
+
associatedObjects:
|
|
27
|
+
| {
|
|
28
|
+
extra?: Record<string, unknown> | null;
|
|
29
|
+
name?: string;
|
|
30
|
+
type?: UserMemoryContextObjectType;
|
|
31
|
+
}[]
|
|
32
|
+
| null;
|
|
33
|
+
associatedSubjects:
|
|
34
|
+
| {
|
|
35
|
+
extra?: Record<string, unknown> | null;
|
|
36
|
+
name?: string;
|
|
37
|
+
type?: UserMemoryContextSubjectType;
|
|
38
|
+
}[]
|
|
39
|
+
| null;
|
|
26
40
|
currentStatus: string | null;
|
|
27
41
|
description: string | null;
|
|
28
42
|
descriptionVector: number[] | null;
|
|
@@ -97,7 +111,4 @@ export type UserMemoryPreferenceWithoutVectors = Omit<
|
|
|
97
111
|
'conclusionDirectivesVector'
|
|
98
112
|
>;
|
|
99
113
|
|
|
100
|
-
export type UserMemoryPreferencesListItem = Omit<
|
|
101
|
-
UserMemoryPreferenceWithoutVectors,
|
|
102
|
-
'suggestions'
|
|
103
|
-
>;
|
|
114
|
+
export type UserMemoryPreferencesListItem = Omit<UserMemoryPreferenceWithoutVectors, 'suggestions'>;
|
|
@@ -30,17 +30,20 @@ export enum RelationshipEnum {
|
|
|
30
30
|
Uncle = 'uncle',
|
|
31
31
|
Wife = 'wife',
|
|
32
32
|
}
|
|
33
|
+
export const RELATIONSHIPS = Object.values(RelationshipEnum);
|
|
33
34
|
|
|
34
35
|
export enum MergeStrategyEnum {
|
|
35
36
|
Merge = 'merge',
|
|
36
37
|
Replace = 'replace',
|
|
37
38
|
}
|
|
39
|
+
export const MERGE_STRATEGIES = Object.values(MergeStrategyEnum);
|
|
38
40
|
|
|
39
41
|
export enum IdentityTypeEnum {
|
|
40
42
|
Demographic = 'demographic',
|
|
41
43
|
Personal = 'personal',
|
|
42
44
|
Professional = 'professional',
|
|
43
45
|
}
|
|
46
|
+
export const IDENTITY_TYPES = Object.values(IdentityTypeEnum);
|
|
44
47
|
|
|
45
48
|
export enum LayersEnum {
|
|
46
49
|
Context = 'context',
|
|
@@ -48,6 +51,7 @@ export enum LayersEnum {
|
|
|
48
51
|
Identity = 'identity',
|
|
49
52
|
Preference = 'preference',
|
|
50
53
|
}
|
|
54
|
+
export const MEMORY_LAYERS = Object.values(LayersEnum);
|
|
51
55
|
|
|
52
56
|
export enum TypesEnum {
|
|
53
57
|
Activity = 'activity',
|
|
@@ -61,6 +65,7 @@ export enum TypesEnum {
|
|
|
61
65
|
Technology = 'technology',
|
|
62
66
|
Topic = 'topic',
|
|
63
67
|
}
|
|
68
|
+
export const MEMORY_TYPES = Object.values(TypesEnum);
|
|
64
69
|
|
|
65
70
|
export enum ContextStatusEnum {
|
|
66
71
|
Aborted = 'aborted',
|
|
@@ -68,5 +73,6 @@ export enum ContextStatusEnum {
|
|
|
68
73
|
Completed = 'completed',
|
|
69
74
|
OnHold = 'on_hold',
|
|
70
75
|
Ongoing = 'ongoing',
|
|
71
|
-
Planned = 'planned'
|
|
76
|
+
Planned = 'planned',
|
|
72
77
|
}
|
|
78
|
+
export const CONTEXT_STATUS = Object.values(ContextStatusEnum);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SignIn } from '@clerk/nextjs';
|
|
2
2
|
import { BRANDING_NAME } from '@lobechat/business-const';
|
|
3
|
-
import { notFound } from '@/libs/next/navigation';
|
|
4
3
|
|
|
5
4
|
import { enableClerk } from '@/envs/auth';
|
|
5
|
+
import { notFound } from '@/libs/next/navigation';
|
|
6
6
|
import { metadataModule } from '@/server/metadata';
|
|
7
7
|
import { translation } from '@/server/translation';
|
|
8
8
|
import { type DynamicLayoutProps } from '@/types/next';
|
|
@@ -24,6 +24,4 @@ const Page = () => {
|
|
|
24
24
|
return <SignIn path="/login" />;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
Page.displayName = 'Login';
|
|
28
|
-
|
|
29
27
|
export default Page;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SignUp } from '@clerk/nextjs';
|
|
2
|
-
import { notFound } from '@/libs/next/navigation';
|
|
3
2
|
|
|
4
3
|
import { enableBetterAuth, enableClerk } from '@/envs/auth';
|
|
4
|
+
import { notFound } from '@/libs/next/navigation';
|
|
5
5
|
import { metadataModule } from '@/server/metadata';
|
|
6
6
|
import { translation } from '@/server/translation';
|
|
7
7
|
import { type DynamicLayoutProps } from '@/types/next';
|
|
@@ -48,6 +48,4 @@ const Page = () => {
|
|
|
48
48
|
return notFound();
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
Page.displayName = 'SignUp';
|
|
52
|
-
|
|
53
51
|
export default Page;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { Flexbox } from '@lobehub/ui';
|
|
4
4
|
import { cssVar } from 'antd-style';
|
|
5
|
-
import { memo } from 'react';
|
|
5
|
+
import { Suspense, memo } from 'react';
|
|
6
6
|
|
|
7
7
|
import NavHeader from '@/features/NavHeader';
|
|
8
8
|
import WideScreenButton from '@/features/WideScreenContainer/WideScreenButton';
|
|
@@ -15,7 +15,9 @@ const Header = memo(() => {
|
|
|
15
15
|
right={
|
|
16
16
|
<Flexbox horizontal style={{ backgroundColor: cssVar.colorBgContainer }}>
|
|
17
17
|
<WideScreenButton />
|
|
18
|
-
<
|
|
18
|
+
<Suspense>
|
|
19
|
+
<ShareButton />
|
|
20
|
+
</Suspense>
|
|
19
21
|
</Flexbox>
|
|
20
22
|
}
|
|
21
23
|
/>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { Skeleton } from '@lobehub/ui';
|
|
4
|
-
import dynamic from '@/libs/next/dynamic';
|
|
5
4
|
import { useTranslation } from 'react-i18next';
|
|
6
5
|
import { Navigate } from 'react-router-dom';
|
|
7
6
|
|
|
8
7
|
import SettingHeader from '@/app/[variants]/(main)/settings/features/SettingHeader';
|
|
9
8
|
import { enableClerk } from '@/envs/auth';
|
|
9
|
+
import dynamic from '@/libs/next/dynamic';
|
|
10
10
|
|
|
11
11
|
const ClerkProfile = dynamic(() => import('./features/ClerkProfile'), {
|
|
12
12
|
loading: () => (
|
|
@@ -27,6 +27,4 @@ const Page = () => {
|
|
|
27
27
|
);
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
Page.displayName = 'SecuritySetting';
|
|
31
|
-
|
|
32
30
|
export default Page;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import dynamic from '@/libs/next/dynamic';
|
|
4
3
|
import { type FC, Suspense } from 'react';
|
|
5
4
|
import { Outlet, useLocation } from 'react-router-dom';
|
|
6
5
|
|
|
7
6
|
import Loading from '@/components/Loading/BrandTextLoading';
|
|
8
7
|
import { MarketAuthProvider } from '@/layout/AuthProvider/MarketAuth';
|
|
8
|
+
import dynamic from '@/libs/next/dynamic';
|
|
9
9
|
import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfig';
|
|
10
10
|
import { NavigatorRegistrar } from '@/utils/router';
|
|
11
11
|
|
|
@@ -42,6 +42,4 @@ const MobileMainLayout: FC = () => {
|
|
|
42
42
|
);
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
MobileMainLayout.displayName = 'MobileMainLayout';
|
|
46
|
-
|
|
47
45
|
export default MobileMainLayout;
|