|
|
6 月之前 | |
|---|---|---|
| .github | 6a62b44593 ci: add dry-run option to stale PR closer workflow | 6 月之前 |
| .husky | 0b63cae1ae fix: update pre-push hook to allow caret version differences (#9876) | 6 月之前 |
| .opencode | b59aec6f04 feat: add /learn command to extract session learnings to scoped AGENTS.md files (#10717) | 6 月之前 |
| .vscode | 066a876f3d docs(contributing): Add "Setting up a Debugger" section (#4421) | 9 月之前 |
| github | 3aff88c23d docs: add use_github_token to example (#9120) | 7 月之前 |
| infra | d8bbb6df60 zen: disable reload when reload fails | 6 月之前 |
| logs | 1ea3a8eb9b big format | 9 月之前 |
| nix | 32a0dcedcb chore: update nix node_modules hashes | 6 月之前 |
| packages | 213c0e18ab fix(app): only show files in select dialog when clicking + tab | 6 月之前 |
| patches | 9111005165 fix: terminal serialization and isolation | 8 月之前 |
| script | 5422f7d6af fix(script): remove highlights template from release notes | 6 月之前 |
| sdks | 056186225b release: v1.1.36 | 6 月之前 |
| specs | 287511c9b1 test(app): terminal smoke test | 6 月之前 |
| themes | 92089bb295 chore: generate | 7 月之前 |
| .editorconfig | dd22cb2bb0 chore: add .editorconfig (#536) | 1 年之前 |
| .gitignore | 6e020ef9ef chore: cleanup nix (#8964) | 7 月之前 |
| .prettierignore | 28c802f399 wip: zen | 8 月之前 |
| AGENTS.md | 022265829e ignore: update AGENTS.md to state that inference should be used | 6 月之前 |
| CONTRIBUTING.md | 9407a6fd7c ignore: rm STYLE_GUIDE, consolidate in AGENTS.md | 6 月之前 |
| LICENSE | ef3fd5900f docs: cleanup casing | 1 年之前 |
| README.ar.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.br.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.da.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.de.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.es.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.fr.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.it.md | e7c6267323 chore: generate | 6 月之前 |
| README.ja.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.ko.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.no.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.pl.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.ru.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.zh.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| README.zht.md | 64a3661a32 docs: add Italian README (#10732) | 6 月之前 |
| SECURITY.md | b05d88a730 docs: clarify that malicious config files are not an attack vector | 6 月之前 |
| STATS.md | 9a33b1ec88 ignore: update download stats 2026-01-26 | 6 月之前 |
| bun.lock | f48784d152 upgrade opentui to v0.1.75 | 6 月之前 |
| bunfig.toml | 351ddeed91 Permission rework (#6319) | 7 月之前 |
| flake.lock | f1df6f2d18 chore: update flake.lock (#9938) | 6 月之前 |
| flake.nix | 91787ceb3e fix: nix ci - swapped dash/underscore (#9352) | 6 月之前 |
| install | 4d08123ca0 feat(install): respect ZDOTDIR for zsh config detection (#8511) | 7 月之前 |
| package.json | 17c4202ea8 fix(opencode): Allow compatible Bun versions in packageManager field (#9597) | 6 月之前 |
| sst-env.d.ts | a890d51bbc wip: zen black | 6 月之前 |
| sst.config.ts | a90f2b9723 ci: fix | 7 月之前 |
| tsconfig.json | 925ce6503e sync | 10 月之前 |
| turbo.json | f00f18b926 chore: cleanup | 6 月之前 |
وكيل برمجة بالذكاء الاصطناعي مفتوح المصدر.
English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | العربية | Norsk | Português (Brasil)
# 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 الرسمية، تحديث اقل)
paru -S opencode-bin # Arch Linux
mise use -g opencode # اي نظام
nix run nixpkgs#opencode # او github:anomalyco/opencode لاحدث فرع dev
[!TIP] احذف الاصدارات الاقدم من 0.1.x قبل التثبيت.
يتوفر OpenCode ايضا كتطبيق سطح مكتب. قم بالتنزيل مباشرة من صفحة الاصدارات او من opencode.ai/download.
| المنصة | التنزيل |
|---|---|
| macOS (Apple Silicon) | opencode-desktop-darwin-aarch64.dmg |
| macOS (Intel) | opencode-desktop-darwin-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
يحترم سكربت التثبيت ترتيب الاولوية التالي لمسار التثبيت:
$OPENCODE_INSTALL_DIR - مجلد تثبيت مخصص$XDG_BIN_DIR - مسار متوافق مع مواصفات XDG Base Directory$HOME/bin - مجلد الثنائيات القياسي للمستخدم (ان وجد او امكن انشاؤه)$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
يتضمن OpenCode وكيليْن (Agents) مدمجين يمكنك التبديل بينهما باستخدام زر Tab.
بالاضافة الى ذلك يوجد وكيل فرعي general للبحث المعقد والمهام متعددة الخطوات.
يستخدم داخليا ويمكن استدعاؤه بكتابة @general في الرسائل.
تعرف على المزيد حول agents.
لمزيد من المعلومات حول كيفية ضبط OpenCode، راجع التوثيق.
اذا كنت مهتما بالمساهمة في OpenCode، يرجى قراءة contributing docs قبل ارسال pull request.
اذا كنت تعمل على مشروع مرتبط بـ OpenCode ويستخدم "opencode" كجزء من اسمه (مثل "opencode-dashboard" او "opencode-mobile")، يرجى اضافة ملاحظة في README توضح انه ليس مبنيا بواسطة فريق OpenCode ولا يرتبط بنا بأي شكل.
هو مشابه جدا لـ Claude Code من حيث القدرات. هذه هي الفروقات الاساسية:
