Chat · Components
AgentSessionPanel
Session management sidebar. Lists past agent sessions with status, message count, and allowed tools. Allows selecting an existing session or creating a new one.Public export
typescript
import { AgentSessionPanel } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 4
- Props described
- 4 of 4
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
sessionsAgentSessionData[]YesAvailable sessionscurrentSessionIdstringNoCurrently active session IDonselectsession(sessionId: string) => voidYesSelect a sessiononnewsession() => voidNoCreate a new sessionBindable state
This component has no bindable public state.
Callback events
onselectsession(sessionId: string) => voidonnewsession() => void