chore(nvim): drop 'mcp-hub'
This commit is contained in:
@@ -5,19 +5,3 @@ require("codecompanion").setup({
|
|||||||
inline = { adapter = "openai" },
|
inline = { adapter = "openai" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Load mcphub extension after codecompanion is initialized
|
|
||||||
-- and ensure the config structure exists
|
|
||||||
local ok, cc_config = pcall(require, "codecompanion.config")
|
|
||||||
if ok then
|
|
||||||
cc_config.interactions = cc_config.interactions or {}
|
|
||||||
cc_config.interactions.chat = cc_config.interactions.chat or {}
|
|
||||||
cc_config.interactions.chat.tools = cc_config.interactions.chat.tools or {}
|
|
||||||
cc_config.interactions.chat.variables = cc_config.interactions.chat.variables or {}
|
|
||||||
|
|
||||||
require("mcphub.extensions.codecompanion").setup({
|
|
||||||
make_vars = true,
|
|
||||||
make_slash_commands = true,
|
|
||||||
show_result_in_chat = true,
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
require("mcphub").setup({})
|
|
||||||
Generated
-74
@@ -103,83 +103,9 @@
|
|||||||
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
||||||
"plugins-shipwright-nvim": "plugins-shipwright-nvim",
|
"plugins-shipwright-nvim": "plugins-shipwright-nvim",
|
||||||
"plugins-tailwind-fold-nvim": "plugins-tailwind-fold-nvim",
|
"plugins-tailwind-fold-nvim": "plugins-tailwind-fold-nvim",
|
||||||
"mcp-hub": "mcp-hub",
|
|
||||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
|
||||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim"
|
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mcp-hub": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"nixpkgs": "nixpkgs_g2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1755841689,
|
|
||||||
"narHash": "sha256-KakvXZf0vjdqzyT+LsAKHEr4GLICGXPmxl1hZ3tI7Yg=",
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcp-hub",
|
|
||||||
"rev": "9c7670a4c341ed3cf738a6242c0fde1cea40bccf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcp-hub",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"mcp-hub",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743550720,
|
|
||||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_g2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743689281,
|
|
||||||
"narHash": "sha256-y7Hg5lwWhEOgflEHRfzSH96BOt26LaYfrYWzZ+VoVdg=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "2bfc080955153be0be56724be6fa5477b4eefabb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"plugins-mcphub-nvim": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1768730387,
|
|
||||||
"narHash": "sha256-g9tPvjThz6EUk7zcY7lL+YH4lrT4x3FJ6jrNMHA8PAE=",
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcphub.nvim",
|
|
||||||
"rev": "7cd5db330f41b7bae02b2d6202218a061c3ebc1f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcphub.nvim",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"plugins-helm-ls-nvim": {
|
"plugins-helm-ls-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
||||||
mcp-hub.url = "github:ravitemer/mcp-hub";
|
|
||||||
|
|
||||||
plugins-shipwright-nvim = {
|
plugins-shipwright-nvim = {
|
||||||
url = "github:rktjmp/shipwright.nvim";
|
url = "github:rktjmp/shipwright.nvim";
|
||||||
@@ -24,10 +23,6 @@
|
|||||||
url = "github:jamesblckwell/nvimkit.nvim";
|
url = "github:jamesblckwell/nvimkit.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
plugins-mcphub-nvim = {
|
|
||||||
url = "github:ravitemer/mcphub.nvim";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
plugins-helm-ls-nvim = {
|
plugins-helm-ls-nvim = {
|
||||||
url = "github:qvalentin/helm-ls.nvim";
|
url = "github:qvalentin/helm-ls.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
@@ -64,11 +59,8 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mkDependencyOverlays = system: [
|
mkDependencyOverlays = [
|
||||||
(utils.standardPluginOverlay inputs)
|
(utils.standardPluginOverlay inputs)
|
||||||
(_final: _prev: {
|
|
||||||
mcp-hub = inputs.mcp-hub.packages.${system}.default;
|
|
||||||
})
|
|
||||||
(_: prev: {
|
(_: prev: {
|
||||||
luajitPackages = prev.luajitPackages.overrideScope (
|
luajitPackages = prev.luajitPackages.overrideScope (
|
||||||
_: lprev: {
|
_: lprev: {
|
||||||
@@ -92,7 +84,7 @@
|
|||||||
black
|
black
|
||||||
clang
|
clang
|
||||||
clang-tools
|
clang-tools
|
||||||
curl # → plenary-nvim, mcp-hub
|
curl # → plenary-nvim
|
||||||
delta
|
delta
|
||||||
emmet-language-server
|
emmet-language-server
|
||||||
eslint_d
|
eslint_d
|
||||||
@@ -103,7 +95,6 @@
|
|||||||
helm-ls
|
helm-ls
|
||||||
isort
|
isort
|
||||||
lua-language-server
|
lua-language-server
|
||||||
mcp-hub
|
|
||||||
nixd
|
nixd
|
||||||
nixfmt
|
nixfmt
|
||||||
prettier
|
prettier
|
||||||
@@ -187,7 +178,6 @@
|
|||||||
pkgs.neovimPlugins.beancount-nvim
|
pkgs.neovimPlugins.beancount-nvim
|
||||||
pkgs.neovimPlugins.nvimkit-nvim
|
pkgs.neovimPlugins.nvimkit-nvim
|
||||||
codecompanion-nvim
|
codecompanion-nvim
|
||||||
pkgs.neovimPlugins.mcphub-nvim
|
|
||||||
copilot-lua
|
copilot-lua
|
||||||
copilot-cmp
|
copilot-cmp
|
||||||
pkgs.neovimPlugins.helm-ls-nvim
|
pkgs.neovimPlugins.helm-ls-nvim
|
||||||
@@ -230,7 +220,7 @@
|
|||||||
forEachSystem (
|
forEachSystem (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
dependencyOverlays = mkDependencyOverlays system;
|
dependencyOverlays = mkDependencyOverlays;
|
||||||
nixCatsBuilder = utils.baseBuilder luaPath {
|
nixCatsBuilder = utils.baseBuilder luaPath {
|
||||||
inherit
|
inherit
|
||||||
nixpkgs
|
nixpkgs
|
||||||
|
|||||||
Generated
-75
@@ -264,28 +264,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"nvim",
|
|
||||||
"mcp-hub",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743550720,
|
|
||||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts_3": {
|
"flake-parts_3": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@@ -452,25 +430,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mcp-hub": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts_2",
|
|
||||||
"nixpkgs": "nixpkgs_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1755841689,
|
|
||||||
"narHash": "sha256-KakvXZf0vjdqzyT+LsAKHEr4GLICGXPmxl1hZ3tI7Yg=",
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcp-hub",
|
|
||||||
"rev": "9c7670a4c341ed3cf738a6242c0fde1cea40bccf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcp-hub",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-github-actions": {
|
"nix-github-actions": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -594,22 +553,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743689281,
|
|
||||||
"narHash": "sha256-y7Hg5lwWhEOgflEHRfzSH96BOt26LaYfrYWzZ+VoVdg=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "2bfc080955153be0be56724be6fa5477b4eefabb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nur": {
|
"nur": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": [
|
"flake-parts": [
|
||||||
@@ -637,14 +580,12 @@
|
|||||||
},
|
},
|
||||||
"nvim": {
|
"nvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"mcp-hub": "mcp-hub",
|
|
||||||
"nixCats": "nixCats",
|
"nixCats": "nixCats",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
||||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
||||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
|
||||||
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
||||||
"plugins-shipwright-nvim": "plugins-shipwright-nvim",
|
"plugins-shipwright-nvim": "plugins-shipwright-nvim",
|
||||||
"plugins-tailwind-fold-nvim": "plugins-tailwind-fold-nvim"
|
"plugins-tailwind-fold-nvim": "plugins-tailwind-fold-nvim"
|
||||||
@@ -691,22 +632,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plugins-mcphub-nvim": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1768730387,
|
|
||||||
"narHash": "sha256-g9tPvjThz6EUk7zcY7lL+YH4lrT4x3FJ6jrNMHA8PAE=",
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcphub.nvim",
|
|
||||||
"rev": "7cd5db330f41b7bae02b2d6202218a061c3ebc1f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcphub.nvim",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"plugins-nvimkit-nvim": {
|
"plugins-nvimkit-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
Reference in New Issue
Block a user