@lobehub/lobehub 2.0.0-next.47 → 2.0.0-next.49
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/.env.example +11 -0
- package/CHANGELOG.md +50 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/apps/desktop/src/main/controllers/AuthCtr.ts +27 -2
- package/apps/desktop/src/main/core/infrastructure/ProtocolManager.ts +9 -4
- package/changelog/v1.json +17 -0
- package/docs/development/database-schema.dbml +2 -0
- package/docs/self-hosting/environment-variables/basic.mdx +49 -3
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +49 -4
- package/locales/ar/chat.json +1 -0
- package/locales/ar/discover.json +45 -0
- package/locales/ar/marketAuth.json +42 -0
- package/locales/ar/setting.json +94 -1
- package/locales/ar/topic.json +1 -0
- package/locales/bg-BG/chat.json +1 -0
- package/locales/bg-BG/discover.json +45 -0
- package/locales/bg-BG/marketAuth.json +42 -0
- package/locales/bg-BG/setting.json +94 -1
- package/locales/bg-BG/topic.json +1 -0
- package/locales/de-DE/chat.json +1 -0
- package/locales/de-DE/discover.json +45 -0
- package/locales/de-DE/marketAuth.json +42 -0
- package/locales/de-DE/setting.json +94 -1
- package/locales/de-DE/topic.json +1 -0
- package/locales/en-US/chat.json +1 -0
- package/locales/en-US/discover.json +45 -0
- package/locales/en-US/marketAuth.json +42 -0
- package/locales/en-US/setting.json +94 -1
- package/locales/en-US/topic.json +1 -0
- package/locales/es-ES/chat.json +1 -0
- package/locales/es-ES/discover.json +45 -0
- package/locales/es-ES/marketAuth.json +42 -0
- package/locales/es-ES/setting.json +94 -1
- package/locales/es-ES/topic.json +1 -0
- package/locales/fa-IR/chat.json +1 -0
- package/locales/fa-IR/discover.json +45 -0
- package/locales/fa-IR/marketAuth.json +42 -0
- package/locales/fa-IR/setting.json +94 -1
- package/locales/fa-IR/topic.json +1 -0
- package/locales/fr-FR/chat.json +1 -0
- package/locales/fr-FR/discover.json +45 -0
- package/locales/fr-FR/marketAuth.json +42 -0
- package/locales/fr-FR/setting.json +94 -1
- package/locales/fr-FR/topic.json +1 -0
- package/locales/it-IT/chat.json +1 -0
- package/locales/it-IT/discover.json +45 -0
- package/locales/it-IT/marketAuth.json +42 -0
- package/locales/it-IT/setting.json +94 -1
- package/locales/it-IT/topic.json +1 -0
- package/locales/ja-JP/chat.json +1 -0
- package/locales/ja-JP/discover.json +45 -0
- package/locales/ja-JP/marketAuth.json +42 -0
- package/locales/ja-JP/setting.json +94 -1
- package/locales/ja-JP/topic.json +1 -0
- package/locales/ko-KR/chat.json +1 -0
- package/locales/ko-KR/discover.json +45 -0
- package/locales/ko-KR/marketAuth.json +42 -0
- package/locales/ko-KR/setting.json +94 -1
- package/locales/ko-KR/topic.json +1 -0
- package/locales/nl-NL/chat.json +1 -0
- package/locales/nl-NL/discover.json +45 -0
- package/locales/nl-NL/marketAuth.json +42 -0
- package/locales/nl-NL/setting.json +94 -1
- package/locales/nl-NL/topic.json +1 -0
- package/locales/pl-PL/chat.json +1 -0
- package/locales/pl-PL/discover.json +45 -0
- package/locales/pl-PL/marketAuth.json +42 -0
- package/locales/pl-PL/setting.json +94 -1
- package/locales/pl-PL/topic.json +1 -0
- package/locales/pt-BR/chat.json +1 -0
- package/locales/pt-BR/discover.json +45 -0
- package/locales/pt-BR/marketAuth.json +42 -0
- package/locales/pt-BR/setting.json +94 -1
- package/locales/pt-BR/topic.json +1 -0
- package/locales/ru-RU/chat.json +1 -0
- package/locales/ru-RU/discover.json +45 -0
- package/locales/ru-RU/marketAuth.json +42 -0
- package/locales/ru-RU/setting.json +94 -1
- package/locales/ru-RU/topic.json +1 -0
- package/locales/tr-TR/chat.json +1 -0
- package/locales/tr-TR/discover.json +45 -0
- package/locales/tr-TR/marketAuth.json +42 -0
- package/locales/tr-TR/setting.json +94 -1
- package/locales/tr-TR/topic.json +1 -0
- package/locales/vi-VN/chat.json +1 -0
- package/locales/vi-VN/discover.json +45 -0
- package/locales/vi-VN/marketAuth.json +42 -0
- package/locales/vi-VN/setting.json +94 -1
- package/locales/vi-VN/topic.json +1 -0
- package/locales/zh-CN/chat.json +1 -0
- package/locales/zh-CN/discover.json +45 -0
- package/locales/zh-CN/marketAuth.json +42 -0
- package/locales/zh-CN/setting.json +94 -1
- package/locales/zh-CN/topic.json +1 -0
- package/locales/zh-TW/chat.json +1 -0
- package/locales/zh-TW/discover.json +45 -0
- package/locales/zh-TW/marketAuth.json +42 -0
- package/locales/zh-TW/setting.json +94 -1
- package/locales/zh-TW/topic.json +1 -0
- package/package.json +34 -27
- package/packages/agent-runtime/src/core/InterventionChecker.ts +5 -16
- package/packages/agent-runtime/src/core/__tests__/InterventionChecker.test.ts +27 -80
- package/packages/agent-runtime/src/core/__tests__/runtime.test.ts +32 -13
- package/packages/agent-runtime/src/core/runtime.ts +7 -3
- package/packages/agent-runtime/src/types/event.ts +2 -1
- package/packages/agent-runtime/src/types/generalAgent.ts +1 -0
- package/packages/agent-runtime/src/types/instruction.ts +3 -2
- package/packages/agent-runtime/src/types/state.ts +3 -1
- package/packages/const/src/url.ts +1 -0
- package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +4 -1
- package/packages/database/migrations/0044_add_tool_intervention.sql +1 -0
- package/packages/database/migrations/0044_high_toxin.sql +1 -0
- package/packages/database/migrations/0045_add_tool_intervention.sql +1 -0
- package/packages/database/migrations/meta/0039_snapshot.json +1 -1
- package/packages/database/migrations/meta/0044_snapshot.json +7813 -0
- package/packages/database/migrations/meta/0045_snapshot.json +8431 -0
- package/packages/database/migrations/meta/_journal.json +14 -0
- package/packages/database/src/core/migrations.json +36 -7
- package/packages/database/src/models/message.ts +4 -1
- package/packages/database/src/models/session.ts +42 -1
- package/packages/database/src/schemas/agent.ts +1 -0
- package/packages/database/src/schemas/message.ts +5 -8
- package/packages/electron-client-ipc/src/events/index.ts +6 -1
- package/packages/electron-client-ipc/src/events/remoteServer.ts +8 -0
- package/packages/fetch-sse/package.json +29 -0
- package/packages/{utils/src/fetch → fetch-sse/src}/__tests__/fetchSSE.test.ts +4 -4
- package/packages/{utils/src/fetch → fetch-sse/src}/__tests__/parseError.test.ts +7 -4
- package/packages/{utils/src/fetch → fetch-sse/src}/fetchSSE.ts +2 -2
- package/packages/{utils/src/fetch → fetch-sse/src}/parseError.ts +3 -3
- package/packages/model-bank/src/aiModels/mistral.ts +2 -1
- package/packages/model-runtime/src/core/contextBuilders/anthropic.test.ts +17 -11
- package/packages/model-runtime/src/core/contextBuilders/anthropic.ts +1 -1
- package/packages/model-runtime/src/core/contextBuilders/google.test.ts +1 -1
- package/packages/model-runtime/src/core/contextBuilders/google.ts +3 -6
- package/packages/model-runtime/src/core/contextBuilders/openai.test.ts +4 -2
- package/packages/model-runtime/src/core/contextBuilders/openai.ts +1 -1
- package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.test.ts +1 -1
- package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.ts +1 -1
- package/packages/model-runtime/src/core/openaiCompatibleFactory/index.test.ts +3 -6
- package/packages/model-runtime/src/core/streams/openai/responsesStream.test.ts +1 -1
- package/packages/model-runtime/src/helpers/mergeChatMethodOptions.ts +2 -1
- package/packages/model-runtime/src/providers/aihubmix/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/anthropic/generateObject.test.ts +1 -1
- package/packages/model-runtime/src/providers/anthropic/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/baichuan/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/bedrock/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/bfl/createImage.test.ts +4 -4
- package/packages/model-runtime/src/providers/bfl/createImage.ts +1 -1
- package/packages/model-runtime/src/providers/cloudflare/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/cohere/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/google/createImage.test.ts +2 -2
- package/packages/model-runtime/src/providers/google/createImage.ts +1 -1
- package/packages/model-runtime/src/providers/google/generateObject.test.ts +1 -1
- package/packages/model-runtime/src/providers/google/index.test.ts +1 -4
- package/packages/model-runtime/src/providers/groq/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/hunyuan/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/minimax/createImage.test.ts +1 -1
- package/packages/model-runtime/src/providers/mistral/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/moonshot/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/novita/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/ollama/index.test.ts +43 -32
- package/packages/model-runtime/src/providers/ollama/index.ts +31 -7
- package/packages/model-runtime/src/providers/openrouter/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/perplexity/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/ppio/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/qwen/createImage.test.ts +1 -1
- package/packages/model-runtime/src/providers/search1api/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/siliconcloud/createImage.ts +1 -1
- package/packages/model-runtime/src/providers/taichu/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/wenxin/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/zhipu/index.test.ts +1 -1
- package/packages/model-runtime/src/utils/errorResponse.test.ts +1 -1
- package/packages/obervability-otel/src/node.ts +15 -1
- package/packages/ssrf-safe-fetch/index.browser.ts +14 -0
- package/packages/ssrf-safe-fetch/package.json +8 -1
- package/packages/types/src/discover/assistants.ts +16 -0
- package/packages/types/src/index.ts +1 -0
- package/packages/types/src/message/common/base.ts +2 -2
- package/packages/types/src/message/common/tools.ts +16 -0
- package/packages/types/src/message/db/item.ts +15 -1
- package/packages/types/src/message/ui/chat.ts +7 -1
- package/packages/types/src/message/ui/params.ts +15 -1
- package/packages/types/src/meta.ts +4 -0
- package/packages/types/src/session/agentSession.ts +2 -0
- package/packages/types/src/tool/intervention.ts +2 -3
- package/packages/types/src/user/settings/tool.ts +15 -28
- package/packages/utils/src/imageToBase64.ts +17 -10
- package/packages/utils/src/index.ts +1 -1
- package/renovate.json +28 -11
- package/src/app/(backend)/market/agent/[[...segments]]/route.ts +153 -0
- package/src/app/(backend)/market/oidc/[[...segments]]/route.ts +207 -0
- package/src/app/[variants]/(main)/(mobile)/me/settings/features/useCategory.tsx +1 -0
- package/src/app/[variants]/(main)/_layout/Desktop/SideBar/PinList/index.tsx +4 -2
- package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +1 -1
- package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/Actions.tsx +1 -1
- package/src/app/[variants]/(main)/chat/settings/features/AgentInfoDescription/index.tsx +349 -0
- package/src/app/[variants]/(main)/chat/settings/features/HeaderContent.tsx +2 -2
- package/src/app/[variants]/(main)/chat/settings/features/PublishResultModal/index.tsx +64 -0
- package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishButton.tsx +196 -0
- package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishModal.tsx +358 -0
- package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/index.tsx +75 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/AssistantDetailPage.tsx +11 -2
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/Client.tsx +12 -1
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Nav.tsx +19 -12
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/TagList.tsx +14 -5
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/index.tsx +2 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Related/index.tsx +14 -5
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/TagList.tsx +14 -5
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/index.tsx +43 -29
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Versions/index.tsx +137 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/index.tsx +2 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Header.tsx +9 -10
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/AddAgent.tsx +105 -14
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/Related/index.tsx +20 -6
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/StatusPage/index.tsx +113 -0
- package/src/app/[variants]/(main)/discover/(detail)/features/Breadcrumb.tsx +4 -3
- package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/Nav.tsx +3 -1
- package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantPage.tsx +4 -1
- package/src/app/[variants]/(main)/discover/(list)/assistant/Client.tsx +6 -2
- package/src/app/[variants]/(main)/discover/(list)/assistant/features/Category/index.tsx +7 -3
- package/src/app/[variants]/(main)/discover/(list)/assistant/features/List/Item.tsx +13 -2
- package/src/app/[variants]/(main)/discover/(list)/assistant/features/MarketSourceSwitch.tsx +64 -0
- package/src/app/[variants]/(main)/discover/(list)/features/SortButton/index.tsx +26 -7
- package/src/app/[variants]/(main)/profile/_layout/Desktop/index.tsx +10 -10
- package/src/app/[variants]/(main)/settings/_layout/type.ts +1 -1
- package/src/app/[variants]/(main)/settings/agent/index.tsx +11 -10
- package/src/app/[variants]/(main)/settings/common/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/page.tsx +13 -10
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/Item.tsx +35 -36
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/SearchResult.tsx +5 -5
- package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/Container.tsx +10 -4
- package/src/app/market-auth-callback/layout.tsx +15 -0
- package/src/app/market-auth-callback/page.tsx +196 -0
- package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +3 -2
- package/src/features/AgentSetting/AgentTTS/SelectWithTTSPreview.tsx +1 -1
- package/src/features/AgentSetting/store/action.ts +1 -1
- package/src/features/ChatInput/ActionBar/STT/browser.tsx +1 -1
- package/src/features/ChatInput/ActionBar/STT/openai.tsx +1 -1
- package/src/features/Conversation/Messages/Group/GroupChildren.tsx +20 -15
- package/src/features/Conversation/Messages/Group/GroupContext.tsx +15 -0
- package/src/features/Conversation/Messages/Group/Tool/Inspector/BuiltinPluginTitle.tsx +2 -4
- package/src/features/Conversation/Messages/Group/Tool/Inspector/ToolTitle.tsx +3 -5
- package/src/features/Conversation/Messages/Group/Tool/Inspector/index.tsx +19 -7
- package/src/features/Conversation/Messages/Group/Tool/Render/Arguments/index.tsx +14 -12
- package/src/features/Conversation/Messages/Group/Tool/Render/Intervention/ApprovalActions.tsx +143 -0
- package/src/features/Conversation/Messages/Group/Tool/Render/Intervention/KeyValueEditor.tsx +213 -0
- package/src/features/Conversation/Messages/Group/Tool/Render/Intervention/ModeSelector.tsx +134 -0
- package/src/features/Conversation/Messages/Group/Tool/Render/Intervention/index.tsx +99 -0
- package/src/features/Conversation/Messages/Group/Tool/Render/RejectedResponse.tsx +45 -0
- package/src/features/Conversation/Messages/Group/Tool/Render/index.tsx +23 -1
- package/src/features/Conversation/Messages/Group/Tool/index.tsx +42 -18
- package/src/features/Conversation/Messages/Group/Tools.tsx +3 -1
- package/src/features/Conversation/components/Extras/TTS/InitPlayer.tsx +1 -1
- package/src/features/PluginTag/PluginStatus.tsx +1 -1
- package/src/hooks/useAgentOwnershipCheck.ts +143 -0
- package/src/instrumentation.node.ts +3 -2
- package/src/layout/AuthProvider/MarketAuth/MarketAuthProvider.tsx +364 -0
- package/src/layout/AuthProvider/MarketAuth/errors.ts +75 -0
- package/src/layout/AuthProvider/MarketAuth/index.ts +2 -0
- package/src/layout/AuthProvider/MarketAuth/oidc.ts +382 -0
- package/src/layout/AuthProvider/MarketAuth/types.ts +64 -0
- package/src/layout/AuthProvider/index.tsx +17 -4
- package/src/locales/default/chat.ts +22 -0
- package/src/locales/default/common.ts +1 -0
- package/src/locales/default/discover.ts +46 -0
- package/src/locales/default/index.ts +2 -0
- package/src/locales/default/marketAuth.ts +42 -0
- package/src/locales/default/setting.ts +94 -1
- package/src/locales/default/topic.ts +1 -0
- package/src/server/globalConfig/genServerAiProviderConfig.test.ts +5 -5
- package/src/server/globalConfig/genServerAiProviderConfig.ts +1 -1
- package/src/server/routers/lambda/market/index.ts +36 -14
- package/src/server/routers/lambda/message.ts +6 -3
- package/src/server/services/discover/index.test.ts +153 -11
- package/src/server/services/discover/index.ts +339 -40
- package/src/server/services/message/index.ts +13 -0
- package/src/server/sitemap.ts +49 -35
- package/src/services/_url.ts +15 -1
- package/src/services/chat/chat.test.ts +5 -5
- package/src/services/chat/clientModelRuntime.test.ts +1 -1
- package/src/services/chat/index.ts +6 -6
- package/src/services/chat/types.ts +1 -2
- package/src/services/discover.ts +16 -5
- package/src/services/electron/remoteServer.ts +8 -1
- package/src/services/marketApi.ts +124 -0
- package/src/services/message/index.ts +17 -2
- package/src/services/models.ts +2 -1
- package/src/store/chat/agents/GeneralChatAgent.ts +141 -24
- package/src/store/chat/agents/__tests__/GeneralChatAgent.test.ts +605 -0
- package/src/store/chat/agents/createAgentExecutors.ts +144 -26
- package/src/store/chat/agents/createToolEngine.ts +22 -0
- package/src/store/chat/slices/aiChat/actions/conversationControl.ts +106 -0
- package/src/store/chat/slices/aiChat/actions/streamingExecutor.ts +54 -26
- package/src/store/chat/slices/message/reducer.ts +2 -1
- package/src/store/chat/slices/plugin/actions/optimisticUpdate.ts +26 -1
- package/src/store/discover/slices/assistant/action.ts +20 -7
- package/src/store/user/slices/settings/action.ts +15 -0
- package/{packages/utils/src → src/utils}/electron/desktopRemoteRPCFetch.ts +1 -1
- package/{packages/utils/src → src/utils/server}/parseModels.ts +1 -2
- package/vitest.config.mts +2 -0
- package/packages/model-runtime/src/utils/imageToBase64.test.ts +0 -91
- package/packages/model-runtime/src/utils/imageToBase64.ts +0 -62
- package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/SubmitAgentModal.tsx +0 -98
- package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/index.tsx +0 -35
- package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/style.ts +0 -47
- /package/packages/{utils/src/fetch → fetch-sse/src}/headers.ts +0 -0
- /package/packages/{utils/src/fetch → fetch-sse/src}/index.ts +0 -0
- /package/packages/{utils/src/fetch → fetch-sse/src}/request.ts +0 -0
- /package/{packages/utils/src → src/utils/server}/__snapshots__/parseModels.test.ts.snap +0 -0
- /package/{packages/utils/src → src/utils/server}/parseModels.test.ts +0 -0
|
@@ -41,9 +41,29 @@
|
|
|
41
41
|
"openingMessage": "开场消息",
|
|
42
42
|
"openingQuestions": "开场问题",
|
|
43
43
|
"title": "助手设定"
|
|
44
|
+
},
|
|
45
|
+
"version": {
|
|
46
|
+
"empty": "暂无历史版本",
|
|
47
|
+
"status": {
|
|
48
|
+
"archived": "已归档",
|
|
49
|
+
"deprecated": "已拒绝",
|
|
50
|
+
"unpublished": "审核中"
|
|
51
|
+
},
|
|
52
|
+
"table": {
|
|
53
|
+
"isLatest": "最新版本",
|
|
54
|
+
"isValidated": "已验证",
|
|
55
|
+
"publishAt": "发布日期",
|
|
56
|
+
"version": "版本号"
|
|
57
|
+
},
|
|
58
|
+
"title": "版本历史"
|
|
44
59
|
}
|
|
45
60
|
},
|
|
46
61
|
"list": "助手列表",
|
|
62
|
+
"marketSource": {
|
|
63
|
+
"label": "切换市场源",
|
|
64
|
+
"legacy": "旧市场",
|
|
65
|
+
"new": "新市场"
|
|
66
|
+
},
|
|
47
67
|
"more": "更多",
|
|
48
68
|
"plugins": "集成插件",
|
|
49
69
|
"recentSubmits": "最近更新",
|
|
@@ -51,10 +71,35 @@
|
|
|
51
71
|
"createdAt": "最近发布",
|
|
52
72
|
"identifier": "助手 ID",
|
|
53
73
|
"knowledgeCount": "知识库数量",
|
|
74
|
+
"myown": "查看我的",
|
|
54
75
|
"pluginCount": "插件数量",
|
|
55
76
|
"title": "助手名称",
|
|
56
77
|
"tokenUsage": "Token 使用量"
|
|
57
78
|
},
|
|
79
|
+
"status": {
|
|
80
|
+
"archived": {
|
|
81
|
+
"reasons": {
|
|
82
|
+
"official": "助手有安全/政治等问题,被官方下架",
|
|
83
|
+
"owner": "开发助手的 owner 主动下架/归档该助手"
|
|
84
|
+
},
|
|
85
|
+
"subtitle": "当前访问的助手已经因为以下可能的原因被归档了:",
|
|
86
|
+
"title": "助手已被归档"
|
|
87
|
+
},
|
|
88
|
+
"backToMarket": "返回助手市场",
|
|
89
|
+
"deprecated": {
|
|
90
|
+
"reasons": {
|
|
91
|
+
"official": "助手有安全/政治等问题,被官方下架",
|
|
92
|
+
"owner": "开发助手的 owner 主动下架/拒绝该助手"
|
|
93
|
+
},
|
|
94
|
+
"subtitle": "当前访问的助手已经因为以下可能的原因被拒绝了:",
|
|
95
|
+
"title": "助手已被拒绝"
|
|
96
|
+
},
|
|
97
|
+
"support": "有各种问题请复制链接发送到 <1>support@lobehub.com</1> 进行咨询。",
|
|
98
|
+
"unpublished": {
|
|
99
|
+
"subtitle": "当前访问的助手正在进行版本审核中,如果有疑问复制链接发送问题到 <1>support@lobehub.com</1> 进行咨询。",
|
|
100
|
+
"title": "助手正在审核中"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
58
103
|
"suggestions": "相关推荐",
|
|
59
104
|
"systemRole": "助手设定",
|
|
60
105
|
"tokenUsage": "助手提示词 Token 使用量",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"callback": {
|
|
3
|
+
"buttons": {
|
|
4
|
+
"close": "关闭窗口"
|
|
5
|
+
},
|
|
6
|
+
"messages": {
|
|
7
|
+
"authFailed": "授权失败: {{error}}",
|
|
8
|
+
"missingParams": "授权参数缺失",
|
|
9
|
+
"processing": "正在处理授权...",
|
|
10
|
+
"successWithCountdown": "{{message}} 窗口将在 {{countdown}} 秒后自动关闭",
|
|
11
|
+
"successWithRedirect": "授权成功!正在跳转..."
|
|
12
|
+
},
|
|
13
|
+
"titles": {
|
|
14
|
+
"error": "授权失败",
|
|
15
|
+
"loading": "LobeHub Market 授权",
|
|
16
|
+
"success": "授权成功"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"errors": {
|
|
20
|
+
"authorizationFailed": "授权失败,请重试。",
|
|
21
|
+
"browserOnly": "授权流程只能在浏览器中发起。",
|
|
22
|
+
"codeConsumed": "授权码已被使用,请重新尝试。",
|
|
23
|
+
"codeVerifierMissing": "授权会话无效,请重新发起登录流程。",
|
|
24
|
+
"general": "授权出现错误,请重试。",
|
|
25
|
+
"handoffFailed": "无法获取授权结果,请重试。",
|
|
26
|
+
"handoffTimeout": "授权超时,请在浏览器中完成操作后重试。",
|
|
27
|
+
"oidcNotReady": "授权服务尚未就绪,请稍后再试。",
|
|
28
|
+
"openBrowserFailed": "无法打开系统浏览器,请重试。",
|
|
29
|
+
"openPopupFailed": "无法打开授权弹窗,请检查浏览器的弹窗拦截设置。",
|
|
30
|
+
"popupClosed": "授权窗口未完成即被关闭。",
|
|
31
|
+
"sessionExpired": "授权会话已过期,请重新登录。",
|
|
32
|
+
"stateMismatch": "授权状态不匹配,请重试。",
|
|
33
|
+
"stateMissing": "未找到授权状态,请重试。"
|
|
34
|
+
},
|
|
35
|
+
"messages": {
|
|
36
|
+
"loading": "正在启动授权流程...",
|
|
37
|
+
"success": {
|
|
38
|
+
"submit": "授权成功!现在可以发布助手了。",
|
|
39
|
+
"upload": "授权成功!现在可以发布新版本了。"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -2,6 +2,45 @@
|
|
|
2
2
|
"about": {
|
|
3
3
|
"title": "关于"
|
|
4
4
|
},
|
|
5
|
+
"agentInfoDescription": {
|
|
6
|
+
"basic": {
|
|
7
|
+
"avatar": "头像",
|
|
8
|
+
"description": "描述",
|
|
9
|
+
"name": "名称",
|
|
10
|
+
"tags": "标签",
|
|
11
|
+
"title": "助手信息"
|
|
12
|
+
},
|
|
13
|
+
"chat": {
|
|
14
|
+
"displayMode": "展示模式",
|
|
15
|
+
"enableHistoryCount": "启用历史消息计数",
|
|
16
|
+
"historyCount": "历史消息数量",
|
|
17
|
+
"no": "否",
|
|
18
|
+
"searchMode": "搜索模式",
|
|
19
|
+
"title": "聊天偏好",
|
|
20
|
+
"yes": "是"
|
|
21
|
+
},
|
|
22
|
+
"model": {
|
|
23
|
+
"maxTokens": "最大 Token 数",
|
|
24
|
+
"model": "模型",
|
|
25
|
+
"provider": "服务商",
|
|
26
|
+
"temperature": "温度",
|
|
27
|
+
"title": "模型设置",
|
|
28
|
+
"topP": "Top P 值"
|
|
29
|
+
},
|
|
30
|
+
"plugins": {
|
|
31
|
+
"count": "插件设置({{count}})",
|
|
32
|
+
"empty": "尚未安装插件",
|
|
33
|
+
"title": "已安装插件"
|
|
34
|
+
},
|
|
35
|
+
"role": {
|
|
36
|
+
"systemRole": "系统提示词",
|
|
37
|
+
"title": "角色设置"
|
|
38
|
+
},
|
|
39
|
+
"value": {
|
|
40
|
+
"unset": "未设置",
|
|
41
|
+
"untitled": "未命名助手"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
5
44
|
"agentTab": {
|
|
6
45
|
"chat": "聊天偏好",
|
|
7
46
|
"meta": "助手信息",
|
|
@@ -18,6 +57,8 @@
|
|
|
18
57
|
},
|
|
19
58
|
"title": "数据统计"
|
|
20
59
|
},
|
|
60
|
+
"checking": "检查中...",
|
|
61
|
+
"checkingPermissions": "检查权限中...",
|
|
21
62
|
"danger": {
|
|
22
63
|
"clear": {
|
|
23
64
|
"action": "立即清除",
|
|
@@ -146,6 +187,58 @@
|
|
|
146
187
|
},
|
|
147
188
|
"waitingForMore": "更多模型正在 <1>计划接入</1> 中,敬请期待"
|
|
148
189
|
},
|
|
190
|
+
"marketPublish": {
|
|
191
|
+
"modal": {
|
|
192
|
+
"changelog": {
|
|
193
|
+
"extra": "描述此版本的主要变更和改进",
|
|
194
|
+
"label": "变更日志",
|
|
195
|
+
"maxLengthError": "变更日志不能超过500个字符",
|
|
196
|
+
"placeholder": "请输入变更日志",
|
|
197
|
+
"required": "请输入变更日志"
|
|
198
|
+
},
|
|
199
|
+
"comparison": {
|
|
200
|
+
"local": "本地当前版本",
|
|
201
|
+
"remote": "当前发布版本"
|
|
202
|
+
},
|
|
203
|
+
"identifier": {
|
|
204
|
+
"extra": "标识符将作为助手的唯一标识,建议使用小写字母、数字和连字符",
|
|
205
|
+
"label": "助手标识符",
|
|
206
|
+
"lengthError": "标识符长度应在3-50个字符之间",
|
|
207
|
+
"patternError": "标识符只能包含小写字母、数字和连字符",
|
|
208
|
+
"placeholder": "请输入助手的唯一标识符,如: web-development",
|
|
209
|
+
"required": "请输入助手标识符"
|
|
210
|
+
},
|
|
211
|
+
"loading": {
|
|
212
|
+
"fetchingRemote": "正在加载远程数据...",
|
|
213
|
+
"submit": "正在发布助手...",
|
|
214
|
+
"upload": "正在发布新版本..."
|
|
215
|
+
},
|
|
216
|
+
"messages": {
|
|
217
|
+
"createVersionFailed": "版本创建失败: {{message}}",
|
|
218
|
+
"fetchRemoteFailed": "获取远程助手数据失败",
|
|
219
|
+
"missingIdentifier": "当前助手还没有市场标识符",
|
|
220
|
+
"notAuthenticated": "请先登录市场账户",
|
|
221
|
+
"publishFailed": "发布失败: {{message}}"
|
|
222
|
+
},
|
|
223
|
+
"submitButton": "发布",
|
|
224
|
+
"title": {
|
|
225
|
+
"submit": "分享到助手市场",
|
|
226
|
+
"upload": "发布新版本"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"resultModal": {
|
|
230
|
+
"message": "助手已提交审核,审核通过后将自动上线。点击「在市场查看」查看已发布的助手。",
|
|
231
|
+
"view": "在市场查看"
|
|
232
|
+
},
|
|
233
|
+
"submit": {
|
|
234
|
+
"button": "分享到市场",
|
|
235
|
+
"tooltip": "分享助手到市场"
|
|
236
|
+
},
|
|
237
|
+
"upload": {
|
|
238
|
+
"button": "发布新版本",
|
|
239
|
+
"tooltip": "发布新版本到助手市场"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
149
242
|
"message": {
|
|
150
243
|
"success": "更新成功"
|
|
151
244
|
},
|
|
@@ -561,7 +654,7 @@
|
|
|
561
654
|
},
|
|
562
655
|
"submitAgentModal": {
|
|
563
656
|
"button": "提交助手",
|
|
564
|
-
"identifier": "identifier
|
|
657
|
+
"identifier": "助手标识符(identifier)",
|
|
565
658
|
"metaMiss": "请补全助手信息后提交,需要包含名称、描述和标签",
|
|
566
659
|
"placeholder": "请输入助手的标识符,需要是唯一的,比如 web-development",
|
|
567
660
|
"tooltips": "分享到助手市场"
|
package/locales/zh-CN/topic.json
CHANGED
package/locales/zh-TW/chat.json
CHANGED
|
@@ -41,9 +41,29 @@
|
|
|
41
41
|
"openingMessage": "開場訊息",
|
|
42
42
|
"openingQuestions": "開場問題",
|
|
43
43
|
"title": "助理設定"
|
|
44
|
+
},
|
|
45
|
+
"version": {
|
|
46
|
+
"empty": "暫無歷史版本",
|
|
47
|
+
"status": {
|
|
48
|
+
"archived": "已封存",
|
|
49
|
+
"deprecated": "已拒絕",
|
|
50
|
+
"unpublished": "審核中"
|
|
51
|
+
},
|
|
52
|
+
"table": {
|
|
53
|
+
"isLatest": "最新版本",
|
|
54
|
+
"isValidated": "已驗證",
|
|
55
|
+
"publishAt": "發佈日期",
|
|
56
|
+
"version": "版本號"
|
|
57
|
+
},
|
|
58
|
+
"title": "版本歷史"
|
|
44
59
|
}
|
|
45
60
|
},
|
|
46
61
|
"list": "助手列表",
|
|
62
|
+
"marketSource": {
|
|
63
|
+
"label": "切換市集來源",
|
|
64
|
+
"legacy": "舊市集",
|
|
65
|
+
"new": "新市集"
|
|
66
|
+
},
|
|
47
67
|
"more": "更多",
|
|
48
68
|
"plugins": "集成插件",
|
|
49
69
|
"recentSubmits": "最近更新",
|
|
@@ -51,10 +71,35 @@
|
|
|
51
71
|
"createdAt": "最近發布",
|
|
52
72
|
"identifier": "助理 ID",
|
|
53
73
|
"knowledgeCount": "知識庫數量",
|
|
74
|
+
"myown": "查看我的",
|
|
54
75
|
"pluginCount": "外掛數量",
|
|
55
76
|
"title": "助理名稱",
|
|
56
77
|
"tokenUsage": "Token 使用量"
|
|
57
78
|
},
|
|
79
|
+
"status": {
|
|
80
|
+
"archived": {
|
|
81
|
+
"reasons": {
|
|
82
|
+
"official": "助手因安全/政治等問題被官方下架",
|
|
83
|
+
"owner": "開發助手的擁有者主動下架/封存該助手"
|
|
84
|
+
},
|
|
85
|
+
"subtitle": "當前訪問的助手已因以下可能原因被封存:",
|
|
86
|
+
"title": "助手已被封存"
|
|
87
|
+
},
|
|
88
|
+
"backToMarket": "返回助手市集",
|
|
89
|
+
"deprecated": {
|
|
90
|
+
"reasons": {
|
|
91
|
+
"official": "助手因安全/政治等問題被官方下架",
|
|
92
|
+
"owner": "開發助手的擁有者主動下架/拒絕該助手"
|
|
93
|
+
},
|
|
94
|
+
"subtitle": "當前訪問的助手已因以下可能原因被拒絕:",
|
|
95
|
+
"title": "助手已被拒絕"
|
|
96
|
+
},
|
|
97
|
+
"support": "如有任何問題,請複製連結並發送至 <1>support@lobehub.com</1> 進行諮詢。",
|
|
98
|
+
"unpublished": {
|
|
99
|
+
"subtitle": "當前訪問的助手正在進行版本審核中,如有疑問請複製連結並發送問題至 <1>support@lobehub.com</1> 進行諮詢。",
|
|
100
|
+
"title": "助手正在審核中"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
58
103
|
"suggestions": "相關推薦",
|
|
59
104
|
"systemRole": "助手設定",
|
|
60
105
|
"tokenUsage": "助理提示詞 Token 使用量",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"callback": {
|
|
3
|
+
"buttons": {
|
|
4
|
+
"close": "關閉視窗"
|
|
5
|
+
},
|
|
6
|
+
"messages": {
|
|
7
|
+
"authFailed": "授權失敗:{{error}}",
|
|
8
|
+
"missingParams": "授權參數缺失",
|
|
9
|
+
"processing": "正在處理授權中⋯⋯",
|
|
10
|
+
"successWithCountdown": "{{message}} 視窗將於 {{countdown}} 秒後自動關閉",
|
|
11
|
+
"successWithRedirect": "授權成功!正在重新導向⋯⋯"
|
|
12
|
+
},
|
|
13
|
+
"titles": {
|
|
14
|
+
"error": "授權失敗",
|
|
15
|
+
"loading": "LobeHub Market 授權中",
|
|
16
|
+
"success": "授權成功"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"errors": {
|
|
20
|
+
"authorizationFailed": "授權失敗,請重試。",
|
|
21
|
+
"browserOnly": "授權流程僅能在瀏覽器中啟動。",
|
|
22
|
+
"codeConsumed": "授權碼已被使用,請重新嘗試。",
|
|
23
|
+
"codeVerifierMissing": "授權會話無效,請重新啟動登入流程。",
|
|
24
|
+
"general": "授權發生錯誤,請重試。",
|
|
25
|
+
"handoffFailed": "無法取得授權結果,請重試。",
|
|
26
|
+
"handoffTimeout": "授權逾時,請在瀏覽器中完成操作後重試。",
|
|
27
|
+
"oidcNotReady": "授權服務尚未準備就緒,請稍後再試。",
|
|
28
|
+
"openBrowserFailed": "無法開啟系統瀏覽器,請重試。",
|
|
29
|
+
"openPopupFailed": "無法開啟授權彈出視窗,請檢查瀏覽器的彈出視窗封鎖設定。",
|
|
30
|
+
"popupClosed": "授權視窗尚未完成即被關閉。",
|
|
31
|
+
"sessionExpired": "授權會話已過期,請重新登入。",
|
|
32
|
+
"stateMismatch": "授權狀態不符,請重試。",
|
|
33
|
+
"stateMissing": "找不到授權狀態,請重試。"
|
|
34
|
+
},
|
|
35
|
+
"messages": {
|
|
36
|
+
"loading": "正在啟動授權流程⋯⋯",
|
|
37
|
+
"success": {
|
|
38
|
+
"submit": "授權成功!現在可以發佈助手了。",
|
|
39
|
+
"upload": "授權成功!現在可以發佈新版本了。"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -2,6 +2,45 @@
|
|
|
2
2
|
"about": {
|
|
3
3
|
"title": "關於"
|
|
4
4
|
},
|
|
5
|
+
"agentInfoDescription": {
|
|
6
|
+
"basic": {
|
|
7
|
+
"avatar": "頭像",
|
|
8
|
+
"description": "描述",
|
|
9
|
+
"name": "名稱",
|
|
10
|
+
"tags": "標籤",
|
|
11
|
+
"title": "助手資訊"
|
|
12
|
+
},
|
|
13
|
+
"chat": {
|
|
14
|
+
"displayMode": "顯示模式",
|
|
15
|
+
"enableHistoryCount": "啟用歷史訊息計數",
|
|
16
|
+
"historyCount": "歷史訊息數量",
|
|
17
|
+
"no": "否",
|
|
18
|
+
"searchMode": "搜尋模式",
|
|
19
|
+
"title": "聊天偏好",
|
|
20
|
+
"yes": "是"
|
|
21
|
+
},
|
|
22
|
+
"model": {
|
|
23
|
+
"maxTokens": "最大 Token 數",
|
|
24
|
+
"model": "模型",
|
|
25
|
+
"provider": "服務提供者",
|
|
26
|
+
"temperature": "溫度",
|
|
27
|
+
"title": "模型設定",
|
|
28
|
+
"topP": "Top P 值"
|
|
29
|
+
},
|
|
30
|
+
"plugins": {
|
|
31
|
+
"count": "外掛設定({{count}})",
|
|
32
|
+
"empty": "尚未安裝外掛",
|
|
33
|
+
"title": "已安裝外掛"
|
|
34
|
+
},
|
|
35
|
+
"role": {
|
|
36
|
+
"systemRole": "系統提示詞",
|
|
37
|
+
"title": "角色設定"
|
|
38
|
+
},
|
|
39
|
+
"value": {
|
|
40
|
+
"unset": "未設定",
|
|
41
|
+
"untitled": "未命名助手"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
5
44
|
"agentTab": {
|
|
6
45
|
"chat": "聊天偏好",
|
|
7
46
|
"meta": "助手資訊",
|
|
@@ -18,6 +57,8 @@
|
|
|
18
57
|
},
|
|
19
58
|
"title": "數據統計"
|
|
20
59
|
},
|
|
60
|
+
"checking": "檢查中...",
|
|
61
|
+
"checkingPermissions": "檢查權限中...",
|
|
21
62
|
"danger": {
|
|
22
63
|
"clear": {
|
|
23
64
|
"action": "立即清除",
|
|
@@ -146,6 +187,58 @@
|
|
|
146
187
|
},
|
|
147
188
|
"waitingForMore": "更多模型正在 <1>計劃接入</1> 中,敬請期待"
|
|
148
189
|
},
|
|
190
|
+
"marketPublish": {
|
|
191
|
+
"modal": {
|
|
192
|
+
"changelog": {
|
|
193
|
+
"extra": "描述此版本的主要變更與改進",
|
|
194
|
+
"label": "變更日誌",
|
|
195
|
+
"maxLengthError": "變更日誌不能超過 500 個字元",
|
|
196
|
+
"placeholder": "請輸入變更日誌",
|
|
197
|
+
"required": "請輸入變更日誌"
|
|
198
|
+
},
|
|
199
|
+
"comparison": {
|
|
200
|
+
"local": "本地目前版本",
|
|
201
|
+
"remote": "目前已發布版本"
|
|
202
|
+
},
|
|
203
|
+
"identifier": {
|
|
204
|
+
"extra": "識別碼將作為助手的唯一標識,建議使用小寫字母、數字與連字號",
|
|
205
|
+
"label": "助手識別碼",
|
|
206
|
+
"lengthError": "識別碼長度應在 3-50 個字元之間",
|
|
207
|
+
"patternError": "識別碼只能包含小寫字母、數字與連字號",
|
|
208
|
+
"placeholder": "請輸入助手的唯一識別碼,例如:web-development",
|
|
209
|
+
"required": "請輸入助手識別碼"
|
|
210
|
+
},
|
|
211
|
+
"loading": {
|
|
212
|
+
"fetchingRemote": "正在載入遠端資料...",
|
|
213
|
+
"submit": "正在發布助手...",
|
|
214
|
+
"upload": "正在發布新版本..."
|
|
215
|
+
},
|
|
216
|
+
"messages": {
|
|
217
|
+
"createVersionFailed": "版本建立失敗:{{message}}",
|
|
218
|
+
"fetchRemoteFailed": "取得遠端助手資料失敗",
|
|
219
|
+
"missingIdentifier": "目前助手尚未設定市場識別碼",
|
|
220
|
+
"notAuthenticated": "請先登入市場帳號",
|
|
221
|
+
"publishFailed": "發布失敗:{{message}}"
|
|
222
|
+
},
|
|
223
|
+
"submitButton": "發布",
|
|
224
|
+
"title": {
|
|
225
|
+
"submit": "分享到助手市集",
|
|
226
|
+
"upload": "發布新版本"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"resultModal": {
|
|
230
|
+
"message": "助手已提交審核,審核通過後將自動上線。點擊「在市集查看」以查看已發布的助手。",
|
|
231
|
+
"view": "在市集查看"
|
|
232
|
+
},
|
|
233
|
+
"submit": {
|
|
234
|
+
"button": "分享到市集",
|
|
235
|
+
"tooltip": "分享助手到市集"
|
|
236
|
+
},
|
|
237
|
+
"upload": {
|
|
238
|
+
"button": "發布新版本",
|
|
239
|
+
"tooltip": "發布新版本到助手市集"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
149
242
|
"message": {
|
|
150
243
|
"success": "更新成功"
|
|
151
244
|
},
|
|
@@ -561,7 +654,7 @@
|
|
|
561
654
|
},
|
|
562
655
|
"submitAgentModal": {
|
|
563
656
|
"button": "提交助手",
|
|
564
|
-
"identifier": "
|
|
657
|
+
"identifier": "助手識別碼(identifier)",
|
|
565
658
|
"metaMiss": "請補全助手信息後提交,需要包含名稱、描述和標籤",
|
|
566
659
|
"placeholder": "請輸入助手的標識符,需要是唯一的,比如 web-development",
|
|
567
660
|
"tooltips": "分享到助手市場"
|