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): set xed editor for Xcode/Swift/iOS apps, add xed to allowed editors

Adam Eivyc1bd3bb17fab
diff --git a/server/services/apps.js b/server/services/apps.js
index 97487ce82c..cba9c79bad 100644
--- a/server/services/apps.js
+++ b/server/services/apps.js
@@ -197,7 +197,8 @@ export async function createApp(appData) {
envFile: appData.envFile || '.env',
icon: appData.icon || null,
appIconPath: appData.appIconPath || null,
- editorCommand: appData.editorCommand || 'code .',
+ editorCommand: appData.editorCommand
+ || (['ios-native', 'macos-native', 'xcode', 'swift'].includes(appData.type) ? 'xed .' : 'code .'),
archived: false,
jira: appData.jira || null,
taskTypeOverrides: Object.fromEntries(
diff --git a/server/services/streamingDetect.js b/server/services/streamingDetect.js
index 17788632e4..9e351ff3c1 100644
--- a/server/services/streamingDetect.js
+++ b/server/services/streamingDetect.js
@@ -445,6 +445,7 @@ export async function streamDetection(socket, dirPath) {
result.startCommands = [];
result.pm2ProcessNames = [];
+ result.editorCommand = 'xed .';
}
// Step 3: Read package.json