vercel 56.3.2 → 56.4.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/chunks/{add-2ITAPI7M.js → add-L3Z6PL54.js} +3 -3
- package/dist/chunks/{add-DVEAUH7N.js → add-RFEJCIBM.js} +2 -2
- package/dist/chunks/{chunk-BFFE4FAO.js → chunk-43B3LNUF.js} +1 -1
- package/dist/chunks/{chunk-FPMWXL3R.js → chunk-4M3ZQCYN.js} +63 -6
- package/dist/chunks/{chunk-TVLLFY7M.js → chunk-5EXIJBLL.js} +5 -5
- package/dist/chunks/{chunk-4Z5LC2CI.js → chunk-6RTK6BWX.js} +4 -96
- package/dist/chunks/{chunk-AVJRWFTM.js → chunk-A4XB42AB.js} +1 -1
- package/dist/chunks/{chunk-3OZQ7KHZ.js → chunk-CHZBEMLF.js} +2 -2
- package/dist/chunks/{chunk-O3UHQI3T.js → chunk-DXFSBJTA.js} +1 -1
- package/dist/chunks/{chunk-QW4XUBC3.js → chunk-F32B76CK.js} +1 -1
- package/dist/chunks/{query-K2TJKOAL.js → chunk-F5OMERHI.js} +65 -411
- package/dist/chunks/{chunk-5POUHPEH.js → chunk-GKVAAY2A.js} +1 -1
- package/dist/chunks/{chunk-HZAINEXG.js → chunk-GLAHGVBS.js} +6 -2
- package/dist/chunks/{chunk-573XYQ3D.js → chunk-HZKJMZEQ.js} +2 -2
- package/dist/chunks/{chunk-2CEGMXO6.js → chunk-IHQ7DPQI.js} +76 -2
- package/dist/chunks/{chunk-JQBH4QTB.js → chunk-J6KTUJHV.js} +1 -1
- package/dist/chunks/{chunk-WQN52QMS.js → chunk-MQRHJEBS.js} +2 -2
- package/dist/chunks/{chunk-GB3QQGZU.js → chunk-NLRIKNPX.js} +1 -1
- package/dist/chunks/{chunk-ZKKJEOQT.js → chunk-OOD67FAL.js} +1 -1
- package/dist/chunks/{chunk-5FF4WXVM.js → chunk-UHGAPG7O.js} +4 -4
- package/dist/chunks/{chunk-BZXHF66T.js → chunk-VLTQJKP6.js} +1 -1
- package/dist/chunks/{chunk-OK6EYKRX.js → chunk-XFGY3JAX.js} +1 -1
- package/dist/chunks/{chunk-SRIA62TV.js → chunk-Y7TVKRRJ.js} +3 -3
- package/dist/chunks/chunk-Z7NPYIZ6.js +116 -0
- package/dist/chunks/{compile-vercel-config-P3KRRAC6.js → compile-vercel-config-J2X5OV6K.js} +1 -1
- package/dist/chunks/{delete-OXEMVOQE.js → delete-57A44RN7.js} +2 -2
- package/dist/chunks/{disable-DZA53CJA.js → disable-DNZ52MEO.js} +2 -2
- package/dist/chunks/{discard-3E7Z7CKD.js → discard-HACSIZ74.js} +2 -2
- package/dist/chunks/{edit-UM6TWX2Z.js → edit-HJ47TQU3.js} +3 -3
- package/dist/chunks/{enable-3SH6X23Z.js → enable-BVLRVRYM.js} +2 -2
- package/dist/chunks/{export-TLQERLQP.js → export-7MJFGMG7.js} +2 -2
- package/dist/chunks/{image-YKGEEC2A.js → image-4UMD7UZP.js} +3 -3
- package/dist/chunks/{inspect-652QJ33O.js → inspect-4JD2QN67.js} +2 -2
- package/dist/chunks/{inspect-S6X6PCGS.js → inspect-5YZP7IWI.js} +2 -2
- package/dist/chunks/{inspect-34OE66PO.js → inspect-WBHUZC3R.js} +2 -2
- package/dist/chunks/{inspect-QW6RSV7Z.js → inspect-XX3OXSHC.js} +2 -2
- package/dist/chunks/{list-OVWTXBSN.js → list-5H57NTM4.js} +1 -1
- package/dist/chunks/{list-IWXFZBH7.js → list-AM6K2JCW.js} +2 -2
- package/dist/chunks/{login-S77F2DLW.js → login-YO34E4V5.js} +2 -2
- package/dist/chunks/{ls-SAY4VQIT.js → ls-44NPIO2N.js} +2 -2
- package/dist/chunks/{ls-J4HHGSFU.js → ls-MB74DIQV.js} +3 -3
- package/dist/chunks/{ls-FQIWFI4K.js → ls-P7ZLBWW2.js} +2 -2
- package/dist/chunks/{ls-PQPRURTJ.js → ls-YDUYTLXW.js} +2 -2
- package/dist/chunks/{publish-LWCEDLGX.js → publish-RXFUYSW3.js} +2 -2
- package/dist/chunks/query-ILJJL3BZ.js +391 -0
- package/dist/chunks/{reorder-J6OONT76.js → reorder-GBCOPZT4.js} +2 -2
- package/dist/chunks/{restore-3ME4ZHFW.js → restore-YK5DGGRX.js} +2 -2
- package/dist/chunks/{rm-XOUHC6CU.js → rm-FRZMXB2W.js} +3 -3
- package/dist/chunks/{rm-63AGQFIQ.js → rm-LK6P7XTA.js} +2 -2
- package/dist/chunks/{rm-EHEJRXQJ.js → rm-O474MI5C.js} +2 -2
- package/dist/chunks/{rule-inspect-3PRCEXIB.js → rule-inspect-YEZGYINZ.js} +3 -3
- package/dist/chunks/{rules-UBSIW5ZQ.js → rules-MZ2MP6KJ.js} +6 -6
- package/dist/chunks/{schema-I4SXEWLS.js → schema-FR6CCQIZ.js} +5 -5
- package/dist/chunks/{tags-HF2YOQ4V.js → tags-AKRTKFRV.js} +2 -2
- package/dist/chunks/{update-RRMAOQDP.js → update-W3CWQB2F.js} +3 -3
- package/dist/commands/build/index.js +9 -9
- package/dist/commands/deploy/index.js +9 -9
- package/dist/commands/dev/index.js +7 -7
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +6 -6
- package/dist/commands/list/index.js +2 -2
- package/dist/commands-bulk.js +411 -48
- package/dist/index.js +7 -7
- package/dist/vc.js +6 -1
- package/dist/version.mjs +1 -1
- package/package.json +86 -6
- package/dist/chunks/chunk-A3NYPUKZ.js +0 -17
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
buildCommand,
|
|
30
30
|
pullCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VLTQJKP6.js";
|
|
32
32
|
import {
|
|
33
33
|
envCommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GLAHGVBS.js";
|
|
35
35
|
import {
|
|
36
36
|
confirmOption,
|
|
37
37
|
deploymentOption,
|
|
@@ -4380,6 +4380,21 @@ function formatFlagConditionComparator(comparator, options) {
|
|
|
4380
4380
|
return label;
|
|
4381
4381
|
}
|
|
4382
4382
|
|
|
4383
|
+
// src/commands/flags/evaluations-config.ts
|
|
4384
|
+
var FLAG_EVALUATIONS_GRANULARITIES = [
|
|
4385
|
+
"1m",
|
|
4386
|
+
"5m",
|
|
4387
|
+
"15m",
|
|
4388
|
+
"1h",
|
|
4389
|
+
"4h",
|
|
4390
|
+
"1d"
|
|
4391
|
+
];
|
|
4392
|
+
function isFlagEvaluationsGranularity(value) {
|
|
4393
|
+
return FLAG_EVALUATIONS_GRANULARITIES.some(
|
|
4394
|
+
(granularity) => granularity === value
|
|
4395
|
+
);
|
|
4396
|
+
}
|
|
4397
|
+
|
|
4383
4398
|
// src/commands/flags/command.ts
|
|
4384
4399
|
var segmentRuleOperatorDescription = `Valid operators: ${formatFlagConditionComparatorList()}`;
|
|
4385
4400
|
var listSubcommand11 = {
|
|
@@ -4616,6 +4631,61 @@ var versionsSubcommand = {
|
|
|
4616
4631
|
}
|
|
4617
4632
|
]
|
|
4618
4633
|
};
|
|
4634
|
+
var evaluationsSubcommand = {
|
|
4635
|
+
name: "evaluations",
|
|
4636
|
+
aliases: [],
|
|
4637
|
+
description: "Display evaluation metrics for a feature flag",
|
|
4638
|
+
arguments: [
|
|
4639
|
+
{
|
|
4640
|
+
name: "flag",
|
|
4641
|
+
required: true
|
|
4642
|
+
}
|
|
4643
|
+
],
|
|
4644
|
+
options: [
|
|
4645
|
+
projectOption,
|
|
4646
|
+
{
|
|
4647
|
+
name: "since",
|
|
4648
|
+
shorthand: "s",
|
|
4649
|
+
type: String,
|
|
4650
|
+
deprecated: false,
|
|
4651
|
+
description: "Start time: relative (1h, 30m, 2d) or ISO date (default: 1h)",
|
|
4652
|
+
argument: "TIME"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
name: "until",
|
|
4656
|
+
shorthand: "u",
|
|
4657
|
+
type: String,
|
|
4658
|
+
deprecated: false,
|
|
4659
|
+
description: "End time (default: now)",
|
|
4660
|
+
argument: "TIME"
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
name: "granularity",
|
|
4664
|
+
shorthand: "g",
|
|
4665
|
+
type: String,
|
|
4666
|
+
deprecated: false,
|
|
4667
|
+
description: `Time bucket size: ${FLAG_EVALUATIONS_GRANULARITIES.join(", ")} (default: auto)`,
|
|
4668
|
+
argument: "SIZE"
|
|
4669
|
+
},
|
|
4670
|
+
{
|
|
4671
|
+
name: "json",
|
|
4672
|
+
shorthand: null,
|
|
4673
|
+
type: Boolean,
|
|
4674
|
+
deprecated: false,
|
|
4675
|
+
description: "Output in JSON format"
|
|
4676
|
+
}
|
|
4677
|
+
],
|
|
4678
|
+
examples: [
|
|
4679
|
+
{
|
|
4680
|
+
name: "Show evaluations by variant for the last hour",
|
|
4681
|
+
value: `${packageName} flags evaluations my-feature`
|
|
4682
|
+
},
|
|
4683
|
+
{
|
|
4684
|
+
name: "Show evaluation metrics as JSON",
|
|
4685
|
+
value: `${packageName} flags evaluations my-feature --since 24h --json`
|
|
4686
|
+
}
|
|
4687
|
+
]
|
|
4688
|
+
};
|
|
4619
4689
|
var createSubcommand4 = {
|
|
4620
4690
|
name: "create",
|
|
4621
4691
|
aliases: ["add"],
|
|
@@ -5846,6 +5916,7 @@ var flagsCommand = {
|
|
|
5846
5916
|
listSubcommand11,
|
|
5847
5917
|
inspectSubcommand3,
|
|
5848
5918
|
versionsSubcommand,
|
|
5919
|
+
evaluationsSubcommand,
|
|
5849
5920
|
createSubcommand4,
|
|
5850
5921
|
openSubcommand2,
|
|
5851
5922
|
updateSubcommand3,
|
|
@@ -10484,11 +10555,14 @@ export {
|
|
|
10484
10555
|
FLAG_CONDITION_RHS_OPTIONAL_COMPARATORS,
|
|
10485
10556
|
formatFlagConditionComparatorList,
|
|
10486
10557
|
formatFlagConditionComparator,
|
|
10558
|
+
FLAG_EVALUATIONS_GRANULARITIES,
|
|
10559
|
+
isFlagEvaluationsGranularity,
|
|
10487
10560
|
listSubcommand11,
|
|
10488
10561
|
inspectSubcommand3,
|
|
10489
10562
|
versionsListSubcommand,
|
|
10490
10563
|
versionsDiffSubcommand,
|
|
10491
10564
|
versionsSubcommand,
|
|
10565
|
+
evaluationsSubcommand,
|
|
10492
10566
|
createSubcommand4,
|
|
10493
10567
|
openSubcommand2,
|
|
10494
10568
|
updateSubcommand3,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getLocalPathConfig,
|
|
9
9
|
isPromptBackError,
|
|
10
10
|
isPromptCanceledError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F32B76CK.js";
|
|
12
12
|
import {
|
|
13
13
|
table
|
|
14
14
|
} from "./chunk-NZRWTCRM.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
selectAndParseRemoteUrl,
|
|
47
47
|
selectOrg,
|
|
48
48
|
writeServicesConfig
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GLAHGVBS.js";
|
|
50
50
|
import {
|
|
51
51
|
printError
|
|
52
52
|
} from "./chunk-SZXT3PDQ.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OOD67FAL.js";
|
|
10
10
|
import {
|
|
11
11
|
autoInstallVercelPlugin
|
|
12
12
|
} from "./chunk-NJUPUGOE.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-64IF634X.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureLink
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HZKJMZEQ.js";
|
|
19
19
|
import {
|
|
20
20
|
pullCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VLTQJKP6.js";
|
|
22
22
|
import {
|
|
23
23
|
help
|
|
24
24
|
} from "./chunk-DMSLNAVH.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
envPullCommandLogic,
|
|
29
29
|
humanizePath,
|
|
30
30
|
parseTarget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GLAHGVBS.js";
|
|
32
32
|
import {
|
|
33
33
|
TelemetryClient
|
|
34
34
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
progress,
|
|
11
11
|
require_dist as require_dist2,
|
|
12
12
|
sleep
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CHZBEMLF.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-XBN2O34P.js";
|
|
17
17
|
import {
|
|
18
18
|
CommandTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IHQ7DPQI.js";
|
|
20
20
|
import {
|
|
21
21
|
showPluginTipIfNeeded
|
|
22
22
|
} from "./chunk-NJUPUGOE.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
require_dist as require_dist3,
|
|
34
34
|
require_pluralize,
|
|
35
35
|
ua_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GLAHGVBS.js";
|
|
37
37
|
import {
|
|
38
38
|
require_strip_ansi,
|
|
39
39
|
responseError
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
output_manager_default
|
|
9
|
+
} from "./chunk-OX7KI3LF.js";
|
|
10
|
+
|
|
11
|
+
// src/util/output/indent.ts
|
|
12
|
+
var indent_default = (input, level) => {
|
|
13
|
+
const fill = " ".repeat(level);
|
|
14
|
+
return `${fill}${input.replace(/\n/g, `
|
|
15
|
+
${fill}`)}`;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// src/commands/metrics/output.ts
|
|
19
|
+
function getRollupColumnName(metric, aggregation) {
|
|
20
|
+
return `${metric}_${aggregation}`.replace(/[./]/g, "_");
|
|
21
|
+
}
|
|
22
|
+
function getResolvedOrderMetadata(query, response) {
|
|
23
|
+
const orderBy = query.orderBy ?? (response.orderBy ? "count" : void 0);
|
|
24
|
+
const orderDirection = response.orderDirection ?? query.orderDirection;
|
|
25
|
+
return {
|
|
26
|
+
...orderBy ? { orderBy } : {},
|
|
27
|
+
...orderDirection ? { orderDirection } : {}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function formatQueryJson(query, response) {
|
|
31
|
+
const orderMetadata = getResolvedOrderMetadata(query, response);
|
|
32
|
+
const queryWithResponseMetadata = {
|
|
33
|
+
...query,
|
|
34
|
+
...orderMetadata
|
|
35
|
+
};
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
{
|
|
38
|
+
query: queryWithResponseMetadata,
|
|
39
|
+
summary: response.summary ?? [],
|
|
40
|
+
data: response.data ?? [],
|
|
41
|
+
statistics: response.statistics ?? {},
|
|
42
|
+
...orderMetadata
|
|
43
|
+
},
|
|
44
|
+
null,
|
|
45
|
+
2
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
function formatErrorJson(code, message, allowedValues) {
|
|
49
|
+
const error = {
|
|
50
|
+
code,
|
|
51
|
+
message
|
|
52
|
+
};
|
|
53
|
+
if (allowedValues && allowedValues.length > 0) {
|
|
54
|
+
error.allowedValues = allowedValues;
|
|
55
|
+
}
|
|
56
|
+
return JSON.stringify({ error }, null, 2);
|
|
57
|
+
}
|
|
58
|
+
function handleApiError(err, jsonOutput, client, overrides = {}) {
|
|
59
|
+
let code;
|
|
60
|
+
let message;
|
|
61
|
+
const override = overrides[err.status];
|
|
62
|
+
if (override) {
|
|
63
|
+
code = override.code || err.code || "BAD_REQUEST";
|
|
64
|
+
message = override.message;
|
|
65
|
+
} else {
|
|
66
|
+
switch (err.status) {
|
|
67
|
+
case 402:
|
|
68
|
+
code = err.code || "PAYMENT_REQUIRED";
|
|
69
|
+
message = err.serverMessage || "This feature requires an Observability Plus subscription. Upgrade at https://vercel.com/dashboard/settings/billing";
|
|
70
|
+
break;
|
|
71
|
+
case 429:
|
|
72
|
+
code = err.code || "RATE_LIMITED";
|
|
73
|
+
message = err.serverMessage || "You have reached the metrics query rate limit. Please wait and try again. If you need a higher limit, request one from your Vercel account team.";
|
|
74
|
+
break;
|
|
75
|
+
case 403:
|
|
76
|
+
code = "FORBIDDEN";
|
|
77
|
+
message = "You do not have permission to query metrics for this project/team.";
|
|
78
|
+
break;
|
|
79
|
+
case 500:
|
|
80
|
+
code = "INTERNAL_ERROR";
|
|
81
|
+
message = "An internal error occurred. Please try again later.";
|
|
82
|
+
break;
|
|
83
|
+
case 504:
|
|
84
|
+
code = "TIMEOUT";
|
|
85
|
+
message = "The query timed out. Try a shorter time range or fewer groups.";
|
|
86
|
+
break;
|
|
87
|
+
case 400:
|
|
88
|
+
code = err.code || "BAD_REQUEST";
|
|
89
|
+
message = err.serverMessage || `API error (${err.status})`;
|
|
90
|
+
break;
|
|
91
|
+
default:
|
|
92
|
+
code = err.code || "BAD_REQUEST";
|
|
93
|
+
message = err.serverMessage || `API error (${err.status})`;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (jsonOutput) {
|
|
97
|
+
client.stdout.write(formatErrorJson(code, message, err.allowedValues));
|
|
98
|
+
} else {
|
|
99
|
+
output_manager_default.error(message);
|
|
100
|
+
if (err.allowedValues && err.allowedValues.length > 0) {
|
|
101
|
+
output_manager_default.print(`
|
|
102
|
+
Available values: ${err.allowedValues.join(", ")}
|
|
103
|
+
`);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
indent_default,
|
|
111
|
+
getRollupColumnName,
|
|
112
|
+
getResolvedOrderMetadata,
|
|
113
|
+
formatQueryJson,
|
|
114
|
+
formatErrorJson,
|
|
115
|
+
handleApiError
|
|
116
|
+
};
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
requireProjectContext,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GKVAAY2A.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
stamp_default
|
|
24
24
|
} from "./chunk-64IF634X.js";
|
|
25
25
|
import "./chunk-VXYGCOKL.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-GLAHGVBS.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
29
29
|
AGENT_STATUS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKVAAY2A.js";
|
|
21
21
|
import {
|
|
22
22
|
disableSubcommand
|
|
23
23
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GLAHGVBS.js";
|
|
29
29
|
import {
|
|
30
30
|
outputAgentError
|
|
31
31
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
printDiffSummary,
|
|
18
18
|
requireProjectContext,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKVAAY2A.js";
|
|
21
21
|
import {
|
|
22
22
|
discardSubcommand
|
|
23
23
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GLAHGVBS.js";
|
|
29
29
|
import {
|
|
30
30
|
outputAgentError
|
|
31
31
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J6KTUJHV.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveRoute,
|
|
32
32
|
shellQuoteRouteIdentifierForSuggestion,
|
|
33
33
|
withGlobalFlags
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GKVAAY2A.js";
|
|
35
35
|
import {
|
|
36
36
|
editSubcommand
|
|
37
37
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
stamp_default
|
|
40
40
|
} from "./chunk-64IF634X.js";
|
|
41
41
|
import "./chunk-VXYGCOKL.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-GLAHGVBS.js";
|
|
43
43
|
import {
|
|
44
44
|
outputAgentError
|
|
45
45
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKVAAY2A.js";
|
|
21
21
|
import {
|
|
22
22
|
enableSubcommand
|
|
23
23
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GLAHGVBS.js";
|
|
29
29
|
import {
|
|
30
30
|
outputAgentError
|
|
31
31
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
parseSubcommandArgs,
|
|
10
10
|
requireProjectContext,
|
|
11
11
|
withGlobalFlags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GKVAAY2A.js";
|
|
13
13
|
import {
|
|
14
14
|
exportSubcommand
|
|
15
15
|
} from "./chunk-VZSZBD4V.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GLAHGVBS.js";
|
|
17
17
|
import {
|
|
18
18
|
outputAgentError
|
|
19
19
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -56,11 +56,11 @@ async function image(client, argv, telemetry) {
|
|
|
56
56
|
}
|
|
57
57
|
switch (subcommand) {
|
|
58
58
|
case "ls":
|
|
59
|
-
return (await import("./ls-
|
|
59
|
+
return (await import("./ls-44NPIO2N.js")).default(client, args, telemetry);
|
|
60
60
|
case "inspect":
|
|
61
|
-
return (await import("./inspect-
|
|
61
|
+
return (await import("./inspect-WBHUZC3R.js")).default(client, args, telemetry);
|
|
62
62
|
case "rm":
|
|
63
|
-
return (await import("./rm-
|
|
63
|
+
return (await import("./rm-O474MI5C.js")).default(client, args, telemetry);
|
|
64
64
|
default:
|
|
65
65
|
output_manager_default.error(`Unhandled image subcommand: ${subcommand}`);
|
|
66
66
|
return 1;
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
requireVcrRepositoryAndTag,
|
|
21
21
|
resolveVcrScope,
|
|
22
22
|
validateVcrJsonOutput
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NLRIKNPX.js";
|
|
24
24
|
import "./chunk-BUZRVER7.js";
|
|
25
25
|
import "./chunk-XPKWKPWA.js";
|
|
26
26
|
import {
|
|
27
27
|
tagsInspectSubcommand
|
|
28
28
|
} from "./chunk-GIL3VAUR.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-GLAHGVBS.js";
|
|
30
30
|
import "./chunk-UDWRZXIT.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
emitAlertsScopeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XFGY3JAX.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getLinkedProject,
|
|
24
24
|
getProjectByNameOrId,
|
|
25
25
|
getScope
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GLAHGVBS.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
29
29
|
buildCommandWithGlobalFlags,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
requireVcrRepositoryAndImageId,
|
|
21
21
|
resolveVcrScope,
|
|
22
22
|
validateVcrJsonOutput
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NLRIKNPX.js";
|
|
24
24
|
import "./chunk-BUZRVER7.js";
|
|
25
25
|
import "./chunk-XPKWKPWA.js";
|
|
26
26
|
import {
|
|
27
27
|
imageInspectSubcommand
|
|
28
28
|
} from "./chunk-FYQPTH5C.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-GLAHGVBS.js";
|
|
30
30
|
import "./chunk-UDWRZXIT.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
requireVcrRepository,
|
|
17
17
|
resolveVcrScope,
|
|
18
18
|
validateVcrJsonOutput
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NLRIKNPX.js";
|
|
20
20
|
import "./chunk-BUZRVER7.js";
|
|
21
21
|
import "./chunk-XPKWKPWA.js";
|
|
22
22
|
import {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-3VS4DTAU.js";
|
|
25
25
|
import "./chunk-GIL3VAUR.js";
|
|
26
26
|
import "./chunk-FYQPTH5C.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-GLAHGVBS.js";
|
|
28
28
|
import "./chunk-UDWRZXIT.js";
|
|
29
29
|
import "./chunk-ECCWJHC6.js";
|
|
30
30
|
import {
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveAlertsScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XFGY3JAX.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
normalizeRepeatableStringFilters,
|
|
@@ -26,7 +26,7 @@ import "./chunk-STJJ3DFO.js";
|
|
|
26
26
|
import {
|
|
27
27
|
table
|
|
28
28
|
} from "./chunk-NZRWTCRM.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-GLAHGVBS.js";
|
|
30
30
|
import {
|
|
31
31
|
AGENT_REASON,
|
|
32
32
|
buildCommandWithGlobalFlags,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveVcrScope,
|
|
14
14
|
validateVcrChoice,
|
|
15
15
|
validateVcrJsonOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NLRIKNPX.js";
|
|
17
17
|
import {
|
|
18
18
|
require_lib
|
|
19
19
|
} from "./chunk-G75NFPIT.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-FYQPTH5C.js";
|
|
|
29
29
|
import {
|
|
30
30
|
require_execa
|
|
31
31
|
} from "./chunk-R6IGDGX3.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-GLAHGVBS.js";
|
|
33
33
|
import {
|
|
34
34
|
AGENT_REASON,
|
|
35
35
|
buildCommandWithGlobalFlags,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
requireVcrRepository,
|
|
20
20
|
resolveVcrScope,
|
|
21
21
|
validateVcrJsonOutput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NLRIKNPX.js";
|
|
23
23
|
import {
|
|
24
24
|
outputError,
|
|
25
25
|
validateOptionalIntegerRange
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
table
|
|
33
33
|
} from "./chunk-NZRWTCRM.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-GLAHGVBS.js";
|
|
35
35
|
import {
|
|
36
36
|
AGENT_REASON,
|
|
37
37
|
outputAgentError
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-A4XB42AB.js";
|
|
13
|
+
import "./chunk-XFGY3JAX.js";
|
|
14
14
|
import "./chunk-BUZRVER7.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
rulesLsSubcommand
|
|
20
20
|
} from "./chunk-STJJ3DFO.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GLAHGVBS.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON,
|
|
24
24
|
outputAgentError
|