MCPcopy Create free account
hub / github.com/chhoumann/quickadd / getSecretOptionNamesForCommand

Function getSecretOptionNamesForCommand

src/utils/userScriptSecrets.ts:864–872  ·  view source on GitHub ↗
(
	command: Record<string, unknown>,
	options?: UserScriptSecretSanitizerOptions,
)

Source from the content-addressed store, hash-verified

862}
863
864function getSecretOptionNamesForCommand(
865 command: Record<string, unknown>,
866 options?: UserScriptSecretSanitizerOptions,
867): ReadonlySet<string> | null | undefined {
868 const path = command.path;
869 if (typeof path !== "string") return undefined;
870
871 return options?.secretOptionNamesByPath?.get(path);
872}
873
874function stripSecretRefsFromSettings(
875 settings: unknown,

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected