@uipath/agent-tool 0.9.0 → 0.9.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/tool.js +303 -99
- package/package.json +9 -9
package/dist/tool.js
CHANGED
|
@@ -25968,7 +25968,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
25968
25968
|
if (S(n3))
|
|
25969
25969
|
return r3;
|
|
25970
25970
|
for (var i3 = function(e6) {
|
|
25971
|
-
var t5 =
|
|
25971
|
+
var t5 = T(e6, o2);
|
|
25972
25972
|
if (!k(t5))
|
|
25973
25973
|
throw new TypeError;
|
|
25974
25974
|
var r4 = t5.call(e6);
|
|
@@ -26031,7 +26031,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26031
26031
|
case 5:
|
|
26032
26032
|
return e5;
|
|
26033
26033
|
}
|
|
26034
|
-
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 =
|
|
26034
|
+
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
|
|
26035
26035
|
if (o3 !== undefined) {
|
|
26036
26036
|
var i3 = o3.call(e5, r3);
|
|
26037
26037
|
if (j(i3))
|
|
@@ -26068,10 +26068,10 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26068
26068
|
function k(e5) {
|
|
26069
26069
|
return typeof e5 == "function";
|
|
26070
26070
|
}
|
|
26071
|
-
function
|
|
26071
|
+
function C(e5) {
|
|
26072
26072
|
return typeof e5 == "function";
|
|
26073
26073
|
}
|
|
26074
|
-
function
|
|
26074
|
+
function T(e5, t4) {
|
|
26075
26075
|
var r3 = e5[t4];
|
|
26076
26076
|
if (r3 != null) {
|
|
26077
26077
|
if (!k(r3))
|
|
@@ -26106,13 +26106,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26106
26106
|
if (S(r3)) {
|
|
26107
26107
|
if (!M(e5))
|
|
26108
26108
|
throw new TypeError;
|
|
26109
|
-
if (!
|
|
26109
|
+
if (!C(t4))
|
|
26110
26110
|
throw new TypeError;
|
|
26111
26111
|
return function(e6, t5) {
|
|
26112
26112
|
for (var r4 = e6.length - 1;r4 >= 0; --r4) {
|
|
26113
26113
|
var n4 = (0, e6[r4])(t5);
|
|
26114
26114
|
if (!S(n4) && !P(n4)) {
|
|
26115
|
-
if (!
|
|
26115
|
+
if (!C(n4))
|
|
26116
26116
|
throw new TypeError;
|
|
26117
26117
|
t5 = n4;
|
|
26118
26118
|
}
|
|
@@ -26322,13 +26322,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26322
26322
|
Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
|
|
26323
26323
|
return k.EmptyError;
|
|
26324
26324
|
} });
|
|
26325
|
-
var
|
|
26325
|
+
var C = r(7628);
|
|
26326
26326
|
Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
|
|
26327
|
-
return
|
|
26327
|
+
return C.NotFoundError;
|
|
26328
26328
|
} });
|
|
26329
|
-
var
|
|
26329
|
+
var T = r(740);
|
|
26330
26330
|
Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
|
|
26331
|
-
return
|
|
26331
|
+
return T.ObjectUnsubscribedError;
|
|
26332
26332
|
} });
|
|
26333
26333
|
var A = r(6968);
|
|
26334
26334
|
Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
|
|
@@ -26538,13 +26538,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26538
26538
|
Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
|
|
26539
26539
|
return ke.debounceTime;
|
|
26540
26540
|
} });
|
|
26541
|
-
var
|
|
26541
|
+
var Ce = r(6204);
|
|
26542
26542
|
Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
|
|
26543
|
-
return
|
|
26543
|
+
return Ce.defaultIfEmpty;
|
|
26544
26544
|
} });
|
|
26545
|
-
var
|
|
26545
|
+
var Te = r(7752);
|
|
26546
26546
|
Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
|
|
26547
|
-
return
|
|
26547
|
+
return Te.delay;
|
|
26548
26548
|
} });
|
|
26549
26549
|
var Ae = r(7532);
|
|
26550
26550
|
Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
|
|
@@ -26754,13 +26754,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
26754
26754
|
Object.defineProperty(t2, "share", { enumerable: true, get: function() {
|
|
26755
26755
|
return kt.share;
|
|
26756
26756
|
} });
|
|
26757
|
-
var
|
|
26757
|
+
var Ct = r(4980);
|
|
26758
26758
|
Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
|
|
26759
|
-
return
|
|
26759
|
+
return Ct.shareReplay;
|
|
26760
26760
|
} });
|
|
26761
|
-
var
|
|
26761
|
+
var Tt = r(1400);
|
|
26762
26762
|
Object.defineProperty(t2, "single", { enumerable: true, get: function() {
|
|
26763
|
-
return
|
|
26763
|
+
return Tt.single;
|
|
26764
26764
|
} });
|
|
26765
26765
|
var At = r(7516);
|
|
26766
26766
|
Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
|
|
@@ -32460,12 +32460,24 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
32460
32460
|
static create() {
|
|
32461
32461
|
return new r;
|
|
32462
32462
|
}
|
|
32463
|
+
get(e3) {
|
|
32464
|
+
return this._map.get(e3);
|
|
32465
|
+
}
|
|
32463
32466
|
getOrCreateValue(e3, t3) {
|
|
32464
32467
|
if (this._map.has(e3))
|
|
32465
32468
|
return this._map.get(e3);
|
|
32466
32469
|
let r2 = t3(e3);
|
|
32467
32470
|
return this._map.set(e3, r2), r2;
|
|
32468
32471
|
}
|
|
32472
|
+
delete(e3) {
|
|
32473
|
+
return this._map.delete(e3);
|
|
32474
|
+
}
|
|
32475
|
+
values() {
|
|
32476
|
+
return this._map.values();
|
|
32477
|
+
}
|
|
32478
|
+
clear() {
|
|
32479
|
+
this._map.clear();
|
|
32480
|
+
}
|
|
32469
32481
|
}
|
|
32470
32482
|
t2.Dictionary = r;
|
|
32471
32483
|
}, 4444: function(e2, t2, r) {
|
|
@@ -33838,25 +33850,61 @@ Object name: '${e3}'.`), t3;
|
|
|
33838
33850
|
Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
|
|
33839
33851
|
}, 1816: (e2, t2) => {
|
|
33840
33852
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
33841
|
-
}, 5284: (e2, t2, r)
|
|
33853
|
+
}, 5284: function(e2, t2, r) {
|
|
33854
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
33855
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
33856
|
+
function s2(e4) {
|
|
33857
|
+
try {
|
|
33858
|
+
c2(n2.next(e4));
|
|
33859
|
+
} catch (e5) {
|
|
33860
|
+
i3(e5);
|
|
33861
|
+
}
|
|
33862
|
+
}
|
|
33863
|
+
function a2(e4) {
|
|
33864
|
+
try {
|
|
33865
|
+
c2(n2.throw(e4));
|
|
33866
|
+
} catch (e5) {
|
|
33867
|
+
i3(e5);
|
|
33868
|
+
}
|
|
33869
|
+
}
|
|
33870
|
+
function c2(e4) {
|
|
33871
|
+
var t4;
|
|
33872
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
33873
|
+
e5(t4);
|
|
33874
|
+
})).then(s2, a2);
|
|
33875
|
+
}
|
|
33876
|
+
c2((n2 = n2.apply(e3, t3 || [])).next());
|
|
33877
|
+
});
|
|
33878
|
+
};
|
|
33842
33879
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
|
|
33843
|
-
const
|
|
33880
|
+
const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
|
|
33844
33881
|
t2.IpcCoreBase = class {
|
|
33845
33882
|
constructor() {
|
|
33846
33883
|
this._db = new Map;
|
|
33847
33884
|
}
|
|
33848
33885
|
};
|
|
33849
33886
|
|
|
33850
|
-
class
|
|
33887
|
+
class u {
|
|
33851
33888
|
constructor(e3, t3, r2) {
|
|
33852
|
-
this.addressBuilder = e3, this.proxy = new
|
|
33889
|
+
this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
|
|
33853
33890
|
}
|
|
33854
33891
|
getAddress(e3) {
|
|
33855
33892
|
const t3 = new this.addressBuilder;
|
|
33856
33893
|
return e3(t3), t3.assertAddress();
|
|
33857
33894
|
}
|
|
33895
|
+
disposeChannel(e3) {
|
|
33896
|
+
return n(this, undefined, undefined, function* () {
|
|
33897
|
+
const t3 = this.getAddress(e3);
|
|
33898
|
+
yield this.wire.disposeChannel(t3.key);
|
|
33899
|
+
});
|
|
33900
|
+
}
|
|
33901
|
+
disposeAllChannels() {
|
|
33902
|
+
return n(this, undefined, undefined, function* () {
|
|
33903
|
+
yield this.wire.disposeAllChannels();
|
|
33904
|
+
});
|
|
33905
|
+
}
|
|
33858
33906
|
}
|
|
33859
|
-
t2.IpcBaseImpl =
|
|
33907
|
+
t2.IpcBaseImpl = u, function(e3) {
|
|
33860
33908
|
e3.ProxySource = class {
|
|
33861
33909
|
constructor(e4) {
|
|
33862
33910
|
this._serviceProvider = e4;
|
|
@@ -33872,7 +33920,7 @@ Object name: '${e3}'.`), t3;
|
|
|
33872
33920
|
this._serviceProvider = e4, this._address = t4;
|
|
33873
33921
|
}
|
|
33874
33922
|
withService(e4) {
|
|
33875
|
-
const t4 = new
|
|
33923
|
+
const t4 = new s.ProxyId(e4, this._address);
|
|
33876
33924
|
return this._serviceProvider.proxySource.resolve(t4);
|
|
33877
33925
|
}
|
|
33878
33926
|
}
|
|
@@ -33894,27 +33942,27 @@ Object name: '${e3}'.`), t3;
|
|
|
33894
33942
|
this._ipc = e4, this._address = t4;
|
|
33895
33943
|
}
|
|
33896
33944
|
setConnectHelper(e4) {
|
|
33897
|
-
(0,
|
|
33945
|
+
(0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
|
|
33898
33946
|
}
|
|
33899
33947
|
forAnyService() {
|
|
33900
|
-
return new
|
|
33948
|
+
return new n2(this._ipc, this._address);
|
|
33901
33949
|
}
|
|
33902
33950
|
forService(e4) {
|
|
33903
|
-
return new
|
|
33951
|
+
return new n2(this._ipc, this._address, e4);
|
|
33904
33952
|
}
|
|
33905
33953
|
}
|
|
33906
33954
|
e3.ConfigurationWithAddress = r2;
|
|
33907
33955
|
|
|
33908
|
-
class
|
|
33956
|
+
class n2 {
|
|
33909
33957
|
constructor(e4, t4, r3) {
|
|
33910
33958
|
this._ipc = e4, this._address = t4, this._service = r3;
|
|
33911
33959
|
}
|
|
33912
33960
|
setRequestTimeout(e4) {
|
|
33913
|
-
(0,
|
|
33961
|
+
(0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
|
|
33914
33962
|
}
|
|
33915
33963
|
}
|
|
33916
|
-
e3.ConfigurationWithAddressService =
|
|
33917
|
-
}(
|
|
33964
|
+
e3.ConfigurationWithAddressService = n2;
|
|
33965
|
+
}(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
|
|
33918
33966
|
}, 3552: (e2, t2) => {
|
|
33919
33967
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
|
|
33920
33968
|
constructor(e3, t3, r, n) {
|
|
@@ -33987,7 +34035,13 @@ Object name: '${e3}'.`), t3;
|
|
|
33987
34035
|
}
|
|
33988
34036
|
disposeAsync() {
|
|
33989
34037
|
return n(this, undefined, undefined, function* () {
|
|
33990
|
-
this._ctsLoop.cancel()
|
|
34038
|
+
this._ctsLoop.cancel();
|
|
34039
|
+
try {
|
|
34040
|
+
yield this._loop;
|
|
34041
|
+
} catch (e3) {
|
|
34042
|
+
e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
|
|
34043
|
+
}
|
|
34044
|
+
this._stream.dispose();
|
|
33991
34045
|
});
|
|
33992
34046
|
}
|
|
33993
34047
|
static toMessageTypeString(e3) {
|
|
@@ -34172,8 +34226,8 @@ ${e3.Data}`);
|
|
|
34172
34226
|
static create(e3, t3, r2, n2, o2, i3) {
|
|
34173
34227
|
return new a(e3, t3, r2, n2, o2, i3);
|
|
34174
34228
|
}
|
|
34175
|
-
constructor(e3, t3, r2, n2,
|
|
34176
|
-
this._observer =
|
|
34229
|
+
constructor(e3, t3, r2, n2, s2, c) {
|
|
34230
|
+
this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
|
|
34177
34231
|
constructor(e4) {
|
|
34178
34232
|
this._owner = e4;
|
|
34179
34233
|
}
|
|
@@ -34186,8 +34240,8 @@ ${e3.Data}`);
|
|
|
34186
34240
|
complete() {
|
|
34187
34241
|
this._owner.dispatchNetworkComplete();
|
|
34188
34242
|
}
|
|
34189
|
-
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(
|
|
34190
|
-
this.disposeAsync();
|
|
34243
|
+
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
|
|
34244
|
+
o.Trace.traceErrorNoThrow(this.disposeAsync());
|
|
34191
34245
|
});
|
|
34192
34246
|
}
|
|
34193
34247
|
disposeAsync() {
|
|
@@ -34426,6 +34480,12 @@ ${e3.Data}`);
|
|
|
34426
34480
|
complete() {}
|
|
34427
34481
|
}(this);
|
|
34428
34482
|
}
|
|
34483
|
+
disposeAsync() {
|
|
34484
|
+
return n(this, undefined, undefined, function* () {
|
|
34485
|
+
const e3 = this._latestChannel;
|
|
34486
|
+
this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
|
|
34487
|
+
});
|
|
34488
|
+
}
|
|
34429
34489
|
invokeMethod(e3, t3, r2) {
|
|
34430
34490
|
return n(this, undefined, undefined, function* () {
|
|
34431
34491
|
const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
|
|
@@ -34580,18 +34640,55 @@ ${e3.Data}`);
|
|
|
34580
34640
|
return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
|
|
34581
34641
|
}
|
|
34582
34642
|
};
|
|
34583
|
-
}, 4156: (e2, t2, r)
|
|
34643
|
+
}, 4156: function(e2, t2, r) {
|
|
34644
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
34645
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
34646
|
+
function s2(e4) {
|
|
34647
|
+
try {
|
|
34648
|
+
c(n2.next(e4));
|
|
34649
|
+
} catch (e5) {
|
|
34650
|
+
i3(e5);
|
|
34651
|
+
}
|
|
34652
|
+
}
|
|
34653
|
+
function a(e4) {
|
|
34654
|
+
try {
|
|
34655
|
+
c(n2.throw(e4));
|
|
34656
|
+
} catch (e5) {
|
|
34657
|
+
i3(e5);
|
|
34658
|
+
}
|
|
34659
|
+
}
|
|
34660
|
+
function c(e4) {
|
|
34661
|
+
var t4;
|
|
34662
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
34663
|
+
e5(t4);
|
|
34664
|
+
})).then(s2, a);
|
|
34665
|
+
}
|
|
34666
|
+
c((n2 = n2.apply(e3, t3 || [])).next());
|
|
34667
|
+
});
|
|
34668
|
+
};
|
|
34584
34669
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
|
|
34585
|
-
const
|
|
34670
|
+
const o = r(3212), i2 = r(4104), s = r(5188);
|
|
34586
34671
|
t2.Wire = class {
|
|
34587
34672
|
invokeMethod(e3, t3, r2) {
|
|
34588
34673
|
return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
|
|
34589
34674
|
}
|
|
34590
|
-
constructor(e3, t3 =
|
|
34591
|
-
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new
|
|
34675
|
+
constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
|
|
34676
|
+
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
|
|
34592
34677
|
}
|
|
34593
34678
|
getOrCreateChannelManager(e3) {
|
|
34594
|
-
return this._map.getOrCreateValue(e3.key, () => new
|
|
34679
|
+
return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
|
|
34680
|
+
}
|
|
34681
|
+
disposeChannel(e3) {
|
|
34682
|
+
return n(this, undefined, undefined, function* () {
|
|
34683
|
+
const t3 = this._map.get(e3);
|
|
34684
|
+
t3 && (this._map.delete(e3), yield t3.disposeAsync());
|
|
34685
|
+
});
|
|
34686
|
+
}
|
|
34687
|
+
disposeAllChannels() {
|
|
34688
|
+
return n(this, undefined, undefined, function* () {
|
|
34689
|
+
const e3 = [...this._map.values()];
|
|
34690
|
+
this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
|
|
34691
|
+
});
|
|
34595
34692
|
}
|
|
34596
34693
|
};
|
|
34597
34694
|
}, 4104: function(e2, t2, r) {
|
|
@@ -35554,7 +35651,7 @@ ${e3.Data}`);
|
|
|
35554
35651
|
}
|
|
35555
35652
|
};
|
|
35556
35653
|
}, 5144: (e2, t2, r) => {
|
|
35557
|
-
const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13],
|
|
35654
|
+
const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
35558
35655
|
|
|
35559
35656
|
class A extends n {
|
|
35560
35657
|
constructor(e3, t3, r2) {
|
|
@@ -35677,7 +35774,7 @@ ${e3.Data}`);
|
|
|
35677
35774
|
let g2, O2;
|
|
35678
35775
|
if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
|
|
35679
35776
|
for (const e4 of r2) {
|
|
35680
|
-
if (typeof e4 != "string" || !
|
|
35777
|
+
if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
|
|
35681
35778
|
throw new SyntaxError("An invalid or duplicated subprotocol was specified");
|
|
35682
35779
|
m2.add(e4);
|
|
35683
35780
|
}
|
|
@@ -35776,7 +35873,7 @@ ${e3.Data}`);
|
|
|
35776
35873
|
const r3 = x(t3).length;
|
|
35777
35874
|
e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
|
|
35778
35875
|
}
|
|
35779
|
-
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${
|
|
35876
|
+
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
|
|
35780
35877
|
}
|
|
35781
35878
|
function W(e3, t3) {
|
|
35782
35879
|
const r2 = this[O];
|
|
@@ -35822,7 +35919,7 @@ ${e3.Data}`);
|
|
|
35822
35919
|
const e3 = this[O];
|
|
35823
35920
|
this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
|
|
35824
35921
|
}
|
|
35825
|
-
Object.defineProperty(A, "CONNECTING", { enumerable: true, value:
|
|
35922
|
+
Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
|
|
35826
35923
|
Object.defineProperty(A.prototype, e3, { enumerable: true });
|
|
35827
35924
|
}), ["open", "error", "close", "message"].forEach((e3) => {
|
|
35828
35925
|
Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
|
|
@@ -42499,11 +42596,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
|
|
|
42499
42596
|
var coreipc_1 = require_coreipc();
|
|
42500
42597
|
|
|
42501
42598
|
class HandleConsentCodeMessage extends coreipc_1.Message {
|
|
42502
|
-
constructor(Accept, Domain, ConsentCode) {
|
|
42599
|
+
constructor(Accept, Domain, ConsentCode, SignInUrl) {
|
|
42503
42600
|
super();
|
|
42504
42601
|
this.Accept = Accept;
|
|
42505
42602
|
this.Domain = Domain;
|
|
42506
42603
|
this.ConsentCode = ConsentCode;
|
|
42604
|
+
this.SignInUrl = SignInUrl;
|
|
42605
|
+
this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
|
|
42507
42606
|
}
|
|
42508
42607
|
}
|
|
42509
42608
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
@@ -43304,8 +43403,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
|
|
|
43304
43403
|
constructor(_consentCodeServices) {
|
|
43305
43404
|
this._consentCodeServices = _consentCodeServices;
|
|
43306
43405
|
}
|
|
43307
|
-
HandleConsentCode(accept, domain2, consentCode) {
|
|
43308
|
-
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
|
|
43406
|
+
HandleConsentCode(accept, domain2, consentCode, signInUrl) {
|
|
43407
|
+
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
|
|
43309
43408
|
}
|
|
43310
43409
|
IsDomainAllowed(domain2) {
|
|
43311
43410
|
return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
|
|
@@ -43447,7 +43546,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
|
43447
43546
|
this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
|
|
43448
43547
|
}
|
|
43449
43548
|
CloseAsync() {
|
|
43450
|
-
return __awaiter(this, undefined, undefined, function* () {
|
|
43549
|
+
return __awaiter(this, undefined, undefined, function* () {
|
|
43550
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
|
|
43551
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
|
|
43552
|
+
});
|
|
43451
43553
|
}
|
|
43452
43554
|
get RobotStatusChanged() {
|
|
43453
43555
|
return this._robotStatusChanged;
|
|
@@ -111396,7 +111498,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
111396
111498
|
if (S(n3))
|
|
111397
111499
|
return r3;
|
|
111398
111500
|
for (var i3 = function(e6) {
|
|
111399
|
-
var t5 =
|
|
111501
|
+
var t5 = T(e6, o2);
|
|
111400
111502
|
if (!k(t5))
|
|
111401
111503
|
throw new TypeError;
|
|
111402
111504
|
var r4 = t5.call(e6);
|
|
@@ -111459,7 +111561,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
111459
111561
|
case 5:
|
|
111460
111562
|
return e5;
|
|
111461
111563
|
}
|
|
111462
|
-
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 =
|
|
111564
|
+
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
|
|
111463
111565
|
if (o3 !== undefined) {
|
|
111464
111566
|
var i3 = o3.call(e5, r3);
|
|
111465
111567
|
if (j(i3))
|
|
@@ -111496,10 +111598,10 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
111496
111598
|
function k(e5) {
|
|
111497
111599
|
return typeof e5 == "function";
|
|
111498
111600
|
}
|
|
111499
|
-
function
|
|
111601
|
+
function C(e5) {
|
|
111500
111602
|
return typeof e5 == "function";
|
|
111501
111603
|
}
|
|
111502
|
-
function
|
|
111604
|
+
function T(e5, t4) {
|
|
111503
111605
|
var r3 = e5[t4];
|
|
111504
111606
|
if (r3 != null) {
|
|
111505
111607
|
if (!k(r3))
|
|
@@ -111534,13 +111636,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
111534
111636
|
if (S(r3)) {
|
|
111535
111637
|
if (!M(e5))
|
|
111536
111638
|
throw new TypeError;
|
|
111537
|
-
if (!
|
|
111639
|
+
if (!C(t4))
|
|
111538
111640
|
throw new TypeError;
|
|
111539
111641
|
return function(e6, t5) {
|
|
111540
111642
|
for (var r4 = e6.length - 1;r4 >= 0; --r4) {
|
|
111541
111643
|
var n4 = (0, e6[r4])(t5);
|
|
111542
111644
|
if (!S(n4) && !P(n4)) {
|
|
111543
|
-
if (!
|
|
111645
|
+
if (!C(n4))
|
|
111544
111646
|
throw new TypeError;
|
|
111545
111647
|
t5 = n4;
|
|
111546
111648
|
}
|
|
@@ -111750,13 +111852,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
111750
111852
|
Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
|
|
111751
111853
|
return k.EmptyError;
|
|
111752
111854
|
} });
|
|
111753
|
-
var
|
|
111855
|
+
var C = r(7628);
|
|
111754
111856
|
Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
|
|
111755
|
-
return
|
|
111857
|
+
return C.NotFoundError;
|
|
111756
111858
|
} });
|
|
111757
|
-
var
|
|
111859
|
+
var T = r(740);
|
|
111758
111860
|
Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
|
|
111759
|
-
return
|
|
111861
|
+
return T.ObjectUnsubscribedError;
|
|
111760
111862
|
} });
|
|
111761
111863
|
var A = r(6968);
|
|
111762
111864
|
Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
|
|
@@ -111966,13 +112068,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
111966
112068
|
Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
|
|
111967
112069
|
return ke.debounceTime;
|
|
111968
112070
|
} });
|
|
111969
|
-
var
|
|
112071
|
+
var Ce = r(6204);
|
|
111970
112072
|
Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
|
|
111971
|
-
return
|
|
112073
|
+
return Ce.defaultIfEmpty;
|
|
111972
112074
|
} });
|
|
111973
|
-
var
|
|
112075
|
+
var Te = r(7752);
|
|
111974
112076
|
Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
|
|
111975
|
-
return
|
|
112077
|
+
return Te.delay;
|
|
111976
112078
|
} });
|
|
111977
112079
|
var Ae = r(7532);
|
|
111978
112080
|
Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
|
|
@@ -112182,13 +112284,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
112182
112284
|
Object.defineProperty(t2, "share", { enumerable: true, get: function() {
|
|
112183
112285
|
return kt.share;
|
|
112184
112286
|
} });
|
|
112185
|
-
var
|
|
112287
|
+
var Ct = r(4980);
|
|
112186
112288
|
Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
|
|
112187
|
-
return
|
|
112289
|
+
return Ct.shareReplay;
|
|
112188
112290
|
} });
|
|
112189
|
-
var
|
|
112291
|
+
var Tt = r(1400);
|
|
112190
112292
|
Object.defineProperty(t2, "single", { enumerable: true, get: function() {
|
|
112191
|
-
return
|
|
112293
|
+
return Tt.single;
|
|
112192
112294
|
} });
|
|
112193
112295
|
var At = r(7516);
|
|
112194
112296
|
Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
|
|
@@ -117888,12 +117990,24 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
117888
117990
|
static create() {
|
|
117889
117991
|
return new r;
|
|
117890
117992
|
}
|
|
117993
|
+
get(e3) {
|
|
117994
|
+
return this._map.get(e3);
|
|
117995
|
+
}
|
|
117891
117996
|
getOrCreateValue(e3, t3) {
|
|
117892
117997
|
if (this._map.has(e3))
|
|
117893
117998
|
return this._map.get(e3);
|
|
117894
117999
|
let r2 = t3(e3);
|
|
117895
118000
|
return this._map.set(e3, r2), r2;
|
|
117896
118001
|
}
|
|
118002
|
+
delete(e3) {
|
|
118003
|
+
return this._map.delete(e3);
|
|
118004
|
+
}
|
|
118005
|
+
values() {
|
|
118006
|
+
return this._map.values();
|
|
118007
|
+
}
|
|
118008
|
+
clear() {
|
|
118009
|
+
this._map.clear();
|
|
118010
|
+
}
|
|
117897
118011
|
}
|
|
117898
118012
|
t2.Dictionary = r;
|
|
117899
118013
|
}, 4444: function(e2, t2, r) {
|
|
@@ -119266,25 +119380,61 @@ Object name: '${e3}'.`), t3;
|
|
|
119266
119380
|
Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
|
|
119267
119381
|
}, 1816: (e2, t2) => {
|
|
119268
119382
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
119269
|
-
}, 5284: (e2, t2, r)
|
|
119383
|
+
}, 5284: function(e2, t2, r) {
|
|
119384
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
119385
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
119386
|
+
function s2(e4) {
|
|
119387
|
+
try {
|
|
119388
|
+
c2(n2.next(e4));
|
|
119389
|
+
} catch (e5) {
|
|
119390
|
+
i3(e5);
|
|
119391
|
+
}
|
|
119392
|
+
}
|
|
119393
|
+
function a2(e4) {
|
|
119394
|
+
try {
|
|
119395
|
+
c2(n2.throw(e4));
|
|
119396
|
+
} catch (e5) {
|
|
119397
|
+
i3(e5);
|
|
119398
|
+
}
|
|
119399
|
+
}
|
|
119400
|
+
function c2(e4) {
|
|
119401
|
+
var t4;
|
|
119402
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
119403
|
+
e5(t4);
|
|
119404
|
+
})).then(s2, a2);
|
|
119405
|
+
}
|
|
119406
|
+
c2((n2 = n2.apply(e3, t3 || [])).next());
|
|
119407
|
+
});
|
|
119408
|
+
};
|
|
119270
119409
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
|
|
119271
|
-
const
|
|
119410
|
+
const o = r(5188), i22 = r(3212), s = r(4104), a = r(2760), c = r(9100);
|
|
119272
119411
|
t2.IpcCoreBase = class {
|
|
119273
119412
|
constructor() {
|
|
119274
119413
|
this._db = new Map;
|
|
119275
119414
|
}
|
|
119276
119415
|
};
|
|
119277
119416
|
|
|
119278
|
-
class
|
|
119417
|
+
class u {
|
|
119279
119418
|
constructor(e3, t3, r2) {
|
|
119280
|
-
this.addressBuilder = e3, this.proxy = new
|
|
119419
|
+
this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i22.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i22.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i22.OperationAnnotationsWrapper(this).iface;
|
|
119281
119420
|
}
|
|
119282
119421
|
getAddress(e3) {
|
|
119283
119422
|
const t3 = new this.addressBuilder;
|
|
119284
119423
|
return e3(t3), t3.assertAddress();
|
|
119285
119424
|
}
|
|
119425
|
+
disposeChannel(e3) {
|
|
119426
|
+
return n(this, undefined, undefined, function* () {
|
|
119427
|
+
const t3 = this.getAddress(e3);
|
|
119428
|
+
yield this.wire.disposeChannel(t3.key);
|
|
119429
|
+
});
|
|
119430
|
+
}
|
|
119431
|
+
disposeAllChannels() {
|
|
119432
|
+
return n(this, undefined, undefined, function* () {
|
|
119433
|
+
yield this.wire.disposeAllChannels();
|
|
119434
|
+
});
|
|
119435
|
+
}
|
|
119286
119436
|
}
|
|
119287
|
-
t2.IpcBaseImpl =
|
|
119437
|
+
t2.IpcBaseImpl = u, function(e3) {
|
|
119288
119438
|
e3.ProxySource = class {
|
|
119289
119439
|
constructor(e4) {
|
|
119290
119440
|
this._serviceProvider = e4;
|
|
@@ -119300,7 +119450,7 @@ Object name: '${e3}'.`), t3;
|
|
|
119300
119450
|
this._serviceProvider = e4, this._address = t4;
|
|
119301
119451
|
}
|
|
119302
119452
|
withService(e4) {
|
|
119303
|
-
const t4 = new
|
|
119453
|
+
const t4 = new s.ProxyId(e4, this._address);
|
|
119304
119454
|
return this._serviceProvider.proxySource.resolve(t4);
|
|
119305
119455
|
}
|
|
119306
119456
|
}
|
|
@@ -119322,27 +119472,27 @@ Object name: '${e3}'.`), t3;
|
|
|
119322
119472
|
this._ipc = e4, this._address = t4;
|
|
119323
119473
|
}
|
|
119324
119474
|
setConnectHelper(e4) {
|
|
119325
|
-
(0,
|
|
119475
|
+
(0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
|
|
119326
119476
|
}
|
|
119327
119477
|
forAnyService() {
|
|
119328
|
-
return new
|
|
119478
|
+
return new n2(this._ipc, this._address);
|
|
119329
119479
|
}
|
|
119330
119480
|
forService(e4) {
|
|
119331
|
-
return new
|
|
119481
|
+
return new n2(this._ipc, this._address, e4);
|
|
119332
119482
|
}
|
|
119333
119483
|
}
|
|
119334
119484
|
e3.ConfigurationWithAddress = r2;
|
|
119335
119485
|
|
|
119336
|
-
class
|
|
119486
|
+
class n2 {
|
|
119337
119487
|
constructor(e4, t4, r3) {
|
|
119338
119488
|
this._ipc = e4, this._address = t4, this._service = r3;
|
|
119339
119489
|
}
|
|
119340
119490
|
setRequestTimeout(e4) {
|
|
119341
|
-
(0,
|
|
119491
|
+
(0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
|
|
119342
119492
|
}
|
|
119343
119493
|
}
|
|
119344
|
-
e3.ConfigurationWithAddressService =
|
|
119345
|
-
}(
|
|
119494
|
+
e3.ConfigurationWithAddressService = n2;
|
|
119495
|
+
}(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
|
|
119346
119496
|
}, 3552: (e2, t2) => {
|
|
119347
119497
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
|
|
119348
119498
|
constructor(e3, t3, r, n) {
|
|
@@ -119415,7 +119565,13 @@ Object name: '${e3}'.`), t3;
|
|
|
119415
119565
|
}
|
|
119416
119566
|
disposeAsync() {
|
|
119417
119567
|
return n(this, undefined, undefined, function* () {
|
|
119418
|
-
this._ctsLoop.cancel()
|
|
119568
|
+
this._ctsLoop.cancel();
|
|
119569
|
+
try {
|
|
119570
|
+
yield this._loop;
|
|
119571
|
+
} catch (e3) {
|
|
119572
|
+
e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
|
|
119573
|
+
}
|
|
119574
|
+
this._stream.dispose();
|
|
119419
119575
|
});
|
|
119420
119576
|
}
|
|
119421
119577
|
static toMessageTypeString(e3) {
|
|
@@ -119600,8 +119756,8 @@ ${e3.Data}`);
|
|
|
119600
119756
|
static create(e3, t3, r2, n2, o2, i3) {
|
|
119601
119757
|
return new a(e3, t3, r2, n2, o2, i3);
|
|
119602
119758
|
}
|
|
119603
|
-
constructor(e3, t3, r2, n2,
|
|
119604
|
-
this._observer =
|
|
119759
|
+
constructor(e3, t3, r2, n2, s2, c) {
|
|
119760
|
+
this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
|
|
119605
119761
|
constructor(e4) {
|
|
119606
119762
|
this._owner = e4;
|
|
119607
119763
|
}
|
|
@@ -119614,8 +119770,8 @@ ${e3.Data}`);
|
|
|
119614
119770
|
complete() {
|
|
119615
119771
|
this._owner.dispatchNetworkComplete();
|
|
119616
119772
|
}
|
|
119617
|
-
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(
|
|
119618
|
-
this.disposeAsync();
|
|
119773
|
+
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
|
|
119774
|
+
o.Trace.traceErrorNoThrow(this.disposeAsync());
|
|
119619
119775
|
});
|
|
119620
119776
|
}
|
|
119621
119777
|
disposeAsync() {
|
|
@@ -119854,6 +120010,12 @@ ${e3.Data}`);
|
|
|
119854
120010
|
complete() {}
|
|
119855
120011
|
}(this);
|
|
119856
120012
|
}
|
|
120013
|
+
disposeAsync() {
|
|
120014
|
+
return n(this, undefined, undefined, function* () {
|
|
120015
|
+
const e3 = this._latestChannel;
|
|
120016
|
+
this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
|
|
120017
|
+
});
|
|
120018
|
+
}
|
|
119857
120019
|
invokeMethod(e3, t3, r2) {
|
|
119858
120020
|
return n(this, undefined, undefined, function* () {
|
|
119859
120021
|
const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i22.Converter.unwrapRpcResponse(f, n2);
|
|
@@ -120008,18 +120170,55 @@ ${e3.Data}`);
|
|
|
120008
120170
|
return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
|
|
120009
120171
|
}
|
|
120010
120172
|
};
|
|
120011
|
-
}, 4156: (e2, t2, r)
|
|
120173
|
+
}, 4156: function(e2, t2, r) {
|
|
120174
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
120175
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
120176
|
+
function s2(e4) {
|
|
120177
|
+
try {
|
|
120178
|
+
c(n2.next(e4));
|
|
120179
|
+
} catch (e5) {
|
|
120180
|
+
i3(e5);
|
|
120181
|
+
}
|
|
120182
|
+
}
|
|
120183
|
+
function a(e4) {
|
|
120184
|
+
try {
|
|
120185
|
+
c(n2.throw(e4));
|
|
120186
|
+
} catch (e5) {
|
|
120187
|
+
i3(e5);
|
|
120188
|
+
}
|
|
120189
|
+
}
|
|
120190
|
+
function c(e4) {
|
|
120191
|
+
var t4;
|
|
120192
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
120193
|
+
e5(t4);
|
|
120194
|
+
})).then(s2, a);
|
|
120195
|
+
}
|
|
120196
|
+
c((n2 = n2.apply(e3, t3 || [])).next());
|
|
120197
|
+
});
|
|
120198
|
+
};
|
|
120012
120199
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
|
|
120013
|
-
const
|
|
120200
|
+
const o = r(3212), i22 = r(4104), s = r(5188);
|
|
120014
120201
|
t2.Wire = class {
|
|
120015
120202
|
invokeMethod(e3, t3, r2) {
|
|
120016
120203
|
return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
|
|
120017
120204
|
}
|
|
120018
|
-
constructor(e3, t3 =
|
|
120019
|
-
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new
|
|
120205
|
+
constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
|
|
120206
|
+
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
|
|
120020
120207
|
}
|
|
120021
120208
|
getOrCreateChannelManager(e3) {
|
|
120022
|
-
return this._map.getOrCreateValue(e3.key, () => new
|
|
120209
|
+
return this._map.getOrCreateValue(e3.key, () => new i22.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
|
|
120210
|
+
}
|
|
120211
|
+
disposeChannel(e3) {
|
|
120212
|
+
return n(this, undefined, undefined, function* () {
|
|
120213
|
+
const t3 = this._map.get(e3);
|
|
120214
|
+
t3 && (this._map.delete(e3), yield t3.disposeAsync());
|
|
120215
|
+
});
|
|
120216
|
+
}
|
|
120217
|
+
disposeAllChannels() {
|
|
120218
|
+
return n(this, undefined, undefined, function* () {
|
|
120219
|
+
const e3 = [...this._map.values()];
|
|
120220
|
+
this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
|
|
120221
|
+
});
|
|
120023
120222
|
}
|
|
120024
120223
|
};
|
|
120025
120224
|
}, 4104: function(e2, t2, r) {
|
|
@@ -120982,7 +121181,7 @@ ${e3.Data}`);
|
|
|
120982
121181
|
}
|
|
120983
121182
|
};
|
|
120984
121183
|
}, 5144: (e2, t2, r) => {
|
|
120985
|
-
const n = r(467), o = r(1256), i22 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13],
|
|
121184
|
+
const n = r(467), o = r(1256), i22 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
120986
121185
|
|
|
120987
121186
|
class A extends n {
|
|
120988
121187
|
constructor(e3, t3, r2) {
|
|
@@ -121105,7 +121304,7 @@ ${e3.Data}`);
|
|
|
121105
121304
|
let g2, O2;
|
|
121106
121305
|
if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
|
|
121107
121306
|
for (const e4 of r2) {
|
|
121108
|
-
if (typeof e4 != "string" || !
|
|
121307
|
+
if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
|
|
121109
121308
|
throw new SyntaxError("An invalid or duplicated subprotocol was specified");
|
|
121110
121309
|
m2.add(e4);
|
|
121111
121310
|
}
|
|
@@ -121204,7 +121403,7 @@ ${e3.Data}`);
|
|
|
121204
121403
|
const r3 = x(t3).length;
|
|
121205
121404
|
e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
|
|
121206
121405
|
}
|
|
121207
|
-
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${
|
|
121406
|
+
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
|
|
121208
121407
|
}
|
|
121209
121408
|
function W(e3, t3) {
|
|
121210
121409
|
const r2 = this[O];
|
|
@@ -121250,7 +121449,7 @@ ${e3.Data}`);
|
|
|
121250
121449
|
const e3 = this[O];
|
|
121251
121450
|
this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
|
|
121252
121451
|
}
|
|
121253
|
-
Object.defineProperty(A, "CONNECTING", { enumerable: true, value:
|
|
121452
|
+
Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
|
|
121254
121453
|
Object.defineProperty(A.prototype, e3, { enumerable: true });
|
|
121255
121454
|
}), ["open", "error", "close", "message"].forEach((e3) => {
|
|
121256
121455
|
Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
|
|
@@ -127567,11 +127766,13 @@ ${e3.Data}`);
|
|
|
127567
127766
|
var coreipc_1 = require_coreipc2();
|
|
127568
127767
|
|
|
127569
127768
|
class HandleConsentCodeMessage extends coreipc_1.Message {
|
|
127570
|
-
constructor(Accept, Domain, ConsentCode) {
|
|
127769
|
+
constructor(Accept, Domain, ConsentCode, SignInUrl) {
|
|
127571
127770
|
super();
|
|
127572
127771
|
this.Accept = Accept;
|
|
127573
127772
|
this.Domain = Domain;
|
|
127574
127773
|
this.ConsentCode = ConsentCode;
|
|
127774
|
+
this.SignInUrl = SignInUrl;
|
|
127775
|
+
this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
|
|
127575
127776
|
}
|
|
127576
127777
|
}
|
|
127577
127778
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
@@ -128344,8 +128545,8 @@ ${e3.Data}`);
|
|
|
128344
128545
|
constructor(_consentCodeServices) {
|
|
128345
128546
|
this._consentCodeServices = _consentCodeServices;
|
|
128346
128547
|
}
|
|
128347
|
-
HandleConsentCode(accept, domain22, consentCode) {
|
|
128348
|
-
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain22, consentCode), coreipc_1.CancellationToken.none);
|
|
128548
|
+
HandleConsentCode(accept, domain22, consentCode, signInUrl) {
|
|
128549
|
+
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain22, consentCode, signInUrl), coreipc_1.CancellationToken.none);
|
|
128349
128550
|
}
|
|
128350
128551
|
IsDomainAllowed(domain22) {
|
|
128351
128552
|
return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain22), coreipc_1.CancellationToken.none);
|
|
@@ -128485,7 +128686,10 @@ ${e3.Data}`);
|
|
|
128485
128686
|
this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
|
|
128486
128687
|
}
|
|
128487
128688
|
CloseAsync() {
|
|
128488
|
-
return __awaiter(this, undefined, undefined, function* () {
|
|
128689
|
+
return __awaiter(this, undefined, undefined, function* () {
|
|
128690
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
|
|
128691
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
|
|
128692
|
+
});
|
|
128489
128693
|
}
|
|
128490
128694
|
get RobotStatusChanged() {
|
|
128491
128695
|
return this._robotStatusChanged;
|
|
@@ -135970,7 +136174,7 @@ import"./packager-tool.js";
|
|
|
135970
136174
|
// package.json
|
|
135971
136175
|
var package_default = {
|
|
135972
136176
|
name: "@uipath/agent-tool",
|
|
135973
|
-
version: "0.9.
|
|
136177
|
+
version: "0.9.1",
|
|
135974
136178
|
description: "cli plugin for creating and managing UiPath low-code agents",
|
|
135975
136179
|
private: false,
|
|
135976
136180
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/agent-tool",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "cli plugin for creating and managing UiPath low-code agents",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/adm-zip": "^0.5.7",
|
|
41
41
|
"@types/bun": "^1.3.9",
|
|
42
|
-
"@uipath/agent-sdk": "
|
|
42
|
+
"@uipath/agent-sdk": "0.9.1",
|
|
43
43
|
"@uipath/agents-storage-schemas": "^1.0.0",
|
|
44
|
-
"@uipath/auth": "0.9.
|
|
45
|
-
"@uipath/common": "0.9.
|
|
46
|
-
"@uipath/filesystem": "0.9.
|
|
47
|
-
"@uipath/integrationservice-sdk": "
|
|
48
|
-
"@uipath/orchestrator-sdk": "0.9.
|
|
49
|
-
"@uipath/solution-sdk": "0.9.
|
|
44
|
+
"@uipath/auth": "0.9.1",
|
|
45
|
+
"@uipath/common": "0.9.1",
|
|
46
|
+
"@uipath/filesystem": "0.9.1",
|
|
47
|
+
"@uipath/integrationservice-sdk": "0.9.1",
|
|
48
|
+
"@uipath/orchestrator-sdk": "0.9.1",
|
|
49
|
+
"@uipath/solution-sdk": "0.9.1",
|
|
50
50
|
"@uipath/tool-agent": "1.1.0",
|
|
51
51
|
"adm-zip": "^0.5.16",
|
|
52
52
|
"commander": "^14.0.3",
|
|
53
53
|
"typescript": "^5"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
|
|
56
56
|
}
|