mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:50:45 +00:00
refactor: trim command facades
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
export { resolveCommandSecretRefsViaGateway } from "../../cli/command-secret-gateway.js";
|
||||
export { getModelsCommandSecretTargetIds } from "../../cli/command-secret-targets.js";
|
||||
export {
|
||||
getRuntimeConfig,
|
||||
|
||||
Reference in New Issue
Block a user