import type { AppRegistryMeta } from '../../AppRegistry';
import { MessageSquare, List, Radio } from 'lucide-react';
import { SessionList } from './SessionList';
import { LiveSessions } from './LiveSessions';
import { ChatDetailPanel } from './ChatDetailPanel';

export { SessionList };
export { LiveSessions };
export { ChatDetailPanel };
export type { SelectedSession } from './ChatDetailPanel';
export { chatListPath, chatNewPath, chatSessionPath, cwdFromSplat, GROUP_SEGMENT } from './chat-routes';

export const appRegistryMetas: AppRegistryMeta[] = [
  {
    key: 'chat-session-list',
    name: 'Sessions',
    icon: List,
    component: SessionList,
    availableOnPanel: false,
  },
  {
    key: 'chat-live',
    name: 'Live',
    icon: Radio,
    component: LiveSessions,
    availableOnPanel: false,
  },
  {
    key: 'chat-detail',
    name: 'Chat',
    icon: MessageSquare,
    component: ChatDetailPanel,
    availableOnPanel: false,
  },
];
