Brak opisu

Shoubhit Dash a2e6bd503b refactor(reference): split materialization state (#28190) 3 miesięcy temu
.github 09549661e1 Fix npm CLI binary installation (#27801) 3 miesięcy temu
.husky 0b63cae1ae fix: update pre-push hook to allow caret version differences (#9876) 6 miesięcy temu
.opencode 36d40fee4d Track session usage totals (#26644) 3 miesięcy temu
.vscode 066a876f3d docs(contributing): Add "Setting up a Debugger" section (#4421) 9 miesięcy temu
.zed 1bb8574179 app: refactor server management backend (#13813) 5 miesięcy temu
github 80f1f1b5b8 feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741) 4 miesięcy temu
infra 28a0bf6c8f sync 3 miesięcy temu
nix 2bf3f3041f chore: update nix node_modules hashes 3 miesięcy temu
packages a2e6bd503b refactor(reference): split materialization state (#28190) 3 miesięcy temu
patches 981e00971a fix: image resizer wasm loading, reenable image resizing (#26805) 3 miesięcy temu
perf 896ad7b884 Speed up targeted opencode tests 3 miesięcy temu
script 6e4db5666a upgrade opentui to 0.2.14 (#28090) 3 miesięcy temu
sdks f98449c9b5 sync release versions for v1.15.4 3 miesięcy temu
specs e7aed64949 chore: generate 3 miesięcy temu
.editorconfig dd22cb2bb0 chore: add .editorconfig (#536) 1 rok temu
.gitignore 5bb7b23440 Add native LLM core foundation (#24712) 3 miesięcy temu
.gitleaksignore 5bb7b23440 Add native LLM core foundation (#24712) 3 miesięcy temu
.oxlintrc.json bd29004831 feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) 4 miesięcy temu
.prettierignore e0e32ed3a8 desktop: add more basic menu bar items 6 miesięcy temu
AGENTS.md 8345152319 core: expose v2 model listing API (#25821) 3 miesięcy temu
CONTRIBUTING.md 5013e8a8ec docs: update desktop app references from Tauri to Electron (#25965) 3 miesięcy temu
LICENSE ef3fd5900f docs: cleanup casing 1 rok temu
README.ar.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.bn.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.br.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.bs.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.da.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.de.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.es.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.fr.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.gr.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.it.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.ja.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.ko.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.no.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.pl.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.ru.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.th.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.tr.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.uk.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.vi.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.zh.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
README.zht.md d3ebb1f7c0 ignore: cleanup readme (#28049) 3 miesięcy temu
SECURITY.md e4b548fa76 docs: add policy about AI-generated security reports 5 miesięcy temu
STATS.md 008ad54cb5 ignore: update download stats 2026-01-29 6 miesięcy temu
bun.lock 6e4db5666a upgrade opentui to 0.2.14 (#28090) 3 miesięcy temu
bunfig.toml d6367853ae Add TUI notifications and attention sounds (disabled by default) (#26980) 3 miesięcy temu
flake.lock 58db41b4b9 chore: update nix bun version (#23881) 3 miesięcy temu
flake.nix 4643e13170 feat(nix): add opencode-electron derivation (#16163) 3 miesięcy temu
install 4018c863e3 fix: baseline CPU detection (#13371) 6 miesięcy temu
package.json 6e4db5666a upgrade opentui to 0.2.14 (#28090) 3 miesięcy temu
sst-env.d.ts 28a0bf6c8f sync 3 miesięcy temu
sst.config.ts 77e51b0a32 zen: stat worker 3 miesięcy temu
tsconfig.json 925ce6503e sync 10 miesięcy temu
turbo.json 5bb7b23440 Add native LLM core foundation (#24712) 3 miesięcy temu

README.ar.md

شعار OpenCode

وكيل برمجة بالذكاء الاصطناعي مفتوح المصدر.

Discord npm Build status

English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt

OpenCode Terminal UI


التثبيت

# YOLO
curl -fsSL https://opencode.ai/install | bash

# مديري الحزم
npm i -g opencode-ai@latest        # او bun/pnpm/yarn
scoop install opencode             # Windows
choco install opencode             # Windows
brew install anomalyco/tap/opencode # macOS و Linux (موصى به، دائما محدث)
brew install opencode              # macOS و Linux (صيغة brew الرسمية، تحديث اقل)
sudo pacman -S opencode            # Arch Linux (Stable)
paru -S opencode-bin               # Arch Linux (Latest from AUR)
mise use -g opencode               # اي نظام
nix run nixpkgs#opencode           # او github:anomalyco/opencode لاحدث فرع dev

[!TIP] احذف الاصدارات الاقدم من 0.1.x قبل التثبيت.

تطبيق سطح المكتب (BETA)

يتوفر OpenCode ايضا كتطبيق سطح مكتب. قم بالتنزيل مباشرة من صفحة الاصدارات او من opencode.ai/download.

المنصة التنزيل
macOS (Apple Silicon) opencode-desktop-mac-arm64.dmg
macOS (Intel) opencode-desktop-mac-x64.dmg
Windows opencode-desktop-windows-x64.exe
Linux .deb او .rpm او AppImage
# macOS (Homebrew)
brew install --cask opencode-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/opencode-desktop

مجلد التثبيت

يحترم سكربت التثبيت ترتيب الاولوية التالي لمسار التثبيت:

  1. $OPENCODE_INSTALL_DIR - مجلد تثبيت مخصص
  2. $XDG_BIN_DIR - مسار متوافق مع مواصفات XDG Base Directory
  3. $HOME/bin - مجلد الثنائيات القياسي للمستخدم (ان وجد او امكن انشاؤه)
  4. $HOME/.opencode/bin - المسار الافتراضي الاحتياطي

    # امثلة
    OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
    XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
    

Agents

يتضمن OpenCode وكيليْن (Agents) مدمجين يمكنك التبديل بينهما باستخدام زر Tab.

  • build - الافتراضي، وكيل بصلاحيات كاملة لاعمال التطوير
  • plan - وكيل للقراءة فقط للتحليل واستكشاف الكود
    • يرفض تعديل الملفات افتراضيا
    • يطلب الاذن قبل تشغيل اوامر bash
    • مثالي لاستكشاف قواعد كود غير مألوفة او لتخطيط التغييرات

بالاضافة الى ذلك يوجد وكيل فرعي general للبحث المعقد والمهام متعددة الخطوات. يستخدم داخليا ويمكن استدعاؤه بكتابة @general في الرسائل.

تعرف على المزيد حول agents.

التوثيق

لمزيد من المعلومات حول كيفية ضبط OpenCode، راجع التوثيق.

المساهمة

اذا كنت مهتما بالمساهمة في OpenCode، يرجى قراءة contributing docs قبل ارسال pull request.

البناء فوق OpenCode

اذا كنت تعمل على مشروع مرتبط بـ OpenCode ويستخدم "opencode" كجزء من اسمه (مثل "opencode-dashboard" او "opencode-mobile")، يرجى اضافة ملاحظة في README توضح انه ليس مبنيا بواسطة فريق OpenCode ولا يرتبط بنا بأي شكل.


انضم الى مجتمعنا Discord | X.com