tines 0.0.280 → 0.0.281
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3415,7 +3415,10 @@ function runRefLabel(run3) {
|
|
|
3415
3415
|
}
|
|
3416
3416
|
function actorLabel(actor) {
|
|
3417
3417
|
if (actor.run) {
|
|
3418
|
-
|
|
3418
|
+
const legacyName = `run ${actor.run.run_id}`;
|
|
3419
|
+
const hasDescriptiveName = Boolean(actor.api_key_name?.trim()) && actor.api_key_name !== legacyName;
|
|
3420
|
+
const via = hasDescriptiveName ? actor.api_key_name : actor.run.runner_name;
|
|
3421
|
+
return `${actor.user_name} via ${via} \xB7 ${runRefLabel(actor.run)}`;
|
|
3419
3422
|
}
|
|
3420
3423
|
return actor.api_key_name ? `${actor.user_name} via ${actor.api_key_name}` : actor.user_name;
|
|
3421
3424
|
}
|