Нема описа

Aiden Cline dd3a279458 fix(core): merge authenticated provider allowlists пре 21 часа
.github c7871e14d4 fix(www): remove deployment environment gate пре 1 недеља
.husky 0b63cae1ae fix: update pre-push hook to allow caret version differences (#9876) пре 6 месеци
.opencode 247f14f955 feat(tui): add replaceable prompt footer slot пре 1 недеља
.vscode 066a876f3d docs(contributing): Add "Setting up a Debugger" section (#4421) пре 8 месеци
.zed 1bb8574179 app: refactor server management backend (#13813) пре 5 месеци
artifacts 48d1a6e5b9 fix(tui): mute expanded thinking content (#41082) пре 1 дан
docs 0fbe489e35 feat(core): migrate v1 data to v2 (#40723) пре 2 дана
github 80865407e0 refactor(sdk): remove local legacy package пре 1 недеља
infra 4c9a4309ce chore: merge dev into v2 (#37996) пре 2 недеља
nix 302e9b45ab chore: merge dev into v2 (#39290) пре 1 недеља
packages dd3a279458 fix(core): merge authenticated provider allowlists пре 21 часа
patches b9c118e0fe chore(core): drop unreachable AI SDK provider packages (#40504) пре 4 дана
perf 4ad261d8a7 Skip git setup for processor tool test (#28406) пре 2 месеци
plans 5cf97f1b96 feat(core): normalize mixed config formats (#40919) пре 2 дана
script c445d98188 feat(theme): extract TUI theme package (#39378) пре 1 недеља
sdks 302e9b45ab chore: merge dev into v2 (#39290) пре 1 недеља
specs 79c1544072 refactor(tools): unify tool APIs and result handling (#38367) пре 2 недеља
.dockerignore 5b02ac4d33 feat: initial datalake and stats site (#28666) пре 2 месеци
.editorconfig dd22cb2bb0 chore: add .editorconfig (#536) пре 1 година
.gitattributes 720f062cd0 refactor(core): select system prompts through plugins (#37181) пре 3 недеља
.gitignore a1b274e6f8 node v2 cli support (#36309) пре 3 недеља
.gitleaksignore 5bb7b23440 Add native LLM core foundation (#24712) пре 3 месеци
.oxlintrc.json bd29004831 feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) пре 3 месеци
.prettierignore e6c45134ab fix(client): exclude generated files from formatting (#33832) пре 1 месец
AGENTS.md 0e3da4b4f1 feat(tui): add vertical session tabs (#40072) пре 1 недеља
CONTRIBUTING.md 5013e8a8ec docs: update desktop app references from Tauri to Electron (#25965) пре 3 месеци
LICENSE ef3fd5900f docs: cleanup casing пре 1 година
README.ar.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.bn.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.br.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.bs.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.da.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.de.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.es.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.fr.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.gr.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.it.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.ja.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.ko.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.no.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.pl.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.ru.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.th.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.tr.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.uk.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.vi.md d3ebb1f7c0 ignore: cleanup readme (#28049) пре 2 месеци
README.zh.md 9e0d3976e1 chore: merge dev into v2 (#35591) пре 1 месец
README.zht.md 9e0d3976e1 chore: merge dev into v2 (#35591) пре 1 месец
SECURITY.md e4b548fa76 docs: add policy about AI-generated security reports пре 5 месеци
STATS.md 008ad54cb5 ignore: update download stats 2026-01-29 пре 6 месеци
bun.lock f3f1204802 feat(tui): render Mermaid diagrams (#41113) пре 22 часа
bunfig.toml 80865407e0 refactor(sdk): remove local legacy package пре 1 недеља
flake.lock 58db41b4b9 chore: update nix bun version (#23881) пре 3 месеци
flake.nix 4643e13170 feat(nix): add opencode-electron derivation (#16163) пре 2 месеци
install 4018c863e3 fix: baseline CPU detection (#13371) пре 5 месеци
package.json b9c118e0fe chore(core): drop unreachable AI SDK provider packages (#40504) пре 4 дана
screenshot-uk.png cbd2620c46 feat(i18n): add Ukrainian (uk) locale support (#28061) пре 2 месеци
sst-env.d.ts ea5dd9d940 zen: track model tier in stats пре 1 месец
sst.config.ts 74052c7bb7 sync пре 2 месеци
tsconfig.json 925ce6503e sync пре 10 месеци
turbo.json d2c99ba97c chore: improve incremental typecheck performance (#40925) пре 1 дан

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