fix(runtime): lazy-load setup shims and align contracts

This commit is contained in:
Vincent Koc
2026-03-19 12:17:25 -07:00
parent 7bbd01379e
commit 3b79494cbf
22 changed files with 909 additions and 160 deletions

View File

@@ -0,0 +1,25 @@
export type { OpenClawConfig } from "../config/config.js";
export type { WizardPrompter } from "../wizard/prompts.js";
export type { ChannelSetupAdapter } from "../channels/plugins/types.adapters.js";
export type { ChannelSetupDmPolicy } from "../channels/plugins/setup-wizard-types.js";
export type {
ChannelSetupWizard,
ChannelSetupWizardAllowFromEntry,
} from "../channels/plugins/setup-wizard.js";
export { DEFAULT_ACCOUNT_ID } from "../routing/session-key.js";
export { createEnvPatchedAccountSetupAdapter } from "../channels/plugins/setup-helpers.js";
export {
createAccountScopedAllowFromSection,
createAccountScopedGroupAccessSection,
createLegacyCompatChannelDmPolicy,
parseMentionOrPrefixedId,
patchChannelConfigForAccount,
promptLegacyChannelAllowFromForAccount,
resolveEntriesWithOptionalToken,
setSetupChannelEnabled,
} from "../channels/plugins/setup-wizard-helpers.js";
export { createAllowlistSetupWizardProxy } from "../channels/plugins/setup-wizard-proxy.js";