Bring connector comments in line with where connections are managed

This commit is contained in:
arc53-machine committed 2026-09-29 18:56:16 +01:00
1 parent 54e9e8a335
commit 736564198c
2 files changed
+8 -7

No files matched your search

+3 -2
View File
@@ -110,8 +110,9 @@ export default function Connectors() {
searchParams.delete('capability');
setSearchParams(searchParams, { replace: true });
};
// Listed for syncing (Knowledge's Connect a service, the sources picker's
// Connect more): a connect starts with Sync into Knowledge on.
// Listed for syncing (Knowledge's Connect a service, Add knowledge's Browse
// all connectors, the sources picker's Connect more): a connect starts with
// Sync into Knowledge on.
const withPurpose = (options: LaunchOptions = {}): LaunchOptions =>
capability === 'sync' ? { ...options, purpose: 'knowledge' } : options;
+5 -5
View File
@@ -211,11 +211,11 @@ export default function Tools() {
variant: 'default',
},
);
// A connected server reconnects on its connector page, like any other
// connection; only an MCP tool without one keeps the server form. The
// tool's own connection id decides, for everyone: a teammate never sees
// the owner's connection, and the owner's loads after the tools. A
// shared OAuth server's sign-in is the owner's to redo.
// A connected server signs in again through its connection (Sign in
// again above, for the caller's own); only an MCP tool without one keeps
// the server form. The tool's own connection id decides, for everyone: a
// teammate never sees the owner's connection, and the owner's loads
// after the tools. A shared OAuth server's sign-in is the owner's to redo.
if (
tool.name === 'mcp_tool' &&
!tool.connection_id &&