Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/pages/Skills.tsx

Steven Enamakel3569172f25cd
diff --git a/app/src/pages/Skills.tsx b/app/src/pages/Skills.tsx
index 97ca78a760..eb48a8fb85 100644
--- a/app/src/pages/Skills.tsx
+++ b/app/src/pages/Skills.tsx
@@ -1,6 +1,10 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
+import { classifyIntegrationError } from '../lib/userErrors/classify';
+import { useAppDispatch } from '../store/hooks';
+import { dismissUserError, reportUserError } from '../store/userErrorsSlice';
+
import ChannelSetupModal from '../components/channels/ChannelSetupModal';
import McpServersTab from '../components/channels/mcp/McpServersTab';
import ComposioConnectModal from '../components/composio/ComposioConnectModal';
@@ -700,6 +704,28 @@ export default function Skills() {
composioError,
]);
+ // Raise a Composio outage as an app-wide notice rather than an alert on this
+ // page. The state is about the user's account, not about this screen: while
+ // it is set, every tool-calling surface in the app is degraded, yet only a
+ // visitor to Connections used to be told. `NoticeCenter` keeps it visible on
+ // whatever route they are on, and the entry survives navigating away.
+ //
+ // The per-card `hasComposioError` degradation below stays — that IS local,
+ // and it is what marks *which* cards are unreliable.
+ const notifyDispatch = useAppDispatch();
+ useEffect(() => {
+ const descriptor = classifyIntegrationError(composioError, 'composio');
+ if (!descriptor) return;
+ notifyDispatch(reportUserError({ descriptor, at: Date.now() }));
+ }, [composioError, notifyDispatch]);
+
+ // Clear it the moment the poll succeeds, so a recovered integration does not
+ // leave a stale warning the user has to dismiss by hand.
+ useEffect(() => {
+ if (composioError) return;
+ notifyDispatch(dismissUserError({ id: 'integration_degraded:integration:composio' }));
+ }, [composioError, notifyDispatch]);
+
// Unified item list
const allItems: SkillItem[] = useMemo(() => {
const items: SkillItem[] = [];