ข้ามไปยังเนื้อหา

Terminal

UI เทอร์มินัลที่รวดเร็ว ใช้ได้ในทุกเชลล์ อีดิเตอร์ หรือเซิร์ฟเวอร์ระยะไกล บอกสิ่งที่ต้องการด้วยภาษาธรรมดา ดูการแก้ไขแต่ละครั้งปรากฏเป็น diff และเลือกว่าคำสั่งใดรันได้เอง

ฟีเจอร์

ถามด้วยภาษาธรรมดา

พิมพ์สิ่งที่ต้องการ แล้วเอเจนต์จะแสดงแผนขณะทำงาน

เลือกคำสั่งที่จะรัน

ดูการแก้ไขผ่าน diff ส่วนคำสั่งจะรอให้คุณอนุมัติก่อนรัน

ปรับให้เป็นของคุณ

กดคีย์ลัดครั้งเดียวเพื่อสลับธีม เลือกได้ทั้งธีมเริ่มต้น tokyonight และอีกหลายธีม

Mini

รัน opencode mini แล้วคำตอบจะแสดงในประวัติการเลื่อนของเทอร์มินัล

  • ทุกเทอร์มินัลใช้ได้ในทุกเชลล์ ในเทอร์มินัลของอีดิเตอร์ หรือบนเซิร์ฟเวอร์ระยะไกล
  • diff ในไทม์ไลน์ดู diff ในไทม์ไลน์ได้ทันทีที่เอเจนต์แก้ไข
  • ทำต่อภายหลังทำเซสชันล่าสุดต่อด้วย -c หรือเซสชันใดก็ได้ด้วย -s
  • รันครั้งเดียวopencode run ส่งข้อความเดียวแล้วแสดงคำตอบ
  • เอเจนต์และคำสั่งสลับเอเจนต์ด้วย shift+tab และเปิดทุกคำสั่งด้วย ctrl+p
  • อนุมัติอัตโนมัติรันด้วย --auto เพื่ออนุญาตทุกการกระทำที่คุณไม่ได้ปฏิเสธ
  • เซิร์ฟเวอร์ใดก็ได้เชื่อมต่อกับเซิร์ฟเวอร์ OpenCode ด้วย URL ผ่าน --server
  • สถิติการใช้งานopencode stats แสดงสถิติการใช้งานที่แชร์ได้

  • 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

บันทึกการเปลี่ยนแปลง

  1. 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

    ดูไฮไลต์ทั้งหมดใน v2.4.4

    การปรับปรุง

    • 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

    การแก้ไข

    • TerminalReloaded textarea keybindings live when config changes without restarting TUI. Thanks @OpeOginni.#66127
  2. 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

    ดูไฮไลต์ทั้งหมดใน v2.4.3

    การปรับปรุง

    • 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

    การแก้ไข

    • 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
  3. v2.4.2

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

    ดูไฮไลต์ทั้งหมดใน v2.4.2

    การปรับปรุง

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

    การแก้ไข

    • 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 รายการ การแก้ไข
ดูอัปเดตทั้งหมด