mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 22:02:41 +00:00
chore: update
This commit is contained in:
parent
c1ac8e87b9
commit
8616ab7e6e
2 changed files with 1 additions and 25 deletions
|
|
@ -2,27 +2,3 @@
|
||||||
let
|
let
|
||||||
jsonFormat = pkgs.formats.json { };
|
jsonFormat = pkgs.formats.json { };
|
||||||
|
|
||||||
# Cursor reads ~/.cursor/mcp.json on startup for every CLI session. Declaring
|
|
||||||
# it here keeps the MCP surface in-repo and reviewable.
|
|
||||||
cursorMcp = jsonFormat.generate "cursor-mcp.json" {
|
|
||||||
mcpServers = {
|
|
||||||
rube = {
|
|
||||||
url = "https://rube.composio.dev/mcp?agent=cursor";
|
|
||||||
headers = { };
|
|
||||||
};
|
|
||||||
context7 = {
|
|
||||||
command = "npx";
|
|
||||||
args = [
|
|
||||||
"-y"
|
|
||||||
"@upstash/context7-mcp@latest"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
# Cursor CLI mutates ~/.cursor/cli-config.json directly (auth, privacy cache,
|
|
||||||
# per-session slash-command state), so we intentionally do NOT manage that
|
|
||||||
# file here. Only MCP config is declarative.
|
|
||||||
home.file.".cursor/mcp.json".source = cursorMcp;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
co = "codex --dangerously-bypass-approvals-and-sandbox";
|
co = "codex --dangerously-bypass-approvals-and-sandbox";
|
||||||
ca = "cursor-agent";
|
ca = "cursor-agent";
|
||||||
agent-claude = "cursor-agent --model=claude-opus-4-7-thinking-max --force";
|
agent-claude = "cursor-agent --model=claude-opus-4-7-thinking --force";
|
||||||
agent-codex = "cursor-agent --model=gpt-5.4-xhigh-fast --force";
|
agent-codex = "cursor-agent --model=gpt-5.4-xhigh-fast --force";
|
||||||
cc = "claude";
|
cc = "claude";
|
||||||
ch = "claude-handoff";
|
ch = "claude-handoff";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue