refactor: share onboarding account id resolution prelude

This commit is contained in:
Peter Steinberger
2026-03-07 20:54:47 +00:00
parent 168e4159ad
commit f0b05869fc
18 changed files with 105 additions and 117 deletions

View File

@@ -39,6 +39,7 @@ export {
addWildcardAllowFrom,
mergeAllowFromEntries,
promptAccountId,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export { PAIRING_APPROVED_MESSAGE } from "../channels/plugins/pairing-message.js";
export {

View File

@@ -31,6 +31,7 @@ export {
addWildcardAllowFrom,
mergeAllowFromEntries,
promptAccountId,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export { PAIRING_APPROVED_MESSAGE } from "../channels/plugins/pairing-message.js";
export {

View File

@@ -15,7 +15,11 @@ export type {
ChannelOnboardingDmPolicy,
} from "../channels/plugins/onboarding-types.js";
export { promptChannelAccessConfig } from "../channels/plugins/onboarding/channel-access.js";
export { addWildcardAllowFrom, promptAccountId } from "../channels/plugins/onboarding/helpers.js";
export {
addWildcardAllowFrom,
promptAccountId,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export { PAIRING_APPROVED_MESSAGE } from "../channels/plugins/pairing-message.js";
export type { BaseProbeResult } from "../channels/plugins/types.js";
export type { ChannelPlugin } from "../channels/plugins/types.plugin.js";

View File

@@ -32,6 +32,7 @@ export type { ChannelOnboardingAdapter } from "../channels/plugins/onboarding-ty
export {
promptAccountId,
promptSingleChannelSecretInput,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export {
applyAccountNameToChannelSection,

View File

@@ -26,6 +26,7 @@ export {
mergeAllowFromEntries,
promptAccountId,
promptSingleChannelSecretInput,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export { applyAccountNameToChannelSection } from "../channels/plugins/setup-helpers.js";
export { createAccountListHelpers } from "../channels/plugins/account-helpers.js";

View File

@@ -4,7 +4,10 @@
export type { ReplyPayload } from "../auto-reply/types.js";
export { buildChannelConfigSchema } from "../channels/plugins/config-schema.js";
export type { ChannelOnboardingAdapter } from "../channels/plugins/onboarding-types.js";
export { promptAccountId } from "../channels/plugins/onboarding/helpers.js";
export {
promptAccountId,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export { applyAccountNameToChannelSection } from "../channels/plugins/setup-helpers.js";
export type {
ChannelAccountSnapshot,

View File

@@ -20,6 +20,7 @@ export {
mergeAllowFromEntries,
promptAccountId,
promptSingleChannelSecretInput,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export { PAIRING_APPROVED_MESSAGE } from "../channels/plugins/pairing-message.js";
export {

View File

@@ -20,6 +20,7 @@ export {
addWildcardAllowFrom,
mergeAllowFromEntries,
promptAccountId,
resolveAccountIdForConfigure,
} from "../channels/plugins/onboarding/helpers.js";
export {
applyAccountNameToChannelSection,