Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: remove composer feature flag (#6375)
Eric Hayes7065ee70519a
diff --git a/apps/web/src/features/command/Launcher.tsx b/apps/web/src/features/command/Launcher.tsxindex e0c9651ea5..b764aea4f9 100644--- a/apps/web/src/features/command/Launcher.tsx+++ b/apps/web/src/features/command/Launcher.tsx@@ -16,7 +16,6 @@ import { CHAT_INPUT_TEXT_AREA_ID } from '@core/component/AI/component/input/Chatimport { getIconConfig } from '@core/component/EntityIcon';import {ENABLE_ANIMATED_ICONS,- enableAgentSessionComposer,enableChatV3Agents,enableReminders,enableSnippets,@@ -419,7 +418,7 @@ export function runCreateAction(openStandaloneReminderComposer();return;case 'agent': {- if (isFeatureEnabled(enableAgentSessionComposer)) {+ if (isFeatureEnabled(enableChatV3Agents)) {createComponent({componentId: 'agent-session-compose',asPopover: true,diff --git a/apps/web/src/lib/core/constant/featureFlags.ts b/apps/web/src/lib/core/constant/featureFlags.tsindex 03693e0621..a0dc422f19 100644--- a/apps/web/src/lib/core/constant/featureFlags.ts+++ b/apps/web/src/lib/core/constant/featureFlags.ts@@ -665,16 +665,6 @@ export const enableChatV3Agents = defineFlag({default: onInDev,});-// The agent session composer behind `Create → Agent`: pick an agent and a-// model override before the session opens. Off, the entry opens a managed-// session straight away as it always has. Override with-// VITE_ENABLE_AGENT_SESSION_COMPOSER.-export const enableAgentSessionComposer = defineFlag({- key: 'enable-agent-session-composer',- env: 'ENABLE_AGENT_SESSION_COMPOSER',- default: onInDev,-});-// The `@cursor` mention entry: agent sessions served by Cursor cloud agents// on Macro's Cursor account. PostHog-gated per user; the backend additionally// restricts these sessions to @macro.com senders. Override withdiff --git a/docs/AGENT_GUIDE/ai-chat.md b/docs/AGENT_GUIDE/ai-chat.mdindex b64ffdd4c3..177ac7046e 100644--- a/docs/AGENT_GUIDE/ai-chat.md+++ b/docs/AGENT_GUIDE/ai-chat.md@@ -17,15 +17,12 @@ The area behind the composer is transparent, without a bottom gradient overlay.Almost every list surface (Home, Agents, Files, Tasks, Customers, Email) has a bottomcomposer with placeholder **`Ask AI, @mention anything`**. Click it, `type_text` the message,-press Enter — the app creates a chat and navigates to `/app/chat/<uuid>`. Alternatively-`Create` → `Agent A`, or keyboard `c` then `a`, opens a managed agent session-directly at `/app/agent/<uuid>` (the runtime starts while the block mounts).-That create path focuses the agent composer so you can type immediately.-When the `enable-agent-session-composer` flag is on (default in dev;-`VITE_ENABLE_AGENT_SESSION_COMPOSER` overrides), the same entry instead opens-the **Start a session** composer popover. A centered title sits above two rounded-boxes of equal width: a shallow agent strip and a prompt box about twice its-height, separated by a small gap. The picker has+press Enter — the app creates a chat and navigates to `/app/chat/<uuid>`. Alternatively,+when `enable-chat-v3-agents` is on (default in dev;+`VITE_ENABLE_CHAT_V3_AGENTS` overrides), `Create` → `Agent`, or keyboard `c`+then `a`, opens the **Start a session** composer popover. A centered title sits+above two rounded boxes of equal width: a shallow agent strip and a prompt box+about twice its height, separated by a small gap. The picker hascompact choices in a horizontally scrolling `radiogroup` (`aria-label="Agent"`,`aria-orientation="horizontal"`, `role="radio"`, `aria-checked`). All agents areavailable by scrolling sideways, with recent successful choices first.