diff --git a/src/agents/command/session.ts b/src/agents/command/session.ts index 4ffa5cf4f1f..babb5558d5d 100644 --- a/src/agents/command/session.ts +++ b/src/agents/command/session.ts @@ -7,17 +7,18 @@ import { type VerboseLevel, } from "../../auto-reply/thinking.js"; import { - evaluateSessionFreshness, - loadSessionStore, resolveAgentIdFromSessionKey, - resolveChannelResetConfig, resolveExplicitAgentSessionKey, +} from "../../config/sessions/main-session.js"; +import { resolveStorePath } from "../../config/sessions/paths.js"; +import { + evaluateSessionFreshness, resolveSessionResetPolicy, - resolveSessionResetType, - resolveSessionKey, - resolveStorePath, - type SessionEntry, -} from "../../config/sessions.js"; +} from "../../config/sessions/reset-policy.js"; +import { resolveChannelResetConfig, resolveSessionResetType } from "../../config/sessions/reset.js"; +import { resolveSessionKey } from "../../config/sessions/session-key.js"; +import { loadSessionStore } from "../../config/sessions/store-load.js"; +import type { SessionEntry } from "../../config/sessions/types.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; import { normalizeAgentId, normalizeMainKey } from "../../routing/session-key.js"; import { resolveSessionIdMatchSelection } from "../../sessions/session-id-resolution.js";