viza 1.9.36 → 1.9.37

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.
@@ -46,7 +46,7 @@ export async function showDispatchRuns(result) {
46
46
  conclusion = "❌ failure";
47
47
  break;
48
48
  case "cancelled":
49
- conclusion = " cancelled";
49
+ conclusion = "🛑 cancelled";
50
50
  break;
51
51
  case "timed_out":
52
52
  conclusion = "⏱ timed_out";
@@ -96,8 +96,14 @@ export async function showDispatchRuns(result) {
96
96
  // derive binary name from process.argv (fallback safe)
97
97
  const bin = (process.argv[1] || "viza").split("/").pop();
98
98
  const sampleCmd = `${bin} dispatch logs ${firstRunId}`;
99
+ const isQueued = firstRun.status === "queued";
99
100
  console.log();
100
101
  console.log("💡 " + "\x1b[1mQuick Hint\x1b[0m");
102
+ if (isQueued) {
103
+ console.log();
104
+ console.log(chalk.gray(" 👉 To cancel a queued run (admin/publisher only):"));
105
+ console.log(` ${renderCommandInline(`${bin} dispatch cancel-run ${firstRunId}`)}`);
106
+ }
101
107
  console.log();
102
108
  console.log(chalk.gray(" 👉 To list fewer or more runs, use --limit:"));
103
109
  console.log(` ${renderCommandInline(`${bin} dispatch runs --limit <n>`)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viza",
3
- "version": "1.9.36",
3
+ "version": "1.9.37",
4
4
  "type": "module",
5
5
  "description": "Viza unified command line interface",
6
6
  "bin": {