From e3e723180116f97950e18e47e788c5eeb2d0bd2c Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 20 Nov 2025 12:12:16 +0900 Subject: modified plugins/ai.lua, modified plugins/ai.lua --- .../TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua | 29 ++++++++++++++++++++++ .../TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua | 29 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua index 9fb46fc..33196e8 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua @@ -349,6 +349,35 @@ return { }, }, }, + acp_providers = { + ["gemini-cli"] = { + command = "gemini", + args = { "--experimental-acp" }, + env = { + NODE_NO_WARNINGS = "1", + GEMINI_API_KEY = os.getenv("GEMINI_API_KEY"), + }, + }, + ["claude-code"] = { + command = "npx", + args = { "@zed-industries/claude-code-acp" }, + env = { + NODE_NO_WARNINGS = "1", + ANTHROPIC_API_KEY = os.getenv("ANTHROPIC_API_KEY"), + }, + }, + ["goose"] = { + command = "goose", + args = { "acp" }, + }, + ["codex"] = { + command = "codex-acp", + env = { + NODE_NO_WARNINGS = "1", + OPENAI_API_KEY = os.getenv("OPENAI_API_KEY"), + }, + }, + }, ---Specify the special dual_boost mode ---1. enabled: Whether to enable dual_boost mode. Default to false. ---2. first_provider: The first provider to generate response. Default to "openai". diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua index 9fb46fc..33196e8 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua @@ -349,6 +349,35 @@ return { }, }, }, + acp_providers = { + ["gemini-cli"] = { + command = "gemini", + args = { "--experimental-acp" }, + env = { + NODE_NO_WARNINGS = "1", + GEMINI_API_KEY = os.getenv("GEMINI_API_KEY"), + }, + }, + ["claude-code"] = { + command = "npx", + args = { "@zed-industries/claude-code-acp" }, + env = { + NODE_NO_WARNINGS = "1", + ANTHROPIC_API_KEY = os.getenv("ANTHROPIC_API_KEY"), + }, + }, + ["goose"] = { + command = "goose", + args = { "acp" }, + }, + ["codex"] = { + command = "codex-acp", + env = { + NODE_NO_WARNINGS = "1", + OPENAI_API_KEY = os.getenv("OPENAI_API_KEY"), + }, + }, + }, ---Specify the special dual_boost mode ---1. enabled: Whether to enable dual_boost mode. Default to false. ---2. first_provider: The first provider to generate response. Default to "openai". -- cgit v1.2.3