Przejdź do treści

Terminal

Szybki interfejs terminalowy, który działa w każdej powłoce, edytorze i na zdalnym serwerze. Opisz zwykłymi słowami, czego chcesz, patrz, jak każda edycja pojawia się jako diff, i wybierz, które polecenia uruchamiają się same.

Funkcje

Pisz zwykłymi słowami

Wpisz, czego chcesz, a agent pokaże plan w trakcie pracy.

Zatwierdzaj polecenia

Edycje wyświetlają się jako diffy, a polecenia czekają na Twoją zgodę.

Po swojemu

Zmieniaj motyw jednym klawiszem, od domyślnego po tokyonight i inne.

Mini

Uruchom opencode mini, a odpowiedzi trafią do historii terminala.

  • Każdy terminalDziała w każdej powłoce, w terminalu edytora i na zdalnym serwerze.
  • Diffy na osiOglądaj każdą edycję jako diff na osi czasu, gdy agent ją wprowadza.
  • Wróć późniejKontynuuj ostatnią sesję z -c albo dowolną z -s.
  • Jednorazowoopencode run wysyła jedną wiadomość i wypisuje odpowiedź.
  • Agenci i poleceniaZmieniaj agentów przez shift+tab i otwieraj wszystkie polecenia przez ctrl+p.
  • AutozgodaUruchom z --auto, aby zezwolić na każdą akcję, której nie zablokowałeś.
  • Każdy serwerPołącz się z serwerem OpenCode przez URL z --server.
  • Statystykiopencode stats pokazuje statystyki użycia do udostępnienia.

  • 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

Zmiany

  1. v2.4.2

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

    Zobacz wszystkie najważniejsze zmiany w v2.4.2

    Ulepszenia

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

    Poprawki

    • 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
    Jeszcze 1 poprawki
  2. v2.4.1

    Config-Only Providers Show Their Models

    Providers you set up only in your config, such as Ollama, now show their models in /models without a /connect login.#65793

    Zobacz wszystkie najważniejsze zmiany w v2.4.1

    Ulepszenia

    • Core, Terminal, DesktopWith experimental.model_speeds enabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries.#65749
  3. v2.4.0

    New TUI Look

    The TUI's new designs are on by default, and the opencode theme is the new one. Pick opencode-classic in Theme to keep the previous colors.#64988

    Zobacz wszystkie najważniejsze zmiany w v2.4.0

    Ulepszenia

    • Terminal/login and /auth open the same dialog as /connect, which now lists a single OpenCode entry that includes OpenCode Go models.#65265#65466
    • TerminalPressing ↓ opens the picker on the first tab with something running, the same tab that clicking the footer opens.#64972
    • TerminalText prompt dialogs such as rename session, /btw, worktree names and connect forms end with a Submit button, and prompt and export dialogs have tighter spacing.#64944
    • TerminalThe opencode theme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows.#64962

    Poprawki

    • TerminalFixed connect forms built from integration fields, such as the Azure resource name, showing an empty row between the title and the input.#64944
    • TerminalFixed list dialogs ending with two blank rows, and the Manage workspaces footer not staying at the bottom.#64983
    • TerminalFixed long dialog lists replacing their last visible row with a stray ….#64934
    • TerminalFixed the selection bar of a delete-confirmation row staying blue instead of red.#64936
    Jeszcze 1 poprawki
Zobacz wszystkie zmiany