fix: force overwrite for pi mcp.json and settings.json
This commit is contained in:
@@ -258,11 +258,13 @@ in
|
|||||||
# ── MCP servers from programs.mcp → ~/.pi/agent/mcp.json ───────
|
# ── MCP servers from programs.mcp → ~/.pi/agent/mcp.json ───────
|
||||||
(mkIf (cfg.mcpServers != {}) {
|
(mkIf (cfg.mcpServers != {}) {
|
||||||
".pi/agent/mcp.json".text = builtins.toJSON {mcpServers = 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 ──────────────────────────────────
|
||||||
{
|
{
|
||||||
".pi/agent/settings.json".text = builtins.toJSON piSettings;
|
".pi/agent/settings.json".text = builtins.toJSON piSettings;
|
||||||
|
".pi/agent/settings.json".force = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
# ── AGENTS.md — agent descriptions and specialist listing ──────
|
# ── AGENTS.md — agent descriptions and specialist listing ──────
|
||||||
|
|||||||
Reference in New Issue
Block a user