Pular para o conteúdo

Terminal

Uma interface de terminal rápida que funciona em qualquer shell, editor ou servidor remoto. Descreva o que quer em palavras simples, veja cada edição chegar como diff e escolha quais comandos rodam sozinhos.

Recursos

Peça em palavras simples

Digite o que quer, e o agente mostra o plano enquanto trabalha.

Aprove o que roda

Edições aparecem como diffs, e comandos esperam sua permissão.

Do seu jeito

Troque de tema com uma tecla, do padrão ao tokyonight e outros.

Mini

Rode opencode mini e as respostas vão para o seu histórico.

  • Todo terminalFunciona em qualquer shell, no terminal do seu editor ou em um servidor remoto.
  • Diffs na linha do tempoVeja cada edição como diff na linha do tempo, conforme o agente a faz.
  • Continue depoisRetome a última sessão com -c, ou qualquer uma com -s.
  • Uso avulsoopencode run envia uma mensagem e imprime a resposta.
  • Agentes e comandosTroque de agente com shift+tab e abra todos os comandos com ctrl+p.
  • AutoaprovaçãoRode com --auto para permitir toda ação que você não negou.
  • Todo servidorConecte-se a um servidor OpenCode pela URL com --server.
  • Estatísticasopencode stats mostra estatísticas de uso para compartilhar.

  • 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

Changelog

  1. v2.4.2

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

    Ver todos os destaques da v2.4.2

    Melhorias

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

    Correções

    • 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
    Mais 1 correções
  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

    Ver todos os destaques da v2.4.1

    Melhorias

    • 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

    Ver todos os destaques da v2.4.0

    Melhorias

    • 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

    Correções

    • 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
    Mais 1 correções
Ver todas as novidades