mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 17:24:58 +00:00
Onboarding: default dmScope to per-channel-peer
This commit is contained in:
committed by
Peter Steinberger
parent
85e5ed3f78
commit
8f0b2b84e7
@@ -1,5 +1,7 @@
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
|
||||
export const ONBOARDING_DEFAULT_DM_SCOPE = "per-channel-peer";
|
||||
|
||||
export function applyOnboardingLocalWorkspaceConfig(
|
||||
baseConfig: OpenClawConfig,
|
||||
workspaceDir: string,
|
||||
@@ -17,5 +19,9 @@ export function applyOnboardingLocalWorkspaceConfig(
|
||||
...baseConfig.gateway,
|
||||
mode: "local",
|
||||
},
|
||||
session: {
|
||||
...baseConfig.session,
|
||||
dmScope: baseConfig.session?.dmScope ?? ONBOARDING_DEFAULT_DM_SCOPE,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user