Release 0.0.6

This commit is contained in:
2026-04-20 21:10:03 +00:00
parent f3ed47420b
commit 456c656750
3 changed files with 7 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
"id": "kosmos-storage-audit",
"title": "Kosmos Storage Audit",
"description": "Analyzes media references and risky storage locations across Foundry data and public roots.",
"version": "0.0.5",
"version": "0.0.6",
"compatibility": {
"minimum": "13",
"verified": "13"

View File

@@ -15,7 +15,7 @@ export class StorageAuditReportApp extends foundry.applications.api.ApplicationV
resizable: true
},
position: {
width: 760,
width: 980,
height: 680
}
};
@@ -120,6 +120,8 @@ export class StorageAuditReportApp extends foundry.applications.api.ApplicationV
ui.notifications.error(format("KSA.Notify.Failed", { message: error.message }));
} finally {
this.#loading = false;
const currentWidth = this.position?.width ?? 0;
if (currentWidth < 980) this.setPosition({ width: 980 });
await this.render({ force: true });
}
}

View File

@@ -25,7 +25,9 @@ export async function analyzeStorage({ listFiles, listSources, onProgress }={})
const extracted = extractReferencesFromValue(source.value, {
sourceType: source.sourceType,
sourceScope: source.sourceScope,
sourceLabel: source.sourceLabel
sourceLabel: source.sourceLabel,
sourceName: source.sourceName,
sourceUuid: source.sourceUuid
});
references.push(...extracted);
referenceCount += extracted.length;