@uipath/cli 1.204.0-preview.270 → 1.204.0-preview.272
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 +6 -6
- package/dist/{cli-n0tw9bjh.js → cli-n870rzqd.js} +3 -3
- package/dist/{index-hrt7fpkk.js → index-4cq44eth.js} +7159 -2017
- package/dist/{index-q6vkdr1w.js → index-925304r7.js} +1 -1
- package/dist/{index-j5t1gvr1.js → index-dacf65ye.js} +3 -3
- package/dist/{index-0tgdhmfy.js → index-tq33w2w4.js} +3 -3
- package/dist/{index-7kfg2zz1.js → index-yb4er9vd.js} +6650 -3463
- package/dist/index.js +4 -4
- package/dist/{mcp-v3fca4s4.js → mcp-jssaz3wr.js} +157 -64
- package/dist/{server-m4q03ez3.js → server-0c21a7zf.js} +4 -4
- package/dist/{stdio-can24fzp.js → stdio-tmngemcz.js} +2 -2
- package/dist/{updateService-q03cdnd2.js → updateService-tmg4k07p.js} +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runNode
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-tq33w2w4.js";
|
|
5
5
|
import {
|
|
6
6
|
registerRobotClientLoader
|
|
7
7
|
} from "./index-zwnedwxc.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-dacf65ye.js";
|
|
9
9
|
import {
|
|
10
10
|
TELEMETRY_DRAIN_ARGV,
|
|
11
11
|
configureLogger,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
setTelemetrySidecarEntry
|
|
21
21
|
} from "./index-trd07rnv.js";
|
|
22
22
|
import"./index-g8ck9tv6.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-4cq44eth.js";
|
|
24
24
|
import"./index-d3w0wn6k.js";
|
|
25
25
|
import"./index-0gctz400.js";
|
|
26
26
|
import"./index-qa9gftnj.js";
|
|
@@ -96,7 +96,7 @@ function isModuleNotFound(e) {
|
|
|
96
96
|
async function setUpIntegratedProxyAuth() {
|
|
97
97
|
let undici;
|
|
98
98
|
try {
|
|
99
|
-
undici = await import("./index-
|
|
99
|
+
undici = await import("./index-yb4er9vd.js");
|
|
100
100
|
} catch (e) {
|
|
101
101
|
if (isModuleNotFound(e)) {
|
|
102
102
|
undici = undefined;
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
isJSONRPCRequest,
|
|
42
42
|
isJSONRPCResultResponse,
|
|
43
43
|
isTaskAugmentedRequestParams
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-925304r7.js";
|
|
45
45
|
import"./index-g8ck9tv6.js";
|
|
46
46
|
import {
|
|
47
47
|
$ZodObject,
|
|
@@ -49,14 +49,15 @@ import {
|
|
|
49
49
|
$constructor,
|
|
50
50
|
ZodOptional,
|
|
51
51
|
clone,
|
|
52
|
-
|
|
52
|
+
installLazyProp,
|
|
53
53
|
normalizeParams,
|
|
54
|
+
own,
|
|
54
55
|
parse,
|
|
55
56
|
parseAsync,
|
|
56
57
|
safeParse,
|
|
57
58
|
safeParseAsync,
|
|
58
59
|
toJSONSchema
|
|
59
|
-
} from "./index-
|
|
60
|
+
} from "./index-4cq44eth.js";
|
|
60
61
|
import {
|
|
61
62
|
__commonJS,
|
|
62
63
|
__toESM
|
|
@@ -1848,8 +1849,8 @@ var require_keyword = __commonJS(function(exports) {
|
|
|
1848
1849
|
var _a;
|
|
1849
1850
|
const { gen, keyword, schema, parentSchema, $data, it } = cxt;
|
|
1850
1851
|
checkAsyncKeyword(it, def);
|
|
1851
|
-
const
|
|
1852
|
-
const validateRef = useKeyword(gen, keyword,
|
|
1852
|
+
const validate2 = !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate;
|
|
1853
|
+
const validateRef = useKeyword(gen, keyword, validate2);
|
|
1853
1854
|
const valid = gen.let("valid");
|
|
1854
1855
|
cxt.block$data(valid, validateKeyword);
|
|
1855
1856
|
cxt.ok((_a = def.valid) !== null && _a !== undefined ? _a : valid);
|
|
@@ -1860,13 +1861,13 @@ var require_keyword = __commonJS(function(exports) {
|
|
|
1860
1861
|
modifyData(cxt);
|
|
1861
1862
|
reportErrs(() => cxt.error());
|
|
1862
1863
|
} else {
|
|
1863
|
-
const ruleErrs = def.async ?
|
|
1864
|
+
const ruleErrs = def.async ? validateAsync2() : validateSync();
|
|
1864
1865
|
if (def.modifying)
|
|
1865
1866
|
modifyData(cxt);
|
|
1866
1867
|
reportErrs(() => addErrs(cxt, ruleErrs));
|
|
1867
1868
|
}
|
|
1868
1869
|
}
|
|
1869
|
-
function
|
|
1870
|
+
function validateAsync2() {
|
|
1870
1871
|
const ruleErrs = gen.let("ruleErrs", null);
|
|
1871
1872
|
gen.try(() => assignValid((0, codegen_1._)`await `), (e) => gen.assign(valid, false).if((0, codegen_1._)`${e} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1._)`${e}.errors`), () => gen.throw(e)));
|
|
1872
1873
|
return ruleErrs;
|
|
@@ -2908,28 +2909,28 @@ var require_compile = __commonJS(function(exports) {
|
|
|
2908
2909
|
if (this.opts.code.process)
|
|
2909
2910
|
sourceCode = this.opts.code.process(sourceCode, sch);
|
|
2910
2911
|
const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
|
|
2911
|
-
const
|
|
2912
|
-
this.scope.value(validateName, { ref:
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2912
|
+
const validate2 = makeValidate(this, this.scope.get());
|
|
2913
|
+
this.scope.value(validateName, { ref: validate2 });
|
|
2914
|
+
validate2.errors = null;
|
|
2915
|
+
validate2.schema = sch.schema;
|
|
2916
|
+
validate2.schemaEnv = sch;
|
|
2916
2917
|
if (sch.$async)
|
|
2917
|
-
|
|
2918
|
+
validate2.$async = true;
|
|
2918
2919
|
if (this.opts.code.source === true) {
|
|
2919
|
-
|
|
2920
|
+
validate2.source = { validateName, validateCode, scopeValues: gen._values };
|
|
2920
2921
|
}
|
|
2921
2922
|
if (this.opts.unevaluated) {
|
|
2922
2923
|
const { props, items } = schemaCxt;
|
|
2923
|
-
|
|
2924
|
+
validate2.evaluated = {
|
|
2924
2925
|
props: props instanceof codegen_1.Name ? undefined : props,
|
|
2925
2926
|
items: items instanceof codegen_1.Name ? undefined : items,
|
|
2926
2927
|
dynamicProps: props instanceof codegen_1.Name,
|
|
2927
2928
|
dynamicItems: items instanceof codegen_1.Name
|
|
2928
2929
|
};
|
|
2929
|
-
if (
|
|
2930
|
-
|
|
2930
|
+
if (validate2.source)
|
|
2931
|
+
validate2.source.evaluated = (0, codegen_1.stringify)(validate2.evaluated);
|
|
2931
2932
|
}
|
|
2932
|
-
sch.validate =
|
|
2933
|
+
sch.validate = validate2;
|
|
2933
2934
|
return sch;
|
|
2934
2935
|
} catch (e) {
|
|
2935
2936
|
delete sch.validate;
|
|
@@ -3314,6 +3315,37 @@ var require_utils = __commonJS(function(exports, module) {
|
|
|
3314
3315
|
}
|
|
3315
3316
|
return output.join("");
|
|
3316
3317
|
}
|
|
3318
|
+
function removeDotSegmentsRelative(path) {
|
|
3319
|
+
if (path === "" || path[0] === "/") {
|
|
3320
|
+
return removeDotSegments(path);
|
|
3321
|
+
}
|
|
3322
|
+
const segments = path.split("/");
|
|
3323
|
+
const last = segments.length - 1;
|
|
3324
|
+
const output = [];
|
|
3325
|
+
let trailingDirectory = false;
|
|
3326
|
+
for (let i = 0;i <= last; i++) {
|
|
3327
|
+
const segment = segments[i];
|
|
3328
|
+
if (segment === "." || segment === "..") {
|
|
3329
|
+
if (segment === "..") {
|
|
3330
|
+
if (output.length !== 0 && output[output.length - 1] !== "..") {
|
|
3331
|
+
output.pop();
|
|
3332
|
+
} else {
|
|
3333
|
+
output.push("..");
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
trailingDirectory = i === last;
|
|
3337
|
+
} else {
|
|
3338
|
+
output.push(segment);
|
|
3339
|
+
}
|
|
3340
|
+
}
|
|
3341
|
+
if (trailingDirectory && output[output.length - 1] !== "..") {
|
|
3342
|
+
output.push("");
|
|
3343
|
+
}
|
|
3344
|
+
if (output.length === 0 || output[0] === "" || output[0].includes(":")) {
|
|
3345
|
+
output.unshift(".");
|
|
3346
|
+
}
|
|
3347
|
+
return output.join("/");
|
|
3348
|
+
}
|
|
3317
3349
|
var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
|
|
3318
3350
|
var HOST_DELIM_RE = /[@/?#:]/g;
|
|
3319
3351
|
var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
|
|
@@ -3574,6 +3606,7 @@ var require_utils = __commonJS(function(exports, module) {
|
|
|
3574
3606
|
encodeFragment,
|
|
3575
3607
|
escapePreservingEscapes,
|
|
3576
3608
|
removeDotSegments,
|
|
3609
|
+
removeDotSegmentsRelative,
|
|
3577
3610
|
isIPv4,
|
|
3578
3611
|
isUUID,
|
|
3579
3612
|
normalizeIPv6,
|
|
@@ -3758,16 +3791,18 @@ var require_schemes = __commonJS(function(exports, module) {
|
|
|
3758
3791
|
|
|
3759
3792
|
// ../../node_modules/fast-uri/index.js
|
|
3760
3793
|
var require_fast_uri = __commonJS(function(exports, module) {
|
|
3761
|
-
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3794
|
+
var { normalizeIPv6, removeDotSegments, removeDotSegmentsRelative, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3762
3795
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
3763
3796
|
var VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
|
|
3764
3797
|
var MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3798
|
+
var MALFORMED_HOST_ERROR = "URI host is malformed.";
|
|
3799
|
+
var FORBIDDEN_DOMAIN_HOST_CHARACTER = /[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;
|
|
3800
|
+
function validateScheme(scheme) {
|
|
3801
|
+
const stringScheme = String(scheme);
|
|
3802
|
+
if (!VALID_SCHEME.test(stringScheme)) {
|
|
3768
3803
|
throw new TypeError(MALFORMED_SCHEME_ERROR);
|
|
3769
3804
|
}
|
|
3770
|
-
return
|
|
3805
|
+
return stringScheme;
|
|
3771
3806
|
}
|
|
3772
3807
|
function normalize(uri, options) {
|
|
3773
3808
|
if (typeof uri === "string") {
|
|
@@ -3802,6 +3837,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
3802
3837
|
const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
|
|
3803
3838
|
const resolvedHost = resolved.host;
|
|
3804
3839
|
const resolvedHostIsIP = resolvedHost !== undefined && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
|
|
3840
|
+
if (hasForbiddenDomainHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP)) {
|
|
3841
|
+
throw new Error(MALFORMED_HOST_ERROR);
|
|
3842
|
+
}
|
|
3805
3843
|
canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
|
|
3806
3844
|
const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !/\P{ASCII}/u.test(resolvedHost);
|
|
3807
3845
|
if (resolved.error && !encodedASCIIHost) {
|
|
@@ -3843,14 +3881,15 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
3843
3881
|
if (relative.path[0] === "/") {
|
|
3844
3882
|
target.path = removeDotSegments(relative.path);
|
|
3845
3883
|
} else {
|
|
3846
|
-
|
|
3884
|
+
const baseHasAuthority = base.userinfo !== undefined || base.host !== undefined || base.port !== undefined;
|
|
3885
|
+
if (baseHasAuthority && !base.path) {
|
|
3847
3886
|
target.path = "/" + relative.path;
|
|
3848
3887
|
} else if (!base.path) {
|
|
3849
3888
|
target.path = relative.path;
|
|
3850
3889
|
} else {
|
|
3851
3890
|
target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
|
|
3852
3891
|
}
|
|
3853
|
-
target.path = removeDotSegments(target.path);
|
|
3892
|
+
target.path = base.scheme === undefined && !baseHasAuthority && target.path[0] !== "/" ? removeDotSegmentsRelative(target.path) : removeDotSegments(target.path);
|
|
3854
3893
|
}
|
|
3855
3894
|
target.query = relative.query;
|
|
3856
3895
|
}
|
|
@@ -3888,13 +3927,14 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
3888
3927
|
const options = Object.assign({}, opts);
|
|
3889
3928
|
const uriTokens = [];
|
|
3890
3929
|
if (component.scheme) {
|
|
3891
|
-
component.scheme =
|
|
3930
|
+
component.scheme = validateScheme(component.scheme);
|
|
3892
3931
|
}
|
|
3893
3932
|
const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
|
|
3894
3933
|
if (schemeHandler && schemeHandler.serialize)
|
|
3895
3934
|
schemeHandler.serialize(component, options);
|
|
3896
3935
|
const hasAuthority = component.userinfo !== undefined || component.host !== undefined || component.port !== undefined;
|
|
3897
|
-
const
|
|
3936
|
+
const schemelessReference = (component.scheme === undefined || options.reference === "suffix") && !hasAuthority;
|
|
3937
|
+
const pathNoScheme = !options.skipEscape && schemelessReference;
|
|
3898
3938
|
if (component.path !== undefined) {
|
|
3899
3939
|
if (!options.skipEscape) {
|
|
3900
3940
|
component.path = serializePathEncoding(component.path, pathNoScheme);
|
|
@@ -3903,7 +3943,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
3903
3943
|
}
|
|
3904
3944
|
}
|
|
3905
3945
|
if (options.reference !== "suffix" && component.scheme) {
|
|
3906
|
-
component.scheme =
|
|
3946
|
+
component.scheme = validateScheme(component.scheme);
|
|
3907
3947
|
uriTokens.push(component.scheme, ":");
|
|
3908
3948
|
}
|
|
3909
3949
|
const authority = recomposeAuthority(component);
|
|
@@ -3919,9 +3959,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
3919
3959
|
if (component.path !== undefined) {
|
|
3920
3960
|
let s = component.path;
|
|
3921
3961
|
if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {
|
|
3922
|
-
s = removeDotSegments(s);
|
|
3962
|
+
s = schemelessReference && s[0] !== "/" ? removeDotSegmentsRelative(s) : removeDotSegments(s);
|
|
3923
3963
|
}
|
|
3924
|
-
if (
|
|
3964
|
+
if (schemelessReference) {
|
|
3925
3965
|
s = serializePathEncoding(s, true);
|
|
3926
3966
|
}
|
|
3927
3967
|
if (authority === undefined && s[0] === "/" && s[1] === "/") {
|
|
@@ -3969,16 +4009,32 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
3969
4009
|
return hasMalformedPercentEncoding(matches[3]) || host !== undefined && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
3970
4010
|
}
|
|
3971
4011
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
4012
|
+
if (hasForbiddenDomainHost(parsed, options, schemeHandler, isIP)) {
|
|
4013
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
4014
|
+
return true;
|
|
4015
|
+
}
|
|
3972
4016
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
4017
|
+
let url;
|
|
3973
4018
|
try {
|
|
3974
|
-
|
|
4019
|
+
url = new URL("http://" + parsed.host);
|
|
3975
4020
|
} catch (e) {
|
|
3976
4021
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
3977
4022
|
return true;
|
|
3978
4023
|
}
|
|
4024
|
+
if (!isHostOnlyURL(url)) {
|
|
4025
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
4026
|
+
return true;
|
|
4027
|
+
}
|
|
4028
|
+
parsed.host = url.hostname;
|
|
3979
4029
|
}
|
|
3980
4030
|
return false;
|
|
3981
4031
|
}
|
|
4032
|
+
function hasForbiddenDomainHost(parsed, options, schemeHandler, isIP) {
|
|
4033
|
+
return Boolean(parsed.host && isIP === false && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && FORBIDDEN_DOMAIN_HOST_CHARACTER.test(parsed.host));
|
|
4034
|
+
}
|
|
4035
|
+
function isHostOnlyURL(url) {
|
|
4036
|
+
return url.username === "" && url.password === "" && url.port === "" && url.pathname === "/" && url.search === "" && url.hash === "" && url.hostname !== "";
|
|
4037
|
+
}
|
|
3982
4038
|
function parseWithStatus(uri, opts) {
|
|
3983
4039
|
const options = Object.assign({}, opts);
|
|
3984
4040
|
const parsed = {
|
|
@@ -4033,9 +4089,8 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4033
4089
|
parsed.query = matches[7];
|
|
4034
4090
|
parsed.fragment = matches[8];
|
|
4035
4091
|
if (parsed.scheme !== undefined) {
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
parsed.scheme = decodedScheme.toLowerCase();
|
|
4092
|
+
if (VALID_SCHEME.test(parsed.scheme)) {
|
|
4093
|
+
parsed.scheme = parsed.scheme.toLowerCase();
|
|
4039
4094
|
} else {
|
|
4040
4095
|
parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
|
|
4041
4096
|
malformedScheme = true;
|
|
@@ -4063,7 +4118,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4063
4118
|
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
4064
4119
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
4065
4120
|
if (malformedIPLiteral) {
|
|
4066
|
-
parsed.error = parsed.error ||
|
|
4121
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
4067
4122
|
malformedAuthorityOrPort = true;
|
|
4068
4123
|
}
|
|
4069
4124
|
} else {
|
|
@@ -4091,7 +4146,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4091
4146
|
if (!isIP) {
|
|
4092
4147
|
host = normalizePercentEncoding(host.toLowerCase());
|
|
4093
4148
|
}
|
|
4094
|
-
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
4149
|
+
parsed.host = isIP || options.scheme !== "null" ? reescapeHostDelimiters(host, isIP) : host;
|
|
4095
4150
|
}
|
|
4096
4151
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
4097
4152
|
if (parsed.path) {
|
|
@@ -6668,8 +6723,8 @@ var require_ajv = __commonJS(function(exports, module) {
|
|
|
6668
6723
|
var require_formats = __commonJS(function(exports) {
|
|
6669
6724
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6670
6725
|
exports.formatNames = exports.fastFormats = exports.fullFormats = undefined;
|
|
6671
|
-
function fmtDef(
|
|
6672
|
-
return { validate, compare };
|
|
6726
|
+
function fmtDef(validate2, compare) {
|
|
6727
|
+
return { validate: validate2, compare };
|
|
6673
6728
|
}
|
|
6674
6729
|
exports.fullFormats = {
|
|
6675
6730
|
date: fmtDef(date2, compareDate),
|
|
@@ -7142,13 +7197,28 @@ class ZodError extends Error {
|
|
|
7142
7197
|
while (i < issue.path.length) {
|
|
7143
7198
|
const el = issue.path[i];
|
|
7144
7199
|
const terminal = i === issue.path.length - 1;
|
|
7145
|
-
if (
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7200
|
+
if (el === "_errors") {
|
|
7201
|
+
if (terminal)
|
|
7202
|
+
curr._errors.push(mapper(issue));
|
|
7203
|
+
i++;
|
|
7204
|
+
continue;
|
|
7205
|
+
}
|
|
7206
|
+
if (!Object.prototype.hasOwnProperty.call(curr, el)) {
|
|
7207
|
+
if (el === "__proto__") {
|
|
7208
|
+
Object.defineProperty(curr, el, {
|
|
7209
|
+
value: { _errors: [] },
|
|
7210
|
+
writable: true,
|
|
7211
|
+
enumerable: true,
|
|
7212
|
+
configurable: true
|
|
7213
|
+
});
|
|
7214
|
+
} else {
|
|
7215
|
+
curr[el] = { _errors: [] };
|
|
7216
|
+
}
|
|
7150
7217
|
}
|
|
7151
7218
|
curr = curr[el];
|
|
7219
|
+
if (terminal) {
|
|
7220
|
+
curr._errors.push(mapper(issue));
|
|
7221
|
+
}
|
|
7152
7222
|
i++;
|
|
7153
7223
|
}
|
|
7154
7224
|
}
|
|
@@ -7770,7 +7840,7 @@ var nanoidRegex = /^[a-z0-9_-]{21}$/i;
|
|
|
7770
7840
|
var jwtRegex = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;
|
|
7771
7841
|
var durationRegex = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;
|
|
7772
7842
|
var emailRegex = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;
|
|
7773
|
-
var _emojiRegex = `^
|
|
7843
|
+
var _emojiRegex = `^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;
|
|
7774
7844
|
var emojiRegex;
|
|
7775
7845
|
var ipv4Regex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
|
|
7776
7846
|
var ipv4CidrRegex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/;
|
|
@@ -9657,7 +9727,11 @@ function mergeValues(a, b) {
|
|
|
9657
9727
|
const bKeys = util.objectKeys(b);
|
|
9658
9728
|
const sharedKeys = util.objectKeys(a).filter((key) => bKeys.indexOf(key) !== -1);
|
|
9659
9729
|
const newObj = { ...a, ...b };
|
|
9730
|
+
if (Object.prototype.hasOwnProperty.call(newObj, "__proto__"))
|
|
9731
|
+
delete newObj.__proto__;
|
|
9660
9732
|
for (const key of sharedKeys) {
|
|
9733
|
+
if (key === "__proto__")
|
|
9734
|
+
continue;
|
|
9661
9735
|
const sharedValue = mergeValues(a[key], b[key]);
|
|
9662
9736
|
if (!sharedValue.valid) {
|
|
9663
9737
|
return { valid: false };
|
|
@@ -10766,34 +10840,53 @@ var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
|
10766
10840
|
$ZodType.init(inst, def);
|
|
10767
10841
|
inst.def = def;
|
|
10768
10842
|
inst.type = def.type;
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10843
|
+
}, {
|
|
10844
|
+
get with() {
|
|
10845
|
+
return this.check;
|
|
10846
|
+
},
|
|
10847
|
+
set with(value) {
|
|
10848
|
+
own(this, "with", value);
|
|
10849
|
+
},
|
|
10850
|
+
parse(data, params) {
|
|
10851
|
+
return parse(this, data, params, { callee: this.parse });
|
|
10852
|
+
},
|
|
10853
|
+
parseAsync(data, params) {
|
|
10854
|
+
return parseAsync(this, data, params, { callee: this.parseAsync });
|
|
10855
|
+
},
|
|
10856
|
+
safeParse(data, params) {
|
|
10857
|
+
return safeParse(this, data, params);
|
|
10858
|
+
},
|
|
10859
|
+
safeParseAsync(data, params) {
|
|
10860
|
+
return safeParseAsync(this, data, params);
|
|
10861
|
+
},
|
|
10862
|
+
check(...checks) {
|
|
10863
|
+
const def = this.def;
|
|
10864
|
+
return this.clone({
|
|
10775
10865
|
...def,
|
|
10776
10866
|
checks: [
|
|
10777
10867
|
...def.checks ?? [],
|
|
10778
|
-
...checks.map((ch) => typeof ch === "function" ? {
|
|
10779
|
-
_zod: { check: ch, def: { check: "custom" }, onattach: [] }
|
|
10780
|
-
} : ch)
|
|
10868
|
+
...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
10781
10869
|
]
|
|
10782
10870
|
}, { parent: true });
|
|
10783
|
-
}
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10871
|
+
},
|
|
10872
|
+
clone(_def, params) {
|
|
10873
|
+
return clone(this, _def, params);
|
|
10874
|
+
},
|
|
10875
|
+
brand() {
|
|
10876
|
+
return this;
|
|
10877
|
+
},
|
|
10878
|
+
register(reg, meta2) {
|
|
10879
|
+
reg.add(this, meta2);
|
|
10880
|
+
return this;
|
|
10881
|
+
},
|
|
10882
|
+
apply(fn, ...args) {
|
|
10883
|
+
return args.length === 0 ? fn(this) : fn(this, ...args);
|
|
10884
|
+
}
|
|
10792
10885
|
});
|
|
10793
10886
|
var ZodMiniObject = /* @__PURE__ */ $constructor("ZodMiniObject", (inst, def) => {
|
|
10794
10887
|
$ZodObject.init(inst, def);
|
|
10795
10888
|
ZodMiniType.init(inst, def);
|
|
10796
|
-
|
|
10889
|
+
installLazyProp(inst, "shape", (self) => self._zod.def.shape, false);
|
|
10797
10890
|
});
|
|
10798
10891
|
function object(shape, params) {
|
|
10799
10892
|
const def = {
|
|
@@ -14679,4 +14772,4 @@ export {
|
|
|
14679
14772
|
ResourceTemplate
|
|
14680
14773
|
};
|
|
14681
14774
|
|
|
14682
|
-
//# debugId=
|
|
14775
|
+
//# debugId=296B458D03C888D464756E2164756E21
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import"./index-g8ck9tv6.js";
|
|
14
14
|
import {
|
|
15
15
|
exports_external
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-4cq44eth.js";
|
|
17
17
|
import"./index-0gctz400.js";
|
|
18
18
|
import"./index-qa9gftnj.js";
|
|
19
19
|
import"./index-xdxr3ync.js";
|
|
@@ -84,7 +84,7 @@ async function executeCommand(command) {
|
|
|
84
84
|
const previousSink = getOutputSink();
|
|
85
85
|
setGlobalSink(sink);
|
|
86
86
|
const [error] = await catchError(async () => {
|
|
87
|
-
const { run } = await import("./cli-
|
|
87
|
+
const { run } = await import("./cli-n870rzqd.js");
|
|
88
88
|
await runWithAuthProfile(undefined, () => runWithSink(sink, () => run(context)));
|
|
89
89
|
});
|
|
90
90
|
if (error) {
|
|
@@ -140,8 +140,8 @@ Pass the command without the 'uip' prefix. Example: "login status --output json"
|
|
|
140
140
|
|
|
141
141
|
// src/mcp/server.ts
|
|
142
142
|
async function startMcpServer(program) {
|
|
143
|
-
const { McpServer } = await import("./mcp-
|
|
144
|
-
const { StdioServerTransport } = await import("./stdio-
|
|
143
|
+
const { McpServer } = await import("./mcp-jssaz3wr.js");
|
|
144
|
+
const { StdioServerTransport } = await import("./stdio-tmngemcz.js");
|
|
145
145
|
const toolDescription = introspectCommands(program);
|
|
146
146
|
const server = new McpServer({
|
|
147
147
|
name: "uipath-cli",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JSONRPCMessageSchema
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
3
|
+
} from "./index-925304r7.js";
|
|
4
|
+
import"./index-4cq44eth.js";
|
|
5
5
|
import"./index-1yh8g550.js";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runUpdate
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-dacf65ye.js";
|
|
4
4
|
import"./index-trd07rnv.js";
|
|
5
5
|
import"./index-g8ck9tv6.js";
|
|
6
|
-
import"./index-
|
|
6
|
+
import"./index-4cq44eth.js";
|
|
7
7
|
import"./index-d3w0wn6k.js";
|
|
8
8
|
import"./index-xdxr3ync.js";
|
|
9
9
|
import"./index-1yh8g550.js";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/cli",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.204.0-preview.
|
|
5
|
+
"version": "1.204.0-preview.272",
|
|
6
6
|
"description": "Cross platform CLI for UiPath",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"kerberos": "7.0.0",
|
|
37
37
|
"node-expose-sspi": "0.1.60"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "7b088d669d83fd1316d3ee68135c131ca64a48a5"
|
|
40
40
|
}
|