🤯 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: improve start up scripts (#13318)
Arvin Xu53c5708c9f45
diff --git a/apps/cli/man/man1/lh.1 b/apps/cli/man/man1/lh.1index f95314d1eff..1d705ad9afc 100644--- a/apps/cli/man/man1/lh.1+++ b/apps/cli/man/man1/lh.1@@ -1,6 +1,6 @@.\" Code generated by `npm run man:generate`; DO NOT EDIT..\" Manual command details come from the Commander command tree.-.TH LH 1 "" "@lobehub/cli 0.0.1\-canary.12" "User Commands"+.TH LH 1 "" "@lobehub/cli 0.0.1\-canary.14" "User Commands".SH NAMElh \- LobeHub CLI \- manage and connect to LobeHub services.SH SYNOPSIS@@ -27,7 +27,7 @@ For command-specific manuals, use the built-in manual command:.SH COMMANDS.TP.B login-Log in to LobeHub via browser (Device Code Flow)+Log in to LobeHub via browser (Device Code Flow) or configure API key server.TP.B logoutLog out and remove stored credentialsdiff --git a/scripts/devStartupSequence.mts b/scripts/devStartupSequence.mtsindex cde2c470651..b87c194d11a 100644--- a/scripts/devStartupSequence.mts+++ b/scripts/devStartupSequence.mts@@ -8,9 +8,13 @@ const NEXT_HOST = 'localhost';/*** Resolve the Next.js dev port.- * Respects the PORT environment variable, falls back to 3010.+ * Priority: -p CLI flag > PORT env var > 3010.*/const resolveNextPort = (): number => {+ const pIndex = process.argv.indexOf('-p');+ if (pIndex !== -1 && process.argv[pIndex + 1]) {+ return Number(process.argv[pIndex + 1]);+ }if (process.env.PORT) return Number(process.env.PORT);return 3010;};