refactor: pin remaining extension api surfaces

This commit is contained in:
Peter Steinberger
2026-04-27 21:02:20 +01:00
parent 221bfc8929
commit e9b1fbb8c4
28 changed files with 541 additions and 90 deletions

View File

@@ -1,9 +1,29 @@
export { matrixPlugin } from "./src/channel.js";
export * from "./src/setup-core.js";
export * from "./src/setup-surface.js";
export * from "./src/account-selection.js";
export * from "./src/env-vars.js";
export * from "./src/storage-paths.js";
export { createMatrixSetupWizardProxy, matrixSetupAdapter } from "./src/setup-core.js";
export { matrixOnboardingAdapter } from "./src/setup-surface.js";
export {
findMatrixAccountEntry,
requiresExplicitMatrixDefaultAccount,
resolveConfiguredMatrixAccountIds,
resolveMatrixChannelConfig,
resolveMatrixDefaultOrOnlyAccountId,
} from "./src/account-selection.js";
export {
getMatrixScopedEnvVarNames,
listMatrixEnvAccountIds,
resolveMatrixEnvAccountToken,
} from "./src/env-vars.js";
export {
hashMatrixAccessToken,
resolveMatrixAccountStorageRoot,
resolveMatrixCredentialsDir,
resolveMatrixCredentialsFilename,
resolveMatrixCredentialsPath,
resolveMatrixHomeserverKey,
resolveMatrixLegacyFlatStoragePaths,
resolveMatrixLegacyFlatStoreRoot,
sanitizeMatrixPathSegment,
} from "./src/storage-paths.js";
export {
createMatrixThreadBindingManager,
getMatrixThreadBindingManager,

View File

@@ -1,8 +1,10 @@
export {
registerSessionBindingAdapter,
__testing,
} from "../../../../src/infra/outbound/session-binding-service.js";
export { setActivePluginRegistry } from "../../../../src/plugins/runtime.js";
export { resolveAgentRoute } from "../../../../src/routing/resolve-route.js";
export { createTestRegistry } from "../../../../src/test-utils/channel-plugins.js";
export type { OpenClawConfig } from "../../../../src/config/config.js";
} from "openclaw/plugin-sdk/session-binding-runtime";
export { resolveAgentRoute } from "openclaw/plugin-sdk/routing";
export {
createTestRegistry,
setActivePluginRegistry,
type OpenClawConfig,
} from "openclaw/plugin-sdk/testing";