MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / profileNameFromConnectionKey

Function profileNameFromConnectionKey

apps/cli/src/server-connection.ts:55–56  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

53};
54
55export const profileNameFromConnectionKey = (key: string): string | null =>
56 key.startsWith("profile:") ? key.slice("profile:".length) : null;
57
58// A 401 from the server means the stored credential is stale, revoked, or
59// missing: a sign-in problem, not a transport problem. Rendered instead of

Callers 2

refreshOAuthConnectionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected