@mesh-tech/mesh-cli 0.34.1 → 0.34.3
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/assets/intent/intent-claude-gate.mjs +1 -1
- package/dist/bin/mesh.js +243 -243
- package/dist/bin/mesh.js.map +2 -2
- package/dist/build-info.json +2 -2
- package/dist/src/commands/local/seed.js +2 -2
- package/dist/src/commands/temporal.js +97 -97
- package/dist/src/docs/assemble.js +1 -1
- package/dist/src/docs/cli-reference.js +1 -1
- package/dist/src/index.js +9 -9
- package/dist/src/utils/temporal-codec.js +3 -3
- package/package.json +4 -4
- package/skills/core/SKILL.md +1 -1
- package/skills/pull-remote-agent-context/SKILL.md +1 -1
- package/templates/api-auth/README.md.hbs +4 -0
package/dist/build-info.json
CHANGED
|
@@ -126,7 +126,7 @@ export async function verifyFabric() {
|
|
|
126
126
|
if (roundTrip.Parameter?.Value !== payload) {
|
|
127
127
|
throw new MeshCliError(`Local AWS fabric failed the ${payload.length}-byte Advanced-tier SSM round-trip (got ${roundTrip.Parameter?.Value?.length ?? 0} bytes back).`, {
|
|
128
128
|
remediation: {
|
|
129
|
-
docs: "
|
|
129
|
+
docs: "packages/mesh-cli/stack/docker-compose.yml — swap the ministack image for motoserver/moto (design §2.5 fallback)",
|
|
130
130
|
},
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -136,7 +136,7 @@ export async function verifyFabric() {
|
|
|
136
136
|
if (missing.length > 0) {
|
|
137
137
|
throw new MeshCliError(`Local AWS fabric's GetParametersByPath missed child parameter(s): ${missing.join(", ")} (splitKeys exports would not resolve).`, {
|
|
138
138
|
remediation: {
|
|
139
|
-
docs: "
|
|
139
|
+
docs: "packages/mesh-cli/stack/docker-compose.yml — swap the ministack image for motoserver/moto (design §2.5 fallback)",
|
|
140
140
|
},
|
|
141
141
|
});
|
|
142
142
|
}
|
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// packages/mesh-cli/src/utils/log.ts
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
function logPrefix(opts) {
|
|
14
14
|
const enabled = opts.envFlag === "1" || opts.envFlag !== "0" && !opts.isTTY;
|
|
@@ -36,12 +36,12 @@ function logError(message) {
|
|
|
36
36
|
console.error(prefix() + chalk.red("\u2717"), message);
|
|
37
37
|
}
|
|
38
38
|
var init_log = __esm({
|
|
39
|
-
"
|
|
39
|
+
"packages/mesh-cli/src/utils/log.ts"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
//
|
|
44
|
+
// packages/mesh-cli/src/utils/pulumi.ts
|
|
45
45
|
import { execFileSync } from "child_process";
|
|
46
46
|
import * as path from "path";
|
|
47
47
|
import * as fs from "fs";
|
|
@@ -107,12 +107,12 @@ function pulumiStackOutput(appRoot, key, extraArgs, env) {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
var init_pulumi = __esm({
|
|
110
|
-
"
|
|
110
|
+
"packages/mesh-cli/src/utils/pulumi.ts"() {
|
|
111
111
|
"use strict";
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
|
|
115
|
-
//
|
|
115
|
+
// packages/mesh-cli/src/utils/auth-preflight.ts
|
|
116
116
|
function isExpiredAwsTokenMessage(message) {
|
|
117
117
|
return /expired|invalid.*(security )?token|token.*(is )?invalid|no credential|could not load credentials|could not be found|sso session/i.test(
|
|
118
118
|
message
|
|
@@ -120,21 +120,21 @@ function isExpiredAwsTokenMessage(message) {
|
|
|
120
120
|
}
|
|
121
121
|
var SSO_LOGIN_FIX;
|
|
122
122
|
var init_auth_preflight = __esm({
|
|
123
|
-
"
|
|
123
|
+
"packages/mesh-cli/src/utils/auth-preflight.ts"() {
|
|
124
124
|
"use strict";
|
|
125
125
|
SSO_LOGIN_FIX = "aws sso login --sso-session=mesh # or: pnpm sso";
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
//
|
|
129
|
+
// packages/mesh-cli/src/utils/errors.ts
|
|
130
130
|
import chalk2 from "chalk";
|
|
131
131
|
var init_errors = __esm({
|
|
132
|
-
"
|
|
132
|
+
"packages/mesh-cli/src/utils/errors.ts"() {
|
|
133
133
|
"use strict";
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
//
|
|
137
|
+
// packages/mesh-cli/src/utils/first-party-contexts.ts
|
|
138
138
|
function firstPartyDomainFor(context) {
|
|
139
139
|
if (!Object.hasOwn(FIRST_PARTY_CONTEXTS, context)) return null;
|
|
140
140
|
const domain = FIRST_PARTY_CONTEXTS[context];
|
|
@@ -142,7 +142,7 @@ function firstPartyDomainFor(context) {
|
|
|
142
142
|
}
|
|
143
143
|
var FIRST_PARTY_CONTEXTS;
|
|
144
144
|
var init_first_party_contexts = __esm({
|
|
145
|
-
"
|
|
145
|
+
"packages/mesh-cli/src/utils/first-party-contexts.ts"() {
|
|
146
146
|
"use strict";
|
|
147
147
|
FIRST_PARTY_CONTEXTS = Object.freeze({
|
|
148
148
|
// Verified 2026-08-14: https://cli.dev.platform.meshtech.io/.well-known/mesh.json
|
|
@@ -156,16 +156,16 @@ var init_first_party_contexts = __esm({
|
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
158
|
|
|
159
|
-
//
|
|
159
|
+
// packages/mesh-cli/src/utils/mesh-json.ts
|
|
160
160
|
var init_mesh_json = __esm({
|
|
161
|
-
"
|
|
161
|
+
"packages/mesh-cli/src/utils/mesh-json.ts"() {
|
|
162
162
|
"use strict";
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
//
|
|
166
|
+
// packages/mesh-cli/src/utils/context.ts
|
|
167
167
|
var init_context = __esm({
|
|
168
|
-
"
|
|
168
|
+
"packages/mesh-cli/src/utils/context.ts"() {
|
|
169
169
|
"use strict";
|
|
170
170
|
init_errors();
|
|
171
171
|
init_log();
|
|
@@ -173,37 +173,37 @@ var init_context = __esm({
|
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
//
|
|
176
|
+
// packages/mesh-cli/src/utils/bastion.ts
|
|
177
177
|
import { SSMClient, GetParameterCommand } from "@aws-sdk/client-ssm";
|
|
178
178
|
var init_bastion = __esm({
|
|
179
|
-
"
|
|
179
|
+
"packages/mesh-cli/src/utils/bastion.ts"() {
|
|
180
180
|
"use strict";
|
|
181
181
|
init_log();
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
//
|
|
185
|
+
// packages/mesh-cli/src/utils/credentials.ts
|
|
186
186
|
import {
|
|
187
187
|
SecretsManagerClient,
|
|
188
188
|
GetSecretValueCommand
|
|
189
189
|
} from "@aws-sdk/client-secrets-manager";
|
|
190
190
|
var init_credentials = __esm({
|
|
191
|
-
"
|
|
191
|
+
"packages/mesh-cli/src/utils/credentials.ts"() {
|
|
192
192
|
"use strict";
|
|
193
193
|
init_log();
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
//
|
|
197
|
+
// packages/mesh-cli/src/utils/vpn.ts
|
|
198
198
|
var init_vpn = __esm({
|
|
199
|
-
"
|
|
199
|
+
"packages/mesh-cli/src/utils/vpn.ts"() {
|
|
200
200
|
"use strict";
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
|
|
204
|
-
//
|
|
204
|
+
// packages/mesh-cli/src/utils/index.ts
|
|
205
205
|
var init_utils = __esm({
|
|
206
|
-
"
|
|
206
|
+
"packages/mesh-cli/src/utils/index.ts"() {
|
|
207
207
|
"use strict";
|
|
208
208
|
init_errors();
|
|
209
209
|
init_log();
|
|
@@ -215,25 +215,25 @@ var init_utils = __esm({
|
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
217
|
|
|
218
|
-
//
|
|
218
|
+
// packages/mesh-cli/src/utils/pid.ts
|
|
219
219
|
var init_pid = __esm({
|
|
220
|
-
"
|
|
220
|
+
"packages/mesh-cli/src/utils/pid.ts"() {
|
|
221
221
|
"use strict";
|
|
222
222
|
init_errors();
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
|
|
226
|
-
//
|
|
226
|
+
// packages/mesh-cli/src/utils/vpn-join.ts
|
|
227
227
|
var init_vpn_join = __esm({
|
|
228
|
-
"
|
|
228
|
+
"packages/mesh-cli/src/utils/vpn-join.ts"() {
|
|
229
229
|
"use strict";
|
|
230
230
|
init_login();
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
|
|
234
|
-
//
|
|
234
|
+
// packages/mesh-cli/src/utils/pulumi-run.ts
|
|
235
235
|
var init_pulumi_run = __esm({
|
|
236
|
-
"
|
|
236
|
+
"packages/mesh-cli/src/utils/pulumi-run.ts"() {
|
|
237
237
|
"use strict";
|
|
238
238
|
init_log();
|
|
239
239
|
init_pulumi();
|
|
@@ -242,14 +242,14 @@ var init_pulumi_run = __esm({
|
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
//
|
|
245
|
+
// packages/mesh-cli/src/utils/kubeconfig.ts
|
|
246
246
|
var init_kubeconfig = __esm({
|
|
247
|
-
"
|
|
247
|
+
"packages/mesh-cli/src/utils/kubeconfig.ts"() {
|
|
248
248
|
"use strict";
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
|
|
252
|
-
//
|
|
252
|
+
// packages/mesh-cli/src/utils/temporal-auth.ts
|
|
253
253
|
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
254
254
|
async function resolveTemporalAuth(tenant, env, platformName = tenant) {
|
|
255
255
|
const { SSMClient: SSMClient2, GetParameterCommand: GetParameterCommand2 } = await import("@aws-sdk/client-ssm");
|
|
@@ -376,37 +376,37 @@ async function acquireTemporalBearer(vars = {}) {
|
|
|
376
376
|
return data.access_token;
|
|
377
377
|
}
|
|
378
378
|
var init_temporal_auth = __esm({
|
|
379
|
-
"
|
|
379
|
+
"packages/mesh-cli/src/utils/temporal-auth.ts"() {
|
|
380
380
|
"use strict";
|
|
381
381
|
init_log();
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
//
|
|
385
|
+
// packages/mesh-cli/src/utils/reachability.ts
|
|
386
386
|
var init_reachability = __esm({
|
|
387
|
-
"
|
|
387
|
+
"packages/mesh-cli/src/utils/reachability.ts"() {
|
|
388
388
|
"use strict";
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
391
|
|
|
392
|
-
//
|
|
392
|
+
// packages/mesh-cli/src/utils/workflow-fingerprint.ts
|
|
393
393
|
var init_workflow_fingerprint = __esm({
|
|
394
|
-
"
|
|
394
|
+
"packages/mesh-cli/src/utils/workflow-fingerprint.ts"() {
|
|
395
395
|
"use strict";
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
398
|
|
|
399
|
-
//
|
|
399
|
+
// packages/mesh-cli/src/commands/dev-launch.ts
|
|
400
400
|
var init_dev_launch = __esm({
|
|
401
|
-
"
|
|
401
|
+
"packages/mesh-cli/src/commands/dev-launch.ts"() {
|
|
402
402
|
"use strict";
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
405
|
|
|
406
|
-
//
|
|
406
|
+
// packages/mesh-cli/src/commands/local/seed.ts
|
|
407
407
|
var LOCAL_TENANT, LOCAL_ENV, APP_TENANTS_PARAM, DATA_BUCKET_SEEDS, FABRIC_CHECK_PATH, TEMPORAL_NAMESPACE;
|
|
408
408
|
var init_seed = __esm({
|
|
409
|
-
"
|
|
409
|
+
"packages/mesh-cli/src/commands/local/seed.ts"() {
|
|
410
410
|
"use strict";
|
|
411
411
|
init_log();
|
|
412
412
|
init_errors();
|
|
@@ -434,34 +434,34 @@ var init_seed = __esm({
|
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
436
|
|
|
437
|
-
//
|
|
437
|
+
// packages/mesh-cli/src/utils/aws-errors.ts
|
|
438
438
|
var init_aws_errors = __esm({
|
|
439
|
-
"
|
|
439
|
+
"packages/mesh-cli/src/utils/aws-errors.ts"() {
|
|
440
440
|
"use strict";
|
|
441
441
|
}
|
|
442
442
|
});
|
|
443
443
|
|
|
444
|
-
//
|
|
444
|
+
// packages/mesh-cli/src/commands/local/helpers.ts
|
|
445
445
|
var init_helpers = __esm({
|
|
446
|
-
"
|
|
446
|
+
"packages/mesh-cli/src/commands/local/helpers.ts"() {
|
|
447
447
|
"use strict";
|
|
448
448
|
init_seed();
|
|
449
449
|
init_aws_errors();
|
|
450
450
|
}
|
|
451
451
|
});
|
|
452
452
|
|
|
453
|
-
//
|
|
453
|
+
// packages/mesh-cli/src/utils/cache-home.ts
|
|
454
454
|
var init_cache_home = __esm({
|
|
455
|
-
"
|
|
455
|
+
"packages/mesh-cli/src/utils/cache-home.ts"() {
|
|
456
456
|
"use strict";
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
|
|
460
|
-
//
|
|
460
|
+
// packages/mesh-cli/src/commands/local/stack.ts
|
|
461
461
|
import { parse as parseYaml } from "yaml";
|
|
462
462
|
var DEFAULT_HUB_PORT;
|
|
463
463
|
var init_stack = __esm({
|
|
464
|
-
"
|
|
464
|
+
"packages/mesh-cli/src/commands/local/stack.ts"() {
|
|
465
465
|
"use strict";
|
|
466
466
|
init_helpers();
|
|
467
467
|
init_cache_home();
|
|
@@ -471,9 +471,9 @@ var init_stack = __esm({
|
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
473
|
|
|
474
|
-
//
|
|
474
|
+
// packages/mesh-cli/src/commands/local/mocks.ts
|
|
475
475
|
var init_mocks = __esm({
|
|
476
|
-
"
|
|
476
|
+
"packages/mesh-cli/src/commands/local/mocks.ts"() {
|
|
477
477
|
"use strict";
|
|
478
478
|
init_log();
|
|
479
479
|
init_errors();
|
|
@@ -483,7 +483,7 @@ var init_mocks = __esm({
|
|
|
483
483
|
}
|
|
484
484
|
});
|
|
485
485
|
|
|
486
|
-
//
|
|
486
|
+
// packages/api-registry/src/hub-roles.ts
|
|
487
487
|
function hubOperatorRoleKeys(tenants) {
|
|
488
488
|
const cleaned = [...new Set(tenants.filter((t) => t !== ""))].sort();
|
|
489
489
|
for (const tenant of cleaned) {
|
|
@@ -504,7 +504,7 @@ function hubOperatorRoleKeys(tenants) {
|
|
|
504
504
|
}
|
|
505
505
|
var HUB_STAFF_ROLES, HUB_RESTRICTED_ROLES, HUB_VENDOR_DOCS_ROLE, HUB_ADDON_ROLES, HUB_TIER_ROLES, HUB_BASE_ROLES, HUB_ROLE_KEY_SEPARATOR, HUB_ROLE_APP_SEPARATOR, RESTRICTED, ADDONS;
|
|
506
506
|
var init_hub_roles = __esm({
|
|
507
|
-
"
|
|
507
|
+
"packages/api-registry/src/hub-roles.ts"() {
|
|
508
508
|
"use strict";
|
|
509
509
|
HUB_STAFF_ROLES = ["ops", "admin"];
|
|
510
510
|
HUB_RESTRICTED_ROLES = ["developer", "auditor", "vendor", "docs"];
|
|
@@ -525,11 +525,11 @@ var init_hub_roles = __esm({
|
|
|
525
525
|
}
|
|
526
526
|
});
|
|
527
527
|
|
|
528
|
-
//
|
|
528
|
+
// packages/api-registry/src/index.ts
|
|
529
529
|
import { z } from "zod";
|
|
530
530
|
var rateLimitSpecSchema, rateLimitDefaultsSchema, integrationHealthSchema, apiSurfaceKindSchema, apiDocsSiteAudienceSchema, apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema, hubActAsExportsSchema;
|
|
531
531
|
var init_src = __esm({
|
|
532
|
-
"
|
|
532
|
+
"packages/api-registry/src/index.ts"() {
|
|
533
533
|
"use strict";
|
|
534
534
|
init_hub_roles();
|
|
535
535
|
rateLimitSpecSchema = z.object({
|
|
@@ -612,19 +612,19 @@ var init_src = __esm({
|
|
|
612
612
|
}
|
|
613
613
|
});
|
|
614
614
|
|
|
615
|
-
//
|
|
615
|
+
// packages/mesh-cli/src/commands/local/mock-idps.ts
|
|
616
616
|
var init_mock_idps = __esm({
|
|
617
|
-
"
|
|
617
|
+
"packages/mesh-cli/src/commands/local/mock-idps.ts"() {
|
|
618
618
|
"use strict";
|
|
619
619
|
init_cache_home();
|
|
620
620
|
init_errors();
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
//
|
|
624
|
+
// packages/mesh-cli/src/commands/local/seed-zitadel.ts
|
|
625
625
|
var HUB_DEFAULT_REDIRECT_URI, HUB_ROLES, ZITADEL_SSM_PARAM, TEST_USERS_SSM_PREFIX;
|
|
626
626
|
var init_seed_zitadel = __esm({
|
|
627
|
-
"
|
|
627
|
+
"packages/mesh-cli/src/commands/local/seed-zitadel.ts"() {
|
|
628
628
|
"use strict";
|
|
629
629
|
init_src();
|
|
630
630
|
init_log();
|
|
@@ -641,9 +641,9 @@ var init_seed_zitadel = __esm({
|
|
|
641
641
|
}
|
|
642
642
|
});
|
|
643
643
|
|
|
644
|
-
//
|
|
644
|
+
// packages/mesh-cli/src/commands/local/auth-provision.ts
|
|
645
645
|
var init_auth_provision = __esm({
|
|
646
|
-
"
|
|
646
|
+
"packages/mesh-cli/src/commands/local/auth-provision.ts"() {
|
|
647
647
|
"use strict";
|
|
648
648
|
init_log();
|
|
649
649
|
init_seed();
|
|
@@ -652,9 +652,9 @@ var init_auth_provision = __esm({
|
|
|
652
652
|
}
|
|
653
653
|
});
|
|
654
654
|
|
|
655
|
-
//
|
|
655
|
+
// packages/mesh-cli/src/commands/local/dev-local.ts
|
|
656
656
|
var init_dev_local = __esm({
|
|
657
|
-
"
|
|
657
|
+
"packages/mesh-cli/src/commands/local/dev-local.ts"() {
|
|
658
658
|
"use strict";
|
|
659
659
|
init_mocks();
|
|
660
660
|
init_helpers();
|
|
@@ -669,33 +669,33 @@ var init_dev_local = __esm({
|
|
|
669
669
|
}
|
|
670
670
|
});
|
|
671
671
|
|
|
672
|
-
//
|
|
672
|
+
// packages/mesh-cli/src/commands/local/docker-runner.ts
|
|
673
673
|
var init_docker_runner = __esm({
|
|
674
|
-
"
|
|
674
|
+
"packages/mesh-cli/src/commands/local/docker-runner.ts"() {
|
|
675
675
|
"use strict";
|
|
676
676
|
init_dev_local();
|
|
677
677
|
init_cache_home();
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
680
|
|
|
681
|
-
//
|
|
681
|
+
// packages/mesh-cli/src/utils/stack-flag.ts
|
|
682
682
|
var init_stack_flag = __esm({
|
|
683
|
-
"
|
|
683
|
+
"packages/mesh-cli/src/utils/stack-flag.ts"() {
|
|
684
684
|
"use strict";
|
|
685
685
|
init_log();
|
|
686
686
|
}
|
|
687
687
|
});
|
|
688
688
|
|
|
689
|
-
//
|
|
689
|
+
// packages/mesh-cli/src/commands/peer-addressing.ts
|
|
690
690
|
var init_peer_addressing = __esm({
|
|
691
|
-
"
|
|
691
|
+
"packages/mesh-cli/src/commands/peer-addressing.ts"() {
|
|
692
692
|
"use strict";
|
|
693
693
|
}
|
|
694
694
|
});
|
|
695
695
|
|
|
696
|
-
//
|
|
696
|
+
// packages/mesh-cli/src/commands/dev-doctor.ts
|
|
697
697
|
var init_dev_doctor = __esm({
|
|
698
|
-
"
|
|
698
|
+
"packages/mesh-cli/src/commands/dev-doctor.ts"() {
|
|
699
699
|
"use strict";
|
|
700
700
|
init_dev();
|
|
701
701
|
init_auth_preflight();
|
|
@@ -703,18 +703,18 @@ var init_dev_doctor = __esm({
|
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
|
|
706
|
-
//
|
|
706
|
+
// packages/mesh-cli/src/utils/worktree-identity.ts
|
|
707
707
|
var init_worktree_identity = __esm({
|
|
708
|
-
"
|
|
708
|
+
"packages/mesh-cli/src/utils/worktree-identity.ts"() {
|
|
709
709
|
"use strict";
|
|
710
710
|
}
|
|
711
711
|
});
|
|
712
712
|
|
|
713
|
-
//
|
|
713
|
+
// packages/mesh-cli/src/commands/dev.ts
|
|
714
714
|
import { Option } from "commander";
|
|
715
715
|
import { SecretsManagerClient as SecretsManagerClient2, GetSecretValueCommand as GetSecretValueCommand2 } from "@aws-sdk/client-secrets-manager";
|
|
716
716
|
var init_dev = __esm({
|
|
717
|
-
"
|
|
717
|
+
"packages/mesh-cli/src/commands/dev.ts"() {
|
|
718
718
|
"use strict";
|
|
719
719
|
init_utils();
|
|
720
720
|
init_aws_auth();
|
|
@@ -743,32 +743,32 @@ var init_dev = __esm({
|
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
745
|
|
|
746
|
-
//
|
|
746
|
+
// packages/mesh-cli/src/utils/tailscale-targets.ts
|
|
747
747
|
var init_tailscale_targets = __esm({
|
|
748
|
-
"
|
|
748
|
+
"packages/mesh-cli/src/utils/tailscale-targets.ts"() {
|
|
749
749
|
"use strict";
|
|
750
750
|
init_dev();
|
|
751
751
|
init_login();
|
|
752
752
|
}
|
|
753
753
|
});
|
|
754
754
|
|
|
755
|
-
//
|
|
755
|
+
// packages/mesh-cli/src/utils/socks-forward.ts
|
|
756
756
|
var init_socks_forward = __esm({
|
|
757
|
-
"
|
|
757
|
+
"packages/mesh-cli/src/utils/socks-forward.ts"() {
|
|
758
758
|
"use strict";
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
|
|
762
|
-
//
|
|
762
|
+
// packages/mesh-cli/src/utils/tunnel-ownership.ts
|
|
763
763
|
var init_tunnel_ownership = __esm({
|
|
764
|
-
"
|
|
764
|
+
"packages/mesh-cli/src/utils/tunnel-ownership.ts"() {
|
|
765
765
|
"use strict";
|
|
766
766
|
}
|
|
767
767
|
});
|
|
768
768
|
|
|
769
|
-
//
|
|
769
|
+
// packages/mesh-cli/src/utils/tailscale.ts
|
|
770
770
|
var init_tailscale = __esm({
|
|
771
|
-
"
|
|
771
|
+
"packages/mesh-cli/src/utils/tailscale.ts"() {
|
|
772
772
|
"use strict";
|
|
773
773
|
init_login();
|
|
774
774
|
init_aws_auth();
|
|
@@ -782,9 +782,9 @@ var init_tailscale = __esm({
|
|
|
782
782
|
}
|
|
783
783
|
});
|
|
784
784
|
|
|
785
|
-
//
|
|
785
|
+
// packages/mesh-cli/src/commands/vpn/tunnel.ts
|
|
786
786
|
var init_tunnel = __esm({
|
|
787
|
-
"
|
|
787
|
+
"packages/mesh-cli/src/commands/vpn/tunnel.ts"() {
|
|
788
788
|
"use strict";
|
|
789
789
|
init_log();
|
|
790
790
|
init_login();
|
|
@@ -792,7 +792,7 @@ var init_tunnel = __esm({
|
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
794
|
|
|
795
|
-
//
|
|
795
|
+
// packages/mesh-cli/src/commands/vpn/index.ts
|
|
796
796
|
import { execFileSync as execFileSync3 } from "child_process";
|
|
797
797
|
function tailscaleStatus() {
|
|
798
798
|
try {
|
|
@@ -809,7 +809,7 @@ function tailscaleBackendState() {
|
|
|
809
809
|
return tailscaleStatus()?.BackendState ?? null;
|
|
810
810
|
}
|
|
811
811
|
var init_vpn2 = __esm({
|
|
812
|
-
"
|
|
812
|
+
"packages/mesh-cli/src/commands/vpn/index.ts"() {
|
|
813
813
|
"use strict";
|
|
814
814
|
init_utils();
|
|
815
815
|
init_login();
|
|
@@ -818,7 +818,7 @@ var init_vpn2 = __esm({
|
|
|
818
818
|
}
|
|
819
819
|
});
|
|
820
820
|
|
|
821
|
-
//
|
|
821
|
+
// packages/mesh-cli/src/commands/login.ts
|
|
822
822
|
import * as http from "http";
|
|
823
823
|
import * as crypto from "crypto";
|
|
824
824
|
import * as fs2 from "fs";
|
|
@@ -1379,7 +1379,7 @@ async function adoptPublishedHubProject(context, config, discover = discoverConf
|
|
|
1379
1379
|
}
|
|
1380
1380
|
var CONFIG_DIR, CONFIG_FILE, CREDENTIALS_FILE, REDIRECT_PORT, REDIRECT_URI, BASE_SCOPES, atomicWriteCounter, MAX_DEVICE_CODES, RESERVED_REGISTRY_CONTEXT;
|
|
1381
1381
|
var init_login = __esm({
|
|
1382
|
-
"
|
|
1382
|
+
"packages/mesh-cli/src/commands/login.ts"() {
|
|
1383
1383
|
"use strict";
|
|
1384
1384
|
init_log();
|
|
1385
1385
|
init_errors();
|
|
@@ -1401,7 +1401,7 @@ var init_login = __esm({
|
|
|
1401
1401
|
}
|
|
1402
1402
|
});
|
|
1403
1403
|
|
|
1404
|
-
//
|
|
1404
|
+
// packages/mesh-cli/src/utils/aws-auth.ts
|
|
1405
1405
|
import * as fs3 from "fs";
|
|
1406
1406
|
import * as path3 from "path";
|
|
1407
1407
|
import {
|
|
@@ -1564,7 +1564,7 @@ async function resolveAwsCredentials(roleArn, appRoot, stack) {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
var DEFAULT_REGION;
|
|
1566
1566
|
var init_aws_auth = __esm({
|
|
1567
|
-
"
|
|
1567
|
+
"packages/mesh-cli/src/utils/aws-auth.ts"() {
|
|
1568
1568
|
"use strict";
|
|
1569
1569
|
init_log();
|
|
1570
1570
|
init_auth_preflight();
|
|
@@ -1573,7 +1573,7 @@ var init_aws_auth = __esm({
|
|
|
1573
1573
|
}
|
|
1574
1574
|
});
|
|
1575
1575
|
|
|
1576
|
-
//
|
|
1576
|
+
// packages/mesh-cli/src/utils/capture-history.ts
|
|
1577
1577
|
var capture_history_exports = {};
|
|
1578
1578
|
__export(capture_history_exports, {
|
|
1579
1579
|
decryptHistoryPayloads: () => decryptHistoryPayloads,
|
|
@@ -1613,19 +1613,19 @@ async function serializeHistoryToFixture(events, decrypter) {
|
|
|
1613
1613
|
return { fixture, eventCount: events.length, decryptedPayloads };
|
|
1614
1614
|
}
|
|
1615
1615
|
var init_capture_history = __esm({
|
|
1616
|
-
"
|
|
1616
|
+
"packages/mesh-cli/src/utils/capture-history.ts"() {
|
|
1617
1617
|
"use strict";
|
|
1618
1618
|
}
|
|
1619
1619
|
});
|
|
1620
1620
|
|
|
1621
|
-
//
|
|
1621
|
+
// packages/mesh-cli/src/commands/temporal.ts
|
|
1622
1622
|
init_log();
|
|
1623
1623
|
import { spawnSync } from "node:child_process";
|
|
1624
1624
|
import { writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
1625
1625
|
import { homedir } from "node:os";
|
|
1626
1626
|
import { dirname as dirname4, join as join4, resolve as resolve2 } from "node:path";
|
|
1627
1627
|
|
|
1628
|
-
//
|
|
1628
|
+
// packages/mesh-cli/src/utils/recover-conversation.ts
|
|
1629
1629
|
async function classifyHistoryEvents(rawEvents, decodePayload) {
|
|
1630
1630
|
const activityTypeByScheduledId = /* @__PURE__ */ new Map();
|
|
1631
1631
|
const events = [];
|
|
@@ -1814,12 +1814,12 @@ function renderTranscriptMarkdown(turns) {
|
|
|
1814
1814
|
return blocks.join("\n\n") + "\n";
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
//
|
|
1817
|
+
// packages/mesh-cli/src/commands/temporal.ts
|
|
1818
1818
|
init_pulumi();
|
|
1819
1819
|
init_aws_auth();
|
|
1820
1820
|
init_temporal_auth();
|
|
1821
1821
|
|
|
1822
|
-
//
|
|
1822
|
+
// packages/mesh-cli/src/utils/temporal-codec.ts
|
|
1823
1823
|
init_log();
|
|
1824
1824
|
import { execFileSync as execFileSync5 } from "child_process";
|
|
1825
1825
|
import { webcrypto as crypto2 } from "node:crypto";
|
|
@@ -2021,7 +2021,7 @@ async function buildRawDecrypterForNamespace(namespace) {
|
|
|
2021
2021
|
return createRawPayloadDecrypter(key);
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
|
-
//
|
|
2024
|
+
// packages/mesh-cli/src/commands/temporal.ts
|
|
2025
2025
|
async function resolveConnection(options) {
|
|
2026
2026
|
if (options.address && options.namespace) {
|
|
2027
2027
|
return { address: options.address, namespace: options.namespace };
|
|
@@ -511,7 +511,7 @@ export function currentCommit(repoRoot) {
|
|
|
511
511
|
}
|
|
512
512
|
export function currentBaseline(repoRoot) {
|
|
513
513
|
try {
|
|
514
|
-
const pkg = JSON.parse(readFileSync(path.join(repoRoot, "
|
|
514
|
+
const pkg = JSON.parse(readFileSync(path.join(repoRoot, "packages/app-kit/package.json"), "utf-8"));
|
|
515
515
|
return pkg.version;
|
|
516
516
|
}
|
|
517
517
|
catch {
|
|
@@ -154,7 +154,7 @@ export function renderCliReferenceMarkdown(reference) {
|
|
|
154
154
|
const lines = [
|
|
155
155
|
"<!--",
|
|
156
156
|
" GENERATED FILE — do not edit by hand.",
|
|
157
|
-
" Source: the commander tree in
|
|
157
|
+
" Source: the commander tree in packages/mesh-cli/src/program.ts",
|
|
158
158
|
" Rebuild: pnpm exec mesh docs cli-reference",
|
|
159
159
|
"-->",
|
|
160
160
|
"",
|