Files
openclaw/src/plugin-sdk/setup-runtime.ts
T
Peter Steinberger 6aa27d6ecd refactor: retire August compat windows (embedding API, pi aliases, target parser, spawning hook, setup exports, WhatsApp inbound aliases) (#124416)
* 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.
2026-08-15 22:43:47 -07:00

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";