return [{ label: "Transparency log not checked", description: "click to verify the hub's log", icon: "shield", tooltip: "Runs oxy tlog verify: checks that the hub shows everyone the same history." }];
21
}
22
if ("error" in check) {
23
const first = check.error.trim().split("\n")[0] || "oxy tlog verify failed";
label: `Transparency log verified up to checkpoint ${info.size}`,
31
description: `${info.origin} · ${mine} entr${mine === 1 ? "y" : "ies"} for this repository · ${ago(check.when_ms)}`,
32
icon: "verified",
33
tooltip: `${info.hub}\nRoot ${info.root}\nEvery entry checks against the root its log key signed, and the log extends what you saw before.`,
34
},
35
];
36
if (info.witnesses.length === 0) {
37
lines.push({ label: "Cosigned by no witness you trust", icon: "warning", tooltip: "Without a witness, only your own past checks show the hub has not forked its log." });
38
} else {
39
for (const w of info.witnesses) {
40
lines.push({ label: `Cosigned by ${w.name}`, description: ago(w.time_ms), icon: "key" });