Перейти до вмісту

Terminal

Швидкий термінальний інтерфейс для будь-якої оболонки, редактора чи віддаленого сервера. Опишіть завдання простими словами, стежте за кожною зміною в коді й вибирайте, які команди запускатимуться автоматично.

Можливості

Простими словами

Напишіть, що потрібно, і агент покаже свій план у міру роботи.

Схвалюйте запуски

Переглядайте відмінності в коді й вирішуйте, які команди дозволити.

Під себе

Перемикайте теми одним натисканням клавіші. Вибирайте стандартну, tokyonight або іншу тему.

Mini

З opencode mini відповіді виводяться у вашу історію прокрутки.

  • Будь-який терміналПрацює в будь-якій оболонці, у вбудованому терміналі редактора чи на віддаленому сервері.
  • Зміни в стрічціУ стрічці видно відмінності в коді відразу, щойно агент вносить правку.
  • Продовжити пізнішеПродовжте останню сесію з -c або будь-яку іншу з -s.
  • Разові запускиopencode run надсилає одне повідомлення й виводить відповідь.
  • Агенти й командиПеремикайте агентів клавішами shift+tab і відкривайте всі команди через ctrl+p.
  • АвтосхваленняЗапустіть з --auto, щоб дозволити всі дії, які ви не заборонили.
  • Будь-який серверПідключайтеся до сервера OpenCode за URL за допомогою --server.
  • Статистика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.5

    opencode and opencode mini accept -p as a short form of --prompt

    Усі головні зміни v2.4.5

    Покращення

    • Terminalopencode api streams responses as they arrive and stops cleanly when piped to head.#67856
    • TerminalMermaid diagrams fit the width of the markdown they're in.#68268
    • TerminalMarkdown math renders in replies: $…$ and \(…\) inline, $$…$$ and \[…\] as display math. Plugins can supply the inline renderer with context.markdown.registerInlineMathRenderer.#68341

    Виправлення

    • Terminal@file#7 attaches only line 7. Use @file#7- for line 7 to the end of the file.#68332
    • TerminalRedo removes the prompt text undo restored, a single Esc no longer arms the next run to interrupt, and Windows paths pasted in WSL attach the file.#68098#68085#68005
    • Terminalopencode serve --port rejects out-of-range ports with a clear error.#67711
  2. 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
  3. 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
Усі оновлення