fix: force overwrite for pi mcp.json and settings.json
This commit is contained in:
parent
03ad7451fc
commit
7b6bcfeb1c
1 changed files with 2 additions and 0 deletions
|
|
@ -258,11 +258,13 @@ in
|
|||
# ── MCP servers from programs.mcp → ~/.pi/agent/mcp.json ───────
|
||||
(mkIf (cfg.mcpServers != {}) {
|
||||
".pi/agent/mcp.json".text = builtins.toJSON {mcpServers = cfg.mcpServers;};
|
||||
".pi/agent/mcp.json".force = true;
|
||||
})
|
||||
|
||||
# ── ~/.pi/agent/settings.json ──────────────────────────────────
|
||||
{
|
||||
".pi/agent/settings.json".text = builtins.toJSON piSettings;
|
||||
".pi/agent/settings.json".force = true;
|
||||
}
|
||||
|
||||
# ── AGENTS.md — agent descriptions and specialist listing ──────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue