@uipath/codedagent-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 +152 -50
- package/package.json +5 -5
package/dist/tool.js
CHANGED
|
@@ -10415,7 +10415,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
10415
10415
|
if (S(n3))
|
|
10416
10416
|
return r3;
|
|
10417
10417
|
for (var i3 = function(e6) {
|
|
10418
|
-
var t5 =
|
|
10418
|
+
var t5 = T(e6, o2);
|
|
10419
10419
|
if (!k(t5))
|
|
10420
10420
|
throw new TypeError;
|
|
10421
10421
|
var r4 = t5.call(e6);
|
|
@@ -10478,7 +10478,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
10478
10478
|
case 5:
|
|
10479
10479
|
return e5;
|
|
10480
10480
|
}
|
|
10481
|
-
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 =
|
|
10481
|
+
var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
|
|
10482
10482
|
if (o3 !== undefined) {
|
|
10483
10483
|
var i3 = o3.call(e5, r3);
|
|
10484
10484
|
if (j(i3))
|
|
@@ -10515,10 +10515,10 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
10515
10515
|
function k(e5) {
|
|
10516
10516
|
return typeof e5 == "function";
|
|
10517
10517
|
}
|
|
10518
|
-
function
|
|
10518
|
+
function C(e5) {
|
|
10519
10519
|
return typeof e5 == "function";
|
|
10520
10520
|
}
|
|
10521
|
-
function
|
|
10521
|
+
function T(e5, t4) {
|
|
10522
10522
|
var r3 = e5[t4];
|
|
10523
10523
|
if (r3 != null) {
|
|
10524
10524
|
if (!k(r3))
|
|
@@ -10553,13 +10553,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
10553
10553
|
if (S(r3)) {
|
|
10554
10554
|
if (!M(e5))
|
|
10555
10555
|
throw new TypeError;
|
|
10556
|
-
if (!
|
|
10556
|
+
if (!C(t4))
|
|
10557
10557
|
throw new TypeError;
|
|
10558
10558
|
return function(e6, t5) {
|
|
10559
10559
|
for (var r4 = e6.length - 1;r4 >= 0; --r4) {
|
|
10560
10560
|
var n4 = (0, e6[r4])(t5);
|
|
10561
10561
|
if (!S(n4) && !P(n4)) {
|
|
10562
|
-
if (!
|
|
10562
|
+
if (!C(n4))
|
|
10563
10563
|
throw new TypeError;
|
|
10564
10564
|
t5 = n4;
|
|
10565
10565
|
}
|
|
@@ -10769,13 +10769,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
10769
10769
|
Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
|
|
10770
10770
|
return k.EmptyError;
|
|
10771
10771
|
} });
|
|
10772
|
-
var
|
|
10772
|
+
var C = r(7628);
|
|
10773
10773
|
Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
|
|
10774
|
-
return
|
|
10774
|
+
return C.NotFoundError;
|
|
10775
10775
|
} });
|
|
10776
|
-
var
|
|
10776
|
+
var T = r(740);
|
|
10777
10777
|
Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
|
|
10778
|
-
return
|
|
10778
|
+
return T.ObjectUnsubscribedError;
|
|
10779
10779
|
} });
|
|
10780
10780
|
var A = r(6968);
|
|
10781
10781
|
Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
|
|
@@ -10985,13 +10985,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
10985
10985
|
Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
|
|
10986
10986
|
return ke.debounceTime;
|
|
10987
10987
|
} });
|
|
10988
|
-
var
|
|
10988
|
+
var Ce = r(6204);
|
|
10989
10989
|
Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
|
|
10990
|
-
return
|
|
10990
|
+
return Ce.defaultIfEmpty;
|
|
10991
10991
|
} });
|
|
10992
|
-
var
|
|
10992
|
+
var Te = r(7752);
|
|
10993
10993
|
Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
|
|
10994
|
-
return
|
|
10994
|
+
return Te.delay;
|
|
10995
10995
|
} });
|
|
10996
10996
|
var Ae = r(7532);
|
|
10997
10997
|
Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
|
|
@@ -11201,13 +11201,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
11201
11201
|
Object.defineProperty(t2, "share", { enumerable: true, get: function() {
|
|
11202
11202
|
return kt.share;
|
|
11203
11203
|
} });
|
|
11204
|
-
var
|
|
11204
|
+
var Ct = r(4980);
|
|
11205
11205
|
Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
|
|
11206
|
-
return
|
|
11206
|
+
return Ct.shareReplay;
|
|
11207
11207
|
} });
|
|
11208
|
-
var
|
|
11208
|
+
var Tt = r(1400);
|
|
11209
11209
|
Object.defineProperty(t2, "single", { enumerable: true, get: function() {
|
|
11210
|
-
return
|
|
11210
|
+
return Tt.single;
|
|
11211
11211
|
} });
|
|
11212
11212
|
var At = r(7516);
|
|
11213
11213
|
Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
|
|
@@ -16907,12 +16907,24 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
16907
16907
|
static create() {
|
|
16908
16908
|
return new r;
|
|
16909
16909
|
}
|
|
16910
|
+
get(e3) {
|
|
16911
|
+
return this._map.get(e3);
|
|
16912
|
+
}
|
|
16910
16913
|
getOrCreateValue(e3, t3) {
|
|
16911
16914
|
if (this._map.has(e3))
|
|
16912
16915
|
return this._map.get(e3);
|
|
16913
16916
|
let r2 = t3(e3);
|
|
16914
16917
|
return this._map.set(e3, r2), r2;
|
|
16915
16918
|
}
|
|
16919
|
+
delete(e3) {
|
|
16920
|
+
return this._map.delete(e3);
|
|
16921
|
+
}
|
|
16922
|
+
values() {
|
|
16923
|
+
return this._map.values();
|
|
16924
|
+
}
|
|
16925
|
+
clear() {
|
|
16926
|
+
this._map.clear();
|
|
16927
|
+
}
|
|
16916
16928
|
}
|
|
16917
16929
|
t2.Dictionary = r;
|
|
16918
16930
|
}, 4444: function(e2, t2, r) {
|
|
@@ -18285,25 +18297,61 @@ Object name: '${e3}'.`), t3;
|
|
|
18285
18297
|
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);
|
|
18286
18298
|
}, 1816: (e2, t2) => {
|
|
18287
18299
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
18288
|
-
}, 5284: (e2, t2, r)
|
|
18300
|
+
}, 5284: function(e2, t2, r) {
|
|
18301
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
18302
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
18303
|
+
function s2(e4) {
|
|
18304
|
+
try {
|
|
18305
|
+
c2(n2.next(e4));
|
|
18306
|
+
} catch (e5) {
|
|
18307
|
+
i3(e5);
|
|
18308
|
+
}
|
|
18309
|
+
}
|
|
18310
|
+
function a2(e4) {
|
|
18311
|
+
try {
|
|
18312
|
+
c2(n2.throw(e4));
|
|
18313
|
+
} catch (e5) {
|
|
18314
|
+
i3(e5);
|
|
18315
|
+
}
|
|
18316
|
+
}
|
|
18317
|
+
function c2(e4) {
|
|
18318
|
+
var t4;
|
|
18319
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
18320
|
+
e5(t4);
|
|
18321
|
+
})).then(s2, a2);
|
|
18322
|
+
}
|
|
18323
|
+
c2((n2 = n2.apply(e3, t3 || [])).next());
|
|
18324
|
+
});
|
|
18325
|
+
};
|
|
18289
18326
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
|
|
18290
|
-
const
|
|
18327
|
+
const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
|
|
18291
18328
|
t2.IpcCoreBase = class {
|
|
18292
18329
|
constructor() {
|
|
18293
18330
|
this._db = new Map;
|
|
18294
18331
|
}
|
|
18295
18332
|
};
|
|
18296
18333
|
|
|
18297
|
-
class
|
|
18334
|
+
class u {
|
|
18298
18335
|
constructor(e3, t3, r2) {
|
|
18299
|
-
this.addressBuilder = e3, this.proxy = new
|
|
18336
|
+
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;
|
|
18300
18337
|
}
|
|
18301
18338
|
getAddress(e3) {
|
|
18302
18339
|
const t3 = new this.addressBuilder;
|
|
18303
18340
|
return e3(t3), t3.assertAddress();
|
|
18304
18341
|
}
|
|
18342
|
+
disposeChannel(e3) {
|
|
18343
|
+
return n(this, undefined, undefined, function* () {
|
|
18344
|
+
const t3 = this.getAddress(e3);
|
|
18345
|
+
yield this.wire.disposeChannel(t3.key);
|
|
18346
|
+
});
|
|
18347
|
+
}
|
|
18348
|
+
disposeAllChannels() {
|
|
18349
|
+
return n(this, undefined, undefined, function* () {
|
|
18350
|
+
yield this.wire.disposeAllChannels();
|
|
18351
|
+
});
|
|
18352
|
+
}
|
|
18305
18353
|
}
|
|
18306
|
-
t2.IpcBaseImpl =
|
|
18354
|
+
t2.IpcBaseImpl = u, function(e3) {
|
|
18307
18355
|
e3.ProxySource = class {
|
|
18308
18356
|
constructor(e4) {
|
|
18309
18357
|
this._serviceProvider = e4;
|
|
@@ -18319,7 +18367,7 @@ Object name: '${e3}'.`), t3;
|
|
|
18319
18367
|
this._serviceProvider = e4, this._address = t4;
|
|
18320
18368
|
}
|
|
18321
18369
|
withService(e4) {
|
|
18322
|
-
const t4 = new
|
|
18370
|
+
const t4 = new s.ProxyId(e4, this._address);
|
|
18323
18371
|
return this._serviceProvider.proxySource.resolve(t4);
|
|
18324
18372
|
}
|
|
18325
18373
|
}
|
|
@@ -18341,27 +18389,27 @@ Object name: '${e3}'.`), t3;
|
|
|
18341
18389
|
this._ipc = e4, this._address = t4;
|
|
18342
18390
|
}
|
|
18343
18391
|
setConnectHelper(e4) {
|
|
18344
|
-
(0,
|
|
18392
|
+
(0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
|
|
18345
18393
|
}
|
|
18346
18394
|
forAnyService() {
|
|
18347
|
-
return new
|
|
18395
|
+
return new n2(this._ipc, this._address);
|
|
18348
18396
|
}
|
|
18349
18397
|
forService(e4) {
|
|
18350
|
-
return new
|
|
18398
|
+
return new n2(this._ipc, this._address, e4);
|
|
18351
18399
|
}
|
|
18352
18400
|
}
|
|
18353
18401
|
e3.ConfigurationWithAddress = r2;
|
|
18354
18402
|
|
|
18355
|
-
class
|
|
18403
|
+
class n2 {
|
|
18356
18404
|
constructor(e4, t4, r3) {
|
|
18357
18405
|
this._ipc = e4, this._address = t4, this._service = r3;
|
|
18358
18406
|
}
|
|
18359
18407
|
setRequestTimeout(e4) {
|
|
18360
|
-
(0,
|
|
18408
|
+
(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);
|
|
18361
18409
|
}
|
|
18362
18410
|
}
|
|
18363
|
-
e3.ConfigurationWithAddressService =
|
|
18364
|
-
}(
|
|
18411
|
+
e3.ConfigurationWithAddressService = n2;
|
|
18412
|
+
}(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
|
|
18365
18413
|
}, 3552: (e2, t2) => {
|
|
18366
18414
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
|
|
18367
18415
|
constructor(e3, t3, r, n) {
|
|
@@ -18434,7 +18482,13 @@ Object name: '${e3}'.`), t3;
|
|
|
18434
18482
|
}
|
|
18435
18483
|
disposeAsync() {
|
|
18436
18484
|
return n(this, undefined, undefined, function* () {
|
|
18437
|
-
this._ctsLoop.cancel()
|
|
18485
|
+
this._ctsLoop.cancel();
|
|
18486
|
+
try {
|
|
18487
|
+
yield this._loop;
|
|
18488
|
+
} catch (e3) {
|
|
18489
|
+
e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
|
|
18490
|
+
}
|
|
18491
|
+
this._stream.dispose();
|
|
18438
18492
|
});
|
|
18439
18493
|
}
|
|
18440
18494
|
static toMessageTypeString(e3) {
|
|
@@ -18619,8 +18673,8 @@ ${e3.Data}`);
|
|
|
18619
18673
|
static create(e3, t3, r2, n2, o2, i3) {
|
|
18620
18674
|
return new a(e3, t3, r2, n2, o2, i3);
|
|
18621
18675
|
}
|
|
18622
|
-
constructor(e3, t3, r2, n2,
|
|
18623
|
-
this._observer =
|
|
18676
|
+
constructor(e3, t3, r2, n2, s2, c) {
|
|
18677
|
+
this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
|
|
18624
18678
|
constructor(e4) {
|
|
18625
18679
|
this._owner = e4;
|
|
18626
18680
|
}
|
|
@@ -18633,8 +18687,8 @@ ${e3.Data}`);
|
|
|
18633
18687
|
complete() {
|
|
18634
18688
|
this._owner.dispatchNetworkComplete();
|
|
18635
18689
|
}
|
|
18636
|
-
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(
|
|
18637
|
-
this.disposeAsync();
|
|
18690
|
+
}(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
|
|
18691
|
+
o.Trace.traceErrorNoThrow(this.disposeAsync());
|
|
18638
18692
|
});
|
|
18639
18693
|
}
|
|
18640
18694
|
disposeAsync() {
|
|
@@ -18873,6 +18927,12 @@ ${e3.Data}`);
|
|
|
18873
18927
|
complete() {}
|
|
18874
18928
|
}(this);
|
|
18875
18929
|
}
|
|
18930
|
+
disposeAsync() {
|
|
18931
|
+
return n(this, undefined, undefined, function* () {
|
|
18932
|
+
const e3 = this._latestChannel;
|
|
18933
|
+
this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
|
|
18934
|
+
});
|
|
18935
|
+
}
|
|
18876
18936
|
invokeMethod(e3, t3, r2) {
|
|
18877
18937
|
return n(this, undefined, undefined, function* () {
|
|
18878
18938
|
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);
|
|
@@ -19027,18 +19087,55 @@ ${e3.Data}`);
|
|
|
19027
19087
|
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];
|
|
19028
19088
|
}
|
|
19029
19089
|
};
|
|
19030
|
-
}, 4156: (e2, t2, r)
|
|
19090
|
+
}, 4156: function(e2, t2, r) {
|
|
19091
|
+
var n = this && this.__awaiter || function(e3, t3, r2, n2) {
|
|
19092
|
+
return new (r2 || (r2 = Promise))(function(o2, i3) {
|
|
19093
|
+
function s2(e4) {
|
|
19094
|
+
try {
|
|
19095
|
+
c(n2.next(e4));
|
|
19096
|
+
} catch (e5) {
|
|
19097
|
+
i3(e5);
|
|
19098
|
+
}
|
|
19099
|
+
}
|
|
19100
|
+
function a(e4) {
|
|
19101
|
+
try {
|
|
19102
|
+
c(n2.throw(e4));
|
|
19103
|
+
} catch (e5) {
|
|
19104
|
+
i3(e5);
|
|
19105
|
+
}
|
|
19106
|
+
}
|
|
19107
|
+
function c(e4) {
|
|
19108
|
+
var t4;
|
|
19109
|
+
e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
|
|
19110
|
+
e5(t4);
|
|
19111
|
+
})).then(s2, a);
|
|
19112
|
+
}
|
|
19113
|
+
c((n2 = n2.apply(e3, t3 || [])).next());
|
|
19114
|
+
});
|
|
19115
|
+
};
|
|
19031
19116
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
|
|
19032
|
-
const
|
|
19117
|
+
const o = r(3212), i2 = r(4104), s = r(5188);
|
|
19033
19118
|
t2.Wire = class {
|
|
19034
19119
|
invokeMethod(e3, t3, r2) {
|
|
19035
19120
|
return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
|
|
19036
19121
|
}
|
|
19037
|
-
constructor(e3, t3 =
|
|
19038
|
-
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new
|
|
19122
|
+
constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
|
|
19123
|
+
this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
|
|
19039
19124
|
}
|
|
19040
19125
|
getOrCreateChannelManager(e3) {
|
|
19041
|
-
return this._map.getOrCreateValue(e3.key, () => new
|
|
19126
|
+
return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
|
|
19127
|
+
}
|
|
19128
|
+
disposeChannel(e3) {
|
|
19129
|
+
return n(this, undefined, undefined, function* () {
|
|
19130
|
+
const t3 = this._map.get(e3);
|
|
19131
|
+
t3 && (this._map.delete(e3), yield t3.disposeAsync());
|
|
19132
|
+
});
|
|
19133
|
+
}
|
|
19134
|
+
disposeAllChannels() {
|
|
19135
|
+
return n(this, undefined, undefined, function* () {
|
|
19136
|
+
const e3 = [...this._map.values()];
|
|
19137
|
+
this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
|
|
19138
|
+
});
|
|
19042
19139
|
}
|
|
19043
19140
|
};
|
|
19044
19141
|
}, 4104: function(e2, t2, r) {
|
|
@@ -20001,7 +20098,7 @@ ${e3.Data}`);
|
|
|
20001
20098
|
}
|
|
20002
20099
|
};
|
|
20003
20100
|
}, 5144: (e2, t2, r) => {
|
|
20004
|
-
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],
|
|
20101
|
+
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~]+$/;
|
|
20005
20102
|
|
|
20006
20103
|
class A extends n {
|
|
20007
20104
|
constructor(e3, t3, r2) {
|
|
@@ -20124,7 +20221,7 @@ ${e3.Data}`);
|
|
|
20124
20221
|
let g2, O2;
|
|
20125
20222
|
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) {
|
|
20126
20223
|
for (const e4 of r2) {
|
|
20127
|
-
if (typeof e4 != "string" || !
|
|
20224
|
+
if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
|
|
20128
20225
|
throw new SyntaxError("An invalid or duplicated subprotocol was specified");
|
|
20129
20226
|
m2.add(e4);
|
|
20130
20227
|
}
|
|
@@ -20223,7 +20320,7 @@ ${e3.Data}`);
|
|
|
20223
20320
|
const r3 = x(t3).length;
|
|
20224
20321
|
e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
|
|
20225
20322
|
}
|
|
20226
|
-
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${
|
|
20323
|
+
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
|
|
20227
20324
|
}
|
|
20228
20325
|
function W(e3, t3) {
|
|
20229
20326
|
const r2 = this[O];
|
|
@@ -20269,7 +20366,7 @@ ${e3.Data}`);
|
|
|
20269
20366
|
const e3 = this[O];
|
|
20270
20367
|
this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
|
|
20271
20368
|
}
|
|
20272
|
-
Object.defineProperty(A, "CONNECTING", { enumerable: true, value:
|
|
20369
|
+
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) => {
|
|
20273
20370
|
Object.defineProperty(A.prototype, e3, { enumerable: true });
|
|
20274
20371
|
}), ["open", "error", "close", "message"].forEach((e3) => {
|
|
20275
20372
|
Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
|
|
@@ -26946,11 +27043,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
|
|
|
26946
27043
|
var coreipc_1 = require_coreipc();
|
|
26947
27044
|
|
|
26948
27045
|
class HandleConsentCodeMessage extends coreipc_1.Message {
|
|
26949
|
-
constructor(Accept, Domain, ConsentCode) {
|
|
27046
|
+
constructor(Accept, Domain, ConsentCode, SignInUrl) {
|
|
26950
27047
|
super();
|
|
26951
27048
|
this.Accept = Accept;
|
|
26952
27049
|
this.Domain = Domain;
|
|
26953
27050
|
this.ConsentCode = ConsentCode;
|
|
27051
|
+
this.SignInUrl = SignInUrl;
|
|
27052
|
+
this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
|
|
26954
27053
|
}
|
|
26955
27054
|
}
|
|
26956
27055
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
@@ -27751,8 +27850,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
|
|
|
27751
27850
|
constructor(_consentCodeServices) {
|
|
27752
27851
|
this._consentCodeServices = _consentCodeServices;
|
|
27753
27852
|
}
|
|
27754
|
-
HandleConsentCode(accept, domain2, consentCode) {
|
|
27755
|
-
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
|
|
27853
|
+
HandleConsentCode(accept, domain2, consentCode, signInUrl) {
|
|
27854
|
+
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
|
|
27756
27855
|
}
|
|
27757
27856
|
IsDomainAllowed(domain2) {
|
|
27758
27857
|
return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
|
|
@@ -27894,7 +27993,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
|
27894
27993
|
this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
|
|
27895
27994
|
}
|
|
27896
27995
|
CloseAsync() {
|
|
27897
|
-
return __awaiter(this, undefined, undefined, function* () {
|
|
27996
|
+
return __awaiter(this, undefined, undefined, function* () {
|
|
27997
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
|
|
27998
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
|
|
27999
|
+
});
|
|
27898
28000
|
}
|
|
27899
28001
|
get RobotStatusChanged() {
|
|
27900
28002
|
return this._robotStatusChanged;
|
|
@@ -28151,7 +28253,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
28151
28253
|
// package.json
|
|
28152
28254
|
var package_default = {
|
|
28153
28255
|
name: "@uipath/codedagent-tool",
|
|
28154
|
-
version: "0.9.
|
|
28256
|
+
version: "0.9.1",
|
|
28155
28257
|
description: "Build, run, deploy, and manage AI Agents.",
|
|
28156
28258
|
keywords: [
|
|
28157
28259
|
"cli-tool",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/codedagent-tool",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Build, run, deploy, and manage AI Agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli-tool",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/bun": "^1.3.9",
|
|
40
|
-
"@uipath/auth": "0.9.
|
|
41
|
-
"@uipath/common": "0.9.
|
|
42
|
-
"@uipath/filesystem": "0.9.
|
|
40
|
+
"@uipath/auth": "0.9.1",
|
|
41
|
+
"@uipath/common": "0.9.1",
|
|
42
|
+
"@uipath/filesystem": "0.9.1",
|
|
43
43
|
"commander": "^14.0.3",
|
|
44
44
|
"typescript": "^5"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
|
|
47
47
|
}
|