@uipath/agent-tool 1.203.0-preview.235 → 1.203.0-preview.237
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 +3 -3
- package/dist/executor-tool.js +2 -2
- package/dist/{index-s1mvhfbj.js → index-w1x0tqwq.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{packager-tool-7y5mntre.js → packager-tool-22wtmyxf.js} +7 -7
- package/dist/{packager-tool-j3xewmbp.js → packager-tool-26dhvtpm.js} +3 -3
- package/dist/{packager-tool-tnz82jk0.js → packager-tool-yjycd7ae.js} +224 -7
- package/dist/tool.js +3 -3
- package/package.json +2 -2
|
@@ -41,8 +41,8 @@ those licences require.
|
|
|
41
41
|
- tsyringe@4.10.0 — MIT
|
|
42
42
|
- wsl-utils@0.3.1 — MIT
|
|
43
43
|
- zod@3.25.76 — MIT
|
|
44
|
-
- zod@3.25.76 — MIT
|
|
45
44
|
- zod@4.4.3 — MIT
|
|
45
|
+
- zod@3.25.76 — MIT
|
|
46
46
|
|
|
47
47
|
---
|
|
48
48
|
|
|
@@ -902,7 +902,7 @@ SOFTWARE.
|
|
|
902
902
|
|
|
903
903
|
---
|
|
904
904
|
|
|
905
|
-
## zod@
|
|
905
|
+
## zod@4.4.3
|
|
906
906
|
|
|
907
907
|
SPDX: MIT
|
|
908
908
|
|
|
@@ -932,7 +932,7 @@ SOFTWARE.
|
|
|
932
932
|
|
|
933
933
|
---
|
|
934
934
|
|
|
935
|
-
## zod@
|
|
935
|
+
## zod@3.25.76
|
|
936
936
|
|
|
937
937
|
SPDX: MIT
|
|
938
938
|
|
package/dist/executor-tool.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentDebugCancelledError,
|
|
3
3
|
AgentDebugService
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-26dhvtpm.js";
|
|
5
|
+
import"./packager-tool-yjycd7ae.js";
|
|
6
6
|
import"./packager-tool-b098y4a2.js";
|
|
7
7
|
import"./packager-tool-1yh8g550.js";
|
|
8
8
|
// ../executor/project-executor/src/models/run-status.ts
|
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-22wtmyxf.js";
|
|
6
6
|
import"./packager-tool-4mna26cc.js";
|
|
7
7
|
import"./packager-tool-c23zrhj8.js";
|
|
8
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-26dhvtpm.js";
|
|
9
9
|
import {
|
|
10
10
|
Command
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-yjycd7ae.js";
|
|
12
12
|
import"./packager-tool-mc1499dc.js";
|
|
13
13
|
import"./packager-tool-b098y4a2.js";
|
|
14
14
|
import"./packager-tool-1yh8g550.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isSolutionUploadHttpError,
|
|
14
14
|
migrateLegacyToolGuardrailPolicies,
|
|
15
15
|
resolveStudioWebConfig
|
|
16
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-26dhvtpm.js";
|
|
17
17
|
import {
|
|
18
18
|
OutputFormatter,
|
|
19
19
|
RESULTS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
prepareProjectLocation,
|
|
32
32
|
processContext,
|
|
33
33
|
tryRegisterProjectInParentSolution
|
|
34
|
-
} from "./packager-tool-
|
|
34
|
+
} from "./packager-tool-yjycd7ae.js";
|
|
35
35
|
import {
|
|
36
36
|
currentAgentStorageSchema,
|
|
37
37
|
currentEvaluationSetStorageSchema,
|
|
@@ -6991,7 +6991,7 @@ var package_default = {
|
|
|
6991
6991
|
name: "@uipath/agent-tool",
|
|
6992
6992
|
author: "UiPath",
|
|
6993
6993
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
6994
|
-
version: "1.203.0-preview.
|
|
6994
|
+
version: "1.203.0-preview.237",
|
|
6995
6995
|
description: "cli plugin for creating and managing UiPath low-code agents",
|
|
6996
6996
|
private: false,
|
|
6997
6997
|
repository: {
|
|
@@ -7435,7 +7435,7 @@ var package_default2 = {
|
|
|
7435
7435
|
name: "@uipath/agent-sdk",
|
|
7436
7436
|
author: "UiPath",
|
|
7437
7437
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
7438
|
-
version: "1.203.0-preview.
|
|
7438
|
+
version: "1.203.0-preview.237",
|
|
7439
7439
|
description: "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
|
|
7440
7440
|
repository: {
|
|
7441
7441
|
type: "git",
|
|
@@ -12800,7 +12800,7 @@ var registerGuardrailCommands = (program) => {
|
|
|
12800
12800
|
|
|
12801
12801
|
// src/services/project-artifacts.ts
|
|
12802
12802
|
async function ensureProjectArtifacts(args) {
|
|
12803
|
-
const { addProjectArtifactsToSolutionAsync } = await import("./index-
|
|
12803
|
+
const { addProjectArtifactsToSolutionAsync } = await import("./index-w1x0tqwq.js");
|
|
12804
12804
|
return addProjectArtifactsToSolutionAsync(args);
|
|
12805
12805
|
}
|
|
12806
12806
|
|
|
@@ -33293,7 +33293,7 @@ var package_default3 = {
|
|
|
33293
33293
|
name: "@uipath/integrationservice-sdk",
|
|
33294
33294
|
author: "UiPath",
|
|
33295
33295
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
33296
|
-
version: "1.203.0-preview.
|
|
33296
|
+
version: "1.203.0-preview.237",
|
|
33297
33297
|
repository: {
|
|
33298
33298
|
type: "git",
|
|
33299
33299
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -43472,4 +43472,4 @@ var registerCommands = async (program) => {
|
|
|
43472
43472
|
|
|
43473
43473
|
export { metadata, registerCommands };
|
|
43474
43474
|
|
|
43475
|
-
//# debugId=
|
|
43475
|
+
//# debugId=7D1775D517B2630E64756E2164756E21
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
summarizePlatformBody,
|
|
16
16
|
updateSolutionFile,
|
|
17
17
|
updateUipxSolutionId
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-yjycd7ae.js";
|
|
19
19
|
import {
|
|
20
20
|
zipSync
|
|
21
21
|
} from "./packager-tool-b098y4a2.js";
|
|
@@ -481,7 +481,7 @@ var package_default = {
|
|
|
481
481
|
name: "@uipath/solution-sdk",
|
|
482
482
|
author: "UiPath",
|
|
483
483
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
484
|
-
version: "1.203.0-preview.
|
|
484
|
+
version: "1.203.0-preview.237",
|
|
485
485
|
repository: {
|
|
486
486
|
type: "git",
|
|
487
487
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -1748,4 +1748,4 @@ function parseOutput(outputArguments) {
|
|
|
1748
1748
|
|
|
1749
1749
|
export { StudioWebIncompatibleProjectError, isSolutionUploadHttpError, buildSolutionUploadFailureOutput, migrateLegacyToolGuardrailPolicies, AgentProjectService, resolveStudioWebConfig, AgentLocalWorkspaceEvalPreparer, AgentDebugCancelledError, AgentDebugService };
|
|
1750
1750
|
|
|
1751
|
-
//# debugId=
|
|
1751
|
+
//# debugId=315C02F87C7420F764756E2164756E21
|
|
@@ -6373,7 +6373,165 @@ class FilterImplicitLimitError extends Error {
|
|
|
6373
6373
|
this.instructions = "Pass --limit <n> to choose how many records the filter applies to. " + "To filter over all records, pass the command's maximum accepted --limit (see the option's description in --help).";
|
|
6374
6374
|
}
|
|
6375
6375
|
}
|
|
6376
|
-
function
|
|
6376
|
+
function countRecords(data) {
|
|
6377
|
+
if (Array.isArray(data))
|
|
6378
|
+
return data.length;
|
|
6379
|
+
return data == null ? 0 : 1;
|
|
6380
|
+
}
|
|
6381
|
+
function availableFields(data) {
|
|
6382
|
+
const records = Array.isArray(data) ? data : [data];
|
|
6383
|
+
const keys = new Set;
|
|
6384
|
+
for (const record of records) {
|
|
6385
|
+
if (record && typeof record === "object" && !Array.isArray(record)) {
|
|
6386
|
+
for (const key of Object.keys(record))
|
|
6387
|
+
keys.add(key);
|
|
6388
|
+
}
|
|
6389
|
+
}
|
|
6390
|
+
return [...keys];
|
|
6391
|
+
}
|
|
6392
|
+
function decodeQuotedIdentifier(whole, inner) {
|
|
6393
|
+
const [error, decoded] = catchError2(() => JSON.parse(whole));
|
|
6394
|
+
if (!error && typeof decoded === "string")
|
|
6395
|
+
return decoded;
|
|
6396
|
+
return inner.replace(/\\(.)/g, "$1");
|
|
6397
|
+
}
|
|
6398
|
+
function referencedFields(filter) {
|
|
6399
|
+
const top = new Set;
|
|
6400
|
+
const nested = new Set;
|
|
6401
|
+
const withoutValueLiterals = filter.replace(/'(?:\\.|[^'\\])*'/g, " ").replace(/`(?:\\.|[^`\\])*`/g, " ");
|
|
6402
|
+
const isPathTail = (text, index) => text[index - 1] === "." && /[A-Za-z0-9_"]/.test(text[index - 2] ?? "");
|
|
6403
|
+
const quoted = [];
|
|
6404
|
+
const withoutLiterals = withoutValueLiterals.replace(/"((?:\\.|[^"\\])*)"/g, (whole, name, index) => {
|
|
6405
|
+
const isAlias = /^\s*:/.test(withoutValueLiterals.slice(index + whole.length));
|
|
6406
|
+
if (!isAlias) {
|
|
6407
|
+
quoted.push({
|
|
6408
|
+
name: decodeQuotedIdentifier(whole, name),
|
|
6409
|
+
index,
|
|
6410
|
+
tail: isPathTail(withoutValueLiterals, index)
|
|
6411
|
+
});
|
|
6412
|
+
}
|
|
6413
|
+
return `"${" ".repeat(whole.length - 2)}"`;
|
|
6414
|
+
});
|
|
6415
|
+
const descent = /[A-Za-z0-9_"]\s*[.[]/.exec(withoutLiterals);
|
|
6416
|
+
const rootEnd = descent ? descent.index + 1 : Number.POSITIVE_INFINITY;
|
|
6417
|
+
const place = (name, index, tail) => {
|
|
6418
|
+
if (tail || index >= rootEnd)
|
|
6419
|
+
nested.add(name);
|
|
6420
|
+
else
|
|
6421
|
+
top.add(name);
|
|
6422
|
+
};
|
|
6423
|
+
for (const entry of quoted)
|
|
6424
|
+
place(entry.name, entry.index, entry.tail);
|
|
6425
|
+
const identifiers = withoutLiterals.matchAll(/([A-Za-z_][A-Za-z0-9_]*)(\s*[:(])?/g);
|
|
6426
|
+
const reserved = new Set(["true", "false", "null", "and", "or", "not"]);
|
|
6427
|
+
for (const match of identifiers) {
|
|
6428
|
+
const [, name, trailing] = match;
|
|
6429
|
+
if (trailing || reserved.has(name))
|
|
6430
|
+
continue;
|
|
6431
|
+
place(name, match.index, isPathTail(withoutLiterals, match.index));
|
|
6432
|
+
}
|
|
6433
|
+
return {
|
|
6434
|
+
top: [...top],
|
|
6435
|
+
nested: [...nested].filter((name) => !top.has(name)),
|
|
6436
|
+
hasPredicate: /\[\s*\?/.test(withoutValueLiterals)
|
|
6437
|
+
};
|
|
6438
|
+
}
|
|
6439
|
+
function appearsBelowTopLevel(data, name) {
|
|
6440
|
+
let budget = 2000;
|
|
6441
|
+
const visit = (value, depth) => {
|
|
6442
|
+
if (budget-- <= 0 || depth > 4)
|
|
6443
|
+
return false;
|
|
6444
|
+
if (value === null || typeof value !== "object")
|
|
6445
|
+
return false;
|
|
6446
|
+
if (Array.isArray(value))
|
|
6447
|
+
return value.some((entry) => visit(entry, depth));
|
|
6448
|
+
const record = value;
|
|
6449
|
+
if (depth > 0 && Object.hasOwn(record, name))
|
|
6450
|
+
return true;
|
|
6451
|
+
return Object.values(record).some((entry) => visit(entry, depth + 1));
|
|
6452
|
+
};
|
|
6453
|
+
return visit(data, 0);
|
|
6454
|
+
}
|
|
6455
|
+
function alwaysNullKeys(records) {
|
|
6456
|
+
const objects = records.filter((r) => r != null && typeof r === "object" && !Array.isArray(r));
|
|
6457
|
+
if (objects.length === 0 || objects.length !== records.length)
|
|
6458
|
+
return [];
|
|
6459
|
+
const keys = [...new Set(objects.flatMap((o) => Object.keys(o)))];
|
|
6460
|
+
if (keys.length === 0)
|
|
6461
|
+
return [];
|
|
6462
|
+
const nullKeys = keys.filter((key) => objects.every((record) => record[key] === null));
|
|
6463
|
+
return nullKeys.length === keys.length ? nullKeys : [];
|
|
6464
|
+
}
|
|
6465
|
+
function carriesOnlyNulls(value) {
|
|
6466
|
+
if (value === null)
|
|
6467
|
+
return true;
|
|
6468
|
+
if (Array.isArray(value)) {
|
|
6469
|
+
return value.length > 0 && value.every(carriesOnlyNulls);
|
|
6470
|
+
}
|
|
6471
|
+
if (typeof value === "object" && value !== undefined) {
|
|
6472
|
+
const values = Object.values(value);
|
|
6473
|
+
return values.length > 0 && values.every(carriesOnlyNulls);
|
|
6474
|
+
}
|
|
6475
|
+
return false;
|
|
6476
|
+
}
|
|
6477
|
+
function nameList(names, cap2 = 12) {
|
|
6478
|
+
const shown = names.slice(0, cap2).map((n) => `\`${n}\``);
|
|
6479
|
+
const rest = names.length - shown.length;
|
|
6480
|
+
return shown.join(", ") + (rest > 0 ? `, and ${rest} more` : "");
|
|
6481
|
+
}
|
|
6482
|
+
function buildFilterWarning(filter, data, outcome) {
|
|
6483
|
+
const present = availableFields(data);
|
|
6484
|
+
const refs = referencedFields(filter);
|
|
6485
|
+
const unknown = refs.top.filter((name) => !present.includes(name) && !appearsBelowTopLevel(data, name));
|
|
6486
|
+
const unchecked = refs.nested.filter((name) => !present.includes(name));
|
|
6487
|
+
const count = countRecords(data);
|
|
6488
|
+
const scope = `${count} record(s)`;
|
|
6489
|
+
const isNotAField = (names) => `${nameList(names)} ${names.length === 1 ? "is not a field" : "are not fields"} on the ${scope} it read`;
|
|
6490
|
+
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" : "";
|
|
6491
|
+
const withSoundness = (base) => soundness ? `${base}, and ${soundness}` : base;
|
|
6492
|
+
let detail;
|
|
6493
|
+
let lede;
|
|
6494
|
+
if (outcome.kind === "null-elements") {
|
|
6495
|
+
lede = "returned only null values";
|
|
6496
|
+
const projected = `all ${outcome.count} of the elements it projected are null`;
|
|
6497
|
+
if (unknown.length > 0) {
|
|
6498
|
+
detail = `${projected}, because ${isNotAField(unknown)}`;
|
|
6499
|
+
} else if (unchecked.length > 0) {
|
|
6500
|
+
detail = withSoundness(projected);
|
|
6501
|
+
} else {
|
|
6502
|
+
detail = `${projected}, and every field it names exists — a multi-select list ` + `(\`[A, B]\`) reads each entry against \`Data\` itself, so on a list ` + `result use \`[].[A, B]\` or \`[].{a: A, b: B}\` to read the records`;
|
|
6503
|
+
}
|
|
6504
|
+
} else if (outcome.kind === "null-rows") {
|
|
6505
|
+
lede = "returned only null values";
|
|
6506
|
+
const projected = `every value it projected is null on all ${outcome.count} row(s)`;
|
|
6507
|
+
detail = unknown.length > 0 ? `${projected}, because ${isNotAField(unknown)}` : withSoundness(projected);
|
|
6508
|
+
} else if (outcome.kind === "null-values") {
|
|
6509
|
+
lede = "returned only null values";
|
|
6510
|
+
const projected = `every key it projected (${nameList(outcome.keys)}) is null`;
|
|
6511
|
+
const sameSet = unknown.length === outcome.keys.length && outcome.keys.every((k) => unknown.includes(k));
|
|
6512
|
+
if (sameSet) {
|
|
6513
|
+
detail = `${isNotAField(outcome.keys)}, so every key it projected is null`;
|
|
6514
|
+
} else if (unknown.length > 0) {
|
|
6515
|
+
detail = `${projected}, because ${isNotAField(unknown)}`;
|
|
6516
|
+
} else {
|
|
6517
|
+
detail = withSoundness(`${projected} on all ${scope}`);
|
|
6518
|
+
}
|
|
6519
|
+
} else {
|
|
6520
|
+
lede = "returned nothing";
|
|
6521
|
+
if (unknown.length > 0) {
|
|
6522
|
+
detail = isNotAField(unknown);
|
|
6523
|
+
} else {
|
|
6524
|
+
const selection = refs.hasPredicate ? "no record matched" : "the expression resolved to no value";
|
|
6525
|
+
detail = withSoundness(`${selection} — it read ${scope}`);
|
|
6526
|
+
}
|
|
6527
|
+
}
|
|
6528
|
+
const fields = present.length > 0 ? ` Available fields: ${nameList(present)}.` : "";
|
|
6529
|
+
return `--output-filter ${JSON.stringify(filter)} ${lede}: ${detail}.${fields}`;
|
|
6530
|
+
}
|
|
6531
|
+
function appendWarning(existing, note) {
|
|
6532
|
+
return existing ? `${existing} ${note}` : note;
|
|
6533
|
+
}
|
|
6534
|
+
function applyFilter(data, filter, onWarning) {
|
|
6377
6535
|
const codec = requireJmespath();
|
|
6378
6536
|
let result;
|
|
6379
6537
|
try {
|
|
@@ -6381,9 +6539,34 @@ function applyFilter(data, filter) {
|
|
|
6381
6539
|
} catch (err) {
|
|
6382
6540
|
throw new FilterEvaluationError(filter, err);
|
|
6383
6541
|
}
|
|
6384
|
-
|
|
6542
|
+
const inputCount = countRecords(data);
|
|
6543
|
+
const warn = (outcome) => {
|
|
6544
|
+
if (inputCount === 0)
|
|
6545
|
+
return;
|
|
6546
|
+
const note = buildFilterWarning(filter, data, outcome);
|
|
6547
|
+
getOutputSink().writeErr(`[WARN] ${note}
|
|
6548
|
+
`);
|
|
6549
|
+
onWarning?.(note);
|
|
6550
|
+
};
|
|
6551
|
+
const warnIfAllNull = (records) => {
|
|
6552
|
+
const keys = alwaysNullKeys(records);
|
|
6553
|
+
if (keys.length > 0)
|
|
6554
|
+
warn({ kind: "null-values", keys });
|
|
6555
|
+
};
|
|
6556
|
+
if (result == null) {
|
|
6557
|
+
warn({ kind: "empty" });
|
|
6385
6558
|
return [];
|
|
6559
|
+
}
|
|
6386
6560
|
if (Array.isArray(result)) {
|
|
6561
|
+
if (result.length === 0) {
|
|
6562
|
+
warn({ kind: "empty" });
|
|
6563
|
+
} else if (result.every((entry) => entry === null)) {
|
|
6564
|
+
warn({ kind: "null-elements", count: result.length });
|
|
6565
|
+
} else if (result.every((entry) => Array.isArray(entry)) && carriesOnlyNulls(result)) {
|
|
6566
|
+
warn({ kind: "null-rows", count: result.length });
|
|
6567
|
+
} else {
|
|
6568
|
+
warnIfAllNull(result);
|
|
6569
|
+
}
|
|
6387
6570
|
if (result.length > 0 && typeof result[0] !== "object") {
|
|
6388
6571
|
const fieldMatch = filter.match(/\.(\w+)$/);
|
|
6389
6572
|
const key = fieldMatch ? fieldMatch[1] : "Value";
|
|
@@ -6391,10 +6574,30 @@ function applyFilter(data, filter) {
|
|
|
6391
6574
|
}
|
|
6392
6575
|
return result;
|
|
6393
6576
|
}
|
|
6394
|
-
if (typeof result === "object")
|
|
6577
|
+
if (typeof result === "object") {
|
|
6578
|
+
warnIfAllNull([result]);
|
|
6395
6579
|
return result;
|
|
6580
|
+
}
|
|
6396
6581
|
return { Value: result };
|
|
6397
6582
|
}
|
|
6583
|
+
function filterFailureData(envelope) {
|
|
6584
|
+
const filter = getOutputFilter();
|
|
6585
|
+
const data = envelope.Data;
|
|
6586
|
+
if (!filter || data == null)
|
|
6587
|
+
return;
|
|
6588
|
+
let note;
|
|
6589
|
+
const [filterError, filtered] = catchError2(() => applyFilter(data, filter, (n) => {
|
|
6590
|
+
note = n;
|
|
6591
|
+
}));
|
|
6592
|
+
if (filterError) {
|
|
6593
|
+
envelope.Warning = appendWarning(envelope.Warning, `--output-filter was not applied, so Data is shown in full: ${filterError.message}`);
|
|
6594
|
+
return;
|
|
6595
|
+
}
|
|
6596
|
+
envelope.Data = filtered;
|
|
6597
|
+
if (note) {
|
|
6598
|
+
envelope.Warning = appendWarning(envelope.Warning, note);
|
|
6599
|
+
}
|
|
6600
|
+
}
|
|
6398
6601
|
function defaultErrorCodeForResult(result) {
|
|
6399
6602
|
switch (result) {
|
|
6400
6603
|
case RESULTS.AuthenticationError:
|
|
@@ -6477,8 +6680,14 @@ var OutputFormatter;
|
|
|
6477
6680
|
}
|
|
6478
6681
|
const filter = getOutputFilter();
|
|
6479
6682
|
if (filter) {
|
|
6480
|
-
|
|
6683
|
+
let note;
|
|
6684
|
+
const filtered = applyFilter(data.Data, filter, (n) => {
|
|
6685
|
+
note = n;
|
|
6686
|
+
});
|
|
6481
6687
|
data.Data = normalize ? normalizeDataKeys(filtered, verbatim, subtrees && { refs: subtrees.refs, mode: "skip" }) : filtered;
|
|
6688
|
+
if (note) {
|
|
6689
|
+
data.Warning = appendWarning(data.Warning, note);
|
|
6690
|
+
}
|
|
6482
6691
|
}
|
|
6483
6692
|
logOutput(normalizeOutputKeys(data), getOutputFormat(), options?.tableRowStyle);
|
|
6484
6693
|
}
|
|
@@ -6506,6 +6715,7 @@ var OutputFormatter;
|
|
|
6506
6715
|
delete envelope.TelemetryErrorClass;
|
|
6507
6716
|
delete envelope.TelemetryTerminalOutcome;
|
|
6508
6717
|
delete envelope.TelemetryTerminalSignal;
|
|
6718
|
+
filterFailureData(envelope);
|
|
6509
6719
|
if (!suppressTelemetry) {
|
|
6510
6720
|
telemetry.trackEvent(CommonTelemetryEvents.Error, {
|
|
6511
6721
|
result: data.Result,
|
|
@@ -6554,13 +6764,20 @@ var OutputFormatter;
|
|
|
6554
6764
|
OutputFormatter.log = log;
|
|
6555
6765
|
function formatToString(data) {
|
|
6556
6766
|
const filter = getOutputFilter();
|
|
6767
|
+
const envelope = data;
|
|
6557
6768
|
if ("Data" in data && data.Data != null) {
|
|
6558
6769
|
data.Data = normalizeDataKeys(data.Data);
|
|
6559
6770
|
if (filter) {
|
|
6560
|
-
|
|
6771
|
+
let note;
|
|
6772
|
+
data.Data = normalizeDataKeys(applyFilter(data.Data, filter, (n) => {
|
|
6773
|
+
note = n;
|
|
6774
|
+
}));
|
|
6775
|
+
if (note) {
|
|
6776
|
+
envelope.Warning = appendWarning(envelope.Warning, note);
|
|
6777
|
+
}
|
|
6561
6778
|
}
|
|
6562
6779
|
}
|
|
6563
|
-
const output = normalizeOutputKeys(
|
|
6780
|
+
const output = normalizeOutputKeys(envelope);
|
|
6564
6781
|
const lines = [];
|
|
6565
6782
|
const sink = getOutputSink();
|
|
6566
6783
|
printOutput(output, getOutputFormat(), (msg) => {
|
|
@@ -10016,4 +10233,4 @@ async function createApiClient(ApiClass, options) {
|
|
|
10016
10233
|
}
|
|
10017
10234
|
export { getFileSystem, getLoginStatusAsync, getAuthContext, catchError2 as catchError, extractErrorMessage, extractErrorMessageSync, logger, RESULTS, OutputFormatter, summarizePlatformBody, Command, processContext, isGuid, parseBoundedInt, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, normalizeProjectType, toPortableRelativePath, readUipxFile, prepareProjectLocation, updateUipxSolutionId, findSolutionFile, updateSolutionFile, tryRegisterProjectInParentSolution, findSolutionFileUpward, PersonalWorkspacesApi, UsersApi, createApiClient };
|
|
10018
10235
|
|
|
10019
|
-
//# debugId=
|
|
10236
|
+
//# debugId=81AFD759AB3124D364756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata,
|
|
3
3
|
registerCommands
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-22wtmyxf.js";
|
|
5
5
|
import"./packager-tool-4mna26cc.js";
|
|
6
6
|
import"./packager-tool-c23zrhj8.js";
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
7
|
+
import"./packager-tool-26dhvtpm.js";
|
|
8
|
+
import"./packager-tool-yjycd7ae.js";
|
|
9
9
|
import"./packager-tool-mc1499dc.js";
|
|
10
10
|
import"./packager-tool-b098y4a2.js";
|
|
11
11
|
import"./packager-tool-1yh8g550.js";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/agent-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.203.0-preview.
|
|
5
|
+
"version": "1.203.0-preview.237",
|
|
6
6
|
"description": "cli plugin for creating and managing UiPath low-code agents",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "4ad3e17a66f2c7fb7fe1f0e3e04a5b6175a0a9a3"
|
|
33
33
|
}
|