@uipath/agent-tool 1.206.0-preview.303 → 1.207.0-preview.305
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/THIRD-PARTY-NOTICES.md +2 -2
- package/dist/{agent-tool-OK5DK57D-bjevqt47.js → agent-tool-OK5DK57D-swanc7b5.js} +2 -2
- package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{en-LAVDF7IQ-xe939kq1.js → en-5JIPZTS5-q1x823gc.js} +4 -2
- package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
- package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
- package/dist/executor-tool.js +42 -9
- package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
- package/dist/index-9vtvwe74.js +26 -0
- package/dist/{index-89cxyepj.js → index-je168ncz.js} +7 -5
- package/dist/{index-r7ff4pb0.js → index-knn2nm9e.js} +104 -60
- package/dist/{index-18dnd3nk.js → index-v88kds1m.js} +5 -5
- package/dist/{index-kvhrzcvf.js → index-yv2728h1.js} +3 -3
- package/dist/index.js +9 -9
- package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
- package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
- package/dist/{memory-runtime-service-tt5y1af6.js → memory-runtime-service-zk17fk27.js} +57 -11
- package/dist/{node-strategy-fk02jqd8.js → node-strategy-ems5bj71.js} +2 -2
- package/dist/{packager-tool-9xrkfzn1.js → packager-tool-4px3x90r.js} +51 -9
- package/dist/{packager-tool-j4an6b3v.js → packager-tool-85qp13np.js} +786 -294
- package/dist/{packager-tool-0ajs8pnk.js → packager-tool-9thx6ae9.js} +30 -8
- package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
- package/dist/{packager-tool-2dd1qswc.js → packager-tool-fjgtaen6.js} +144 -12
- package/dist/{packager-tool-4shqngrj.js → packager-tool-gpm2hwy5.js} +316 -261
- package/dist/{packager-tool-kawtadzm.js → packager-tool-hgmpt45k.js} +34 -34
- package/dist/{packager-tool-fc08rcbk.js → packager-tool-k7h03v9f.js} +5 -3
- package/dist/{packager-tool-9nh85680.js → packager-tool-m0wy5pqh.js} +4 -2
- package/dist/{packager-tool-3t6d1zdz.js → packager-tool-m63j60x7.js} +120 -13
- package/dist/{packager-tool-dy6gcgks.js → packager-tool-wqg51y3z.js} +328 -133
- package/dist/{packager-tool-ehaw8hwg.js → packager-tool-xmv0ajm4.js} +56 -15
- package/dist/{packager-tool-kphvt8vb.js → packager-tool-yz4vywz9.js} +52 -15
- package/dist/packager-tool.js +6 -6
- package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
- package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
- package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
- package/dist/solution-auth-1tdetckr.js +11 -0
- package/dist/tool.js +9 -9
- package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
- package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
- package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
- package/package.json +2 -2
- package/dist/solution-auth-4zs3axft.js +0 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-9thx6ae9.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM,
|
|
6
6
|
__commonJS,
|
|
@@ -2123,13 +2123,15 @@ var ProjectDimensions = {
|
|
|
2123
2123
|
SolutionKey: "SolutionKey",
|
|
2124
2124
|
SolutionProjectKey: "SolutionProjectKey",
|
|
2125
2125
|
SolutionIdentityStatus: "SolutionIdentityStatus",
|
|
2126
|
-
PreviousSolutionKey: "PreviousSolutionKey"
|
|
2126
|
+
PreviousSolutionKey: "PreviousSolutionKey",
|
|
2127
|
+
PreviousProjectKey: "PreviousProjectKey"
|
|
2127
2128
|
};
|
|
2128
2129
|
var GUID_KEY_DIMENSIONS = new Set([
|
|
2129
2130
|
ProjectDimensions.ProjectKey,
|
|
2130
2131
|
ProjectDimensions.SolutionKey,
|
|
2131
2132
|
ProjectDimensions.SolutionProjectKey,
|
|
2132
|
-
ProjectDimensions.PreviousSolutionKey
|
|
2133
|
+
ProjectDimensions.PreviousSolutionKey,
|
|
2134
|
+
ProjectDimensions.PreviousProjectKey
|
|
2133
2135
|
]);
|
|
2134
2136
|
var ShipDimensions = {
|
|
2135
2137
|
ShipKind: "ShipKind",
|
|
@@ -2283,9 +2285,7 @@ async function withinProjectIdentityBudget(work, onTimeout) {
|
|
|
2283
2285
|
}
|
|
2284
2286
|
}
|
|
2285
2287
|
|
|
2286
|
-
// ../common/src/
|
|
2287
|
-
var PSEUDONYM_DOMAIN = "uipath-cli/telemetry/pseudonym/v1:";
|
|
2288
|
-
var PSEUDONYM_HEX_LENGTH = 32;
|
|
2288
|
+
// ../common/src/sha256.ts
|
|
2289
2289
|
var SHA256_K = new Uint32Array([
|
|
2290
2290
|
1116352408,
|
|
2291
2291
|
1899447441,
|
|
@@ -2365,7 +2365,7 @@ var SHA256_INITIAL_STATE = new Uint32Array([
|
|
|
2365
2365
|
function rotr(value, bits) {
|
|
2366
2366
|
return (value >>> bits | value << 32 - bits) >>> 0;
|
|
2367
2367
|
}
|
|
2368
|
-
function
|
|
2368
|
+
function sha256Words(input) {
|
|
2369
2369
|
const bytes = new TextEncoder().encode(input);
|
|
2370
2370
|
const paddedLength = bytes.length + 9 + 63 >> 6 << 6;
|
|
2371
2371
|
const buffer = new Uint8Array(paddedLength);
|
|
@@ -2421,12 +2421,19 @@ function sha256Hex(input) {
|
|
|
2421
2421
|
state[6] = state[6] + g >>> 0;
|
|
2422
2422
|
state[7] = state[7] + h >>> 0;
|
|
2423
2423
|
}
|
|
2424
|
+
return state;
|
|
2425
|
+
}
|
|
2426
|
+
function sha256Hex(input) {
|
|
2424
2427
|
let hex = "";
|
|
2425
|
-
for (const word of
|
|
2428
|
+
for (const word of sha256Words(input)) {
|
|
2426
2429
|
hex += word.toString(16).padStart(8, "0");
|
|
2427
2430
|
}
|
|
2428
2431
|
return hex;
|
|
2429
2432
|
}
|
|
2433
|
+
|
|
2434
|
+
// ../common/src/telemetry/pseudonymize.ts
|
|
2435
|
+
var PSEUDONYM_DOMAIN = "uipath-cli/telemetry/pseudonym/v1:";
|
|
2436
|
+
var PSEUDONYM_HEX_LENGTH = 32;
|
|
2430
2437
|
function resolveSha256Hex() {
|
|
2431
2438
|
try {
|
|
2432
2439
|
const nodeCrypto = __require("node:crypto");
|
|
@@ -2881,13 +2888,25 @@ var {
|
|
|
2881
2888
|
Help: Help2
|
|
2882
2889
|
} = exports_commander;
|
|
2883
2890
|
|
|
2891
|
+
// ../common/src/result-types.ts
|
|
2892
|
+
var RESULTS = {
|
|
2893
|
+
Success: "Success",
|
|
2894
|
+
Failure: "Failure",
|
|
2895
|
+
ConfigError: "ConfigError",
|
|
2896
|
+
AuthenticationError: "AuthenticationError",
|
|
2897
|
+
ValidationError: "ValidationError",
|
|
2898
|
+
TimeoutError: "TimeoutError"
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2884
2901
|
// ../common/src/error-codes.ts
|
|
2885
2902
|
var CLI_ERROR_CODES = [
|
|
2886
2903
|
"invalid_argument",
|
|
2904
|
+
"confirmation_required",
|
|
2887
2905
|
"authentication_required",
|
|
2888
2906
|
"permission_denied",
|
|
2889
2907
|
"local_permission_denied",
|
|
2890
2908
|
"not_found",
|
|
2909
|
+
"not_enabled",
|
|
2891
2910
|
"rate_limited",
|
|
2892
2911
|
"network_error",
|
|
2893
2912
|
"timeout",
|
|
@@ -2926,6 +2945,12 @@ function carriedRetry(error) {
|
|
|
2926
2945
|
const retry = error.retry;
|
|
2927
2946
|
return isRetryHint(retry) ? retry : undefined;
|
|
2928
2947
|
}
|
|
2948
|
+
function carriedResult(error) {
|
|
2949
|
+
if (!error || typeof error !== "object")
|
|
2950
|
+
return;
|
|
2951
|
+
const result = error.result;
|
|
2952
|
+
return typeof result === "string" && result !== RESULTS.Success && Object.values(RESULTS).includes(result) ? result : undefined;
|
|
2953
|
+
}
|
|
2929
2954
|
function defaultRetryForErrorCode(errorCode) {
|
|
2930
2955
|
switch (errorCode) {
|
|
2931
2956
|
case "network_error":
|
|
@@ -3315,6 +3340,8 @@ async function extractErrorDetails(error, options) {
|
|
|
3315
3340
|
}
|
|
3316
3341
|
if (parsedBody?.errorCode && typeof parsedBody.errorCode === "string") {
|
|
3317
3342
|
context.errorCode = parsedBody.errorCode;
|
|
3343
|
+
} else if (typeof parsedBody?.errorCode === "number") {
|
|
3344
|
+
context.errorCode = String(parsedBody.errorCode);
|
|
3318
3345
|
} else if (parsedBody?.code && typeof parsedBody.code === "string") {
|
|
3319
3346
|
context.errorCode = parsedBody.code;
|
|
3320
3347
|
}
|
|
@@ -3518,20 +3545,10 @@ function instructionsFor(ctx, err) {
|
|
|
3518
3545
|
}
|
|
3519
3546
|
}
|
|
3520
3547
|
|
|
3521
|
-
// ../common/src/result-types.ts
|
|
3522
|
-
var RESULTS = {
|
|
3523
|
-
Success: "Success",
|
|
3524
|
-
Failure: "Failure",
|
|
3525
|
-
ConfigError: "ConfigError",
|
|
3526
|
-
AuthenticationError: "AuthenticationError",
|
|
3527
|
-
ValidationError: "ValidationError",
|
|
3528
|
-
TimeoutError: "TimeoutError"
|
|
3529
|
-
};
|
|
3530
|
-
|
|
3531
3548
|
// ../common/src/classified-failure.ts
|
|
3532
3549
|
var MAX_QUOTED_BODY_CHARS = 200;
|
|
3533
|
-
async function classifiedFailure(message, error) {
|
|
3534
|
-
const details = await extractErrorDetails(error);
|
|
3550
|
+
async function classifiedFailure(message, error, options) {
|
|
3551
|
+
const details = await extractErrorDetails(error, options);
|
|
3535
3552
|
return {
|
|
3536
3553
|
Result: details.result,
|
|
3537
3554
|
ErrorCode: details.errorCode,
|
|
@@ -3930,7 +3947,10 @@ var AUTH_ERROR_CODES = new Set([
|
|
|
3930
3947
|
var LOCAL_PERMISSION_CLI_ERROR_CODES = new Set([
|
|
3931
3948
|
"local_permission_denied"
|
|
3932
3949
|
]);
|
|
3933
|
-
var VALIDATION_ERROR_CODES = new Set([
|
|
3950
|
+
var VALIDATION_ERROR_CODES = new Set([
|
|
3951
|
+
"invalid_argument",
|
|
3952
|
+
"confirmation_required"
|
|
3953
|
+
]);
|
|
3934
3954
|
var NETWORK_HTTP_ERROR_CODES = new Set([
|
|
3935
3955
|
"network_error",
|
|
3936
3956
|
"rate_limited",
|
|
@@ -4156,6 +4176,109 @@ var CommonTelemetryEvents = {
|
|
|
4156
4176
|
ShipSucceeded: "Cli.ShipSucceeded"
|
|
4157
4177
|
};
|
|
4158
4178
|
|
|
4179
|
+
// ../common/src/telemetry/global-telemetry-properties.ts
|
|
4180
|
+
var telemetryPropsSlot = singleton("TelemetryDefaultProps");
|
|
4181
|
+
function getGlobalTelemetryProperties() {
|
|
4182
|
+
return telemetryPropsSlot.get();
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
// ../common/src/telemetry/trace-context.ts
|
|
4186
|
+
var TELEMETRY_TRACEPARENT_ENV = "TRACEPARENT";
|
|
4187
|
+
var TRACEPARENT_PATTERN = /^00-([0-9a-f]{32})-([0-9a-f]{16})-[0-9a-f]{2}$/;
|
|
4188
|
+
function getProcessEnv() {
|
|
4189
|
+
return globalThis.process?.env;
|
|
4190
|
+
}
|
|
4191
|
+
function parseInboundTraceparent(value) {
|
|
4192
|
+
if (!value) {
|
|
4193
|
+
return;
|
|
4194
|
+
}
|
|
4195
|
+
const match = TRACEPARENT_PATTERN.exec(value.trim().toLowerCase());
|
|
4196
|
+
if (!match) {
|
|
4197
|
+
return;
|
|
4198
|
+
}
|
|
4199
|
+
const [, traceId, parentSpanId] = match;
|
|
4200
|
+
if (/^0+$/.test(traceId) || /^0+$/.test(parentSpanId)) {
|
|
4201
|
+
return;
|
|
4202
|
+
}
|
|
4203
|
+
return { traceId, parentSpanId };
|
|
4204
|
+
}
|
|
4205
|
+
function getInboundTraceContext() {
|
|
4206
|
+
return parseInboundTraceparent(getProcessEnv()?.[TELEMETRY_TRACEPARENT_ENV]);
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
// ../common/src/telemetry/session-id.ts
|
|
4210
|
+
var TELEMETRY_SESSION_ID_ENV = "UIPATH_SESSION_ID";
|
|
4211
|
+
var SESSION_ID_MAX_LENGTH = 64;
|
|
4212
|
+
var RANDOM_SESSION_ID_LENGTH = 32;
|
|
4213
|
+
var TELEMETRY_SESSION_SOURCE_PROPERTY = "SessionIdSource";
|
|
4214
|
+
var CONTROL_CHARACTERS = /\p{Cc}/gu;
|
|
4215
|
+
var INHERITED_SESSION_SOURCES = [
|
|
4216
|
+
{ envVar: "CLAUDE_CODE_SESSION_ID", source: "claude-code" },
|
|
4217
|
+
{ envVar: "CODEX_THREAD_ID", source: "codex" },
|
|
4218
|
+
{ envVar: "ANTIGRAVITY_TRAJECTORY_ID", source: "antigravity" },
|
|
4219
|
+
{ envVar: "TERM_SESSION_ID", source: "terminal" },
|
|
4220
|
+
{ envVar: "WT_SESSION", source: "terminal" }
|
|
4221
|
+
];
|
|
4222
|
+
var telemetrySessionSlot = singleton("TelemetrySession");
|
|
4223
|
+
var telemetryOperationIdSlot = singleton("TelemetryOperationId");
|
|
4224
|
+
function getProcessEnv2() {
|
|
4225
|
+
return globalThis.process?.env;
|
|
4226
|
+
}
|
|
4227
|
+
function normalizeSessionId(value) {
|
|
4228
|
+
if (typeof value !== "string" && typeof value !== "number" && typeof value !== "boolean") {
|
|
4229
|
+
return;
|
|
4230
|
+
}
|
|
4231
|
+
const cleaned = String(value).replace(CONTROL_CHARACTERS, "").trim().slice(0, SESSION_ID_MAX_LENGTH);
|
|
4232
|
+
return cleaned || undefined;
|
|
4233
|
+
}
|
|
4234
|
+
function getConfiguredTelemetrySessionId() {
|
|
4235
|
+
return normalizeSessionId(getProcessEnv2()?.[TELEMETRY_SESSION_ID_ENV]);
|
|
4236
|
+
}
|
|
4237
|
+
function getInheritedSession(env) {
|
|
4238
|
+
for (const candidate of INHERITED_SESSION_SOURCES) {
|
|
4239
|
+
const handle = normalizeSessionId(env[candidate.envVar]);
|
|
4240
|
+
if (handle) {
|
|
4241
|
+
return { id: handle, source: candidate.source };
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
return;
|
|
4245
|
+
}
|
|
4246
|
+
function generateRandomSession() {
|
|
4247
|
+
const bytes = new Uint8Array(RANDOM_SESSION_ID_LENGTH / 2);
|
|
4248
|
+
crypto.getRandomValues(bytes);
|
|
4249
|
+
let hex = "";
|
|
4250
|
+
for (const byte of bytes) {
|
|
4251
|
+
hex += byte.toString(16).padStart(2, "0");
|
|
4252
|
+
}
|
|
4253
|
+
return { id: hex, source: "random" };
|
|
4254
|
+
}
|
|
4255
|
+
function resolveTelemetrySession() {
|
|
4256
|
+
const existing = telemetrySessionSlot.get();
|
|
4257
|
+
if (existing) {
|
|
4258
|
+
return existing;
|
|
4259
|
+
}
|
|
4260
|
+
const declaredHandle = getConfiguredTelemetrySessionId();
|
|
4261
|
+
const resolved = declaredHandle ? { id: declaredHandle, source: "declared" } : getInheritedSession(getProcessEnv2() ?? {}) ?? generateRandomSession();
|
|
4262
|
+
telemetrySessionSlot.set(resolved);
|
|
4263
|
+
return resolved;
|
|
4264
|
+
}
|
|
4265
|
+
function getTelemetrySessionId() {
|
|
4266
|
+
return resolveTelemetrySession().id;
|
|
4267
|
+
}
|
|
4268
|
+
function getTelemetrySessionSource() {
|
|
4269
|
+
return resolveTelemetrySession().source;
|
|
4270
|
+
}
|
|
4271
|
+
function getTelemetryOperationId() {
|
|
4272
|
+
const existing = telemetryOperationIdSlot.get();
|
|
4273
|
+
if (existing) {
|
|
4274
|
+
return existing;
|
|
4275
|
+
}
|
|
4276
|
+
const inboundTraceId = getInboundTraceContext()?.traceId;
|
|
4277
|
+
const generated = inboundTraceId ?? crypto.randomUUID().replaceAll("-", "");
|
|
4278
|
+
telemetryOperationIdSlot.set(generated);
|
|
4279
|
+
return generated;
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4159
4282
|
// ../common/src/registry.ts
|
|
4160
4283
|
import { execFileSync } from "node:child_process";
|
|
4161
4284
|
function readRegistryValue(keyPath, valueName) {
|
|
@@ -4377,108 +4500,6 @@ class NodeContextStorage {
|
|
|
4377
4500
|
return this.storage.getStore();
|
|
4378
4501
|
}
|
|
4379
4502
|
}
|
|
4380
|
-
// ../common/src/telemetry/trace-context.ts
|
|
4381
|
-
var TELEMETRY_TRACEPARENT_ENV = "TRACEPARENT";
|
|
4382
|
-
var TRACEPARENT_PATTERN = /^00-([0-9a-f]{32})-([0-9a-f]{16})-[0-9a-f]{2}$/;
|
|
4383
|
-
function getProcessEnv() {
|
|
4384
|
-
return globalThis.process?.env;
|
|
4385
|
-
}
|
|
4386
|
-
function parseInboundTraceparent(value) {
|
|
4387
|
-
if (!value) {
|
|
4388
|
-
return;
|
|
4389
|
-
}
|
|
4390
|
-
const match = TRACEPARENT_PATTERN.exec(value.trim().toLowerCase());
|
|
4391
|
-
if (!match) {
|
|
4392
|
-
return;
|
|
4393
|
-
}
|
|
4394
|
-
const [, traceId, parentSpanId] = match;
|
|
4395
|
-
if (/^0+$/.test(traceId) || /^0+$/.test(parentSpanId)) {
|
|
4396
|
-
return;
|
|
4397
|
-
}
|
|
4398
|
-
return { traceId, parentSpanId };
|
|
4399
|
-
}
|
|
4400
|
-
function getInboundTraceContext() {
|
|
4401
|
-
return parseInboundTraceparent(getProcessEnv()?.[TELEMETRY_TRACEPARENT_ENV]);
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
|
-
// ../common/src/telemetry/session-id.ts
|
|
4405
|
-
var TELEMETRY_SESSION_ID_ENV = "UIPATH_SESSION_ID";
|
|
4406
|
-
var SESSION_ID_MAX_LENGTH = 64;
|
|
4407
|
-
var RANDOM_SESSION_ID_LENGTH = 32;
|
|
4408
|
-
var TELEMETRY_SESSION_SOURCE_PROPERTY = "SessionIdSource";
|
|
4409
|
-
var CONTROL_CHARACTERS = /\p{Cc}/gu;
|
|
4410
|
-
var INHERITED_SESSION_SOURCES = [
|
|
4411
|
-
{ envVar: "CLAUDE_CODE_SESSION_ID", source: "claude-code" },
|
|
4412
|
-
{ envVar: "CODEX_THREAD_ID", source: "codex" },
|
|
4413
|
-
{ envVar: "ANTIGRAVITY_TRAJECTORY_ID", source: "antigravity" },
|
|
4414
|
-
{ envVar: "TERM_SESSION_ID", source: "terminal" },
|
|
4415
|
-
{ envVar: "WT_SESSION", source: "terminal" }
|
|
4416
|
-
];
|
|
4417
|
-
var telemetrySessionSlot = singleton("TelemetrySession");
|
|
4418
|
-
var telemetryOperationIdSlot = singleton("TelemetryOperationId");
|
|
4419
|
-
function getProcessEnv2() {
|
|
4420
|
-
return globalThis.process?.env;
|
|
4421
|
-
}
|
|
4422
|
-
function normalizeSessionId(value) {
|
|
4423
|
-
if (typeof value !== "string" && typeof value !== "number" && typeof value !== "boolean") {
|
|
4424
|
-
return;
|
|
4425
|
-
}
|
|
4426
|
-
const cleaned = String(value).replace(CONTROL_CHARACTERS, "").trim().slice(0, SESSION_ID_MAX_LENGTH);
|
|
4427
|
-
return cleaned || undefined;
|
|
4428
|
-
}
|
|
4429
|
-
function getConfiguredTelemetrySessionId() {
|
|
4430
|
-
return normalizeSessionId(getProcessEnv2()?.[TELEMETRY_SESSION_ID_ENV]);
|
|
4431
|
-
}
|
|
4432
|
-
function getInheritedSession(env) {
|
|
4433
|
-
for (const candidate of INHERITED_SESSION_SOURCES) {
|
|
4434
|
-
const handle = normalizeSessionId(env[candidate.envVar]);
|
|
4435
|
-
if (handle) {
|
|
4436
|
-
return { id: handle, source: candidate.source };
|
|
4437
|
-
}
|
|
4438
|
-
}
|
|
4439
|
-
return;
|
|
4440
|
-
}
|
|
4441
|
-
function generateRandomSession() {
|
|
4442
|
-
const bytes = new Uint8Array(RANDOM_SESSION_ID_LENGTH / 2);
|
|
4443
|
-
crypto.getRandomValues(bytes);
|
|
4444
|
-
let hex = "";
|
|
4445
|
-
for (const byte of bytes) {
|
|
4446
|
-
hex += byte.toString(16).padStart(2, "0");
|
|
4447
|
-
}
|
|
4448
|
-
return { id: hex, source: "random" };
|
|
4449
|
-
}
|
|
4450
|
-
function resolveTelemetrySession() {
|
|
4451
|
-
const existing = telemetrySessionSlot.get();
|
|
4452
|
-
if (existing) {
|
|
4453
|
-
return existing;
|
|
4454
|
-
}
|
|
4455
|
-
const declaredHandle = getConfiguredTelemetrySessionId();
|
|
4456
|
-
const resolved = declaredHandle ? { id: declaredHandle, source: "declared" } : getInheritedSession(getProcessEnv2() ?? {}) ?? generateRandomSession();
|
|
4457
|
-
telemetrySessionSlot.set(resolved);
|
|
4458
|
-
return resolved;
|
|
4459
|
-
}
|
|
4460
|
-
function getTelemetrySessionId() {
|
|
4461
|
-
return resolveTelemetrySession().id;
|
|
4462
|
-
}
|
|
4463
|
-
function getTelemetrySessionSource() {
|
|
4464
|
-
return resolveTelemetrySession().source;
|
|
4465
|
-
}
|
|
4466
|
-
function getTelemetryOperationId() {
|
|
4467
|
-
const existing = telemetryOperationIdSlot.get();
|
|
4468
|
-
if (existing) {
|
|
4469
|
-
return existing;
|
|
4470
|
-
}
|
|
4471
|
-
const inboundTraceId = getInboundTraceContext()?.traceId;
|
|
4472
|
-
const generated = inboundTraceId ?? crypto.randomUUID().replaceAll("-", "");
|
|
4473
|
-
telemetryOperationIdSlot.set(generated);
|
|
4474
|
-
return generated;
|
|
4475
|
-
}
|
|
4476
|
-
// ../common/src/telemetry/global-telemetry-properties.ts
|
|
4477
|
-
var telemetryPropsSlot = singleton("TelemetryDefaultProps");
|
|
4478
|
-
function getGlobalTelemetryProperties() {
|
|
4479
|
-
return telemetryPropsSlot.get();
|
|
4480
|
-
}
|
|
4481
|
-
|
|
4482
4503
|
// ../common/src/telemetry/span-clock.ts
|
|
4483
4504
|
function startSpanClock() {
|
|
4484
4505
|
const started = performance.now();
|
|
@@ -4692,6 +4713,7 @@ var MAX_SPOOL_AGE_MS = 72 * 60 * 60 * 1000;
|
|
|
4692
4713
|
// ../common/src/telemetry/telemetry-init.ts
|
|
4693
4714
|
var telemetryInstanceSlot = singleton("TelemetryService");
|
|
4694
4715
|
var DEFAULT_AI_CONNECTION_STRING = atob("SW5zdHJ1bWVudGF0aW9uS2V5PTliZDM3NDgyLTgxMGUtNDQyYS1hYWE2LWQzOGVmNjVjNjY3NDtJbmdlc3Rpb25FbmRwb2ludD1odHRwczovL3dlc3RldXJvcGUtNS5pbi5hcHBsaWNhdGlvbmluc2lnaHRzLmF6dXJlLmNvbS87TGl2ZUVuZHBvaW50PWh0dHBzOi8vd2VzdGV1cm9wZS5saXZlZGlhZ25vc3RpY3MubW9uaXRvci5henVyZS5jb20vO0FwcGxpY2F0aW9uSWQ9MzU2OTdlZjEtOGJkMC00ZjE5LWEyN2MtZDg3Y2NhYzY2ZDJj");
|
|
4716
|
+
var browserProviderSlot = singleton("BrowserAppInsightsTelemetryProvider");
|
|
4695
4717
|
function getGlobalTelemetryInstance() {
|
|
4696
4718
|
const existing = telemetryInstanceSlot.get();
|
|
4697
4719
|
if (existing && typeof existing === "object" && "trackEvent" in existing && typeof existing.trackEvent === "function") {
|
|
@@ -4875,7 +4897,7 @@ function printOutput(data, format = "json", logFn, asciiSafe = false, tableRowSt
|
|
|
4875
4897
|
const pagedRows = extractPagedRows(data.Data);
|
|
4876
4898
|
const items = pagedRows ?? (Array.isArray(data.Data) ? data.Data : [data.Data]);
|
|
4877
4899
|
items.forEach((item) => {
|
|
4878
|
-
const values = Object.values(item).map((v) => v ?? "").join("\t");
|
|
4900
|
+
const values = item === null || typeof item !== "object" ? String(item ?? "") : Object.values(item).map((v) => v ?? "").join("\t");
|
|
4879
4901
|
logFn(values);
|
|
4880
4902
|
});
|
|
4881
4903
|
} else {
|
|
@@ -4890,7 +4912,8 @@ function printOutput(data, format = "json", logFn, asciiSafe = false, tableRowSt
|
|
|
4890
4912
|
default: {
|
|
4891
4913
|
const hasData = "Data" in data && data.Data != null;
|
|
4892
4914
|
const pagedRows = hasData ? extractPagedRows(data.Data) : null;
|
|
4893
|
-
const
|
|
4915
|
+
const resolvedRows = pagedRows ? pagedRows : Array.isArray(data.Data) ? data.Data : null;
|
|
4916
|
+
const rows = resolvedRows && isPrimitiveArray(resolvedRows) ? resolvedRows.map((entry) => ({ Value: entry })) : resolvedRows;
|
|
4894
4917
|
if (hasData && !(rows !== null && rows.length === 0)) {
|
|
4895
4918
|
const logValue = data.Log;
|
|
4896
4919
|
if (rows !== null) {
|
|
@@ -4947,6 +4970,9 @@ function printTable(data, logFn, externalLogValue, tableRowStyle) {
|
|
|
4947
4970
|
function isPlainObjectArray(value) {
|
|
4948
4971
|
return Array.isArray(value) && value.length > 0 && value.every(isPlainRecord);
|
|
4949
4972
|
}
|
|
4973
|
+
function isPrimitiveArray(value) {
|
|
4974
|
+
return Array.isArray(value) && value.length > 0 && value.every((entry) => entry === null || typeof entry !== "object");
|
|
4975
|
+
}
|
|
4950
4976
|
function isNonEmptyPlainObject(value) {
|
|
4951
4977
|
return isPlainRecord(value) && Object.keys(value).length > 0;
|
|
4952
4978
|
}
|
|
@@ -5293,12 +5319,12 @@ class FilterEvaluationError extends Error {
|
|
|
5293
5319
|
instructions;
|
|
5294
5320
|
retry = "RetryWillNotFix";
|
|
5295
5321
|
result = RESULTS.ValidationError;
|
|
5296
|
-
constructor(filter, cause) {
|
|
5322
|
+
constructor(filter, cause, hint) {
|
|
5297
5323
|
const underlying = cause instanceof Error ? cause.message : String(cause);
|
|
5298
|
-
super(`Filter '${filter}' failed to evaluate: ${underlying}`);
|
|
5324
|
+
super(`Filter '${filter}' failed to evaluate: ${underlying}` + (hint ? ` ${hint.detail}` : ""));
|
|
5299
5325
|
this.name = "FilterEvaluationError";
|
|
5300
5326
|
this.filter = filter;
|
|
5301
|
-
this.instructions = `The --output-filter expression '${filter}' failed at evaluation time. ` + "Note that --output-filter operates on the 'Data' field of the envelope, not the full object. " + "For example, on a list result use 'length(@)' instead of 'Data | length(@)'.";
|
|
5327
|
+
this.instructions = (hint ? `${hint.instructions} ` : "") + `The --output-filter expression '${filter}' failed at evaluation time. ` + "Note that --output-filter operates on the 'Data' field of the envelope, not the full object. " + "For example, on a list result use 'length(@)' instead of 'Data | length(@)'.";
|
|
5302
5328
|
}
|
|
5303
5329
|
}
|
|
5304
5330
|
|
|
@@ -5420,6 +5446,93 @@ function nameList(names, cap = 12) {
|
|
|
5420
5446
|
const rest = names.length - shown.length;
|
|
5421
5447
|
return shown.join(", ") + (rest > 0 ? `, and ${rest} more` : "");
|
|
5422
5448
|
}
|
|
5449
|
+
function notFieldsOn(names, scope) {
|
|
5450
|
+
return `${nameList(names)} ${names.length === 1 ? "is not a field" : "are not fields"} on the ${scope} it read`;
|
|
5451
|
+
}
|
|
5452
|
+
function failingFieldRead(ast, isList, fn, argIndex) {
|
|
5453
|
+
const [left, right, condition] = ast.children ?? [];
|
|
5454
|
+
let scopes = [];
|
|
5455
|
+
if (!isList) {
|
|
5456
|
+
scopes = [ast];
|
|
5457
|
+
} else if (ast.type === "FilterProjection" && left?.type === "Identity") {
|
|
5458
|
+
scopes = [condition, right];
|
|
5459
|
+
} else if (ast.type === "Projection" && (left?.type === "Identity" || left?.type === "Flatten" && left.children?.[0]?.type === "Identity")) {
|
|
5460
|
+
scopes = [right];
|
|
5461
|
+
}
|
|
5462
|
+
const reads = new Set;
|
|
5463
|
+
let tracked = 0;
|
|
5464
|
+
const visit = (node) => {
|
|
5465
|
+
if (!node)
|
|
5466
|
+
return;
|
|
5467
|
+
switch (node.type) {
|
|
5468
|
+
case "Function": {
|
|
5469
|
+
const arg = node.children?.[argIndex - 1];
|
|
5470
|
+
if (node.name === fn && arg?.type === "Field" && arg.name) {
|
|
5471
|
+
reads.add(arg.name);
|
|
5472
|
+
tracked++;
|
|
5473
|
+
}
|
|
5474
|
+
node.children?.forEach(visit);
|
|
5475
|
+
return;
|
|
5476
|
+
}
|
|
5477
|
+
case "AndExpression":
|
|
5478
|
+
case "OrExpression":
|
|
5479
|
+
case "NotExpression":
|
|
5480
|
+
case "Comparator":
|
|
5481
|
+
case "MultiSelectList":
|
|
5482
|
+
case "MultiSelectHash":
|
|
5483
|
+
node.children?.forEach(visit);
|
|
5484
|
+
return;
|
|
5485
|
+
case "KeyValuePair":
|
|
5486
|
+
visit(node.value);
|
|
5487
|
+
return;
|
|
5488
|
+
}
|
|
5489
|
+
};
|
|
5490
|
+
scopes.forEach(visit);
|
|
5491
|
+
const calls = (node) => {
|
|
5492
|
+
if (node === null || typeof node !== "object")
|
|
5493
|
+
return 0;
|
|
5494
|
+
const own = node.type === "Function" && node.name === fn ? 1 : 0;
|
|
5495
|
+
const next = node.type === "KeyValuePair" ? [node.value] : node.children ?? [];
|
|
5496
|
+
return own + next.reduce((sum, child) => sum + calls(child), 0);
|
|
5497
|
+
};
|
|
5498
|
+
return reads.size === 1 && tracked === calls(ast) ? [...reads][0] : undefined;
|
|
5499
|
+
}
|
|
5500
|
+
function fieldExpression(name) {
|
|
5501
|
+
return /^[A-Za-z_]\w*$/.test(name) ? name : JSON.stringify(name);
|
|
5502
|
+
}
|
|
5503
|
+
function evaluationHint(codec, filter, data, cause) {
|
|
5504
|
+
const underlying = cause instanceof Error ? cause.message : String(cause);
|
|
5505
|
+
const failure = /\b(\w+)\(\) expected argument (\d+) to be type (\S+) but received type null\b/.exec(underlying);
|
|
5506
|
+
if (!failure)
|
|
5507
|
+
return;
|
|
5508
|
+
const [, fn, position, expected] = failure;
|
|
5509
|
+
const name = failingFieldRead(codec.compile(filter), Array.isArray(data), fn, Number(position));
|
|
5510
|
+
if (name === undefined)
|
|
5511
|
+
return;
|
|
5512
|
+
const present = availableFields(data);
|
|
5513
|
+
if (present.length === 0)
|
|
5514
|
+
return;
|
|
5515
|
+
const scope = `${countRecords(data)} record(s)`;
|
|
5516
|
+
if (!present.includes(name)) {
|
|
5517
|
+
return {
|
|
5518
|
+
detail: `${notFieldsOn([name], scope)}. Available fields: ${nameList(present)}.`,
|
|
5519
|
+
instructions: "Use a field the records have; names are case-sensitive."
|
|
5520
|
+
};
|
|
5521
|
+
}
|
|
5522
|
+
const records = Array.isArray(data) ? data : [data];
|
|
5523
|
+
const unset = records.filter((r) => r?.[name] == null).length;
|
|
5524
|
+
const field = fieldExpression(name);
|
|
5525
|
+
let fallback;
|
|
5526
|
+
if (expected.split(",").includes("string")) {
|
|
5527
|
+
fallback = "''";
|
|
5528
|
+
} else if (expected.split(",").includes("array")) {
|
|
5529
|
+
fallback = "`[]`";
|
|
5530
|
+
}
|
|
5531
|
+
return {
|
|
5532
|
+
detail: `\`${name}\` is null or missing on ${unset} of the ${scope} it read.`,
|
|
5533
|
+
instructions: fallback ? `Give it a default where ${fn}() reads it, e.g. \`${field} || ${fallback}\`.` : `Filter out the records where \`${name}\` is null before ${fn}() reads it.`
|
|
5534
|
+
};
|
|
5535
|
+
}
|
|
5423
5536
|
function buildFilterWarning(filter, data, outcome) {
|
|
5424
5537
|
const present = availableFields(data);
|
|
5425
5538
|
const refs = referencedFields(filter);
|
|
@@ -5427,7 +5540,7 @@ function buildFilterWarning(filter, data, outcome) {
|
|
|
5427
5540
|
const unchecked = refs.nested.filter((name) => !present.includes(name));
|
|
5428
5541
|
const count = countRecords(data);
|
|
5429
5542
|
const scope = `${count} record(s)`;
|
|
5430
|
-
const isNotAField = (names) =>
|
|
5543
|
+
const isNotAField = (names) => notFieldsOn(names, scope);
|
|
5431
5544
|
const soundness = unchecked.length > 0 ? `${nameList(unchecked)} ${unchecked.length === 1 ? "reads" : "read"} below the top level, so ${unchecked.length === 1 ? "it was" : "they were"} not checked against the record keys` : refs.top.length > 0 ? "every field it names exists" : "";
|
|
5432
5545
|
const withSoundness = (base) => soundness ? `${base}, and ${soundness}` : base;
|
|
5433
5546
|
let detail;
|
|
@@ -5478,7 +5591,8 @@ function applyFilter(data, filter, onWarning) {
|
|
|
5478
5591
|
try {
|
|
5479
5592
|
result = codec.search(data, filter);
|
|
5480
5593
|
} catch (err) {
|
|
5481
|
-
|
|
5594
|
+
const [, hint] = catchError(() => evaluationHint(codec, filter, data, err));
|
|
5595
|
+
throw new FilterEvaluationError(filter, err, hint);
|
|
5482
5596
|
}
|
|
5483
5597
|
const inputCount = countRecords(data);
|
|
5484
5598
|
const warn = (outcome) => {
|
|
@@ -5843,6 +5957,9 @@ async function identityWithContext(command, identity) {
|
|
|
5843
5957
|
}
|
|
5844
5958
|
return props;
|
|
5845
5959
|
}
|
|
5960
|
+
function configureProjectTelemetry(command, resolver) {
|
|
5961
|
+
command[RESOLVER] = resolver;
|
|
5962
|
+
}
|
|
5846
5963
|
function getProjectTelemetryResolver(command) {
|
|
5847
5964
|
for (let node = command;node; node = node.parent) {
|
|
5848
5965
|
const resolver = node[RESOLVER];
|
|
@@ -5851,9 +5968,57 @@ function getProjectTelemetryResolver(command) {
|
|
|
5851
5968
|
}
|
|
5852
5969
|
return;
|
|
5853
5970
|
}
|
|
5971
|
+
function getProjectTelemetryCapture(command) {
|
|
5972
|
+
const capture = command?.[CAPTURE];
|
|
5973
|
+
return capture !== null && typeof capture === "object" ? capture : undefined;
|
|
5974
|
+
}
|
|
5854
5975
|
function attachProjectTelemetryCapture(command, capture) {
|
|
5855
5976
|
command[CAPTURE] = capture;
|
|
5856
5977
|
}
|
|
5978
|
+
async function setProjectTelemetryTarget(command, target) {
|
|
5979
|
+
const capture = getProjectTelemetryCapture(command);
|
|
5980
|
+
if (!capture)
|
|
5981
|
+
return;
|
|
5982
|
+
const [error] = await catchError(() => capture.setTarget(target));
|
|
5983
|
+
if (error)
|
|
5984
|
+
logSkipped("project identity target", error);
|
|
5985
|
+
}
|
|
5986
|
+
function createProjectCommandResolver(root, rules, read) {
|
|
5987
|
+
return createIdentityCommandResolver(root, rules, async (target, command) => identityWithContext(command, await read(target)));
|
|
5988
|
+
}
|
|
5989
|
+
function createIdentityCommandResolver(root, rules, read) {
|
|
5990
|
+
const record = root;
|
|
5991
|
+
record[RULES] = [...ruleSets(root), rules];
|
|
5992
|
+
return async ({ command, args, phase, target, success }) => {
|
|
5993
|
+
const parts = [];
|
|
5994
|
+
for (let node = command;node && node !== root; node = node.parent) {
|
|
5995
|
+
parts.unshift(node.name());
|
|
5996
|
+
}
|
|
5997
|
+
const rule = rules[parts.join(" ")] ?? rules[parts[0]];
|
|
5998
|
+
if (!rule || rule.create && phase === "before")
|
|
5999
|
+
return;
|
|
6000
|
+
if (rule.create && !success)
|
|
6001
|
+
return;
|
|
6002
|
+
if (phase === "after" && !rule.create && target === undefined)
|
|
6003
|
+
return;
|
|
6004
|
+
const opts = command.opts();
|
|
6005
|
+
let selected = target;
|
|
6006
|
+
for (const name of rule.options ?? []) {
|
|
6007
|
+
if (selected === undefined && typeof opts[name] === "string")
|
|
6008
|
+
selected = opts[name];
|
|
6009
|
+
}
|
|
6010
|
+
for (const name of rule.arguments ?? []) {
|
|
6011
|
+
const index = command.registeredArguments.findIndex((arg) => arg.name() === name);
|
|
6012
|
+
if (selected === undefined && index >= 0 && typeof args[index] === "string")
|
|
6013
|
+
selected = args[index];
|
|
6014
|
+
}
|
|
6015
|
+
selected ??= rule.defaultTarget;
|
|
6016
|
+
if (selected === undefined)
|
|
6017
|
+
return;
|
|
6018
|
+
return read(selected, command);
|
|
6019
|
+
};
|
|
6020
|
+
}
|
|
6021
|
+
|
|
5857
6022
|
class ProjectTelemetrySession {
|
|
5858
6023
|
resolver;
|
|
5859
6024
|
command;
|
|
@@ -5913,6 +6078,10 @@ class ProjectTelemetrySession {
|
|
|
5913
6078
|
}
|
|
5914
6079
|
}
|
|
5915
6080
|
}
|
|
6081
|
+
function ruleSets(root) {
|
|
6082
|
+
const sets = root[RULES];
|
|
6083
|
+
return Array.isArray(sets) ? sets : [];
|
|
6084
|
+
}
|
|
5916
6085
|
|
|
5917
6086
|
// ../common/src/telemetry/command-attribution.ts
|
|
5918
6087
|
var LEGACY_SKILL_NAMESPACE = "uipath:";
|
|
@@ -6369,7 +6538,7 @@ Command.prototype.trackedAction = function(context, fn, properties) {
|
|
|
6369
6538
|
logger.debug(`[trackedAction] ${telemetryName} failed: ${errorMessage}`);
|
|
6370
6539
|
const typed = error;
|
|
6371
6540
|
const customInstructions = typeof typed.instructions === "string" ? typed.instructions : undefined;
|
|
6372
|
-
const customResult =
|
|
6541
|
+
const customResult = carriedResult(error);
|
|
6373
6542
|
const cancellationExitCode = typed.exitCode === 130 || isPromptCancellation(error) ? 130 : undefined;
|
|
6374
6543
|
const classified = cancellationExitCode === undefined ? await extractErrorDetails(error) : undefined;
|
|
6375
6544
|
const finalResult = customResult ?? classified?.result ?? RESULTS.Failure;
|
|
@@ -6442,6 +6611,22 @@ Command.prototype.trackedAction = function(context, fn, properties) {
|
|
|
6442
6611
|
};
|
|
6443
6612
|
// ../common/src/completer.ts
|
|
6444
6613
|
var COMPLETER_SYMBOL = Symbol.for("@uipath/common/completer");
|
|
6614
|
+
// ../common/src/confirmation.ts
|
|
6615
|
+
function requireConfirmation(flags, operation, options) {
|
|
6616
|
+
if (flags.yes === true || flags.force === true) {
|
|
6617
|
+
return true;
|
|
6618
|
+
}
|
|
6619
|
+
const message = options?.reversible ? `Confirmation required: this will ${operation}.` : `Confirmation required: this will ${operation} and cannot be undone.`;
|
|
6620
|
+
OutputFormatter.error({
|
|
6621
|
+
Result: RESULTS.Failure,
|
|
6622
|
+
Message: message,
|
|
6623
|
+
Instructions: options?.instructions ?? "Re-run with --yes to confirm.",
|
|
6624
|
+
ErrorCode: "confirmation_required",
|
|
6625
|
+
Retry: "RetryWillNotFix"
|
|
6626
|
+
});
|
|
6627
|
+
processContext.exit(1);
|
|
6628
|
+
return false;
|
|
6629
|
+
}
|
|
6445
6630
|
// ../common/src/console-guard.ts
|
|
6446
6631
|
var guardInstalledSlot = singleton("ConsoleGuardInstalled");
|
|
6447
6632
|
var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
|
|
@@ -6760,6 +6945,16 @@ var FAILURE_STATUSES = new Set([
|
|
|
6760
6945
|
"canceled",
|
|
6761
6946
|
"stopped"
|
|
6762
6947
|
]);
|
|
6948
|
+
// ../common/src/relayed-output.ts
|
|
6949
|
+
var RELAYED_OUTPUT_SYMBOL = Symbol.for("@uipath/common/relayed-output");
|
|
6950
|
+
// ../common/src/report-failure.ts
|
|
6951
|
+
async function reportFailure(message, error, options = {}) {
|
|
6952
|
+
const failure = await classifiedFailure(message, error);
|
|
6953
|
+
OutputFormatter.error(options.instructions ? {
|
|
6954
|
+
...failure,
|
|
6955
|
+
Instructions: options.instructions(failure.Instructions, failure)
|
|
6956
|
+
} : failure);
|
|
6957
|
+
}
|
|
6763
6958
|
// ../common/src/screen-logger.ts
|
|
6764
6959
|
var ScreenLogger;
|
|
6765
6960
|
((ScreenLogger) => {
|
|
@@ -6860,6 +7055,6 @@ function unsupportedSolutionProjectType(projectType) {
|
|
|
6860
7055
|
var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
6861
7056
|
// ../common/src/tool-provider.ts
|
|
6862
7057
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
6863
|
-
export { catchError, extractErrorDetails, extractErrorMessage, extractErrorMessageSync, appendOption, ATTACHMENT_UPLOAD_INSTRUCTIONS, parseAttachmentSpec, readAttachmentSpecs, redactTokens, parseAuthChallenge,
|
|
7058
|
+
export { catchError, RESULTS, carriedErrorCode, carriedRetry, defaultRetryForErrorCode, extractErrorDetails, extractErrorMessage, extractErrorMessageSync, appendOption, ATTACHMENT_UPLOAD_INSTRUCTIONS, parseAttachmentSpec, readAttachmentSpecs, redactTokens, parseAuthChallenge, classifiedFailure, authContextFailure, summarizePlatformBody, Command, logger, OutputFormatter, configureProjectTelemetry, setProjectTelemetryTarget, createProjectCommandResolver, processContext, requireConfirmation, isGuid, mimeTypeForFileName, parseBoundedInt, reportFailure, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, quoteForShell, unsupportedSolutionProjectType };
|
|
6864
7059
|
|
|
6865
|
-
//# debugId=
|
|
7060
|
+
//# debugId=59160A30560226B664756E2164756E21
|