Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
feat(nix): install shell completions for bash, fish, and zsh
Bet49c7d1f4da55b
diff --git a/flake.nix b/flake.nixindex 08067b88..0d284b9e 100644--- a/flake.nix+++ b/flake.nix@@ -367,6 +367,7 @@nativeBuildInputs = [pkgs.makeBinaryWrapper+ pkgs.installShellFiles];# Skip the Tailwind CLI download in the sandbox. The build script@@ -401,6 +402,12 @@mkdir -p $out/etc/ai-memorycp crates/ai-memory-cli/templates/config.default.toml \$out/etc/ai-memory/config.default.toml+ ''+ + lib.optionalString (pkgs.stdenv.buildPlatform.canExecute pkgs.stdenv.hostPlatform) ''+ installShellCompletion --cmd ai-memory \+ --bash <($out/bin/ai-memory completions bash) \+ --fish <($out/bin/ai-memory completions fish) \+ --zsh <($out/bin/ai-memory completions zsh)'';# Wrap git on PATH so cli operations shelling out to git succeed in minimal environments.