refactor: trim command facades

This commit is contained in:
Peter Steinberger
2026-05-02 08:01:10 +01:00
parent ea1a0277d5
commit 221ad94f18
3 changed files with 3 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ function resolveResolvedChannelId(params: {
return normalizeChannelId(params.catalogEntry.id) ?? (params.catalogEntry.id as ChannelId);
}
export function resolveCatalogChannelEntry(raw: string, cfg: OpenClawConfig | null) {
function resolveCatalogChannelEntry(raw: string, cfg: OpenClawConfig | null) {
const trimmed = normalizeOptionalLowercaseString(raw);
if (!trimmed) {
return undefined;

View File

@@ -1,12 +1,3 @@
export {
configureCommand,
configureCommandFromSectionsArg,
configureCommandWithSections,
} from "./configure.commands.js";
export { configureCommandFromSectionsArg } from "./configure.commands.js";
export { buildGatewayAuthConfig } from "./configure.gateway-auth.js";
export {
CONFIGURE_WIZARD_SECTIONS,
parseConfigureWizardSections,
type WizardSection,
} from "./configure.shared.js";
export { runConfigureWizard } from "./configure.wizard.js";
export { CONFIGURE_WIZARD_SECTIONS } from "./configure.shared.js";

View File

@@ -1,4 +1,3 @@
export { resolveCommandSecretRefsViaGateway } from "../../cli/command-secret-gateway.js";
export { getModelsCommandSecretTargetIds } from "../../cli/command-secret-targets.js";
export {
getRuntimeConfig,