Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
/**
* Formatting utilities for sandbox CLI output
*/
export function formatStatus(running: boolean): string {
return running ? " running" : "⚫ stopped";
}
export function formatSimpleStatus(running: boolean): string {
return running ? "running" : "stopped";
}
export function formatImageMatch(matches: boolean): string {
return matches ? "✓" : "⚠️ mismatch";
}
/**
* Type guard and counter utilities
*/
export type ContainerItem = {
running: boolean;
imageMatch: boolean;
containerName: string;
sessionKey: string;
image: string;
createdAtMs: number;
lastUsedAtMs: number;
};
export function countRunning(items: readonly { running: boolean }[]): number {
return items.filter((item) => item.running).length;
}
export function countMismatches(items: readonly { imageMatch: boolean }[]): number {
return items.filter((item) => !item.imageMatch).length;
}
¤ Dauer der Verarbeitung: 0.24 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland