Skip to content

[FEATURE]: expansion of the side panel #24400

@szogun1910

Description

@szogun1910

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

Currently the sidebar displays:

  • Context / token usage
  • Magic Context breakdown
  • Historian / Memory
  • MCP servers

Two important sections are missing that would greatly improve navigation and project management.

Proposed Solution

1. 📁 Recent Projects in Sidebar

The recent projects list is currently only accessible via a popup/modal at startup. It should be permanently visible in the sidebar as a collapsible section — similar to how MCP servers are displayed — allowing users to quickly switch between projects without leaving the current session.

Related to #18154 (new projects added to bottom instead of top).

2. 🧩 Installed Plugins in Sidebar

There is no dedicated section showing installed OpenCode plugins. A sidebar section should display:

  • Plugin name and version
  • Status (enabled / disabled / error)
  • Quick access to enable/disable

This would be consistent with how tools like VS Code handle extensions in their activity panel.

Expected Sidebar Structure

▼ Recent Projects
  • /opt/xxx/xxx/xxx
  • /home/xxx/...
  • ...

▼ Plugins
  • auto-skill-loader  v1.x  [enabled]
  • some-plugin        v1.x  [disabled]
  • broken-plugin      v1.x  [error]

▼ MCP
  • filesystem  Connected
  • mysql       Connected
  • ...

Environment

  • OpenCode v0.15.3
  • OS: ZorinOS (Linux)

Implementation Notes

Looking at @opencode-ai/plugin types, there are existing sidebar providers:

  • mcp: () => ReadonlyArray<TuiSidebarMcpItem> - already implemented for MCP
  • lsp: () => ReadonlyArray<TuiSidebarLspItem> - already implemented for LSP

To implement this feature, new types would be needed:

  • TuiSidebarProjectItem for recent projects
  • Integration with plugin config system for plugin status

The data sources exist:

  • Projects: SQLite at ~/.local/share/opencode/opencode.db (table session)
  • Plugins: Config files at ~/.opencode/opencode.json, ~/.config/opencode/opencode.json

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions