Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(apps): allow empty startCommands for Xcode/Swift/iOS apps

Adam Eivy41f2d0370614
diff --git a/server/lib/errorHandler.js b/server/lib/errorHandler.js
index b025a08349..96b9a809ff 100644
--- a/server/lib/errorHandler.js
+++ b/server/lib/errorHandler.js
@@ -41,7 +41,8 @@ export function asyncHandler(fn) {
} else if (error.status >= 500) {
console.error(logMsg, error.stack ? error.stack : '');
} else {
- console.error(logMsg);
+ const details = error.context?.details;
+ console.error(details ? `${logMsg}: ${JSON.stringify(details)}` : logMsg);
}
// Emit Socket.IO event for UI notification
diff --git a/server/lib/validation.js b/server/lib/validation.js
index c8bb82402c..107e90f575 100644
--- a/server/lib/validation.js
+++ b/server/lib/validation.js
@@ -182,7 +182,7 @@ export const appSchema = z.object({
apiPort: z.number().int().min(1).max(65535).nullable().optional(),
buildCommand: z.string().max(200).optional(),
uiUrl: z.string().url().optional(),
- startCommands: z.array(z.string()).min(1).optional(),
+ startCommands: z.array(z.string()).optional(),
pm2ProcessNames: z.array(z.string()).optional(),
processes: z.array(processSchema).optional(), // Per-process port configs from ecosystem.config
envFile: z.string().optional(),