Vai al contenuto

Terminal

Un'interfaccia da terminale veloce per qualsiasi shell, editor o server remoto. Spiega a parole tue cosa ti serve, segui le modifiche nei diff e scegli quali comandi eseguire in automatico.

Funzionalità

Chiedi a parole tue

Scrivi cosa ti serve. L'agente ti mostra il suo piano mentre lavora.

Approva i comandi

Le modifiche appaiono come diff e i comandi aspettano il tuo permesso.

Personalizza il terminale

Passa dal tema predefinito a tokyonight o a un altro tema con un solo tasto.

Mini

Esegui opencode mini per leggere le risposte nella cronologia del terminale.

  • Ogni terminaleFunziona in qualsiasi shell, nel terminale del tuo editor o su un server remoto.
  • Diff nella timelineSegui nella timeline i diff delle modifiche man mano che l'agente le apporta.
  • Riprendi più tardiRiprendi l'ultima sessione con -c o una sessione a tua scelta con -s.
  • Esecuzioni singoleopencode run invia un messaggio e stampa la risposta.
  • Agenti e comandiCambia agente con shift+tab e apri tutti i comandi con ctrl+p.
  • Approva in automaticoAvvia con --auto per consentire ogni azione che non hai negato.
  • Ogni serverCollegati a un server OpenCode tramite URL con --server.
  • Statistiche di utilizzoopencode stats mostra statistiche di utilizzo che puoi condividere.

  • 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.5

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

    Vedi tutte le novità principali di v2.4.5

    Miglioramenti

    • 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

    Correzioni

    • 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

    Vedi tutte le novità principali di v2.4.4

    Miglioramenti

    • 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

    Correzioni

    • 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

    Vedi tutte le novità principali di v2.4.3

    Miglioramenti

    • 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

    Correzioni

    • 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
Vedi tutti gli aggiornamenti