Aller au contenu

Terminal

Une interface terminal rapide, compatible avec tous les shells, éditeurs et serveurs distants. Décrivez ce que vous voulez avec vos mots, suivez chaque diff et choisissez les commandes qui peuvent s’exécuter automatiquement.

Fonctionnalités

Formulez votre demande

Écrivez ce que vous voulez. L’agent affiche son plan pendant qu’il travaille.

Validez les commandes

Les modifications s’affichent sous forme de diffs. Les commandes attendent votre autorisation.

À votre image

Changez de thème d’une touche, du thème par défaut à tokyonight et bien d’autres.

Mini

Lancez opencode mini pour voir les réponses dans l’historique de défilement de votre terminal.

  • Tout terminalFonctionne dans tout shell, dans le terminal de votre éditeur ou sur un serveur distant.
  • Diffs dans le filChaque diff apparaît dans le fil au moment où l’agent effectue la modification.
  • Reprendre plus tardReprenez la dernière session avec -c, ou n’importe laquelle avec -s.
  • Exécutions ponctuellesopencode run envoie un message et affiche la réponse.
  • Agents et commandesChangez d’agent avec shift+tab et ouvrez toutes les commandes avec ctrl+p.
  • Approbation automatiqueLancez avec --auto pour autoriser toute action que vous n’avez pas refusée.
  • Tout serveurConnectez-vous à un serveur OpenCode par URL avec --server.
  • Statistiques d’utilisationopencode stats affiche les statistiques d’utilisation que vous pouvez partager.

  • 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

    Voir tous les points forts de v2.4.2

    Améliorations

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

    Correctifs

    • 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 de plus correctifs
  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

    Voir tous les points forts de v2.4.1

    Améliorations

    • 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

    Voir tous les points forts de v2.4.0

    Améliorations

    • 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

    Correctifs

    • 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
    1 de plus correctifs
Voir toutes les mises à jour