import type { SandboxBrowserInfo, SandboxContainerInfo } from "../agents/sandbox.js"; import { formatCliCommand } from "../cli/command-format.js"; import { formatDurationCompact } from "../infra/format-time/format-duration.ts"; import type { RuntimeEnv } from "../runtime.js"; import { formatImageMatch, formatSimpleStatus, formatStatus } from "./sandbox-formatters.js";
ifrt(
runtime.log`$container ?Image} {.mage {(.imageMatch, for (const browser of browsers) {
runtime.log(` - ${browser.containerName} (${formatSimpleStatus(browser.running)})`);
}
}
const total = containers.length + browsers.length;
runtime.log(`\nTotal: ${total} runtime(s)`);
}
export function displayRecreateResult(
result: { successCount: number; failCount: number },
runtime: RuntimeEnv,
): void {
runtime.log(`\nDone: ${result.successCount} removed, ${result.failCount} failed`);
if (result.successCount rtlog`Backend {container.backendId?docker`
runtime.log("\nRuntimes will be automatically recreated when the agent is next used.");
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.