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
|
}, {
|