MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasRemoteEnvCommandSession

Function hasRemoteEnvCommandSession

src/commands/env/envCommandSession.ts:10–14  ·  view source on GitHub ↗
(
  session: ResolvedAuthSession | null | undefined,
)

Source from the content-addressed store, hash-verified

8} from '../../utils/commandAvailability.js'
9
10export function hasRemoteEnvCommandSession(
11 session: ResolvedAuthSession | null | undefined,
12): boolean {
13 return Boolean(session && hasManagedRemoteCommandPrincipal(session))
14}
15
16export function isCostCommandAuthHiddenForContext(params: {
17 isInternalBuild: boolean

Callers 2

getCommandReasonsFunction · 0.85

Calls 1

Tested by

no test coverage detected