tines 0.0.280 → 0.0.282

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. 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
- return `${actor.user_name} via ${actor.run.runner_name} \xB7 ${runRefLabel(actor.run)}`;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tines",
3
- "version": "0.0.280",
3
+ "version": "0.0.282",
4
4
  "description": "CLI for Tines, an orchestration layer for AI agents",
5
5
  "repository": {
6
6
  "type": "git",