168 lines
6.3 KiB
TypeScript
168 lines
6.3 KiB
TypeScript
export { CHANNEL_MESSAGE_ACTION_NAMES } from "../channels/plugins/message-action-names.js";
|
|
export type {
|
|
ChannelAccountSnapshot,
|
|
ChannelAccountState,
|
|
ChannelAgentTool,
|
|
ChannelAgentToolFactory,
|
|
ChannelAuthAdapter,
|
|
ChannelCapabilities,
|
|
ChannelCommandAdapter,
|
|
ChannelConfigAdapter,
|
|
ChannelDirectoryAdapter,
|
|
ChannelDirectoryEntry,
|
|
ChannelDirectoryEntryKind,
|
|
ChannelElevatedAdapter,
|
|
ChannelGatewayAdapter,
|
|
ChannelGatewayContext,
|
|
ChannelGroupAdapter,
|
|
ChannelGroupContext,
|
|
ChannelHeartbeatAdapter,
|
|
ChannelHeartbeatDeps,
|
|
ChannelId,
|
|
ChannelLogSink,
|
|
ChannelLoginWithQrStartResult,
|
|
ChannelLoginWithQrWaitResult,
|
|
ChannelLogoutContext,
|
|
ChannelLogoutResult,
|
|
ChannelMentionAdapter,
|
|
ChannelMessageActionAdapter,
|
|
ChannelMessageActionContext,
|
|
ChannelMessageActionName,
|
|
ChannelMessagingAdapter,
|
|
ChannelMeta,
|
|
ChannelOutboundAdapter,
|
|
ChannelOutboundContext,
|
|
ChannelOutboundTargetMode,
|
|
ChannelPairingAdapter,
|
|
ChannelPollContext,
|
|
ChannelPollResult,
|
|
ChannelResolveKind,
|
|
ChannelResolveResult,
|
|
ChannelResolverAdapter,
|
|
ChannelSecurityAdapter,
|
|
ChannelSecurityContext,
|
|
ChannelSecurityDmPolicy,
|
|
ChannelSetupAdapter,
|
|
ChannelSetupInput,
|
|
ChannelStatusAdapter,
|
|
ChannelStatusIssue,
|
|
ChannelStreamingAdapter,
|
|
ChannelThreadingAdapter,
|
|
ChannelThreadingContext,
|
|
ChannelThreadingToolContext,
|
|
ChannelToolSend,
|
|
} from "../channels/plugins/types.js";
|
|
export type { ChannelConfigSchema, ChannelPlugin } from "../channels/plugins/types.plugin.js";
|
|
export type { ClawdbotPluginApi } from "../plugins/types.js";
|
|
export type { PluginRuntime } from "../plugins/runtime/types.js";
|
|
export type { ClawdbotConfig } from "../config/config.js";
|
|
export type { ChannelDock } from "../channels/dock.js";
|
|
export type {
|
|
DmPolicy,
|
|
GroupPolicy,
|
|
MSTeamsChannelConfig,
|
|
MSTeamsConfig,
|
|
MSTeamsReplyStyle,
|
|
MSTeamsTeamConfig,
|
|
} from "../config/types.js";
|
|
export { MSTeamsConfigSchema } from "../config/zod-schema.providers-core.js";
|
|
export type { RuntimeEnv } from "../runtime.js";
|
|
export type { WizardPrompter } from "../wizard/prompts.js";
|
|
export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "../routing/session-key.js";
|
|
export type { ReplyPayload } from "../auto-reply/types.js";
|
|
export { SILENT_REPLY_TOKEN, isSilentReplyText } from "../auto-reply/tokens.js";
|
|
export { chunkMarkdownText, resolveTextChunkLimit } from "../auto-reply/chunk.js";
|
|
export {
|
|
hasControlCommand,
|
|
isControlCommandMessage,
|
|
shouldComputeCommandAuthorized,
|
|
} from "../auto-reply/command-detection.js";
|
|
export { shouldHandleTextCommands } from "../auto-reply/commands-registry.js";
|
|
export { formatAgentEnvelope } from "../auto-reply/envelope.js";
|
|
export {
|
|
createInboundDebouncer,
|
|
resolveInboundDebounceMs,
|
|
} from "../auto-reply/inbound-debounce.js";
|
|
export { dispatchReplyFromConfig } from "../auto-reply/reply/dispatch-from-config.js";
|
|
export { finalizeInboundContext } from "../auto-reply/reply/inbound-context.js";
|
|
export {
|
|
buildPendingHistoryContextFromMap,
|
|
clearHistoryEntries,
|
|
DEFAULT_GROUP_HISTORY_LIMIT,
|
|
recordPendingHistoryEntry,
|
|
} from "../auto-reply/reply/history.js";
|
|
export type { HistoryEntry } from "../auto-reply/reply/history.js";
|
|
export { buildMentionRegexes, matchesMentionPatterns } from "../auto-reply/reply/mentions.js";
|
|
export { createReplyDispatcherWithTyping } from "../auto-reply/reply/reply-dispatcher.js";
|
|
export { resolveEffectiveMessagesConfig, resolveHumanDelayConfig } from "../agents/identity.js";
|
|
export { mergeAllowlist, summarizeMapping } from "../channels/allowlists/resolve-utils.js";
|
|
export { resolveCommandAuthorizedFromAuthorizers } from "../channels/command-gating.js";
|
|
export { resolveMentionGating } from "../channels/mention-gating.js";
|
|
export {
|
|
buildChannelKeyCandidates,
|
|
normalizeChannelSlug,
|
|
resolveChannelEntryMatch,
|
|
resolveChannelEntryMatchWithFallback,
|
|
resolveNestedAllowlistDecision,
|
|
} from "../channels/plugins/channel-config.js";
|
|
export type { AllowlistMatch } from "../channels/plugins/allowlist-match.js";
|
|
export { formatAllowlistMatchMeta } from "../channels/plugins/allowlist-match.js";
|
|
export {
|
|
readChannelAllowFromStore,
|
|
upsertChannelPairingRequest,
|
|
} from "../pairing/pairing-store.js";
|
|
export { resolveAgentRoute } from "../routing/resolve-route.js";
|
|
export {
|
|
recordSessionMetaFromInbound,
|
|
resolveStorePath,
|
|
updateLastRoute,
|
|
} from "../config/sessions.js";
|
|
export { resolveStateDir } from "../config/paths.js";
|
|
export { loadConfig } from "../config/config.js";
|
|
export { optionalStringEnum, stringEnum } from "../agents/schema/typebox.js";
|
|
export { danger } from "../globals.js";
|
|
export { logVerbose, shouldLogVerbose } from "../globals.js";
|
|
export { getChildLogger } from "../logging.js";
|
|
export { enqueueSystemEvent } from "../infra/system-events.js";
|
|
export { runCommandWithTimeout } from "../process/exec.js";
|
|
export { loadWebMedia } from "../web/media.js";
|
|
export { isVoiceCompatibleAudio } from "../media/audio.js";
|
|
export { mediaKindFromMime } from "../media/constants.js";
|
|
export { detectMime } from "../media/mime.js";
|
|
export { getImageMetadata, resizeToJpeg } from "../media/image-ops.js";
|
|
export { saveMediaBuffer } from "../media/store.js";
|
|
export type { PollInput } from "../polls.js";
|
|
|
|
export { buildChannelConfigSchema } from "../channels/plugins/config-schema.js";
|
|
export {
|
|
deleteAccountFromConfigSection,
|
|
setAccountEnabledInConfigSection,
|
|
} from "../channels/plugins/config-helpers.js";
|
|
export {
|
|
applyAccountNameToChannelSection,
|
|
migrateBaseNameToDefaultAccount,
|
|
} from "../channels/plugins/setup-helpers.js";
|
|
export { formatPairingApproveHint } from "../channels/plugins/helpers.js";
|
|
export { PAIRING_APPROVED_MESSAGE } from "../channels/plugins/pairing-message.js";
|
|
|
|
export type {
|
|
ChannelOnboardingAdapter,
|
|
ChannelOnboardingDmPolicy,
|
|
} from "../channels/plugins/onboarding-types.js";
|
|
export { addWildcardAllowFrom, promptAccountId } from "../channels/plugins/onboarding/helpers.js";
|
|
export { promptChannelAccessConfig } from "../channels/plugins/onboarding/channel-access.js";
|
|
|
|
export {
|
|
createActionGate,
|
|
jsonResult,
|
|
readNumberParam,
|
|
readReactionParams,
|
|
readStringParam,
|
|
} from "../agents/tools/common.js";
|
|
export { createMemoryGetTool, createMemorySearchTool } from "../agents/tools/memory-tool.js";
|
|
export { registerMemoryCli } from "../cli/memory-cli.js";
|
|
|
|
export { formatDocsLink } from "../terminal/links.js";
|
|
export type { HookEntry } from "../hooks/types.js";
|
|
export { registerPluginHooksFromDir } from "../hooks/plugin-hooks.js";
|