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

Terminal

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

ฟีเจอร์

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

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

อนุมัติสิ่งที่รัน

การแก้ไขแสดงเป็น diff และคำสั่งจะรอสิทธิ์จากคุณ

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

สลับธีมได้ในการกดแป้นเดียว ตั้งแต่ธีมเริ่มต้นไปจนถึง tokyonight และอื่นๆ

Mini

รัน opencode mini แล้วคำตอบจะพิมพ์ลงใน scrollback ของคุณเอง

  • ทุกเทอร์มินัลใช้ได้ในทุกเชลล์ ในเทอร์มินัลของอีดิเตอร์ หรือบนเซิร์ฟเวอร์ระยะไกล
  • 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.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 รายการ การแก้ไข
  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

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

    การปรับปรุง

    • 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

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

    การปรับปรุง

    • 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

    การแก้ไข

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