anomalyco / anomalyco/opencode

[FEATURE]: Add persistent ui.sidebar.enabled config to disable Context sidebar

Open
#40,086 3 comments 2 reactions 1 assignee View on GitHub

@simonklee is already working on this.

Since Aug 1, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

The Context sidebar in the opencode TUI keeps reappearing after restart. There's no persistent configuration option to disable it.

Requested feature:
Add a config option in opencode.json:

{
  "ui": {
    "sidebar": {
      "enabled": false
    }
  }
}

Current behavior:

  • Sidebar toggles with Ctrl+B but resets on restart
  • No ui.sidebar.enabled option in config schema
  • Context panel (from FlowDeck's context-steward skill) persists across sessions

Expected behavior:

  • Setting ui.sidebar.enabled: false keeps sidebar hidden permanently
  • Respects user preference across restarts

Environment:

  • opencode version: [run opencode --version]
  • OS: Linux
  • Config: project-level opencode.json

  • I have searched existing issues and confirmed this feature has not been suggested before

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.