omdsh-dev/DSH-better-sidebar
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
What it solves
dsh-better-sidebar provides a service-oriented sidebar and workbench framework for DSH, replacing basic interfaces with a comprehensive set of productivity tools. It solves the problem of limited workspace management by offering a dual-workbench layout (right sidebar and bottom panel) that can be extended by both the core plugin and third-party developers.
How it works
The project integrates with DSH's native sidebar API to register tabs and file viewers. It provides a ctx.betterSidebar service that allows other plugins to register their own pages (registerTab) or file previewers (registerFileViewer) using a unified API. This creates an ecosystem where built-in tools and third-party extensions have equal capabilities.
Who it’s for
Users of DSH who need a more powerful IDE-like environment for interacting with AI agents, including those who want integrated file management, terminal access, and real-time tracking of AI-driven file changes.
Highlights
- Integrated File Workbench: Features a resource manager with lazy-loading directory trees, a CodeMirror editor, and specialized previews for Markdown (with Mermaid diagrams), HTML, and PDF.
- Real Terminal: A full shell powered by xterm.js and node-pty with reconnection support and the ability to inject terminal tools into AI models.
- File Change Tracking: A dual-view system combining Git version control (diffs, history, commits) with a session-specific view that tracks every file read, written, or edited by the AI model.
- Embedded Browser: A sandboxed iframe browser supporting multiple tabs and protocol-based routing for external links.
- Task Management: A dedicated page for visualizing sub-agent topologies and monitoring background tasks with real-time output.
- Side Conversations: Beta feature allowing independent, Codex-style side threads that inherit main session context without polluting the primary chat.
- Extensible Architecture: An open API allowing third-party plugins to add new tabs and file viewers, with over 28 ecosystem plugins already available.
Related
- Project
- Project
- Project
- Project
- Project