opencode config update
This commit is contained in:
@@ -626,11 +626,12 @@
|
|||||||
|
|
||||||
xdg.configFile."opencode/opencode.jsonc".text = builtins.toJSON {
|
xdg.configFile."opencode/opencode.jsonc".text = builtins.toJSON {
|
||||||
"$schema" = "https://opencode.ai/config.json";
|
"$schema" = "https://opencode.ai/config.json";
|
||||||
model = "opencode/kimi-k2.5";
|
model = "opencode-go/glm-5";
|
||||||
small_model = "opencode/minimax-m2.1";
|
small_model = "opencode-go/kimi-k2.5";
|
||||||
agent = {
|
agent = {
|
||||||
explore.model = "opencode/minimax-m2.1";
|
explore.model = "opencode-go/kimi-k2.5";
|
||||||
};
|
};
|
||||||
|
theme = "system";
|
||||||
lsp = {
|
lsp = {
|
||||||
ruby-lsp = {
|
ruby-lsp = {
|
||||||
initialization = {
|
initialization = {
|
||||||
@@ -665,7 +666,6 @@
|
|||||||
"bundle"
|
"bundle"
|
||||||
"exec"
|
"exec"
|
||||||
"ruby-lsp"
|
"ruby-lsp"
|
||||||
"--lsp"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
rubocop = {
|
rubocop = {
|
||||||
@@ -681,27 +681,20 @@
|
|||||||
".haml"
|
".haml"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
nil = {
|
||||||
|
command = [
|
||||||
|
(lib.getExe pkgs.nil)
|
||||||
|
];
|
||||||
|
extensions = [ ".nix" ];
|
||||||
|
};
|
||||||
|
ameba-ls = {
|
||||||
|
command = [
|
||||||
|
(lib.getExe pkgs-unstable.ameba-ls)
|
||||||
|
];
|
||||||
|
extensions = [ ".cr" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
mcp = {
|
mcp = {
|
||||||
memory = {
|
|
||||||
type = "local";
|
|
||||||
command = [
|
|
||||||
"npx"
|
|
||||||
"-y"
|
|
||||||
"@modelcontextprotocol/server-memory"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
browser = {
|
|
||||||
type = "local";
|
|
||||||
command = [
|
|
||||||
"npx"
|
|
||||||
"-y"
|
|
||||||
"@agent-infra/mcp-server-browser"
|
|
||||||
"--headless"
|
|
||||||
"--executable-path"
|
|
||||||
(lib.getExe pkgs-unstable.chromium)
|
|
||||||
];
|
|
||||||
};
|
|
||||||
context7 = {
|
context7 = {
|
||||||
type = "remote";
|
type = "remote";
|
||||||
url = "https://mcp.context7.com/mcp";
|
url = "https://mcp.context7.com/mcp";
|
||||||
|
|||||||
Reference in New Issue
Block a user