Files
openclaw/src/plugin-sdk/setup-runtime.ts
Peter Steinberger 44314c9451 refactor(channels): table-drive setup and control-plane helpers (#109028)
* refactor(channels): table-drive setup credentials, config schemas, doctor detectors, status issues

* refactor(channels): control-plane tables (rest)

* fix(plugin-sdk): refresh surface budgets after rebase

* style(plugin-sdk): format credential helpers

* fix(channels): preserve generic schema refinement types

* fix(channels): preserve schema input and output inference

* fix(clickclack): forward credential patch fields

* test(plugin-sdk): use redacted credential fixtures

* fix(plugin-sdk): refresh API baseline after inference fix

* fix(channels): keep multi-account envelope optional

* fix(channels): preserve policy validation invariants

* fix(extensions): remove stale awaits from file checks

* style(qqbot): format synchronous file check

* fix(config): refresh bundled channel metadata

* fix(qqbot): reject unsupported pairing policy
2026-07-16 07:17:01 -07:00

55 lines
2.0 KiB
TypeScript

/**
* Runtime SDK subpath for channel setup wizards, prompts, and allowlist helpers.
*/
export type { OpenClawConfig } from "../config/config.js";
export type { WizardPrompter } from "../wizard/prompts.js";
export { createClackPrompter } from "../wizard/clack-prompter.js";
export { createSetupTranslator } from "../wizard/i18n/index.js";
export type { SetupTranslator, WizardI18nParams } from "../wizard/i18n/index.js";
export type { ChannelSetupAdapter } from "../channels/plugins/types.adapters.js";
export type {
ChannelSetupDmPolicy,
ChannelSetupWizard,
ChannelSetupWizardAllowFromEntry,
ChannelSetupWizardCredential,
ChannelSetupWizardTextInput,
} from "../channels/plugins/setup-wizard-types.js";
export { DEFAULT_ACCOUNT_ID } from "../routing/session-key.js";
export {
createEnvPatchedAccountSetupAdapter,
createPatchedAccountSetupAdapter,
createSetupInputPresenceValidator,
} from "../channels/plugins/setup-helpers.js";
export {
createAccountScopedAllowFromSection,
createAccountScopedGroupAccessSection,
createTopLevelChannelDmPolicy,
createLegacyCompatChannelDmPolicy,
createStandardChannelSetupStatus,
mergeAllowFromEntries,
noteChannelLookupFailure,
noteChannelLookupSummary,
parseSetupEntriesAllowingWildcard,
parseMentionOrPrefixedId,
patchChannelConfigForAccount,
promptResolvedAllowFrom,
promptLegacyChannelAllowFromForAccount,
promptParsedAllowFromForAccount,
resolveEntriesWithOptionalToken,
resolveSetupAccountId,
setAccountAllowFromForChannel,
setSetupChannelEnabled,
splitSetupEntries,
} from "../channels/plugins/setup-wizard-helpers.js";
export { createAllowlistSetupWizardProxy } from "../channels/plugins/setup-wizard-proxy.js";
export {
createCliPathTextInput,
createDelegatedTextInputShouldPrompt,
} from "../channels/plugins/setup-wizard-binary.js";
export { createDelegatedSetupWizardProxy } from "../channels/plugins/setup-wizard-proxy.js";
export { baseUrlTextInput, defineTokenCredential } from "./setup-credential.js";