openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
23 lines • 1.12 kB
TypeScript
import { i as OpenClawConfig } from "./types.openclaw-DABkiMzt.js";
//#region src/cli/command-secret-gateway.d.ts
type ResolveCommandSecretsResult = {
resolvedConfig: OpenClawConfig;
diagnostics: string[];
targetStatesByPath: Record<string, CommandSecretTargetState>;
hadUnresolvedTargets: boolean;
};
type CommandSecretResolutionMode = "enforce_resolved" | "read_only_status" | "read_only_operational";
type LegacyCommandSecretResolutionMode = "strict" | "summary" | "operational_readonly";
type CommandSecretResolutionModeInput = CommandSecretResolutionMode | LegacyCommandSecretResolutionMode;
type CommandSecretTargetState = "resolved_gateway" | "resolved_local" | "inactive_surface" | "unresolved";
declare function resolveCommandSecretRefsViaGateway(params: {
config: OpenClawConfig;
commandName: string;
targetIds: Set<string>;
mode?: CommandSecretResolutionModeInput;
allowedPaths?: ReadonlySet<string>;
forcedActivePaths?: ReadonlySet<string>;
optionalActivePaths?: ReadonlySet<string>;
}): Promise<ResolveCommandSecretsResult>;
//#endregion
export { resolveCommandSecretRefsViaGateway as t };