Commit fab7d65417ef
dots/Makefile
@@ -57,7 +57,7 @@ all += git-template copilot-hooks opencode-plugin pi-agent
git-template : ~/.config/git/template
copilot-hooks : ~/.config/copilot-hooks
opencode-plugin : ~/.config/opencode/plugin
-pi-agent : ~/.pi/agent
+pi-agent : ~/.pi/agent/extensions ~/.pi/agent/AGENTS.md ~/.pi/agent/README.md
# Backward compatibility: symlink ~/.claude to ~/.config/claude
~/.claude : force
@@ -65,11 +65,23 @@ pi-agent : ~/.pi/agent
@mkdir -p ~/.config
@ln -snf ~/.config/claude ~/.claude
-# Pi agent configuration goes to ~/.pi instead of ~/.config/pi
-~/.pi/agent : force
- @echo "๐ Linking $(dotfiles)/pi/agent -> ~/.pi/agent"
- @mkdir -p ~/.pi
- @ln -snf $(dotfiles)/pi/agent ~/.pi/agent
+# Pi agent configuration - symlink individual files into pi's runtime directory
+# Pi manages: ~/.pi/agent/{auth.json,settings.json,sessions/}
+# We provide: extensions/, AGENTS.md, README.md
+~/.pi/agent/extensions : force
+ @echo "๐ Linking $(dotfiles)/pi/agent/extensions -> ~/.pi/agent/extensions"
+ @mkdir -p ~/.pi/agent
+ @ln -snf $(dotfiles)/pi/agent/extensions ~/.pi/agent/extensions
+
+~/.pi/agent/AGENTS.md : force
+ @echo "๐ Linking $(dotfiles)/pi/agent/AGENTS.md -> ~/.pi/agent/AGENTS.md"
+ @mkdir -p ~/.pi/agent
+ @ln -snf $(dotfiles)/pi/agent/AGENTS.md ~/.pi/agent/AGENTS.md
+
+~/.pi/agent/README.md : force
+ @echo "๐ Linking $(dotfiles)/pi/agent/README.md -> ~/.pi/agent/README.md"
+ @mkdir -p ~/.pi/agent
+ @ln -snf $(dotfiles)/pi/agent/README.md ~/.pi/agent/README.md
# Generate ntfy client.yml from template with passage secrets injected
~/.config/ntfy/client.yml : $(dotfiles)/.config/ntfy/client.yml.in $(dotfiles)/.config/ntfy/ntfy-update-config force
home/common/dev/ai.nix
@@ -66,8 +66,6 @@ in
# amp-cli
];
-
-
# aichat configuration is now managed in dots/.config/aichat/
# See dots/Makefile for config.yaml generation from template
}