@mesh-tech/mesh-cli 0.40.9 → 0.40.10
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.auth-preflight-AUFQ2FGD.js → mesh.auth-preflight-RCZH7V34.js} +1 -1
- package/dist/bin/{mesh.chunk-NSQJEX36.js → mesh.chunk-CA4LI762.js} +1 -1
- package/dist/bin/{mesh.chunk-6AIG5OJM.js → mesh.chunk-CN6PMHQ5.js} +3 -3
- package/dist/bin/{mesh.chunk-HYXH4YMU.js → mesh.chunk-M23VKWSF.js} +18 -18
- package/dist/bin/{mesh.chunk-YE2WIY3Y.js → mesh.chunk-N55Y3YII.js} +1 -1
- package/dist/bin/{mesh.chunk-QPGAPLPU.js → mesh.chunk-NT2NPR7J.js} +1 -1
- package/dist/bin/{mesh.chunk-6SSOVZOI.js → mesh.chunk-SEIVILJR.js} +1 -1
- package/dist/bin/{mesh.chunk-HJGMOEUG.js → mesh.chunk-SOX2CJMU.js} +1 -1
- package/dist/bin/{mesh.chunk-7HTKSUWR.js → mesh.chunk-TFOKVJ34.js} +19 -10
- package/dist/bin/mesh.chunk-TFOKVJ34.js.map +6 -0
- package/dist/bin/{mesh.chunk-F44A3ACW.js → mesh.chunk-TG4FBJK3.js} +2 -2
- package/dist/bin/{mesh.create-app-Z3RKSTBO.js → mesh.create-app-QRAZVRA3.js} +3 -3
- package/dist/bin/{mesh.dev-token-server-XG26C6IQ.js → mesh.dev-token-server-DIECW5KC.js} +2 -2
- package/dist/bin/mesh.js +9 -9
- package/dist/bin/{mesh.login-3AWVGPCM.js → mesh.login-J3QPALUS.js} +2 -2
- package/dist/bin/{mesh.platform-setup-2ZDMHRCI.js → mesh.platform-setup-SNIAJTWJ.js} +1 -1
- package/dist/bin/{mesh.program-UKPDHRVX.js → mesh.program-T57YYRF5.js} +9 -9
- package/dist/bin/{mesh.registry-JLQYFUNN.js → mesh.registry-UTIC3OY2.js} +4 -4
- package/dist/bin/{mesh.registry-identity-3AR27UGO.js → mesh.registry-identity-Y4Y5WFQ3.js} +3 -3
- package/dist/bin/{mesh.review-command-LUVZQN2T.js → mesh.review-command-LYTUNZ5G.js} +3 -3
- package/dist/bin/{mesh.start-OU2V6C7B.js → mesh.start-OWIKVKN6.js} +2 -2
- package/dist/bin/{mesh.wizard-FCTT55KI.js → mesh.wizard-QL5SQ47K.js} +7 -7
- package/dist/build-info.json +2 -2
- package/dist/src/commands/temporal.js +15 -6
- package/dist/src/commands/temporal.js.map +1 -1
- package/dist/src/utils/temporal-auth.d.ts +9 -1
- package/dist/src/utils/temporal-auth.js +16 -6
- package/package.json +2 -2
- package/dist/bin/mesh.chunk-7HTKSUWR.js.map +0 -6
- /package/dist/bin/{mesh.auth-preflight-AUFQ2FGD.js.map → mesh.auth-preflight-RCZH7V34.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-NSQJEX36.js.map → mesh.chunk-CA4LI762.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-6AIG5OJM.js.map → mesh.chunk-CN6PMHQ5.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-HYXH4YMU.js.map → mesh.chunk-M23VKWSF.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-YE2WIY3Y.js.map → mesh.chunk-N55Y3YII.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-QPGAPLPU.js.map → mesh.chunk-NT2NPR7J.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-6SSOVZOI.js.map → mesh.chunk-SEIVILJR.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-HJGMOEUG.js.map → mesh.chunk-SOX2CJMU.js.map} +0 -0
- /package/dist/bin/{mesh.chunk-F44A3ACW.js.map → mesh.chunk-TG4FBJK3.js.map} +0 -0
- /package/dist/bin/{mesh.create-app-Z3RKSTBO.js.map → mesh.create-app-QRAZVRA3.js.map} +0 -0
- /package/dist/bin/{mesh.dev-token-server-XG26C6IQ.js.map → mesh.dev-token-server-DIECW5KC.js.map} +0 -0
- /package/dist/bin/{mesh.login-3AWVGPCM.js.map → mesh.login-J3QPALUS.js.map} +0 -0
- /package/dist/bin/{mesh.platform-setup-2ZDMHRCI.js.map → mesh.platform-setup-SNIAJTWJ.js.map} +0 -0
- /package/dist/bin/{mesh.program-UKPDHRVX.js.map → mesh.program-T57YYRF5.js.map} +0 -0
- /package/dist/bin/{mesh.registry-JLQYFUNN.js.map → mesh.registry-UTIC3OY2.js.map} +0 -0
- /package/dist/bin/{mesh.registry-identity-3AR27UGO.js.map → mesh.registry-identity-Y4Y5WFQ3.js.map} +0 -0
- /package/dist/bin/{mesh.review-command-LUVZQN2T.js.map → mesh.review-command-LYTUNZ5G.js.map} +0 -0
- /package/dist/bin/{mesh.start-OU2V6C7B.js.map → mesh.start-OWIKVKN6.js.map} +0 -0
- /package/dist/bin/{mesh.wizard-FCTT55KI.js.map → mesh.wizard-QL5SQ47K.js.map} +0 -0
|
@@ -181,7 +181,7 @@ async function scaffoldPlatformRepo(setup) {
|
|
|
181
181
|
remediation: { command: `mesh init platform ${setup.tenant} --dir <empty-dir>` }
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
|
-
const { copyTemplate } = await import("./mesh.create-app-
|
|
184
|
+
const { copyTemplate } = await import("./mesh.create-app-QRAZVRA3.js");
|
|
185
185
|
const { findPackageRoot } = await import("./mesh.stack-EFTFAOCV.js");
|
|
186
186
|
const { syncSkills } = await import("./mesh.skills-MNDSMBIE.js");
|
|
187
187
|
const templateDir = path.join(findPackageRoot(), "templates", "platform-repo");
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
refreshRegistrySession,
|
|
12
12
|
registryAccountState,
|
|
13
13
|
resolveRegistryIdentity
|
|
14
|
-
} from "./mesh.chunk-
|
|
14
|
+
} from "./mesh.chunk-SOX2CJMU.js";
|
|
15
15
|
import {
|
|
16
16
|
readCredentials
|
|
17
|
-
} from "./mesh.chunk-
|
|
17
|
+
} from "./mesh.chunk-TFOKVJ34.js";
|
|
18
18
|
import {
|
|
19
19
|
logError,
|
|
20
20
|
logInfo,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
readAwsConfig,
|
|
35
35
|
stripUnscopedCodeArtifactRegistry,
|
|
36
36
|
upsertNpmrcLines
|
|
37
|
-
} from "./mesh.chunk-
|
|
37
|
+
} from "./mesh.chunk-SEIVILJR.js";
|
|
38
38
|
|
|
39
39
|
// packages/mesh-cli/src/commands/registry.ts
|
|
40
40
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
parseInstanceIndex,
|
|
8
8
|
resolveSecretsContext,
|
|
9
9
|
setCommand
|
|
10
|
-
} from "./mesh.chunk-
|
|
10
|
+
} from "./mesh.chunk-N55Y3YII.js";
|
|
11
11
|
import {
|
|
12
12
|
cliReferenceStaleness,
|
|
13
13
|
resolveCliRuntime,
|
|
14
14
|
runPortalCommand
|
|
15
|
-
} from "./mesh.chunk-
|
|
15
|
+
} from "./mesh.chunk-NT2NPR7J.js";
|
|
16
16
|
import {
|
|
17
17
|
registerAppCommands,
|
|
18
18
|
registerCreateAppCommand
|
|
19
|
-
} from "./mesh.chunk-
|
|
19
|
+
} from "./mesh.chunk-TG4FBJK3.js";
|
|
20
20
|
import {
|
|
21
21
|
PLATFORM_SETUP_DEFAULTS
|
|
22
|
-
} from "./mesh.chunk-
|
|
22
|
+
} from "./mesh.chunk-CA4LI762.js";
|
|
23
23
|
import {
|
|
24
24
|
registerRegistryCommands
|
|
25
|
-
} from "./mesh.chunk-
|
|
25
|
+
} from "./mesh.chunk-CN6PMHQ5.js";
|
|
26
26
|
import {
|
|
27
27
|
registerSkillsCommands,
|
|
28
28
|
resolveTargetRoot,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
waitForPort,
|
|
78
78
|
worktreeStackName,
|
|
79
79
|
writeEnvFile
|
|
80
|
-
} from "./mesh.chunk-
|
|
80
|
+
} from "./mesh.chunk-TFOKVJ34.js";
|
|
81
81
|
import {
|
|
82
82
|
COMPOSE_PROJECT,
|
|
83
83
|
DEFAULT_HUB_PORT,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
homeNpmrcPath,
|
|
127
127
|
isNpmAuthError,
|
|
128
128
|
probeRegistryToken
|
|
129
|
-
} from "./mesh.chunk-
|
|
129
|
+
} from "./mesh.chunk-SEIVILJR.js";
|
|
130
130
|
import {
|
|
131
131
|
createVcsFolderReader,
|
|
132
132
|
deriveVcsBaseUrl,
|
|
@@ -1541,7 +1541,7 @@ var DOCS_PREVIEW_PORT = "4410";
|
|
|
1541
1541
|
var CLI_REFERENCE_PATH = "docs/portal/generated/cli-reference.md";
|
|
1542
1542
|
async function renderCliReference() {
|
|
1543
1543
|
const [{ createProgram: createProgram2 }, { extractCliReference, renderCliReferenceMarkdown }] = await Promise.all([
|
|
1544
|
-
import("./mesh.program-
|
|
1544
|
+
import("./mesh.program-T57YYRF5.js"),
|
|
1545
1545
|
import("./mesh.cli-reference-H3TOPIET.js")
|
|
1546
1546
|
]);
|
|
1547
1547
|
return renderCliReferenceMarkdown(extractCliReference(createProgram2()));
|
|
@@ -1613,7 +1613,7 @@ function registerDocsCommand(program) {
|
|
|
1613
1613
|
"Serve the Mesh docs locally \u2014 detached in a tmux session by default; the working tree in a mesh-platform checkout, or the published @mesh-tech/docs artifact (role-gated registry) anywhere else"
|
|
1614
1614
|
).option("-v, --version <version>", "docs version to serve (== the @mesh-tech/* baseline it describes); default: latest", void 0).option("-p, --port <port>", "port to serve on (0 picks a free one)", "4400").option("--dev", "in a checkout: run the Zudoku dev server (HMR) in the foreground, for authoring", false).option("--foreground", "serve in the foreground (the agent/CI path; automatic when not a TTY)", false).action(
|
|
1615
1615
|
(opts) => guarded(async () => {
|
|
1616
|
-
const { runDocsStart } = await import("./mesh.start-
|
|
1616
|
+
const { runDocsStart } = await import("./mesh.start-OWIKVKN6.js");
|
|
1617
1617
|
await runDocsStart({
|
|
1618
1618
|
repoRoot: findRepoRoot(process.cwd()),
|
|
1619
1619
|
version: opts.version,
|
|
@@ -1625,13 +1625,13 @@ function registerDocsCommand(program) {
|
|
|
1625
1625
|
);
|
|
1626
1626
|
docs.command("stop").description(`Stop the detached docs server (the tmux session "${"mesh-docs"}")`).action(
|
|
1627
1627
|
() => guarded(async () => {
|
|
1628
|
-
const { runDocsStop } = await import("./mesh.start-
|
|
1628
|
+
const { runDocsStop } = await import("./mesh.start-OWIKVKN6.js");
|
|
1629
1629
|
runDocsStop();
|
|
1630
1630
|
})()
|
|
1631
1631
|
);
|
|
1632
1632
|
docs.command("serve-static", { hidden: true }).option("--root <dir>", "built site root", "").option("--port <port>", "port", "4400").action(
|
|
1633
1633
|
(opts) => guarded(async () => {
|
|
1634
|
-
const { runDocsServeStatic } = await import("./mesh.start-
|
|
1634
|
+
const { runDocsServeStatic } = await import("./mesh.start-OWIKVKN6.js");
|
|
1635
1635
|
await runDocsServeStatic(opts);
|
|
1636
1636
|
})()
|
|
1637
1637
|
);
|
|
@@ -1674,7 +1674,7 @@ function registerDocsCommand(program) {
|
|
|
1674
1674
|
);
|
|
1675
1675
|
docs.command("list").description("List the published docs versions (each is an @mesh-tech/* baseline)").action(
|
|
1676
1676
|
() => guarded(async () => {
|
|
1677
|
-
const { runDocsList } = await import("./mesh.start-
|
|
1677
|
+
const { runDocsList } = await import("./mesh.start-OWIKVKN6.js");
|
|
1678
1678
|
await runDocsList();
|
|
1679
1679
|
})()
|
|
1680
1680
|
);
|
|
@@ -2197,7 +2197,7 @@ async function registryChecks(args) {
|
|
|
2197
2197
|
const { fix, profile } = args;
|
|
2198
2198
|
const probe = args.probe ?? probeRegistryToken;
|
|
2199
2199
|
const login = args.login ?? (async () => {
|
|
2200
|
-
const { runRegistryLogin } = await import("./mesh.registry-
|
|
2200
|
+
const { runRegistryLogin } = await import("./mesh.registry-UTIC3OY2.js");
|
|
2201
2201
|
await runRegistryLogin(void 0, profile ? { profile } : {});
|
|
2202
2202
|
});
|
|
2203
2203
|
const REGISTRY_FIX = registryFixCommand(profile);
|
|
@@ -2353,7 +2353,7 @@ function registerInitCommands(program) {
|
|
|
2353
2353
|
`nothing deployed yet \u2014 scaffold a tenant platform repo for \`<tenant>.<env>\` (default env: ${PLATFORM_SETUP_DEFAULTS.env}) and print its deploy sequence`
|
|
2354
2354
|
).option("--region <region>", `--new-platform: AWS region (default: ${PLATFORM_SETUP_DEFAULTS.region})`).option("--domain <domain>", "--new-platform: base public domain you control; the core stack creates the zone {env}.{domain} and stops at the mesh-gateway Ingress until you delegate its NS records. No default \u2014 a placeholder scaffolds a zone that can never validate").option("--state-bucket <bucket>", "--new-platform: Pulumi state S3 bucket (default: {tenant}-mesh-platform-pulumi-state)").option("--create-state-bucket", "--new-platform: create the state bucket (versioned) if it does not exist").option("--no-create-state-bucket", "--new-platform: never create the state bucket; print the aws command instead").option("--dir <path>", "--new-platform: where to scaffold the platform repo (default: ./{tenant}-mesh-platform)").option("--device", "device-code sign-in for the registry and platform steps (headless / SSH)").option("--profile <aws-profile>", "AWS profile this machine uses: read the registry without the broker (deployers only), and the profile a --new-platform stack config references").option("--skip-repo", "do not bootstrap, check or record anything in the current repo", false).option("--yes", "accept every default and never prompt", false).option("--json", "one JSON document on stdout ({tenant, mode, steps, next}); human output on stderr", false).action(
|
|
2355
2355
|
async (opts) => {
|
|
2356
|
-
const { runInitWizard } = await import("./mesh.wizard-
|
|
2356
|
+
const { runInitWizard } = await import("./mesh.wizard-QL5SQ47K.js");
|
|
2357
2357
|
const code = await runInitWizard(opts);
|
|
2358
2358
|
if (code !== 0) process.exitCode = code;
|
|
2359
2359
|
}
|
|
@@ -2369,7 +2369,7 @@ function registerInitCommands(program) {
|
|
|
2369
2369
|
throw new MeshCliError(`Invalid tenant name '${tenant}' (lowercase alphanumeric + dashes).`);
|
|
2370
2370
|
}
|
|
2371
2371
|
const interactive = Boolean(process.stdin.isTTY && process.stdout.isTTY);
|
|
2372
|
-
const { resolvePlatformSetup, scaffoldPlatformRepo, ensureStateBucket, renderPlatformNextSteps } = await import("./mesh.platform-setup-
|
|
2372
|
+
const { resolvePlatformSetup, scaffoldPlatformRepo, ensureStateBucket, renderPlatformNextSteps } = await import("./mesh.platform-setup-SNIAJTWJ.js");
|
|
2373
2373
|
const setup = await resolvePlatformSetup(tenant, opts, {
|
|
2374
2374
|
prompts: interactive && !opts.yes ? await setupPrompts() : void 0,
|
|
2375
2375
|
interactive
|
|
@@ -3373,7 +3373,7 @@ function registerMcpCommands(program) {
|
|
|
3373
3373
|
"--secret <id>",
|
|
3374
3374
|
"Secrets Manager secret holding the Integration credential (default: the deployed ExternalService's own secret)"
|
|
3375
3375
|
).action(async (manifest, opts) => {
|
|
3376
|
-
const { runMcpReviewCommand } = await import("./mesh.review-command-
|
|
3376
|
+
const { runMcpReviewCommand } = await import("./mesh.review-command-LYTUNZ5G.js");
|
|
3377
3377
|
try {
|
|
3378
3378
|
await runMcpReviewCommand(manifest, opts);
|
|
3379
3379
|
} catch (error) {
|
|
@@ -3408,7 +3408,7 @@ function registerMcpCommands(program) {
|
|
|
3408
3408
|
`No pnpm-workspace.yaml above ${serveDir}: the worker image installs this package from a pnpm workspace, so it must be in one.`
|
|
3409
3409
|
);
|
|
3410
3410
|
} else if (!membership.member && membership.suggestedGlob) {
|
|
3411
|
-
const { ensureWorkspaceGlobs } = await import("./mesh.create-app-
|
|
3411
|
+
const { ensureWorkspaceGlobs } = await import("./mesh.create-app-QRAZVRA3.js");
|
|
3412
3412
|
const added = ensureWorkspaceGlobs(path9.dirname(membership.workspaceFile), [
|
|
3413
3413
|
membership.suggestedGlob
|
|
3414
3414
|
]);
|
|
@@ -6401,7 +6401,7 @@ async function resolveToken(opts) {
|
|
|
6401
6401
|
if (opts.token) return opts.token;
|
|
6402
6402
|
if (process.env.VCS_TOKEN) return process.env.VCS_TOKEN;
|
|
6403
6403
|
if (opts.context) {
|
|
6404
|
-
const { getValidToken: getValidToken2 } = await import("./mesh.login-
|
|
6404
|
+
const { getValidToken: getValidToken2 } = await import("./mesh.login-J3QPALUS.js");
|
|
6405
6405
|
const token = await getValidToken2(opts.context);
|
|
6406
6406
|
if (token) return token;
|
|
6407
6407
|
}
|
|
@@ -1051,7 +1051,7 @@ async function cliReferenceStaleness(repoRoot) {
|
|
|
1051
1051
|
{ createProgram },
|
|
1052
1052
|
{ extractCliReference, renderCliReferenceMarkdown }
|
|
1053
1053
|
] = await Promise.all([
|
|
1054
|
-
import("./mesh.program-
|
|
1054
|
+
import("./mesh.program-T57YYRF5.js"),
|
|
1055
1055
|
import("./mesh.cli-reference-H3TOPIET.js")
|
|
1056
1056
|
]);
|
|
1057
1057
|
const outPath = path3.join(repoRoot, "docs/portal/generated/cli-reference.md");
|
|
@@ -107,7 +107,7 @@ async function registryPreflight(opts) {
|
|
|
107
107
|
const probe = await probeRegistryToken(opts);
|
|
108
108
|
let session = null;
|
|
109
109
|
try {
|
|
110
|
-
const { readRegistrySession } = await import("./mesh.registry-identity-
|
|
110
|
+
const { readRegistrySession } = await import("./mesh.registry-identity-Y4Y5WFQ3.js");
|
|
111
111
|
session = readRegistrySession();
|
|
112
112
|
} catch {
|
|
113
113
|
}
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
isExpiredAwsTokenMessage,
|
|
50
50
|
probeRegistryToken,
|
|
51
51
|
registryLoginFix
|
|
52
|
-
} from "./mesh.chunk-
|
|
52
|
+
} from "./mesh.chunk-SEIVILJR.js";
|
|
53
53
|
|
|
54
54
|
// packages/mesh-cli/src/commands/login.ts
|
|
55
55
|
import * as http from "http";
|
|
@@ -1478,9 +1478,9 @@ async function ensureKubeconfig(platformName, env, sessionName, deps = {}) {
|
|
|
1478
1478
|
|
|
1479
1479
|
// packages/mesh-cli/src/utils/temporal-auth.ts
|
|
1480
1480
|
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
1481
|
-
async function resolveTemporalAuth(tenant, env, platformName = tenant) {
|
|
1481
|
+
async function resolveTemporalAuth(tenant, env, platformName = tenant, deps = {}) {
|
|
1482
1482
|
const { SSMClient: SSMClient2, GetParameterCommand: GetParameterCommand2 } = await import("@aws-sdk/client-ssm");
|
|
1483
|
-
const ssm = new SSMClient2({ region: process.env.AWS_REGION || "us-east-2" });
|
|
1483
|
+
const ssm = deps.ssm ?? new SSMClient2({ region: process.env.AWS_REGION || "us-east-2" });
|
|
1484
1484
|
const results = {};
|
|
1485
1485
|
async function trySSM(name) {
|
|
1486
1486
|
try {
|
|
@@ -1490,16 +1490,25 @@ async function resolveTemporalAuth(tenant, env, platformName = tenant) {
|
|
|
1490
1490
|
return void 0;
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
|
+
async function tryFirstSSM(names) {
|
|
1494
|
+
for (const name of names) {
|
|
1495
|
+
const value = await trySSM(name);
|
|
1496
|
+
if (value !== void 0) return value;
|
|
1497
|
+
}
|
|
1498
|
+
return void 0;
|
|
1499
|
+
}
|
|
1493
1500
|
try {
|
|
1494
|
-
const
|
|
1495
|
-
|
|
1496
|
-
|
|
1501
|
+
const temporalSecret = (name) => [
|
|
1502
|
+
`/platform-secrets/${tenant}/${env}/temporal/${name}`,
|
|
1503
|
+
`/mesh-platform/${tenant}/${env}/temporal/${name}`
|
|
1504
|
+
];
|
|
1505
|
+
const workerJson = await tryFirstSSM(temporalSecret("worker-service-account-key"));
|
|
1497
1506
|
if (workerJson) {
|
|
1498
1507
|
const worker = JSON.parse(workerJson);
|
|
1499
1508
|
results.TEMPORAL_AUTH_CLIENT_ID = worker.clientId;
|
|
1500
1509
|
results.TEMPORAL_AUTH_CLIENT_SECRET = worker.clientSecret;
|
|
1501
1510
|
}
|
|
1502
|
-
const exchangeJson = await
|
|
1511
|
+
const exchangeJson = await tryFirstSSM(temporalSecret("token-exchange-app"));
|
|
1503
1512
|
if (exchangeJson) {
|
|
1504
1513
|
const exchange = JSON.parse(exchangeJson);
|
|
1505
1514
|
results.ZITADEL_TOKEN_EXCHANGE_CLIENT_ID = exchange.clientId;
|
|
@@ -7833,7 +7842,7 @@ function registerDevCommand(program) {
|
|
|
7833
7842
|
"tmux"
|
|
7834
7843
|
);
|
|
7835
7844
|
dev.command("__token-server <port> <context>", { hidden: true }).action(async (port, context) => {
|
|
7836
|
-
const { startTokenServer } = await import("./mesh.dev-token-server-
|
|
7845
|
+
const { startTokenServer } = await import("./mesh.dev-token-server-DIECW5KC.js");
|
|
7837
7846
|
await startTokenServer(Number(port), context);
|
|
7838
7847
|
});
|
|
7839
7848
|
dev.action(async (options) => {
|
|
@@ -10971,9 +10980,9 @@ function refuseReservedRegistryContext(context, verb) {
|
|
|
10971
10980
|
}
|
|
10972
10981
|
async function hintRegistryIfMissing() {
|
|
10973
10982
|
try {
|
|
10974
|
-
const { readRegistrySession } = await import("./mesh.registry-identity-
|
|
10983
|
+
const { readRegistrySession } = await import("./mesh.registry-identity-Y4Y5WFQ3.js");
|
|
10975
10984
|
if (readRegistrySession()) return;
|
|
10976
|
-
const { probeRegistryToken: probeRegistryToken2 } = await import("./mesh.auth-preflight-
|
|
10985
|
+
const { probeRegistryToken: probeRegistryToken2 } = await import("./mesh.auth-preflight-RCZH7V34.js");
|
|
10977
10986
|
const probe = await probeRegistryToken2();
|
|
10978
10987
|
if (probe.state === "missing" || probe.state === "expired") {
|
|
10979
10988
|
logInfo(REGISTRY_SEPARATE_HINT);
|