diff --git a/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx b/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx
index c3f81064..c8083e4d 100644
--- a/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx
+++ b/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx
@@ -37,7 +37,20 @@ export default function ExtensionsSection({ deepLinkConfig, showEnvVars }: Exten
const fetchExtensions = useCallback(async () => {
const extensionsList = await getExtensions(true); // Force refresh
// Sort extensions by name to maintain consistent order
- const sortedExtensions = [...extensionsList].sort((a, b) => a.name.localeCompare(b.name));
+ const sortedExtensions = [...extensionsList].sort((a, b) => {
+ // First sort by builtin
+ if (a.type === 'builtin' && b.type !== 'builtin') return -1;
+ if (a.type !== 'builtin' && b.type === 'builtin') return 1;
+
+ // Then sort by bundled (handle null/undefined cases)
+ const aBundled = a.bundled === true;
+ const bBundled = b.bundled === true;
+ if (aBundled && !bBundled) return -1;
+ if (!aBundled && bBundled) return 1;
+
+ // Finally sort alphabetically within each group
+ return a.name.localeCompare(b.name);
+ });
setExtensions(sortedExtensions);
}, [getExtensions]);
diff --git a/ui/desktop/src/components/settings_v2/extensions/subcomponents/ExtensionItem.tsx b/ui/desktop/src/components/settings_v2/extensions/subcomponents/ExtensionItem.tsx
index c025f751..9f99be11 100644
--- a/ui/desktop/src/components/settings_v2/extensions/subcomponents/ExtensionItem.tsx
+++ b/ui/desktop/src/components/settings_v2/extensions/subcomponents/ExtensionItem.tsx
@@ -46,14 +46,15 @@ export default function ExtensionItem({ extension, onToggle, onConfigure }: Exte
}
}, [extension.enabled, isToggling]);
- const renderFormattedSubtitle = () => {
- const subtitle = getSubtitle(extension);
- return subtitle.split('\n').map((part, index) => (
-
}
-
}
+ {command && {command}}
+ >
+ );
};
// Bundled extensions and builtins are not editable
@@ -67,7 +68,7 @@ export default function ExtensionItem({ extension, onToggle, onConfigure }: Exte
>
{renderFormattedSubtitle()}
+{renderSubtitle()}