refactor: trim config type exports · openclaw/openclaw@5b613cf
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ type ChannelContextVisibilityConfig = {
|
8 | 8 | accounts?: Record<string, { contextVisibility?: ContextVisibilityMode }>; |
9 | 9 | }; |
10 | 10 | |
11 | | -export type ContextVisibilityDefaultsConfig = { |
| 11 | +type ContextVisibilityDefaultsConfig = { |
12 | 12 | channels?: { |
13 | 13 | defaults?: { |
14 | 14 | contextVisibility?: ContextVisibilityMode; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -84,7 +84,7 @@ export function resolveNormalizedProviderModelMaxTokens(params: {
|
84 | 84 | return Math.min(safeMaxTokens, params.contextWindow); |
85 | 85 | } |
86 | 86 | |
87 | | -export type SessionDefaultsOptions = { |
| 87 | +type SessionDefaultsOptions = { |
88 | 88 | warn?: (message: string) => void; |
89 | 89 | warnState?: WarnState; |
90 | 90 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -80,7 +80,7 @@ export type EnvSubstitutionWarning = {
|
80 | 80 | configPath: string; |
81 | 81 | }; |
82 | 82 | |
83 | | -export type SubstituteOptions = { |
| 83 | +type SubstituteOptions = { |
84 | 84 | /** When set, missing vars call this instead of throwing and the original placeholder is preserved. */ |
85 | 85 | onMissing?: (warning: EnvSubstitutionWarning) => void; |
86 | 86 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。