From f29cf31c5ec1199f83f256765b809849bef58192 Mon Sep 17 00:00:00 2001 From: ndycode Date: Sat, 21 Mar 2026 04:37:08 +0800 Subject: [PATCH] refactor: route features through command module --- lib/codex-manager.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/codex-manager.ts b/lib/codex-manager.ts index af128432..26d0ccbe 100644 --- a/lib/codex-manager.ts +++ b/lib/codex-manager.ts @@ -434,10 +434,6 @@ const IMPLEMENTED_FEATURES: ImplementedFeature[] = [ { id: 41, name: "Auto-switch to best account command" }, ]; -function runFeaturesReport(): number { - return runFeaturesCommand({ implementedFeatures: IMPLEMENTED_FEATURES }); -} - function resolveActiveIndex( storage: AccountStorageV3, family: ModelFamily = "codex", @@ -5297,7 +5293,7 @@ export async function runCodexMultiAuthCli(rawArgs: string[]): Promise { return runCheckCommand({ runHealthCheck }); } if (command === "features") { - return runFeaturesReport(); + return runFeaturesCommand({ implementedFeatures: IMPLEMENTED_FEATURES }); } if (command === "verify-flagged") { return runVerifyFlagged(rest);