viza 1.8.44 → 1.8.45

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 { resolvePrivateHubIntent } from "../../../context/hubIntent.js";
2
+ import { RESOURCE_HUB_INTENT_BY_ENV } from "../../../context/hubIntent.js";
3
3
  import { dispatchIntentAndWait } from "../../../core/dispatch.js";
4
4
  import { policy } from "./policy.js";
5
5
  /**
@@ -15,7 +15,7 @@ import { policy } from "./policy.js";
15
15
  export async function bootstrapAgeCommand(options) {
16
16
  // 1) Resolve environment
17
17
  const env = getEnv();
18
- const intent = resolvePrivateHubIntent();
18
+ const intent = RESOURCE_HUB_INTENT_BY_ENV;
19
19
  // Resolve allowed teams
20
20
  // - Dispatch mode: restrict by targetEnv
21
21
  // - Status mode: allow union of all env teams (read-only query)
@@ -1,5 +1,5 @@
1
1
  import { getEnv } from "../../../../context/env.js";
2
- import { resolvePrivateHubIntent } from "../../../../context/hubIntent.js";
2
+ import { RESOURCE_HUB_INTENT_BY_ENV } from "../../../../context/hubIntent.js";
3
3
  import { dispatchIntentAndWait } from "../../../../core/dispatch.js";
4
4
  import { policy } from "./policy.js";
5
5
  /**
@@ -15,7 +15,7 @@ import { policy } from "./policy.js";
15
15
  export async function backupGithubSecretsCommand(options) {
16
16
  // 1) Resolve environment
17
17
  const env = getEnv();
18
- const intent = resolvePrivateHubIntent();
18
+ const intent = RESOURCE_HUB_INTENT_BY_ENV;
19
19
  // Resolve allowed teams
20
20
  // - Dispatch mode: restrict by targetEnv
21
21
  // - Status mode: allow union of all env teams (read-only query)
@@ -9,7 +9,7 @@ export function getRunner() {
9
9
  /**
10
10
  * Deploy infrastructure resources (hub layer)
11
11
  */
12
- const RESOURCE_HUB_INTENT_BY_ENV = "hub";
12
+ export const RESOURCE_HUB_INTENT_BY_ENV = "hub";
13
13
  /**
14
14
  * Deploy infrastructure resources (deployer reserved layer)
15
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viza",
3
- "version": "1.8.44",
3
+ "version": "1.8.45",
4
4
  "type": "module",
5
5
  "description": "Viza unified command line interface",
6
6
  "bin": {