Sen descrición

Shoubhit Dash ceb5f3554e feat(plugin): bound vcs adapter diffs hai 1 mes
.github d9bf30fc22 feat(server): add form routes (#35099) hai 1 mes
.husky 0b63cae1ae fix: update pre-push hook to allow caret version differences (#9876) hai 6 meses
.opencode 9daa4d85a4 fix(tui): reconcile session state after reconnect (#35262) hai 1 mes
.vscode 066a876f3d docs(contributing): Add "Setting up a Debugger" section (#4421) hai 8 meses
.zed 1bb8574179 app: refactor server management backend (#13813) hai 5 meses
github a3b97d9090 fix(github): enforce existing git author identity (#30507) hai 2 meses
infra ea5dd9d940 zen: track model tier in stats hai 1 mes
nix 8c94e9005f chore: merge dev into v2 (#34788) hai 1 mes
packages ceb5f3554e feat(plugin): bound vcs adapter diffs hai 1 mes
patches 50a762e7b9 fix(mcp): preserve metadata across paginated tools (#35500) hai 1 mes
perf 4ad261d8a7 Skip git setup for processor tool test (#28406) hai 2 meses
script 7b88de47c3 chore(client): publish client package hai 1 mes
sdks 8c94e9005f chore: merge dev into v2 (#34788) hai 1 mes
specs 650d774372 refactor(schema): session shell payloads and event prefix restore (#35229) hai 1 mes
.dockerignore 5b02ac4d33 feat: initial datalake and stats site (#28666) hai 2 meses
.editorconfig dd22cb2bb0 chore: add .editorconfig (#536) hai 1 ano
.gitattributes f0c7febb02 fix(opencode): enforce storage path invariants (#29666) hai 2 meses
.gitignore 0b796c5f3d fix(opencode): route SAP AI Core reasoning variants through modelParams (#30482) hai 2 meses
.gitleaksignore 5bb7b23440 Add native LLM core foundation (#24712) hai 3 meses
.oxlintrc.json bd29004831 feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) hai 3 meses
.prettierignore e6c45134ab fix(client): exclude generated files from formatting (#33832) hai 1 mes
AGENTS.md 62af66a74f fix(tui): distinguish variant switch notices (#35315) hai 1 mes
CONTEXT.md ca861fdf43 docs: consolidate session work-unit vocabulary (#35218) hai 1 mes
CONTRIBUTING.md 5013e8a8ec docs: update desktop app references from Tauri to Electron (#25965) hai 3 meses
LICENSE ef3fd5900f docs: cleanup casing hai 1 ano
README.ar.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.bn.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.br.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.bs.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.da.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.de.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.es.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.fr.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.gr.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.it.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.ja.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.ko.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.no.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.pl.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.ru.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.th.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.tr.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.uk.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.vi.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.zh.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
README.zht.md d3ebb1f7c0 ignore: cleanup readme (#28049) hai 2 meses
SECURITY.md e4b548fa76 docs: add policy about AI-generated security reports hai 5 meses
STATS.md 008ad54cb5 ignore: update download stats 2026-01-29 hai 6 meses
bun.lock 32cf36de9d mini migrate to v2 (#35526) hai 1 mes
bunfig.toml 3b811bd019 feat(app): make session timelines much faster AND without flicker or scroll jumps (#32331) hai 1 mes
flake.lock 58db41b4b9 chore: update nix bun version (#23881) hai 3 meses
flake.nix 4643e13170 feat(nix): add opencode-electron derivation (#16163) hai 2 meses
install 4018c863e3 fix: baseline CPU detection (#13371) hai 5 meses
package.json 1401901529 chore: effect pattern lint infrastructure (#35210) hai 1 mes
screenshot-uk.png cbd2620c46 feat(i18n): add Ukrainian (uk) locale support (#28061) hai 2 meses
sst-env.d.ts ea5dd9d940 zen: track model tier in stats hai 1 mes
sst.config.ts 74052c7bb7 sync hai 2 meses
tsconfig.json 925ce6503e sync hai 10 meses
turbo.json 0bba8c780a cli/mini: fix run failure handling (#35539) hai 1 mes

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