@mesh-tech/mesh-cli 0.34.0 → 0.34.2
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/README.md +3 -2
- package/assets/intent/intent-claude-gate.mjs +1 -1
- package/dist/bin/mesh.js +268 -257
- package/dist/bin/mesh.js.map +3 -3
- package/dist/build-info.json +2 -2
- package/dist/src/commands/dev.js +2 -1
- package/dist/src/commands/init/platform-setup.js +3 -3
- package/dist/src/commands/init.js +2 -2
- package/dist/src/commands/local/helpers.js +2 -1
- package/dist/src/commands/local/seed.js +2 -2
- package/dist/src/commands/secrets/migrate-config.js +4 -11
- package/dist/src/commands/secrets/set.js +2 -6
- package/dist/src/commands/temporal.js +103 -95
- package/dist/src/commands/temporal.js.map +2 -2
- 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/aws-errors.d.ts +1 -0
- package/dist/src/utils/aws-errors.js +8 -0
- package/dist/src/utils/temporal-codec.js +3 -3
- package/fragments/base/index.ts.hbs +4 -0
- package/package.json +4 -4
- package/skills/core/SKILL.md +10 -7
- package/skills/pull-remote-agent-context/SKILL.md +1 -1
- package/templates/platform-repo/README.md.hbs +3 -2
- package/templates/platform-repo/core/Pulumi.{{tenant}}-{{env}}.yaml.hbs +22 -3
|
@@ -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,26 +434,34 @@ var init_seed = __esm({
|
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
436
|
|
|
437
|
-
//
|
|
437
|
+
// packages/mesh-cli/src/utils/aws-errors.ts
|
|
438
|
+
var init_aws_errors = __esm({
|
|
439
|
+
"packages/mesh-cli/src/utils/aws-errors.ts"() {
|
|
440
|
+
"use strict";
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
// packages/mesh-cli/src/commands/local/helpers.ts
|
|
438
445
|
var init_helpers = __esm({
|
|
439
|
-
"
|
|
446
|
+
"packages/mesh-cli/src/commands/local/helpers.ts"() {
|
|
440
447
|
"use strict";
|
|
441
448
|
init_seed();
|
|
449
|
+
init_aws_errors();
|
|
442
450
|
}
|
|
443
451
|
});
|
|
444
452
|
|
|
445
|
-
//
|
|
453
|
+
// packages/mesh-cli/src/utils/cache-home.ts
|
|
446
454
|
var init_cache_home = __esm({
|
|
447
|
-
"
|
|
455
|
+
"packages/mesh-cli/src/utils/cache-home.ts"() {
|
|
448
456
|
"use strict";
|
|
449
457
|
}
|
|
450
458
|
});
|
|
451
459
|
|
|
452
|
-
//
|
|
460
|
+
// packages/mesh-cli/src/commands/local/stack.ts
|
|
453
461
|
import { parse as parseYaml } from "yaml";
|
|
454
462
|
var DEFAULT_HUB_PORT;
|
|
455
463
|
var init_stack = __esm({
|
|
456
|
-
"
|
|
464
|
+
"packages/mesh-cli/src/commands/local/stack.ts"() {
|
|
457
465
|
"use strict";
|
|
458
466
|
init_helpers();
|
|
459
467
|
init_cache_home();
|
|
@@ -463,9 +471,9 @@ var init_stack = __esm({
|
|
|
463
471
|
}
|
|
464
472
|
});
|
|
465
473
|
|
|
466
|
-
//
|
|
474
|
+
// packages/mesh-cli/src/commands/local/mocks.ts
|
|
467
475
|
var init_mocks = __esm({
|
|
468
|
-
"
|
|
476
|
+
"packages/mesh-cli/src/commands/local/mocks.ts"() {
|
|
469
477
|
"use strict";
|
|
470
478
|
init_log();
|
|
471
479
|
init_errors();
|
|
@@ -475,7 +483,7 @@ var init_mocks = __esm({
|
|
|
475
483
|
}
|
|
476
484
|
});
|
|
477
485
|
|
|
478
|
-
//
|
|
486
|
+
// packages/api-registry/src/hub-roles.ts
|
|
479
487
|
function hubOperatorRoleKeys(tenants) {
|
|
480
488
|
const cleaned = [...new Set(tenants.filter((t) => t !== ""))].sort();
|
|
481
489
|
for (const tenant of cleaned) {
|
|
@@ -496,7 +504,7 @@ function hubOperatorRoleKeys(tenants) {
|
|
|
496
504
|
}
|
|
497
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;
|
|
498
506
|
var init_hub_roles = __esm({
|
|
499
|
-
"
|
|
507
|
+
"packages/api-registry/src/hub-roles.ts"() {
|
|
500
508
|
"use strict";
|
|
501
509
|
HUB_STAFF_ROLES = ["ops", "admin"];
|
|
502
510
|
HUB_RESTRICTED_ROLES = ["developer", "auditor", "vendor", "docs"];
|
|
@@ -517,11 +525,11 @@ var init_hub_roles = __esm({
|
|
|
517
525
|
}
|
|
518
526
|
});
|
|
519
527
|
|
|
520
|
-
//
|
|
528
|
+
// packages/api-registry/src/index.ts
|
|
521
529
|
import { z } from "zod";
|
|
522
530
|
var rateLimitSpecSchema, rateLimitDefaultsSchema, integrationHealthSchema, apiSurfaceKindSchema, apiDocsSiteAudienceSchema, apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema, hubActAsExportsSchema;
|
|
523
531
|
var init_src = __esm({
|
|
524
|
-
"
|
|
532
|
+
"packages/api-registry/src/index.ts"() {
|
|
525
533
|
"use strict";
|
|
526
534
|
init_hub_roles();
|
|
527
535
|
rateLimitSpecSchema = z.object({
|
|
@@ -604,19 +612,19 @@ var init_src = __esm({
|
|
|
604
612
|
}
|
|
605
613
|
});
|
|
606
614
|
|
|
607
|
-
//
|
|
615
|
+
// packages/mesh-cli/src/commands/local/mock-idps.ts
|
|
608
616
|
var init_mock_idps = __esm({
|
|
609
|
-
"
|
|
617
|
+
"packages/mesh-cli/src/commands/local/mock-idps.ts"() {
|
|
610
618
|
"use strict";
|
|
611
619
|
init_cache_home();
|
|
612
620
|
init_errors();
|
|
613
621
|
}
|
|
614
622
|
});
|
|
615
623
|
|
|
616
|
-
//
|
|
624
|
+
// packages/mesh-cli/src/commands/local/seed-zitadel.ts
|
|
617
625
|
var HUB_DEFAULT_REDIRECT_URI, HUB_ROLES, ZITADEL_SSM_PARAM, TEST_USERS_SSM_PREFIX;
|
|
618
626
|
var init_seed_zitadel = __esm({
|
|
619
|
-
"
|
|
627
|
+
"packages/mesh-cli/src/commands/local/seed-zitadel.ts"() {
|
|
620
628
|
"use strict";
|
|
621
629
|
init_src();
|
|
622
630
|
init_log();
|
|
@@ -633,9 +641,9 @@ var init_seed_zitadel = __esm({
|
|
|
633
641
|
}
|
|
634
642
|
});
|
|
635
643
|
|
|
636
|
-
//
|
|
644
|
+
// packages/mesh-cli/src/commands/local/auth-provision.ts
|
|
637
645
|
var init_auth_provision = __esm({
|
|
638
|
-
"
|
|
646
|
+
"packages/mesh-cli/src/commands/local/auth-provision.ts"() {
|
|
639
647
|
"use strict";
|
|
640
648
|
init_log();
|
|
641
649
|
init_seed();
|
|
@@ -644,9 +652,9 @@ var init_auth_provision = __esm({
|
|
|
644
652
|
}
|
|
645
653
|
});
|
|
646
654
|
|
|
647
|
-
//
|
|
655
|
+
// packages/mesh-cli/src/commands/local/dev-local.ts
|
|
648
656
|
var init_dev_local = __esm({
|
|
649
|
-
"
|
|
657
|
+
"packages/mesh-cli/src/commands/local/dev-local.ts"() {
|
|
650
658
|
"use strict";
|
|
651
659
|
init_mocks();
|
|
652
660
|
init_helpers();
|
|
@@ -661,33 +669,33 @@ var init_dev_local = __esm({
|
|
|
661
669
|
}
|
|
662
670
|
});
|
|
663
671
|
|
|
664
|
-
//
|
|
672
|
+
// packages/mesh-cli/src/commands/local/docker-runner.ts
|
|
665
673
|
var init_docker_runner = __esm({
|
|
666
|
-
"
|
|
674
|
+
"packages/mesh-cli/src/commands/local/docker-runner.ts"() {
|
|
667
675
|
"use strict";
|
|
668
676
|
init_dev_local();
|
|
669
677
|
init_cache_home();
|
|
670
678
|
}
|
|
671
679
|
});
|
|
672
680
|
|
|
673
|
-
//
|
|
681
|
+
// packages/mesh-cli/src/utils/stack-flag.ts
|
|
674
682
|
var init_stack_flag = __esm({
|
|
675
|
-
"
|
|
683
|
+
"packages/mesh-cli/src/utils/stack-flag.ts"() {
|
|
676
684
|
"use strict";
|
|
677
685
|
init_log();
|
|
678
686
|
}
|
|
679
687
|
});
|
|
680
688
|
|
|
681
|
-
//
|
|
689
|
+
// packages/mesh-cli/src/commands/peer-addressing.ts
|
|
682
690
|
var init_peer_addressing = __esm({
|
|
683
|
-
"
|
|
691
|
+
"packages/mesh-cli/src/commands/peer-addressing.ts"() {
|
|
684
692
|
"use strict";
|
|
685
693
|
}
|
|
686
694
|
});
|
|
687
695
|
|
|
688
|
-
//
|
|
696
|
+
// packages/mesh-cli/src/commands/dev-doctor.ts
|
|
689
697
|
var init_dev_doctor = __esm({
|
|
690
|
-
"
|
|
698
|
+
"packages/mesh-cli/src/commands/dev-doctor.ts"() {
|
|
691
699
|
"use strict";
|
|
692
700
|
init_dev();
|
|
693
701
|
init_auth_preflight();
|
|
@@ -695,18 +703,18 @@ var init_dev_doctor = __esm({
|
|
|
695
703
|
}
|
|
696
704
|
});
|
|
697
705
|
|
|
698
|
-
//
|
|
706
|
+
// packages/mesh-cli/src/utils/worktree-identity.ts
|
|
699
707
|
var init_worktree_identity = __esm({
|
|
700
|
-
"
|
|
708
|
+
"packages/mesh-cli/src/utils/worktree-identity.ts"() {
|
|
701
709
|
"use strict";
|
|
702
710
|
}
|
|
703
711
|
});
|
|
704
712
|
|
|
705
|
-
//
|
|
713
|
+
// packages/mesh-cli/src/commands/dev.ts
|
|
706
714
|
import { Option } from "commander";
|
|
707
715
|
import { SecretsManagerClient as SecretsManagerClient2, GetSecretValueCommand as GetSecretValueCommand2 } from "@aws-sdk/client-secrets-manager";
|
|
708
716
|
var init_dev = __esm({
|
|
709
|
-
"
|
|
717
|
+
"packages/mesh-cli/src/commands/dev.ts"() {
|
|
710
718
|
"use strict";
|
|
711
719
|
init_utils();
|
|
712
720
|
init_aws_auth();
|
|
@@ -735,32 +743,32 @@ var init_dev = __esm({
|
|
|
735
743
|
}
|
|
736
744
|
});
|
|
737
745
|
|
|
738
|
-
//
|
|
746
|
+
// packages/mesh-cli/src/utils/tailscale-targets.ts
|
|
739
747
|
var init_tailscale_targets = __esm({
|
|
740
|
-
"
|
|
748
|
+
"packages/mesh-cli/src/utils/tailscale-targets.ts"() {
|
|
741
749
|
"use strict";
|
|
742
750
|
init_dev();
|
|
743
751
|
init_login();
|
|
744
752
|
}
|
|
745
753
|
});
|
|
746
754
|
|
|
747
|
-
//
|
|
755
|
+
// packages/mesh-cli/src/utils/socks-forward.ts
|
|
748
756
|
var init_socks_forward = __esm({
|
|
749
|
-
"
|
|
757
|
+
"packages/mesh-cli/src/utils/socks-forward.ts"() {
|
|
750
758
|
"use strict";
|
|
751
759
|
}
|
|
752
760
|
});
|
|
753
761
|
|
|
754
|
-
//
|
|
762
|
+
// packages/mesh-cli/src/utils/tunnel-ownership.ts
|
|
755
763
|
var init_tunnel_ownership = __esm({
|
|
756
|
-
"
|
|
764
|
+
"packages/mesh-cli/src/utils/tunnel-ownership.ts"() {
|
|
757
765
|
"use strict";
|
|
758
766
|
}
|
|
759
767
|
});
|
|
760
768
|
|
|
761
|
-
//
|
|
769
|
+
// packages/mesh-cli/src/utils/tailscale.ts
|
|
762
770
|
var init_tailscale = __esm({
|
|
763
|
-
"
|
|
771
|
+
"packages/mesh-cli/src/utils/tailscale.ts"() {
|
|
764
772
|
"use strict";
|
|
765
773
|
init_login();
|
|
766
774
|
init_aws_auth();
|
|
@@ -774,9 +782,9 @@ var init_tailscale = __esm({
|
|
|
774
782
|
}
|
|
775
783
|
});
|
|
776
784
|
|
|
777
|
-
//
|
|
785
|
+
// packages/mesh-cli/src/commands/vpn/tunnel.ts
|
|
778
786
|
var init_tunnel = __esm({
|
|
779
|
-
"
|
|
787
|
+
"packages/mesh-cli/src/commands/vpn/tunnel.ts"() {
|
|
780
788
|
"use strict";
|
|
781
789
|
init_log();
|
|
782
790
|
init_login();
|
|
@@ -784,7 +792,7 @@ var init_tunnel = __esm({
|
|
|
784
792
|
}
|
|
785
793
|
});
|
|
786
794
|
|
|
787
|
-
//
|
|
795
|
+
// packages/mesh-cli/src/commands/vpn/index.ts
|
|
788
796
|
import { execFileSync as execFileSync3 } from "child_process";
|
|
789
797
|
function tailscaleStatus() {
|
|
790
798
|
try {
|
|
@@ -801,7 +809,7 @@ function tailscaleBackendState() {
|
|
|
801
809
|
return tailscaleStatus()?.BackendState ?? null;
|
|
802
810
|
}
|
|
803
811
|
var init_vpn2 = __esm({
|
|
804
|
-
"
|
|
812
|
+
"packages/mesh-cli/src/commands/vpn/index.ts"() {
|
|
805
813
|
"use strict";
|
|
806
814
|
init_utils();
|
|
807
815
|
init_login();
|
|
@@ -810,7 +818,7 @@ var init_vpn2 = __esm({
|
|
|
810
818
|
}
|
|
811
819
|
});
|
|
812
820
|
|
|
813
|
-
//
|
|
821
|
+
// packages/mesh-cli/src/commands/login.ts
|
|
814
822
|
import * as http from "http";
|
|
815
823
|
import * as crypto from "crypto";
|
|
816
824
|
import * as fs2 from "fs";
|
|
@@ -1371,7 +1379,7 @@ async function adoptPublishedHubProject(context, config, discover = discoverConf
|
|
|
1371
1379
|
}
|
|
1372
1380
|
var CONFIG_DIR, CONFIG_FILE, CREDENTIALS_FILE, REDIRECT_PORT, REDIRECT_URI, BASE_SCOPES, atomicWriteCounter, MAX_DEVICE_CODES, RESERVED_REGISTRY_CONTEXT;
|
|
1373
1381
|
var init_login = __esm({
|
|
1374
|
-
"
|
|
1382
|
+
"packages/mesh-cli/src/commands/login.ts"() {
|
|
1375
1383
|
"use strict";
|
|
1376
1384
|
init_log();
|
|
1377
1385
|
init_errors();
|
|
@@ -1393,7 +1401,7 @@ var init_login = __esm({
|
|
|
1393
1401
|
}
|
|
1394
1402
|
});
|
|
1395
1403
|
|
|
1396
|
-
//
|
|
1404
|
+
// packages/mesh-cli/src/utils/aws-auth.ts
|
|
1397
1405
|
import * as fs3 from "fs";
|
|
1398
1406
|
import * as path3 from "path";
|
|
1399
1407
|
import {
|
|
@@ -1556,7 +1564,7 @@ async function resolveAwsCredentials(roleArn, appRoot, stack) {
|
|
|
1556
1564
|
}
|
|
1557
1565
|
var DEFAULT_REGION;
|
|
1558
1566
|
var init_aws_auth = __esm({
|
|
1559
|
-
"
|
|
1567
|
+
"packages/mesh-cli/src/utils/aws-auth.ts"() {
|
|
1560
1568
|
"use strict";
|
|
1561
1569
|
init_log();
|
|
1562
1570
|
init_auth_preflight();
|
|
@@ -1565,7 +1573,7 @@ var init_aws_auth = __esm({
|
|
|
1565
1573
|
}
|
|
1566
1574
|
});
|
|
1567
1575
|
|
|
1568
|
-
//
|
|
1576
|
+
// packages/mesh-cli/src/utils/capture-history.ts
|
|
1569
1577
|
var capture_history_exports = {};
|
|
1570
1578
|
__export(capture_history_exports, {
|
|
1571
1579
|
decryptHistoryPayloads: () => decryptHistoryPayloads,
|
|
@@ -1605,19 +1613,19 @@ async function serializeHistoryToFixture(events, decrypter) {
|
|
|
1605
1613
|
return { fixture, eventCount: events.length, decryptedPayloads };
|
|
1606
1614
|
}
|
|
1607
1615
|
var init_capture_history = __esm({
|
|
1608
|
-
"
|
|
1616
|
+
"packages/mesh-cli/src/utils/capture-history.ts"() {
|
|
1609
1617
|
"use strict";
|
|
1610
1618
|
}
|
|
1611
1619
|
});
|
|
1612
1620
|
|
|
1613
|
-
//
|
|
1621
|
+
// packages/mesh-cli/src/commands/temporal.ts
|
|
1614
1622
|
init_log();
|
|
1615
1623
|
import { spawnSync } from "node:child_process";
|
|
1616
1624
|
import { writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
1617
1625
|
import { homedir } from "node:os";
|
|
1618
1626
|
import { dirname as dirname4, join as join4, resolve as resolve2 } from "node:path";
|
|
1619
1627
|
|
|
1620
|
-
//
|
|
1628
|
+
// packages/mesh-cli/src/utils/recover-conversation.ts
|
|
1621
1629
|
async function classifyHistoryEvents(rawEvents, decodePayload) {
|
|
1622
1630
|
const activityTypeByScheduledId = /* @__PURE__ */ new Map();
|
|
1623
1631
|
const events = [];
|
|
@@ -1806,12 +1814,12 @@ function renderTranscriptMarkdown(turns) {
|
|
|
1806
1814
|
return blocks.join("\n\n") + "\n";
|
|
1807
1815
|
}
|
|
1808
1816
|
|
|
1809
|
-
//
|
|
1817
|
+
// packages/mesh-cli/src/commands/temporal.ts
|
|
1810
1818
|
init_pulumi();
|
|
1811
1819
|
init_aws_auth();
|
|
1812
1820
|
init_temporal_auth();
|
|
1813
1821
|
|
|
1814
|
-
//
|
|
1822
|
+
// packages/mesh-cli/src/utils/temporal-codec.ts
|
|
1815
1823
|
init_log();
|
|
1816
1824
|
import { execFileSync as execFileSync5 } from "child_process";
|
|
1817
1825
|
import { webcrypto as crypto2 } from "node:crypto";
|
|
@@ -2013,7 +2021,7 @@ async function buildRawDecrypterForNamespace(namespace) {
|
|
|
2013
2021
|
return createRawPayloadDecrypter(key);
|
|
2014
2022
|
}
|
|
2015
2023
|
|
|
2016
|
-
//
|
|
2024
|
+
// packages/mesh-cli/src/commands/temporal.ts
|
|
2017
2025
|
async function resolveConnection(options) {
|
|
2018
2026
|
if (options.address && options.namespace) {
|
|
2019
2027
|
return { address: options.address, namespace: options.namespace };
|