Aucune description

James Long 8ff12590a3 fix(tui): preserve first prompt in fresh sessions il y a 4 semaines
.github d9bf30fc22 feat(server): add form routes (#35099) il y a 1 mois
.husky 0b63cae1ae fix: update pre-push hook to allow caret version differences (#9876) il y a 6 mois
.opencode 96717c1a8c feat(tui): improve session fork handling il y a 1 mois
.vscode 066a876f3d docs(contributing): Add "Setting up a Debugger" section (#4421) il y a 8 mois
.zed 1bb8574179 app: refactor server management backend (#13813) il y a 5 mois
artifacts 9e0d3976e1 chore: merge dev into v2 (#35591) il y a 1 mois
github 7feefb697f refactor: remove todo tool (#35989) il y a 1 mois
infra ea5dd9d940 zen: track model tier in stats il y a 1 mois
nix 9e0d3976e1 chore: merge dev into v2 (#35591) il y a 1 mois
packages 8ff12590a3 fix(tui): preserve first prompt in fresh sessions il y a 4 semaines
patches 50a762e7b9 fix(mcp): preserve metadata across paginated tools (#35500) il y a 1 mois
perf 4ad261d8a7 Skip git setup for processor tool test (#28406) il y a 2 mois
script 687dbba6a3 chore: merge dev into v2 (#35962) il y a 1 mois
sdks 687dbba6a3 chore: merge dev into v2 (#35962) il y a 1 mois
specs 7feefb697f refactor: remove todo tool (#35989) il y a 1 mois
.dockerignore 5b02ac4d33 feat: initial datalake and stats site (#28666) il y a 2 mois
.editorconfig dd22cb2bb0 chore: add .editorconfig (#536) il y a 1 an
.gitattributes f0c7febb02 fix(opencode): enforce storage path invariants (#29666) il y a 2 mois
.gitignore 984430c97d chore: add typecheck profiling (#35622) il y a 1 mois
.gitleaksignore 5bb7b23440 Add native LLM core foundation (#24712) il y a 3 mois
.oxlintrc.json bd29004831 feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) il y a 3 mois
.prettierignore e6c45134ab fix(client): exclude generated files from formatting (#33832) il y a 1 mois
AGENTS.md 4d2b06f8cf docs: prohibit bypassing git hooks il y a 1 mois
CONTEXT.md 91f1815732 refactor(core): rename system context to instructions (#35583) il y a 1 mois
CONTRIBUTING.md 5013e8a8ec docs: update desktop app references from Tauri to Electron (#25965) il y a 3 mois
LICENSE ef3fd5900f docs: cleanup casing il y a 1 an
README.ar.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.bn.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.br.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.bs.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.da.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.de.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.es.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.fr.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.gr.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.it.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.ja.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.ko.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.no.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.pl.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.ru.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.th.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.tr.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.uk.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.vi.md d3ebb1f7c0 ignore: cleanup readme (#28049) il y a 2 mois
README.zh.md 9e0d3976e1 chore: merge dev into v2 (#35591) il y a 1 mois
README.zht.md 9e0d3976e1 chore: merge dev into v2 (#35591) il y a 1 mois
SECURITY.md e4b548fa76 docs: add policy about AI-generated security reports il y a 5 mois
STATS.md 008ad54cb5 ignore: update download stats 2026-01-29 il y a 6 mois
bun.lock 687dbba6a3 chore: merge dev into v2 (#35962) il y a 1 mois
bunfig.toml 3b811bd019 feat(app): make session timelines much faster AND without flicker or scroll jumps (#32331) il y a 1 mois
flake.lock 58db41b4b9 chore: update nix bun version (#23881) il y a 3 mois
flake.nix 4643e13170 feat(nix): add opencode-electron derivation (#16163) il y a 2 mois
install 4018c863e3 fix: baseline CPU detection (#13371) il y a 5 mois
package.json 687dbba6a3 chore: merge dev into v2 (#35962) il y a 1 mois
screenshot-uk.png cbd2620c46 feat(i18n): add Ukrainian (uk) locale support (#28061) il y a 2 mois
sst-env.d.ts ea5dd9d940 zen: track model tier in stats il y a 1 mois
sst.config.ts 74052c7bb7 sync il y a 2 mois
tsconfig.json 925ce6503e sync il y a 10 mois
turbo.json 0bba8c780a cli/mini: fix run failure handling (#35539) il y a 1 mois

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