fix: 持久化 GitHub 到 Gitea 源码权威

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Codex
2026-07-11 11:12:39 +02:00
parent b125fb358d
commit 9352f10d0d
24 changed files with 4355 additions and 425 deletions
@@ -1121,6 +1121,7 @@ function credentialPath(root: string, sourceRef: string): string {
}
function pacPartOf(consumerId: string): string {
if (consumerId.startsWith("platform-infra-")) return "platform-infra";
if (consumerId === "unidesk-host") return "unidesk-host";
if (consumerId.startsWith("sentinel")) return "hwlab-web-probe-sentinel";
if (consumerId.startsWith("hwlab-")) return "hwlab";