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

Function profileNameFromKey

apps/cli/src/main.ts:739–740  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

737const OAUTH_REFRESH_SKEW_SECONDS = 60;
738
739const profileNameFromKey = (key: string): string | null =>
740 key.startsWith("profile:") ? key.slice("profile:".length) : null;
741
742const refreshOAuthConnection = (
743 connection: ExecutorServerConnection,

Callers 1

refreshOAuthConnectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected