Skip to content

Commit 2a7648b

Browse files
tlgimenesclaude
andauthored
feat(automations): make automations available for all users (#2826)
* feat(automations): make automations available for all users Remove the experimentalAutomations preference flag and always show automations in the sidebar. Remove the toggle from account preferences and the experimental callout from docs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: update bun.lock Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 50de77e commit 2a7648b

6 files changed

Lines changed: 3 additions & 48 deletions

File tree

apps/docs/client/src/content/2026-03-10/en/mcp-mesh/automations.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ description: Unattended AI agent runs triggered by schedules or events
44
icon: Zap
55
---
66

7-
import Callout from "../../../../components/ui/Callout.astro";
8-
9-
<Callout type="info">
10-
Automations is an experimental feature. Enable it in **Settings → Account → Preferences → experimentalAutomations**.
11-
</Callout>
12-
137
## What Are Automations?
148

159
Automations are **unattended agent runs** — AI agents that execute on a schedule or in response to events, without a human in the loop. Each automation configures:

apps/docs/client/src/content/2026-03-10/pt-br/mcp-mesh/automations.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ description: Execuções autônomas de agentes IA disparadas por agendamentos ou
44
icon: Zap
55
---
66

7-
import Callout from "../../../../components/ui/Callout.astro";
8-
9-
<Callout type="info">
10-
Automações é um recurso experimental. Ative em **Configurações → Conta → Preferências → experimentalAutomations**.
11-
</Callout>
12-
137
## O Que São Automações?
148

159
Automações são **execuções autônomas de agentes** — agentes de IA que executam em um agendamento ou em resposta a eventos, sem intervenção humana. Cada automação configura:

apps/mesh/src/web/components/settings-modal/pages/account-preferences.tsx

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
SelectItem,
66
SelectTrigger,
77
} from "@deco/ui/components/select.tsx";
8-
import { Bell01, Code01, RefreshCcw01, Shield01 } from "@untitledui/icons";
8+
import { Bell01, Code01, Shield01 } from "@untitledui/icons";
99
import { usePreferences } from "@/web/hooks/use-preferences.ts";
1010
import { toast } from "@deco/ui/components/sonner.js";
1111

@@ -114,28 +114,6 @@ export function AccountPreferencesPage() {
114114
/>
115115
}
116116
/>
117-
<SettingRow
118-
icon={<RefreshCcw01 size={16} />}
119-
label="Experimental: Automations"
120-
description="Enable the Automations feature in the sidebar. This is an experimental feature under active development."
121-
onClick={() =>
122-
setPreferences((prev) => ({
123-
...prev,
124-
experimentalAutomations: !prev.experimentalAutomations,
125-
}))
126-
}
127-
control={
128-
<Switch
129-
checked={preferences.experimentalAutomations}
130-
onCheckedChange={(checked) =>
131-
setPreferences((prev) => ({
132-
...prev,
133-
experimentalAutomations: checked,
134-
}))
135-
}
136-
/>
137-
}
138-
/>
139117
<SettingRow
140118
icon={<Shield01 size={16} />}
141119
label="Tool Approval"

apps/mesh/src/web/hooks/use-preferences.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ interface Preferences {
77
devMode: boolean;
88
toolApprovalLevel: ToolApprovalLevel;
99
enableNotifications: boolean;
10-
experimentalAutomations: boolean;
1110
}
1211

1312
const DEFAULT_PREFERENCES: Preferences = {
1413
devMode: false,
1514
toolApprovalLevel: "readonly",
1615
enableNotifications: typeof Notification !== "undefined" ? true : false,
17-
experimentalAutomations: false,
1816
};
1917

2018
const VALID_TOOL_APPROVAL_LEVELS: ToolApprovalLevel[] = [

apps/mesh/src/web/hooks/use-project-sidebar-items.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ import {
1717
Users03,
1818
} from "@untitledui/icons";
1919
import { pluginRootSidebarItems, pluginSidebarGroups } from "../index.tsx";
20-
import { usePreferences } from "./use-preferences.ts";
2120

2221
export function useProjectSidebarItems(options?: {
2322
virtualMcpId?: string;
2423
}): SidebarSection[] {
2524
const { org: orgContext } = useProjectContext();
2625
const navigate = useNavigate();
2726
const routerState = useRouterState();
28-
const [preferences] = usePreferences();
2927
const org = orgContext.slug;
3028
const isOrgAdminProject = useIsOrgAdmin();
3129
const currentProject = useProjectContext().project;
@@ -285,11 +283,7 @@ export function useProjectSidebarItems(options?: {
285283
group: {
286284
id: "build",
287285
label: "Build",
288-
items: [
289-
...(preferences.experimentalAutomations ? [automationsItem] : []),
290-
agentsItem,
291-
connectionsItem,
292-
],
286+
items: [automationsItem, agentsItem, connectionsItem],
293287
defaultExpanded: true,
294288
},
295289
},

bun.lock

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)