Nessuna descrizione

Luke Parker f77f5a343e fix(ui): standardize tooltip delay 2 settimane fa
.github cdee625a13 fix: preserve team login casing (#35981) 3 settimane fa
.husky 0b63cae1ae fix: update pre-push hook to allow caret version differences (#9876) 6 mesi fa
.opencode 51213520f5 go: grok 4.5 and kimi k3 3 settimane fa
.vscode 066a876f3d docs(contributing): Add "Setting up a Debugger" section (#4421) 8 mesi fa
.zed 1bb8574179 app: refactor server management backend (#13813) 5 mesi fa
artifacts d0ba538924 zen: track openai cache_write_tokens 4 settimane fa
github a3b97d9090 fix(github): enforce existing git author identity (#30507) 2 mesi fa
infra fab2133129 chore: configure trust center domain (#36910) 3 settimane fa
nix 7534d23551 chore: update nix node_modules hashes 2 settimane fa
packages f77f5a343e fix(ui): standardize tooltip delay 1 settimana fa
patches 20589d66d5 fix(provider): preserve Mistral reasoning history (#38453) 2 settimane fa
perf 4ad261d8a7 Skip git setup for processor tool test (#28406) 2 mesi fa
script 86e04d4174 revert(tui): downgrade opentui to 0.4.3 (#37582) 3 settimane fa
sdks 1ad63cfc6c sync release versions for v1.18.6 1 settimana fa
specs a4b6047e64 fix(core): drop legacy config filename (#34645) 1 mese fa
.dockerignore 5b02ac4d33 feat: initial datalake and stats site (#28666) 2 mesi fa
.editorconfig dd22cb2bb0 chore: add .editorconfig (#536) 1 anno fa
.gitattributes f0c7febb02 fix(opencode): enforce storage path invariants (#29666) 2 mesi fa
.gitignore 0b796c5f3d fix(opencode): route SAP AI Core reasoning variants through modelParams (#30482) 2 mesi fa
.gitleaksignore 5bb7b23440 Add native LLM core foundation (#24712) 3 mesi fa
.oxlintrc.json bd29004831 feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) 3 mesi fa
.prettierignore e6c45134ab fix(client): exclude generated files from formatting (#33832) 1 mese fa
AGENTS.md f44423609b feat(sdk): restore session runtime operations (#33777) 1 mese fa
CONTEXT.md ef5c9f4931 feat(sdk): expose active sessions (#33991) 1 mese fa
CONTRIBUTING.md 5013e8a8ec docs: update desktop app references from Tauri to Electron (#25965) 3 mesi fa
LICENSE ef3fd5900f docs: cleanup casing 1 anno fa
README.ar.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.bn.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.br.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.bs.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.da.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.de.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.es.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.fr.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.gr.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.it.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.ja.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.ko.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.no.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.pl.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.ru.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.th.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.tr.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.uk.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.vi.md d3ebb1f7c0 ignore: cleanup readme (#28049) 2 mesi fa
README.zh.md b7e4f1ef74 fix: update Feishu community link (#35392) 1 mese fa
README.zht.md b7e4f1ef74 fix: update Feishu community link (#35392) 1 mese fa
SECURITY.md e4b548fa76 docs: add policy about AI-generated security reports 5 mesi fa
STATS.md 008ad54cb5 ignore: update download stats 2026-01-29 6 mesi fa
bun.lock 1ad63cfc6c sync release versions for v1.18.6 1 settimana fa
bunfig.toml 3b811bd019 feat(app): make session timelines much faster AND without flicker or scroll jumps (#32331) 1 mese fa
flake.lock 58db41b4b9 chore: update nix bun version (#23881) 3 mesi fa
flake.nix 4643e13170 feat(nix): add opencode-electron derivation (#16163) 2 mesi fa
install 4018c863e3 fix: baseline CPU detection (#13371) 5 mesi fa
package.json 20589d66d5 fix(provider): preserve Mistral reasoning history (#38453) 2 settimane fa
screenshot-uk.png cbd2620c46 feat(i18n): add Ukrainian (uk) locale support (#28061) 2 mesi fa
sst-env.d.ts ea5dd9d940 zen: track model tier in stats 1 mese fa
sst.config.ts 74052c7bb7 sync 2 mesi fa
tsconfig.json 925ce6503e sync 10 mesi fa
turbo.json 04c1730c90 refactor(ui): isolate session components (#33670) 1 mese fa

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