anomalyco / anomalyco/opencode

The `/terminal` command is unavailable on fresh installs of OpenCode 1.18.x

Open
#48,025 0 comments 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Sep 8, 2026.

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

Description

Description

The /terminal command (and the terminal button) is completely unavailable on fresh installs of OpenCode 1.18.x. It was present and working through 1.17.20, and I've traced it to the v1/v2 layout split introduced around v1.18.0 ("Desktop v2 migration").

Steps to reproduce

  1. Install OpenCode fresh (no pre-existing ~/.config/opencode or prior project) on any 1.18.x version, e.g. 1.18.28.
  2. Open opencode web / desktop.
  3. Try /terminal in the prompt, or look for a terminal button in the UI.

Result: Neither the command nor the button exists. No terminal panel access at all.

Comparison / what still works

  • A project/install that predates 1.18 and gets upgraded in place still has /terminal working, apparently because it keeps falling back to the legacy (v1) layout.
  • A clean 1.18.x install never goes through that fallback, so /terminal is simply missing, with no setting to bring it back (confirmed via #38230 — no persistent toggle exists for new installs).

Expected behavior

Either:

  • Reimplement /terminal (or a terminal button) in the new v2 layout, or
  • If it was intentionally dropped, document the reasoning and the recommended replacement workflow.

Environment

  • OpenCode version: 1.18.28 (also reproduced on other 1.18.x versions)
  • Install type: fresh install, no pre-1.18 config/project
  • Interface: opencode web
  • OS: Linux

Related issues

  • #38230 (layout toggle not persistent for new installs)
  • #37012 (general request to keep legacy layout)
  • #30945 (older/different report about the terminal button on 1.15/1.16, closed as not planned — predates the 1.18 v2 migration and is not the same root cause)
Plugins

No response

OpenCode version

1.18.28

Steps to reproduce
  1. Install OpenCode fresh (no pre-existing ~/.config/opencode or prior project) on any 1.18.x version, e.g. 1.18.28.
  2. Open opencode web / desktop.
  3. Try /terminal in the prompt, or look for a terminal button in the UI.

Result: Neither the command nor the button exists. No terminal panel access at all.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

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.