refactor(agents): hide auth profile helper types · openclaw/openclaw@834c7c2
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ import { formatErrorMessage } from "../../infra/errors.js";
|
8 | 8 | import type { FailoverReason } from "../embedded-agent-helpers/types.js"; |
9 | 9 | import { buildProviderAuthRecoveryHint } from "../provider-auth-recovery-hint.js"; |
10 | 10 | |
11 | | -export type AuthProfileFailureCopyParams = { |
| 11 | +type AuthProfileFailureCopyParams = { |
12 | 12 | reason: FailoverReason; |
13 | 13 | provider: string; |
14 | 14 | /** |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | /** Hook invoked when auth profile failure state changes. */ |
2 | | -export type AuthProfileFailureHook = () => void; |
| 2 | +type AuthProfileFailureHook = () => void; |
3 | 3 | |
4 | 4 | let authProfileFailureHook: AuthProfileFailureHook | undefined; |
5 | 5 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ export type AuthProfileEligibilityReasonCode =
|
32 | 32 | | "mode_mismatch"; |
33 | 33 | |
34 | 34 | /** Eligibility decision for one auth profile candidate. */ |
35 | | -export type AuthProfileEligibility = { |
| 35 | +type AuthProfileEligibility = { |
36 | 36 | eligible: boolean; |
37 | 37 | reasonCode: AuthProfileEligibilityReasonCode; |
38 | 38 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。