本文へスキップ

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

    Jump to Sessions by ID and Deep Links

    Paste a session ID into the Command Palette in Desktop or TUI to jump straight to any session across servers, or open sessions directly via opencode://session/<id> deep links.#67779#64180

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

    改善

    • Core, TerminalAdded experimental.tool.auto and experimental.permission.save managed policy actions, with required prompts for unparseable shell commands when shell deny policies are active.#67687#67867

    修正

    • TerminalReloaded textarea keybindings live when config changes without restarting TUI. Thanks @OpeOginni.#66127
  2. v2.4.3

    Added Find in session behind the Find in session experiment (`experimental["session-find"]

    Added Find in session behind the Find in session experiment (experimental["session-find"]: true): press <leader>f, super+f, or run /find to search loaded messages incrementally.#64870

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

    改善

    • TerminalText selections now render using theme colors (text.selection and background.selection), and provider lists now use the same ordering as Desktop and opencode auth login.#65776#66736

    修正

    • TerminalFixed three batches of TUI issues covering session list pinning and renaming, stashed input modes, pinned permission prompts, "none" in keybind arrays, "Jump to latest", Mermaid bold tags and unspaced edge labels, symlinked cli.json live reload, clickable bare URLs in user messages, unmatched leader sequences, and opencode mini --replay-limit, plus an empty slot-path hang.#66795#66813#66841#66863
  3. v2.4.2

    The model picker stays responsive with large catalogs, such as OpenRouter's

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

    改善

    • TerminalThe goal dialog scrolls when the goal is long.#65906
    • TerminalUpdated OpenTUI to 0.9.9.#65919

    修正

    • TerminalFixed /models showing only free models when the TUI opened a session in another directory.#66424
    • TerminalFixed type-to-filter in Message Actions.#65903
    • TerminalFixed removing theme from config not switching back to the default theme.#65925
    • TerminalFixed quick successive settings changes overwriting each other.#65761
    ほか1件 修正
すべての更新を見る