Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#82055)

hermes-seaeye[bot]3e6a081d60e8
diff --git a/apps/desktop/src/app/settings/plugins-settings.tsx b/apps/desktop/src/app/settings/plugins-settings.tsx
index 5cf841e9a22..9224c0af9a0 100644
--- a/apps/desktop/src/app/settings/plugins-settings.tsx
+++ b/apps/desktop/src/app/settings/plugins-settings.tsx
@@ -39,8 +39,7 @@ const SOURCE_ORDER: Record<string, number> = { user: 0, git: 0, project: 1, entr
// the user-facing control for any of them, so listing them here is noise.
const HIDDEN_KEY_PREFIXES = ['dashboard_auth/', 'model-providers/', 'platforms/']
-const isDesktopRelevant = (row: AgentPluginRow) =>
- !HIDDEN_KEY_PREFIXES.some(prefix => row.key.startsWith(prefix))
+const isDesktopRelevant = (row: AgentPluginRow) => !HIDDEN_KEY_PREFIXES.some(prefix => row.key.startsWith(prefix))
function reveal(file: string) {
void window.hermesDesktop?.revealPath?.(file)?.catch(() => undefined)
@@ -187,7 +186,11 @@ function AgentPluginsSection() {
.sort((a, b) => (SOURCE_ORDER[a.source] ?? 9) - (SOURCE_ORDER[b.source] ?? 9) || a.name.localeCompare(b.name))
return (
- <SettingsSection icon={Package} meta={status === 'ready' ? p.count(sorted.length) : undefined} title={p.agent.title}>
+ <SettingsSection
+ icon={Package}
+ meta={status === 'ready' ? p.count(sorted.length) : undefined}
+ title={p.agent.title}
+ >
<p className="mb-2 text-[length:var(--conversation-caption-font-size)] text-(--ui-text-tertiary)">
{p.agent.blurb}
</p>
diff --git a/apps/desktop/src/contrib/plugins.ts b/apps/desktop/src/contrib/plugins.ts
index 1679a0832dc..6349880e3ed 100644
--- a/apps/desktop/src/contrib/plugins.ts
+++ b/apps/desktop/src/contrib/plugins.ts
@@ -46,6 +46,7 @@ export function discoverBundledPlugins(): void {
description: plugin.description,
kind: 'bundled' as const
}
+
let disposers: (() => void)[] = []
const activate = () => {