Compare commits
4
Commits
4f332c76ee
...
7295fd5af5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7295fd5af5 | ||
|
|
859d358f35 | ||
|
|
b1a3e41cf9 | ||
|
|
0fc88c2d79 |
@@ -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
+13
-104
@@ -78,11 +78,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780036237,
|
"lastModified": 1787035587,
|
||||||
"narHash": "sha256-74xa5njR6mFwRxivaXTswcqV9T6kR3fd2cvcNqYxwcA=",
|
"narHash": "sha256-do8FBSzDN72CegG7L4CpDd4xcp2TjM4i/gRyOtNilqs=",
|
||||||
"owner": "harrisoncramer",
|
"owner": "harrisoncramer",
|
||||||
"repo": "gitlab.nvim",
|
"repo": "gitlab.nvim",
|
||||||
"rev": "f06f97b99afdb8b5c129285d6675f77daa2ea912",
|
"rev": "1732720cc684980276030f8c3d91eb806ca5d851",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -123,11 +123,11 @@
|
|||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780242361,
|
"lastModified": 1786002255,
|
||||||
"narHash": "sha256-bRiJ0Mt8gLusp4Q9N1YZDTsDkFbYPdiD9l2+5J8K92s=",
|
"narHash": "sha256-YqCE4qM/tLrDByljTDGhgt9X0sOTRPY3voc1apQlLzg=",
|
||||||
"owner": "Ramilito",
|
"owner": "Ramilito",
|
||||||
"repo": "kubectl.nvim",
|
"repo": "kubectl.nvim",
|
||||||
"rev": "84522036936b87f7811d13800ac3cbeaad093423",
|
"rev": "dfd25c503f6ee4a769f53a0a8aab8e8fde0ff180",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -153,11 +153,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780336545,
|
"lastModified": 1787424095,
|
||||||
"narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=",
|
"narHash": "sha256-dWLO5AHhKaw6rdWCtTes8hnntT1r0/J5yhQGm0f0ZgU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f",
|
"rev": "174eb786fb68e3a13e4e535a3deea479a0c07a6a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -186,11 +186,11 @@
|
|||||||
"plugins-diffview-nvim": {
|
"plugins-diffview-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780388924,
|
"lastModified": 1787574526,
|
||||||
"narHash": "sha256-r9jrapT3yHbr9jWcNzBbrW5zZCA2nV7xXgnvPgffYi4=",
|
"narHash": "sha256-twlMCrNKlkuoT3aQtZHVAZNw5zv1Y9McFYBt8+KgHZ4=",
|
||||||
"owner": "dlyongemallo",
|
"owner": "dlyongemallo",
|
||||||
"repo": "diffview.nvim",
|
"repo": "diffview.nvim",
|
||||||
"rev": "3d948ae75e2dac5b7590cfdf91dd9de1b8098f2c",
|
"rev": "30afab604a0abe02dfd19e6fbb9153fd26fd2eb3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -257,10 +257,7 @@
|
|||||||
"plugins-diffview-nvim": "plugins-diffview-nvim",
|
"plugins-diffview-nvim": "plugins-diffview-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"
|
||||||
"mcp-hub": "mcp-hub",
|
|
||||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
|
||||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
@@ -328,94 +325,6 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"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",
|
"root": "root",
|
||||||
|
|||||||
@@ -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,14 +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 = {
|
|
||||||
url = "github:qvalentin/helm-ls.nvim";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -66,9 +57,6 @@
|
|||||||
|
|
||||||
mkDependencyOverlays = system: [
|
mkDependencyOverlays = system: [
|
||||||
(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 +80,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 +91,6 @@
|
|||||||
helm-ls
|
helm-ls
|
||||||
isort
|
isort
|
||||||
lua-language-server
|
lua-language-server
|
||||||
mcp-hub
|
|
||||||
nixd
|
nixd
|
||||||
nixfmt
|
nixfmt
|
||||||
prettier
|
prettier
|
||||||
@@ -187,10 +174,9 @@
|
|||||||
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
|
helm-ls-nvim
|
||||||
kitty-scrollback-nvim
|
kitty-scrollback-nvim
|
||||||
fidget-nvim
|
fidget-nvim
|
||||||
rustaceanvim
|
rustaceanvim
|
||||||
|
|||||||
Generated
+1
-94
@@ -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": [
|
||||||
@@ -422,13 +400,12 @@
|
|||||||
"narHash": "sha256-hZCD0M5mt6gP5z21dYOslx9d7aoF5XTCgB0axt8O+SA=",
|
"narHash": "sha256-hZCD0M5mt6gP5z21dYOslx9d7aoF5XTCgB0axt8O+SA=",
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
"rev": "838434daa9844608863c93627aa466a0109237b5",
|
"rev": "838434daa9844608863c93627aa466a0109237b5",
|
||||||
"shallow": true,
|
"revCount": 209,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/hektor/hecuba-services"
|
"url": "ssh://git@github.com/hektor/hecuba-services"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
"shallow": true,
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/hektor/hecuba-services"
|
"url": "ssh://git@github.com/hektor/hecuba-services"
|
||||||
}
|
}
|
||||||
@@ -453,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": [
|
||||||
@@ -595,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": [
|
||||||
@@ -638,14 +580,11 @@
|
|||||||
},
|
},
|
||||||
"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-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"
|
||||||
@@ -676,38 +615,6 @@
|
|||||||
"type": "github"
|
"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": {
|
"plugins-nvimkit-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
hecuba-services = {
|
hecuba-services = {
|
||||||
url = "git+ssh://git@github.com/hektor/hecuba-services?shallow=1&ref=main";
|
url = "git+ssh://git@github.com/hektor/hecuba-services?ref=main";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
git-hooks = {
|
git-hooks = {
|
||||||
|
|||||||
Reference in New Issue
Block a user