fix(coding-agent): keep registry-qualified bun cache markers

This commit is contained in:
can1357
2026-06-28 18:23:55 +02:00
parent 1ca6213018
commit 21ed419aeb
2 changed files with 17 additions and 2 deletions
+2 -2
View File
@@ -284,8 +284,8 @@ interface BunCachePackageGroup {
}
function stripBunCacheVersionSuffix(name: string): string {
const suffixIndex = name.indexOf("@@@");
return suffixIndex === -1 ? name : name.slice(0, suffixIndex);
const metadataIndex = name.indexOf("@@");
return metadataIndex === -1 ? name : name.slice(0, metadataIndex);
}
function compareSemverIdentifier(a: string, b: string): number {