Implements issue #13 — right sidebar for session configuration with override level selection, disabled tools checkboxes, and granted permissions input. Integrates config into chat page header with toggle button and non-default indicator. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
Issue #13: Session config sidebar component
Status: COMPLETED
Issue: #13
Branch: feature/issue-13-config-sidebar
Acceptance Criteria
- Right sidebar component for session configuration
- Override level selection (None / Relax / All) with radio-style buttons
- Disabled tools toggle checkboxes using ToolType enum values
- Granted permissions free-text input with add/remove
- Toggle button in header with non-default config indicator dot
- Reset button to restore defaults
- Config passed to processRequest on send
Implementation
Components
ConfigSidebar.svelte— right sidebar with override level, disabled tools, and granted permissions sections- Updated
+page.svelte— added config toggle button in header, sessionConfig state, and ConfigSidebar integration
Key Decisions
- Used
@bufbuild/protobufcreate()withSessionConfigSchemafor immutable config updates - Config state lives in
+page.svelteand is passed down as prop - Non-default config indicator (amber dot) shown in both the header toggle button and sidebar header
- Disabled tools stored as string labels matching ToolType enum display names