Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

447 B
Raw Blame
import { defineEvent } from '@shared/lib/ipc/events';

/**
 * A signed-in call to this server's gateway was refused with 401: its session
 * may have expired or been revoked (a password change elsewhere, "sign out of
 * all devices"). The window re-checks the server's sign-in rather than taking
 * this as a sign-out on its own.
 */
export const gatewaySessionEndedChannel = defineEvent<{ serverId: string }>(
  'switch-servers:session-ended'
);