UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

14 lines • 594 B
const warnedVariables = new Set(); export function warnOpaqueConfigEnvironment(name, value) { if (value !== undefined && /\{(?:file|env):/.test(value) && !warnedVariables.has(name)) { warnedVariables.add(name); console.warn(`${name}: environment value contains reference-looking text; inserted literally`); } } export function warnMissingConfigEnvironment(name) { if (warnedVariables.has(name)) return; warnedVariables.add(name); console.warn(`${name}: configuration environment variable is unset`); } //# sourceMappingURL=config-reference-env.js.map