تخطَّ إلى المحتوى

Terminal

واجهة طرفية سريعة تعمل في أي صدفة أو محرر أو خادم بعيد. صِف ما تريد بكلمات بسيطة، وشاهد كل تعديل يصل كفرق، واختر الأوامر التي تعمل تلقائيًا.

الميزات

اطلب بكلمات بسيطة

اكتب ما تريد، ويعرض الوكيل خطته أثناء العمل.

وافق على ما يعمل

تظهر التعديلات كفروقات، وتنتظر الأوامر إذنك.

اجعله لك

بدّل السمات بضغطة مفتاح، من الافتراضية إلى tokyonight وغيرها.

Mini

شغّل opencode mini فتُطبع الردود في سجل التمرير الخاص بك.

  • أي طرفيةيعمل في أي صدفة، وفي طرفية محررك، وعلى خادم بعيد.
  • فروقات في الخط الزمنيشاهد كل تعديل كفرق في الخط الزمني لحظة إجرائه.
  • أكمل لاحقًاأكمل آخر جلسة عبر -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.2.5

    The connect menu no longer lists MCP servers

    The connect menu no longer lists MCP servers, which are managed in their own place.#60675

  2. v2.2.4

    Preserved prompt cursor styles applied by plugins when themes or unrelated prompt state change

    إصلاحات

    • TerminalAdded missing right padding to edit and patch diffs.#60614
    • TerminalExtended the vertical session-tab activity pulse across the full tab width.#60338
  3. v2.2.3

    Added lazy loading for stored image references when experimental.media_blob is enabled

    Added lazy loading for stored image references when experimental.media_blob is enabled. Images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely.#60116

    تغييرات جذرية

    TUI plugins require OpenTUI 0.8

    @opencode/plugin now requires @opentui/core and @opentui/solid 0.8.0 or later. In OpenTUI 0.8, a ScrollBox's wrapper, viewport, content, and scrollbars are facade objects instead of renderables, and a custom RenderContext must implement clock and onAnimationTick. See the OpenTUI 0.8.0 release notes.

    #60385

    تحسينات

    • TerminalAdded a distinct marker for the selected composer suggestion in the new designs.#60393

    إصلاحات

    • TerminalFixed PHP syntax highlighting for code blocks without an opening <?php tag.#60359
    • TerminalPreserved # in file-search paths unless it introduces a valid line range.#60336
    • TerminalKept the configured default cursor style after config reloads.#60302
    • TerminalMatched the search cursor to the highlighted row when a selection dialog has no query.#60310
كل التحديثات