DSH-better-sidebar 是做什么的?
An open sidebar foundation that supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
Features
- Extensible: Register custom sidebar pages via a simple API.
- Built-in Pages:
- File rendering/editing
- Terminal
- Side chat
- Git
- Sub-agent
- Cross-platform: Works with AI agents supporting sidebar UIs (e.g., Cursor, Claude Code, VS Code extensions).
Usage
To register a new sidebar page, call the provided registration function with a unique ID, label, and component.
registerSidebarPage('my-custom-page', {
label: 'My Page',
icon: 'folder',
component: MyCustomComponent
})
Configuration
No additional environment variables are required. Simply include the skill in your agent's configuration.