diff --git a/apps/x/apps/renderer/src/components/settings-dialog.tsx b/apps/x/apps/renderer/src/components/settings-dialog.tsx
index 66765d14..143c6292 100644
--- a/apps/x/apps/renderer/src/components/settings-dialog.tsx
+++ b/apps/x/apps/renderer/src/components/settings-dialog.tsx
@@ -79,7 +79,7 @@ const tabs: TabConfig[] = [
id: "tools",
label: "Tools Library",
icon: Wrench,
- description: "Browse and enable Composio toolkits",
+ description: "Browse and enable toolkits",
},
{
id: "note-tagging",
@@ -724,7 +724,7 @@ interface ToolkitInfo {
composio_managed_auth_schemes?: string[]
}
-function ToolsLibrarySettings({ dialogOpen }: { dialogOpen: boolean }) {
+function ToolsLibrarySettings({ dialogOpen, rowboatConnected }: { dialogOpen: boolean; rowboatConnected: boolean }) {
// API key state
const [apiKeyConfigured, setApiKeyConfigured] = useState(false)
const [apiKeyInput, setApiKeyInput] = useState("")
@@ -869,65 +869,67 @@ function ToolsLibrarySettings({ dialogOpen }: { dialogOpen: boolean }) {
return (
- {/* Section A: API Key */}
-
-
Composio API Key
- {apiKeyConfigured && !showApiKeyInput ? (
-
-
-
- API key configured
+ {/* Section A: API Key (only in BYOK mode) */}
+ {!rowboatConnected && (
+
+
Composio API Key
+ {apiKeyConfigured && !showApiKeyInput ? (
+
+
+
+ API key configured
+
+
-
-
- ) : (
-
-
- Enter your Composio API key to browse and enable tool integrations.
- Get your key from{" "}
-
- app.composio.dev/settings
-
-
-
-
setApiKeyInput(e.target.value)}
- placeholder="Paste your Composio API key"
- onKeyDown={(e) => e.key === "Enter" && handleSaveApiKey()}
- className="flex-1"
- />
-
- {apiKeyConfigured && (
-
- )}
-
+ )}
+
+ )}
{/* Section B: Toolkit Browser (only when API key configured) */}
{apiKeyConfigured && (
@@ -964,11 +966,11 @@ function ToolsLibrarySettings({ dialogOpen }: { dialogOpen: boolean }) {

{ (e.target as HTMLImageElement).style.display = 'none' }}
/>
) : (
-
+
)}
@@ -994,7 +996,7 @@ function ToolsLibrarySettings({ dialogOpen }: { dialogOpen: boolean }) {
variant="outline"
size="sm"
onClick={() => handleDisconnect(toolkit.slug)}
- className="text-xs h-7 flex-shrink-0"
+ className="text-xs h-7 shrink-0"
>
Disconnect
@@ -1003,7 +1005,7 @@ function ToolsLibrarySettings({ dialogOpen }: { dialogOpen: boolean }) {
size="sm"
onClick={() => handleConnect(toolkit.slug)}
disabled={isConnecting}
- className="text-xs h-7 flex-shrink-0"
+ className="text-xs h-7 shrink-0"
>
{isConnecting ? (
<>
Connecting...>
@@ -1649,7 +1651,7 @@ export function SettingsDialog({ children }: SettingsDialogProps) {
) : activeTab === "appearance" ? (
) : activeTab === "tools" ? (
-
+
) : loading ? (
Loading...