import { useState } from 'react' import type { SessionId } from '@deepseek-ai/dsh-api-remotes/client' import type { ConversationSessionTarget } from './session-target.ts' import css from './panel.module.css' export interface ConversationSessionPickerLabels { title: string hint: string target: string placeholder: string confirm: string cancel: string } /** Require a deliberate target choice when DSH has no current session id. */ export function ConversationSessionPicker(props: { options: readonly ConversationSessionTarget[] labels: ConversationSessionPickerLabels onSelect: (sessionId: SessionId) => void onCancel: () => void }): React.JSX.Element { const [selectedId, setSelectedId] = useState('') return (

{props.labels.title}

{props.labels.hint}

) }