跳到主要內容

Desktop

同時執行多個代理,每個工作階段都有獨立的分頁。以 diff 審查每項變更,在任何一行留言,並在內建瀏覽器中檢查結果。支援 macOS、Windows 和 Linux。

功能

平行代理

想啟動多少個代理都可以,讓它們全部平行工作。哪個完成了,就切換過去查看。

在瀏覽器中查看

你的應用程式會在代理旁的瀏覽器中開啟,你和代理都能看到每項變更落地。

在每台裝置上

在你的所有裝置上啟動代理,並在桌面應用程式、終端機或手機上繼續。

擴充它

連接你的工具和服務,讓代理能處理任何事情。或者讓 OpenCode 為自己建立外掛程式,並在側邊欄中擁有自己的介面。

更新日誌

  1. v2.3.1

    Compaction Without the Wait

    As a session nears automatic compaction, the summary is now written in the background, so your next prompt doesn't pause for it. Set compaction.background: false to turn it off; a background summary that ends up unused still costs tokens.#64290

    Update Plugins from Settings

    Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version.#64511

    Comment on Selected Code

    Selecting code in diff and file viewers now just selects it, so you can copy it, and an Add comment toolbar appears beside the selection.#64410

    查看 v2.3.1 的所有亮點

    改進

    • DesktopYou can check for and install plugin package updates from Settings › Extensions. Use Check for updates to look for new versions, then click Update on any plugin that has one.#64511#64525
    • DesktopCmd+F (Ctrl+F) now finds text in Markdown, Mermaid, CSV and HTML previews in the side panel, using the same find bar as the code view.#63663
    • DesktopDisconnecting a provider or removing an account in Settings → Providers now asks for confirmation first. Disconnecting OpenCode Console says how many providers will stop working.#64212
    • DesktopThe model picker's variant flyout now follows the keyboard: it opens beside the highlighted row, → enters it to pick a variant or toggle Favorite, and ← or Escape goes back. A model's Console budget and reset time now show in the flyout.#64409#64423
    還有 14 項 改進

    修正

    • DesktopFixed the desktop app failing to start when drafts.sqlite was a symlink to or copy of the CLI's opencode.db. The desktop now moves that file aside and creates its own, leaving the CLI database untouched.#64203
    • DesktopSwitching session tabs with a keyboard shortcut now focuses the composer.#64418
    • DesktopLong prompts now stay folded while a new session is being created.#64452
    • DesktopOn macOS, the browser pane stays live while you resize panels instead of showing a still image.#64443
    還有 7 項 修正
  2. v1.19.6

    OpenCode 1 now offers the upgrade to OpenCode 2.0

    OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later. Your sessions, projects, and settings are kept. Plugins made for OpenCode 1 need an update.

  3. v2.3.0

    Jump to an Earlier Prompt

    In the desktop app, open Jump to message from the command palette or press Cmd+Alt+G (Ctrl+Alt+G on Windows and Linux) to search prompts across the current session and jump directly to one.#63585

    查看 v2.3.0 的所有亮點

    改進

    • DesktopAdded the experimental Recent sessions sidebar, with cross-server recency, local pins, reordering, and standard session-row actions.
    • DesktopRecent sessions are limited to the last seven days and 30 rows, and can be hidden or muted.
    • DesktopAdded an experimental customizable sessions sidebar.
    • DesktopMermaid diagrams can now be maximized for zooming and panning.#59250
    還有 5 項 改進

    修正

    • DesktopRecent sessions now keep stable recency ordering through list reloads, renames, and completed runs.
    • DesktopFixed browser panes not retrying after server plugins finish loading.
    • DesktopFixed mention suggestions being recreated while typing.
    • DesktopFixed SSH prompts failing to advance or close after connection.
    還有 9 項 修正
查看所有更新