refactor(auth): remove unused external cli helper · openclaw/openclaw@9e5bebb
openclaw
·
2026-06-18
·
via Recent Commits to openclaw:main
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,6 @@ export type { AuthProfileEligibilityReasonCode } from "./auth-profiles/order.js"
|
12 | 12 | export { resolveAuthProfileDisplayLabel } from "./auth-profiles/display.js"; |
13 | 13 | export { formatAuthDoctorHint } from "./auth-profiles/doctor.js"; |
14 | 14 | export { |
15 | | -externalCliDiscoveryExisting, |
16 | 15 | externalCliDiscoveryForConfigStatus, |
17 | 16 | externalCliDiscoveryForProviderAuth, |
18 | 17 | externalCliDiscoveryForProviders, |
|
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|
@@ -64,20 +64,6 @@ export function externalCliDiscoveryNone(params?: {
|
64 | 64 | }; |
65 | 65 | } |
66 | 66 | |
67 | | -/** Allows discovery of already-existing external CLI auth profiles. */ |
68 | | -export function externalCliDiscoveryExisting(params?: { |
69 | | -config?: OpenClawConfig; |
70 | | -allowKeychainPrompt?: boolean; |
71 | | -}): ExternalCliAuthDiscovery { |
72 | | -return { |
73 | | -mode: "existing", |
74 | | - ...(params?.allowKeychainPrompt !== undefined |
75 | | - ? { allowKeychainPrompt: params.allowKeychainPrompt } |
76 | | - : {}), |
77 | | - ...(params?.config ? { config: params.config } : {}), |
78 | | -}; |
79 | | -} |
80 | | - |
81 | 67 | /** Allows external CLI auth discovery for specific providers and/or profiles. */ |
82 | 68 | export function externalCliDiscoveryScoped(params: { |
83 | 69 | config?: OpenClawConfig; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。