ChannelAdapter interface with setup/deliver/teardown/setTyping lifecycle. Self-registration pattern via channel-registry. Host wiring in index-v2 bridges inbound messages to routeInbound and outbound delivery to adapters. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
923 B
TypeScript
39 lines
923 B
TypeScript
export { initDb, initTestDb, getDb, closeDb } from './connection.js';
|
|
export { runMigrations } from './migrations/index.js';
|
|
export {
|
|
createAgentGroup,
|
|
getAgentGroup,
|
|
getAgentGroupByFolder,
|
|
getAllAgentGroups,
|
|
getAdminAgentGroup,
|
|
updateAgentGroup,
|
|
deleteAgentGroup,
|
|
} from './agent-groups.js';
|
|
export {
|
|
createMessagingGroup,
|
|
getMessagingGroup,
|
|
getMessagingGroupByPlatform,
|
|
getAllMessagingGroups,
|
|
getMessagingGroupsByChannel,
|
|
updateMessagingGroup,
|
|
deleteMessagingGroup,
|
|
createMessagingGroupAgent,
|
|
getMessagingGroupAgents,
|
|
getMessagingGroupAgent,
|
|
updateMessagingGroupAgent,
|
|
deleteMessagingGroupAgent,
|
|
} from './messaging-groups.js';
|
|
export {
|
|
createSession,
|
|
getSession,
|
|
findSession,
|
|
getSessionsByAgentGroup,
|
|
getActiveSessions,
|
|
getRunningSessions,
|
|
updateSession,
|
|
deleteSession,
|
|
createPendingQuestion,
|
|
getPendingQuestion,
|
|
deletePendingQuestion,
|
|
} from './sessions.js';
|