fix(pi): discover ancestor project resources

This commit was merged in pull request #23.
This commit is contained in:
2026-09-07 22:46:14 -04:00
parent f940fc3fd2
commit db7da0e9c6
5 changed files with 146 additions and 11 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;
};
};
};
};