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

export { SessionList };
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-detail',
    name: 'Chat',
    icon: MessageSquare,
    component: ChatDetailPanel,
    availableOnPanel: false,
  },
];
