Aller au contenu

Terminal

Une interface terminal rapide qui fonctionne dans tout shell, éditeur ou serveur distant. Décrivez ce que vous voulez avec vos mots, regardez chaque modification arriver en diff et choisissez quelles commandes s'exécutent seules.

Fonctionnalités

Demandez avec vos mots

Tapez ce que vous voulez, l'agent montre son plan en travaillant.

Validez les commandes

Les modifications s'affichent en diff, et les commandes attendent votre permission.

À votre image

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

Mini

Avec opencode mini, les réponses vont dans votre historique.

  • Tout terminalFonctionne dans tout shell, dans le terminal de votre éditeur ou sur un serveur distant.
  • Diffs dans la timelineVoyez chaque modification en diff dans la timeline, au moment où l'agent la fait.
  • Reprendre aprèsReprenez la dernière session avec -c, ou n'importe laquelle avec -s.
  • Exécution uniqueopencode 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 autoLancez avec --auto pour autoriser toute action que vous n'avez pas refusée.
  • Tout serveurConnectez-vous à un serveur OpenCode par URL avec --server.
  • Statistiquesopencode stats affiche des statistiques d'usage à 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