mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-21 10:01:37 -06:00
6aa27d6ecd
* refactor(plugin-sdk): retire embedded Pi aliases * refactor(channels): retire explicit target compatibility * refactor(plugins): retire subagent spawning hook * refactor(plugin-sdk): retire shipped channel setup exports * refactor(whatsapp): retire inbound callback aliases Proof: focused build and WhatsApp E2E green; broad WhatsApp suite 188/189 files green. extensions/whatsapp/src/monitor-inbox.policy.test.ts flakes only in the parallel batch and passes isolated (10/10). * refactor(plugin-sdk): retire memory embedding registrar Migrate every bundled provider and manifest to registerEmbeddingProvider and contracts.embeddingProviders. Preserve memory-specific batching, local-service acquisition, index identity, and auto-selection through the canonical generic registry adapter, then remove the parallel registrar, registry, diagnostics, contracts, tests, and docs. * chore(plugin-sdk): tighten retired surface budgets Pin the post-retirement public SDK surface to 144 entrypoints, 4,312 exports, 2,564 callable exports, and 1,133 deprecated exports; agent-harness-runtime now permits exactly nine deprecated exports.
53 lines
1.9 KiB
TypeScript
53 lines
1.9 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,
|
|
createStandardChannelSetupStatus,
|
|
mergeAllowFromEntries,
|
|
noteChannelLookupFailure,
|
|
noteChannelLookupSummary,
|
|
parseSetupEntriesAllowingWildcard,
|
|
parseMentionOrPrefixedId,
|
|
patchChannelConfigForAccount,
|
|
promptResolvedAllowFrom,
|
|
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";
|