feat: support deep link extension installs in settings v2 (#1808)

This commit is contained in:
Alex Hancock
2025-03-21 20:49:20 -04:00
committed by GitHub
parent e2725009a7
commit 119a7077c2
4 changed files with 240 additions and 97 deletions
+9 -3
View File
@@ -91,9 +91,15 @@ export const initializeSystem = async (provider: string, model: string) => {
console.log('Extended system prompt with desktop-specific information');
}
loadAndAddStoredExtensions().catch((error) => {
console.error('Failed to load and add stored extension configs:', error);
});
// This will go away after the release of settings v2 as we now handle this via
//
// initializeBuildInExtensions
// syncBuiltInExtensions
if (!process.env.ALPHA) {
loadAndAddStoredExtensions().catch((error) => {
console.error('Failed to load and add stored extension configs:', error);
});
}
} catch (error) {
console.error('Failed to initialize agent:', error);
throw error;