openclaw/src/memory/secret-input.ts

19 lines
450 B
TypeScript

import {
hasConfiguredSecretInput,
normalizeResolvedSecretInputString,
} from "../config/types.secrets.js";
export function hasConfiguredMemorySecretInput(value: unknown): boolean {
return hasConfiguredSecretInput(value);
}
export function resolveMemorySecretInputString(params: {
value: unknown;
path: string;
}): string | undefined {
return normalizeResolvedSecretInputString({
value: params.value,
path: params.path,
});
}