fix(pi): discover ancestor project resources

This commit is contained in:
2026-09-07 22:43:18 -04:00
parent f940fc3fd2
commit 115cf02599
4 changed files with 143 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ let
piDir = "${config.users.users.${user}.home}/.pi/agent";
patchedPi = pkgs.pi-coding-agent.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
./patches/pi-project-resource-ancestors.patch
./patches/pi-tool-lookup-validation.patch
];
});
@@ -44,12 +45,6 @@ in
# The first declarative rollout replaces the interactive settings file.
# Login state stays in auth.json, which this module does not manage.
"${piDir}/settings.json".force = true;
"${piDir}/extensions" = {
source = ./extensions;
recursive = true;
force = true;
};
};
};
};