Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7295fd5af5 | ||
|
|
859d358f35 | ||
|
|
b1a3e41cf9 |
@@ -5,19 +5,3 @@ require("codecompanion").setup({
|
||||
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
+13
-104
@@ -78,11 +78,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780036237,
|
||||
"narHash": "sha256-74xa5njR6mFwRxivaXTswcqV9T6kR3fd2cvcNqYxwcA=",
|
||||
"lastModified": 1787035587,
|
||||
"narHash": "sha256-do8FBSzDN72CegG7L4CpDd4xcp2TjM4i/gRyOtNilqs=",
|
||||
"owner": "harrisoncramer",
|
||||
"repo": "gitlab.nvim",
|
||||
"rev": "f06f97b99afdb8b5c129285d6675f77daa2ea912",
|
||||
"rev": "1732720cc684980276030f8c3d91eb806ca5d851",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -123,11 +123,11 @@
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780242361,
|
||||
"narHash": "sha256-bRiJ0Mt8gLusp4Q9N1YZDTsDkFbYPdiD9l2+5J8K92s=",
|
||||
"lastModified": 1786002255,
|
||||
"narHash": "sha256-YqCE4qM/tLrDByljTDGhgt9X0sOTRPY3voc1apQlLzg=",
|
||||
"owner": "Ramilito",
|
||||
"repo": "kubectl.nvim",
|
||||
"rev": "84522036936b87f7811d13800ac3cbeaad093423",
|
||||
"rev": "dfd25c503f6ee4a769f53a0a8aab8e8fde0ff180",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -153,11 +153,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1780336545,
|
||||
"narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=",
|
||||
"lastModified": 1787424095,
|
||||
"narHash": "sha256-dWLO5AHhKaw6rdWCtTes8hnntT1r0/J5yhQGm0f0ZgU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f",
|
||||
"rev": "174eb786fb68e3a13e4e535a3deea479a0c07a6a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -186,11 +186,11 @@
|
||||
"plugins-diffview-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1780388924,
|
||||
"narHash": "sha256-r9jrapT3yHbr9jWcNzBbrW5zZCA2nV7xXgnvPgffYi4=",
|
||||
"lastModified": 1787574526,
|
||||
"narHash": "sha256-twlMCrNKlkuoT3aQtZHVAZNw5zv1Y9McFYBt8+KgHZ4=",
|
||||
"owner": "dlyongemallo",
|
||||
"repo": "diffview.nvim",
|
||||
"rev": "3d948ae75e2dac5b7590cfdf91dd9de1b8098f2c",
|
||||
"rev": "30afab604a0abe02dfd19e6fbb9153fd26fd2eb3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -257,10 +257,7 @@
|
||||
"plugins-diffview-nvim": "plugins-diffview-nvim",
|
||||
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
||||
"plugins-shipwright-nvim": "plugins-shipwright-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-tailwind-fold-nvim": "plugins-tailwind-fold-nvim"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
@@ -328,94 +325,6 @@
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1773934114,
|
||||
"narHash": "sha256-8trqFsA7nTKSdtkiAL0Sa9bXjh5ONtAqN7XNE/B8ukM=",
|
||||
"owner": "qvalentin",
|
||||
"repo": "helm-ls.nvim",
|
||||
"rev": "20df43509b02a3ce3c6b3eee254d6e2bffa9a370",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "qvalentin",
|
||||
"repo": "helm-ls.nvim",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
||||
mcp-hub.url = "github:ravitemer/mcp-hub";
|
||||
|
||||
plugins-shipwright-nvim = {
|
||||
url = "github:rktjmp/shipwright.nvim";
|
||||
@@ -24,14 +23,6 @@
|
||||
url = "github:jamesblckwell/nvimkit.nvim";
|
||||
flake = false;
|
||||
};
|
||||
plugins-mcphub-nvim = {
|
||||
url = "github:ravitemer/mcphub.nvim";
|
||||
flake = false;
|
||||
};
|
||||
plugins-helm-ls-nvim = {
|
||||
url = "github:qvalentin/helm-ls.nvim";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -66,9 +57,6 @@
|
||||
|
||||
mkDependencyOverlays = system: [
|
||||
(utils.standardPluginOverlay inputs)
|
||||
(_final: _prev: {
|
||||
mcp-hub = inputs.mcp-hub.packages.${system}.default;
|
||||
})
|
||||
(_: prev: {
|
||||
luajitPackages = prev.luajitPackages.overrideScope (
|
||||
_: lprev: {
|
||||
@@ -92,7 +80,7 @@
|
||||
black
|
||||
clang
|
||||
clang-tools
|
||||
curl # → plenary-nvim, mcp-hub
|
||||
curl # → plenary-nvim
|
||||
delta
|
||||
emmet-language-server
|
||||
eslint_d
|
||||
@@ -103,7 +91,6 @@
|
||||
helm-ls
|
||||
isort
|
||||
lua-language-server
|
||||
mcp-hub
|
||||
nixd
|
||||
nixfmt
|
||||
prettier
|
||||
@@ -187,10 +174,9 @@
|
||||
pkgs.neovimPlugins.beancount-nvim
|
||||
pkgs.neovimPlugins.nvimkit-nvim
|
||||
codecompanion-nvim
|
||||
pkgs.neovimPlugins.mcphub-nvim
|
||||
copilot-lua
|
||||
copilot-cmp
|
||||
pkgs.neovimPlugins.helm-ls-nvim
|
||||
helm-ls-nvim
|
||||
kitty-scrollback-nvim
|
||||
fidget-nvim
|
||||
rustaceanvim
|
||||
|
||||
Generated
-92
@@ -264,28 +264,6 @@
|
||||
"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": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
@@ -452,25 +430,6 @@
|
||||
"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": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -594,22 +553,6 @@
|
||||
"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": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
@@ -637,14 +580,11 @@
|
||||
},
|
||||
"nvim": {
|
||||
"inputs": {
|
||||
"mcp-hub": "mcp-hub",
|
||||
"nixCats": "nixCats",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
||||
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
||||
"plugins-shipwright-nvim": "plugins-shipwright-nvim",
|
||||
"plugins-tailwind-fold-nvim": "plugins-tailwind-fold-nvim"
|
||||
@@ -675,38 +615,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"plugins-helm-ls-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1773934114,
|
||||
"narHash": "sha256-8trqFsA7nTKSdtkiAL0Sa9bXjh5ONtAqN7XNE/B8ukM=",
|
||||
"owner": "qvalentin",
|
||||
"repo": "helm-ls.nvim",
|
||||
"rev": "20df43509b02a3ce3c6b3eee254d6e2bffa9a370",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "qvalentin",
|
||||
"repo": "helm-ls.nvim",
|
||||
"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": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
||||
Reference in New Issue
Block a user