本文へスキップ

Terminal

どのシェル、エディタ、リモートサーバーでも動く高速なターミナルUI。やりたいことを普段の言葉で伝え、各編集が差分として反映される様子を確認し、どのコマンドを自動で実行するかを選べます。

機能

普段の言葉で依頼

やりたいことを入力すると、エージェントが作業しながら計画を示します。

実行内容を承認

編集は差分で表示され、コマンドはあなたの許可を待ちます。

自分好みに

デフォルトからtokyonightまで、キー1つでテーマを切り替えられます。

Mini

opencode mini を実行すると、返答が自分のスクロールバックに出力されます。

  • 全ターミナル対応どのシェルでも、エディタのターミナルでも、リモートサーバーでも動きます。
  • タイムラインに差分エージェントが編集するたびに、タイムラインで差分を確認できます。
  • 後から再開-c で前回のセッションを、-s で任意のセッションを再開できます。
  • 単発の実行opencode run でメッセージを1つ送り、返答を出力します。
  • エージェントとコマンドshift+tab でエージェントを切り替え、ctrl+p ですべてのコマンドを開けます。
  • 自動承認--auto を付けて実行すると、拒否していないすべての操作を許可します。
  • 任意のサーバー--server でURLを指定してOpenCodeサーバーに接続できます。
  • 利用統計opencode stats で、共有できる利用統計を表示します。

  • curlcurl -fsSL https://opencode.ai/v2/install | bash
  • npmnpm install -g @opencode/cli
  • bunbun install -g --trust @opencode/cli
  • brewbrew install anomalyco/tap/opencode-v2
  • paruparu -S opencode-beta

変更履歴

  1. v2.2.5

    The connect menu no longer lists MCP servers

    The connect menu no longer lists MCP servers, which are managed in their own place.#60675

  2. v2.2.4

    Preserved prompt cursor styles applied by plugins when themes or unrelated prompt state change

    修正

    • TerminalAdded missing right padding to edit and patch diffs.#60614
    • TerminalExtended the vertical session-tab activity pulse across the full tab width.#60338
  3. v2.2.3

    Added lazy loading for stored image references when experimental.media_blob is enabled

    Added lazy loading for stored image references when experimental.media_blob is enabled. Images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely.#60116

    破壊的変更

    TUI plugins require OpenTUI 0.8

    @opencode/plugin now requires @opentui/core and @opentui/solid 0.8.0 or later. In OpenTUI 0.8, a ScrollBox's wrapper, viewport, content, and scrollbars are facade objects instead of renderables, and a custom RenderContext must implement clock and onAnimationTick. See the OpenTUI 0.8.0 release notes.

    #60385

    改善

    • TerminalAdded a distinct marker for the selected composer suggestion in the new designs.#60393

    修正

    • TerminalFixed PHP syntax highlighting for code blocks without an opening <?php tag.#60359
    • TerminalPreserved # in file-search paths unless it introduces a valid line range.#60336
    • TerminalKept the configured default cursor style after config reloads.#60302
    • TerminalMatched the search cursor to the highlighted row when a selection dialog has no query.#60310
すべての更新を見る