diff --git a/config/mcphub/servers.json b/config/mcphub/servers.json index 8199571..923e55e 100644 --- a/config/mcphub/servers.json +++ b/config/mcphub/servers.json @@ -16,6 +16,14 @@ "vectorcode": { "command": "vectorcode-mcp-server", "args": [] + }, + "serena": { + "command": "uvx", + "arg": [ + "--from", + "git+https://github.com/oraios/serena", + "serena-mcp-server" + ] } } } diff --git a/config/nvim/lua/custom/plugins/init.lua b/config/nvim/lua/custom/plugins/init.lua index 2564807..a80d58b 100644 --- a/config/nvim/lua/custom/plugins/init.lua +++ b/config/nvim/lua/custom/plugins/init.lua @@ -435,6 +435,24 @@ return { return hub and hub:get_active_servers_prompt() or '' end, providers = { + ['deepseek-r1-local'] = { + __inherited_from = 'ollama', + api_key_name = '', + endpoint = 'http://172.30.64.1:10000', + model = 'deepseek-r1:14b', + }, + ['gemma3-local'] = { + __inherited_from = 'ollama', + api_key_name = '', + endpoint = 'http://172.30.64.1:10000', + model = 'gemma3:12b', + }, + ['qwen3-local'] = { + __inherited_from = 'ollama', + api_key_name = '', + endpoint = 'http://172.30.64.1:10000', + model = 'qwen3:14b', + }, ['gemini-pro'] = { __inherited_from = 'gemini', model = 'gemini-2.5-pro-preview-05-06', @@ -473,4 +491,51 @@ return { trailing_stiffness = 0.1, }, }, + { + 'greggh/claude-code.nvim', + dependencies = { + 'nvim-lua/plenary.nvim', + }, + opts = { + window = { + split_ratio = 0.5, + position = 'botright', + enter_insert = true, + hide_numbers = true, + hide_signcolumn = true, + }, + refresh = { + enable = true, + updatetime = 100, + timer_interval = 1000, + show_notifications = true, + }, + git = { + use_git_root = true, + }, + shell = { + separator = '&&', + pushd_cmd = 'pushd', + popd_cmd = 'popd', + }, + command = 'claude', + command_variants = { + continue = '--continue', -- Resume the most recent conversation + resume = '--resume', -- Display an interactive conversation picker + verbose = '--verbose', -- Enable verbose logging with full turn-by-turn output + }, + keymaps = { + toggle = { + normal = '', + terminal = '', + variants = { + continue = 'cC', + verbose = 'cV', + }, + }, + window_navigation = true, + scrolling = true, + }, + }, + }, }