🤯 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
feat: introduce BusinessGlobalService and extend GlobalService
YuTengjing5d4c0694a990
diff --git a/src/business/client/services/BusinessGlobalServices.ts b/src/business/client/services/BusinessGlobalServices.tsnew file mode 100644index 00000000000..7c4f7ad3f2d--- /dev/null+++ b/src/business/client/services/BusinessGlobalServices.ts@@ -0,0 +1 @@+export class BusinessGlobalService {}diff --git a/src/services/global.ts b/src/services/global.tsindex f256cb87152..3b46e05db95 100644--- a/src/services/global.ts+++ b/src/services/global.ts@@ -1,12 +1,13 @@import type { PartialDeep } from 'type-fest';+import { BusinessGlobalService } from '@/business/client/services/BusinessGlobalServices';import { lambdaClient } from '@/libs/trpc/client';import { type LobeAgentConfig } from '@/types/agent';import { type GlobalRuntimeConfig } from '@/types/serverConfig';const VERSION_URL = 'https://registry.npmmirror.com/@lobehub/chat/latest';-class GlobalService {+class GlobalService extends BusinessGlobalService {/*** get latest version from npm*/