viza 1.8.40 → 1.8.41

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.
@@ -1,5 +1,5 @@
1
1
  import { getEnv } from "../../../context/env.js";
2
- import { RUNTIME_HUB_INTENT } from "../../../context/hubIntent.js";
2
+ import { getRunner, RUNTIME_HUB_INTENT } from "../../../context/hubIntent.js";
3
3
  import { dispatchIntentAndWait } from "../../../core/dispatch.js";
4
4
  import { policy } from "./policy.js";
5
5
  import { showDispatchRuns } from "./show-runs.js";
@@ -15,6 +15,7 @@ export async function runsCommand(options) {
15
15
  // 1️⃣ Resolve environment
16
16
  const env = getEnv();
17
17
  const intent = RUNTIME_HUB_INTENT;
18
+ const runner = getRunner();
18
19
  // Resolve allowed teams (same contract as other commands)
19
20
  const allowedTeams = Array.from(policy.byEnv[env]);
20
21
  // Parse limit option
@@ -38,6 +39,7 @@ export async function runsCommand(options) {
38
39
  secrets: false,
39
40
  },
40
41
  payload: {
42
+ runner,
41
43
  ...(limit ? { limit } : {}),
42
44
  },
43
45
  }, {
@@ -95,7 +95,7 @@ export async function showDispatchRuns(result) {
95
95
  }
96
96
  else if (run.status === "in_progress") {
97
97
  status = "🟡 in_progress";
98
- conclusion = " -";
98
+ conclusion = " - ";
99
99
  }
100
100
  else {
101
101
  status = "⏳ queued";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viza",
3
- "version": "1.8.40",
3
+ "version": "1.8.41",
4
4
  "type": "module",
5
5
  "description": "Viza unified command line interface",
6
6
  "bin": {