feat(coding): add ai-memory client module, drop Pi and babysitter

coding.aiMemory wires Claude Code and OpenCode2 to the central ai-memory
server: Nix owns the client config (server URL + bearer token file), the
OpenCode MCP entry, and the scope markers (home workspace plus one marker
per workspaceDirs entry); activation runs ai-memory's own installers for
hooks, the Claude MCP bridge and the skills. The token never lands in a
generated file: hooks and the bridge read [auth].bearer_token_file, the
OpenCode plugin reads the data-dir auth-token symlink.

Pi (and its babysitter profile) are no longer used; LifeOS is being
removed from the hosts as well.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
m3tam3reandClaude Fable 5.1 committed 2026-10-25 12:47:09 +01:00
1 parent d608fb29b1
commit c3b51b3546
6 files changed
+464 -389

No files matched your search

+3 -8
View File
@@ -1,4 +1,4 @@
# AI agent system — OpenCode, Pi, and MCP server configuration.
# AI agent system — OpenCode, Claude Code, ai-memory and MCP server configuration.
# Relies on coding.agents options provided by home/common/default.nix
# (m3taHomeInputs.m3ta-nixpkgs.homeManagerModules.default).
{
@@ -17,15 +17,12 @@
};
imports = [
# Babysitter agent and OpenCode/Pi tool configurations
./babysitter.nix
# ai-memory client, skill mirror and OpenCode config
./ai-memory.nix
./claude-skills.nix
./opencode.nix
./pi.nix
];
coding.agents.babysitter.enable = true;
programs.mcp = {
enable = true;
servers = {
@@ -73,14 +70,12 @@
agenix-cli
agent-lib
llm-agents.agent-browser
llm-agents.ai-memory
llm-agents.beads
llm-agents.claude-code
llm-agents.claude-desktop
crunch
docker-sbx
llm-agents.herdr
llm-agents.pi
(llm-agents.qmd.override {
vulkanSupport = videoDrivers == ["amdgpu"];
cudaSupport = videoDrivers == ["nvidia"];