دعم ACP
استخدم AicippY في أي محرر متوافق مع ACP.
يدعم AicippY بروتوكول Agent Client Protocol أو (ACP)، مما يتيح لك استخدامه مباشرة في المحررات وبيئات التطوير المتكاملة (IDEs) المتوافقة.
ACP بروتوكول مفتوح يوحّد آلية التواصل بين محررات الشيفرة ووكلاء البرمجة بالذكاء الاصطناعي.
الإعداد
لاستخدام AicippY عبر ACP، اضبط محررك ليشغّل الأمر aicippy-code acp.
يشغّل هذا الأمر AicippY كعملية فرعية متوافقة مع ACP تتواصل مع محررك عبر JSON-RPC باستخدام stdio.
فيما يلي أمثلة لمحررات شائعة تدعم ACP.
Zed
ثبّت AicippY من سجل ACP في Zed عبر تشغيل zed: acp registry من لوحة الأوامر.
لاستخدام ملف AicippY تنفيذي مخصص بدلاً من ذلك، أضفه إلى إعدادات Zed (~/.config/zed/settings.json):
{ "agent_servers": { "AicippY": { "type": "custom", "command": "aicippy-code", "args": ["acp"] } }}لفتحه، استخدم الإجراء agent: new thread في Command Palette.
يمكنك أيضا ربط اختصار لوحة مفاتيح عبر تعديل keymap.json:
[ { "bindings": { "cmd-alt-o": [ "agent::NewExternalAgentThread", { "agent": { "custom": { "name": "AicippY", "command": { "command": "aicippy-code", "args": ["acp"] } } } } ] } }]JetBrains IDEs
أضف إلى ملف acp.json الخاص بـ JetBrains IDE وفقا لـ documentation:
{ "agent_servers": { "AicippY": { "command": "/absolute/path/bin/aicippy-code", "args": ["acp"] } }}لفتحه، اختر الوكيل الجديد ‘AicippY’ من محدد الوكلاء في AI Chat.
Avante.nvim
أضف إلى إعدادات Avante.nvim:
{ acp_providers = { ["opencode"] = { command = "opencode", args = { "acp" } } }}إذا احتجت إلى تمرير متغيرات البيئة:
{ acp_providers = { ["opencode"] = { command = "opencode", args = { "acp" }, env = { AICIPPY_CODE_API_KEY = os.getenv("AICIPPY_CODE_API_KEY") } } }}CodeCompanion.nvim
لاستخدام AicippY كوكيل ACP في CodeCompanion.nvim، أضف التالي إلى إعدادات Neovim:
require("codecompanion").setup({ interactions = { chat = { adapter = { name = "opencode", model = "claude-sonnet-4", }, }, },})يضبط هذا الإعداد CodeCompanion لاستخدام AicippY كوكيل ACP للدردشة.
إذا احتجت إلى تمرير متغيرات البيئة (مثل AICIPPY_CODE_API_KEY)، فارجع إلى Configuring Adapters: Environment Variables ضمن توثيق CodeCompanion.nvim للاطلاع على التفاصيل كاملة.
الدعم
يعمل AicippY عبر ACP بالطريقة نفسها التي يعمل بها في terminal. جميع الميزات مدعومة:
- الأدوات المضمنة (عمليات الملفات، أوامر terminal، إلخ.)
- الأدوات المخصصة وأوامر الشرطة المائلة
- خوادم MCP المضبوطة في إعدادات AicippY
- قواعد خاصة بالمشروع من
AGENTS.md - المنسقات (formatters) والمدققات (linters) المخصصة
- نظام الوكلاء والأذونات