本文へスキップ

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.3.0

    Quieter Transcripts by Default

    The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow. To see every step again, set Verbosity to medium or high in settings, or set session.verbosity in your TUI config; an existing setting is kept.#63207

    v2.3.0 のハイライトをすべて見る

    改善

    • TerminalSession IDs found in messages can now be opened directly.
    • TerminalActivity tabs are clickable and open the correct view.
    • TerminalShell mode has its own prompt color under the new designs.

    修正

    • TerminalRestored pasted text when undo brings back its placeholder.
    • TerminalRestored the live draft after browsing prompt history.
    • TerminalFixed copying a paste from within the prompt selection.
    • TerminalPreserved the Mini composer caret when closing the command palette.
    ほか5件 修正
  2. v2.2.7

    The update and confirm dialogs have buttons you can move between with ←/→ and Tab/Shift+Tab

    v2.2.7 のハイライトをすべて見る

    改善

    • TerminalThe model picker no longer has a Usage action; use /usage instead.#62927

    修正

    • TerminalSession exports are saved in the current working directory instead of the system temp folder.#62253
    • TerminalTyping a child session's exact ID in the open-session menu lists that session.#62262
    • TerminalThe TUI follows the terminal's current light or dark mode instead of a cached palette.#62248
  3. v2.2.6

    Added Scroll on send in Settings

    Added Scroll on send in Settings. Choose Keep (session.submit_scroll: "keep") to retain your reading position after submitting a prompt.#61460

    v2.2.6 のハイライトをすべて見る

    修正

    • TerminalAllow Ctrl+Z to suspend OpenCode while a form or dialog is open.#62118
    • TerminalKeep focus on an open dialog when a question arrives and contain plugin dialogs that throw during rendering.#60365#62110
    • TerminalShow an error when Ctrl+V cannot read the clipboard. Thanks @jimmyallinai.#61094
    • TerminalPrevent session titles containing newlines from crashing the TUI. Thanks @vishalshekhar.#57523
    ほか6件 修正
すべての更新を見る