refactor(agents): trim runtime constant exports · openclaw/openclaw@c25a4e6
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ import type { Model } from "../../llm/types.js";
|
4 | 4 | import { createSessionManagerRuntimeRegistry } from "./session-manager-runtime-registry.js"; |
5 | 5 | |
6 | 6 | /** Runtime knobs consumed by the compaction safeguard extension. */ |
7 | | -export type CompactionSafeguardRuntimeValue = { |
| 7 | +type CompactionSafeguardRuntimeValue = { |
8 | 8 | maxHistoryShare?: number; |
9 | 9 | contextWindowTokens?: number; |
10 | 10 | identifierPolicy?: AgentCompactionIdentifierPolicy; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,8 +6,6 @@
|
6 | 6 | import { createSubsystemLogger } from "../../logging/subsystem.js"; |
7 | 7 | export { |
8 | 8 | AUTH_PROFILE_FILENAME, |
9 | | -AUTH_STATE_FILENAME, |
10 | | -LEGACY_AUTH_FILENAME, |
11 | 9 | } from "./path-constants.js"; |
12 | 10 | |
13 | 11 | /** Current persisted auth profile store schema version. */ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,7 @@
|
6 | 6 | import { isRecord } from "@openclaw/normalization-core/record-coerce"; |
7 | 7 | |
8 | 8 | /** Legacy OAuth ref source persisted by older credential stores. */ |
9 | | -export const LEGACY_OAUTH_REF_SOURCE = "openclaw-credentials"; |
| 9 | +const LEGACY_OAUTH_REF_SOURCE = "openclaw-credentials"; |
10 | 10 | /** Legacy OAuth ref provider persisted by older credential stores. */ |
11 | 11 | export const LEGACY_OAUTH_REF_PROVIDER = "openai-codex"; |
12 | 12 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。