@mesh-tech/mesh-cli 0.31.0 → 0.31.1
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.
package/dist/bin/mesh.js
CHANGED
|
@@ -17087,9 +17087,13 @@ function assembleHubEnv(session, sessionEnv, opts) {
|
|
|
17087
17087
|
PORT: String(opts.uiPort),
|
|
17088
17088
|
API_URL: `http://localhost:${opts.apiPort}`,
|
|
17089
17089
|
HUB_TENANT: hubTenant,
|
|
17090
|
+
// The shell reads the scope from HUB_SCOPE_ENV; DEFAULT_ENV is only a default.
|
|
17091
|
+
HUB_SCOPE_ENV: scopeEnv,
|
|
17090
17092
|
// UI namespace parsing + session defaults land on the scoped tenant.
|
|
17091
17093
|
DEFAULT_ORG: scopeTenants[0],
|
|
17092
17094
|
DEFAULT_ENV: scopeEnv,
|
|
17095
|
+
// A dev session has no sibling stacks, so the peer list can only be supplied.
|
|
17096
|
+
...process.env.HUB_PEER_ENVIRONMENTS ? { HUB_PEER_ENVIRONMENTS: process.env.HUB_PEER_ENVIRONMENTS } : {},
|
|
17093
17097
|
...audienceEnv
|
|
17094
17098
|
};
|
|
17095
17099
|
return { apiEnv, uiEnv, scope: { hubTenant, scopeEnv, scopeTenants }, temporalAddress, warnings, notes };
|