@uipath/orchestrator-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.
Files changed (2) hide show
  1. package/dist/tool.js +152 -50
  2. package/package.json +5 -5
package/dist/tool.js CHANGED
@@ -10955,7 +10955,7 @@ var require_coreipc = __commonJS((exports, module) => {
10955
10955
  if (S(n3))
10956
10956
  return r3;
10957
10957
  for (var i3 = function(e6) {
10958
- var t5 = C(e6, o2);
10958
+ var t5 = T(e6, o2);
10959
10959
  if (!k(t5))
10960
10960
  throw new TypeError;
10961
10961
  var r4 = t5.call(e6);
@@ -11018,7 +11018,7 @@ var require_coreipc = __commonJS((exports, module) => {
11018
11018
  case 5:
11019
11019
  return e5;
11020
11020
  }
11021
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
11021
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
11022
11022
  if (o3 !== undefined) {
11023
11023
  var i3 = o3.call(e5, r3);
11024
11024
  if (j(i3))
@@ -11055,10 +11055,10 @@ var require_coreipc = __commonJS((exports, module) => {
11055
11055
  function k(e5) {
11056
11056
  return typeof e5 == "function";
11057
11057
  }
11058
- function T(e5) {
11058
+ function C(e5) {
11059
11059
  return typeof e5 == "function";
11060
11060
  }
11061
- function C(e5, t4) {
11061
+ function T(e5, t4) {
11062
11062
  var r3 = e5[t4];
11063
11063
  if (r3 != null) {
11064
11064
  if (!k(r3))
@@ -11093,13 +11093,13 @@ var require_coreipc = __commonJS((exports, module) => {
11093
11093
  if (S(r3)) {
11094
11094
  if (!M(e5))
11095
11095
  throw new TypeError;
11096
- if (!T(t4))
11096
+ if (!C(t4))
11097
11097
  throw new TypeError;
11098
11098
  return function(e6, t5) {
11099
11099
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
11100
11100
  var n4 = (0, e6[r4])(t5);
11101
11101
  if (!S(n4) && !P(n4)) {
11102
- if (!T(n4))
11102
+ if (!C(n4))
11103
11103
  throw new TypeError;
11104
11104
  t5 = n4;
11105
11105
  }
@@ -11309,13 +11309,13 @@ var require_coreipc = __commonJS((exports, module) => {
11309
11309
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
11310
11310
  return k.EmptyError;
11311
11311
  } });
11312
- var T = r(7628);
11312
+ var C = r(7628);
11313
11313
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
11314
- return T.NotFoundError;
11314
+ return C.NotFoundError;
11315
11315
  } });
11316
- var C = r(740);
11316
+ var T = r(740);
11317
11317
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
11318
- return C.ObjectUnsubscribedError;
11318
+ return T.ObjectUnsubscribedError;
11319
11319
  } });
11320
11320
  var A = r(6968);
11321
11321
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -11525,13 +11525,13 @@ var require_coreipc = __commonJS((exports, module) => {
11525
11525
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
11526
11526
  return ke.debounceTime;
11527
11527
  } });
11528
- var Te = r(6204);
11528
+ var Ce = r(6204);
11529
11529
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
11530
- return Te.defaultIfEmpty;
11530
+ return Ce.defaultIfEmpty;
11531
11531
  } });
11532
- var Ce = r(7752);
11532
+ var Te = r(7752);
11533
11533
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
11534
- return Ce.delay;
11534
+ return Te.delay;
11535
11535
  } });
11536
11536
  var Ae = r(7532);
11537
11537
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -11741,13 +11741,13 @@ var require_coreipc = __commonJS((exports, module) => {
11741
11741
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
11742
11742
  return kt.share;
11743
11743
  } });
11744
- var Tt = r(4980);
11744
+ var Ct = r(4980);
11745
11745
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
11746
- return Tt.shareReplay;
11746
+ return Ct.shareReplay;
11747
11747
  } });
11748
- var Ct = r(1400);
11748
+ var Tt = r(1400);
11749
11749
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
11750
- return Ct.single;
11750
+ return Tt.single;
11751
11751
  } });
11752
11752
  var At = r(7516);
11753
11753
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -17447,12 +17447,24 @@ var require_coreipc = __commonJS((exports, module) => {
17447
17447
  static create() {
17448
17448
  return new r;
17449
17449
  }
17450
+ get(e3) {
17451
+ return this._map.get(e3);
17452
+ }
17450
17453
  getOrCreateValue(e3, t3) {
17451
17454
  if (this._map.has(e3))
17452
17455
  return this._map.get(e3);
17453
17456
  let r2 = t3(e3);
17454
17457
  return this._map.set(e3, r2), r2;
17455
17458
  }
17459
+ delete(e3) {
17460
+ return this._map.delete(e3);
17461
+ }
17462
+ values() {
17463
+ return this._map.values();
17464
+ }
17465
+ clear() {
17466
+ this._map.clear();
17467
+ }
17456
17468
  }
17457
17469
  t2.Dictionary = r;
17458
17470
  }, 4444: function(e2, t2, r) {
@@ -18825,25 +18837,61 @@ Object name: '${e3}'.`), t3;
18825
18837
  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);
18826
18838
  }, 1816: (e2, t2) => {
18827
18839
  Object.defineProperty(t2, "__esModule", { value: true });
18828
- }, 5284: (e2, t2, r) => {
18840
+ }, 5284: function(e2, t2, r) {
18841
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
18842
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
18843
+ function s2(e4) {
18844
+ try {
18845
+ c2(n2.next(e4));
18846
+ } catch (e5) {
18847
+ i3(e5);
18848
+ }
18849
+ }
18850
+ function a2(e4) {
18851
+ try {
18852
+ c2(n2.throw(e4));
18853
+ } catch (e5) {
18854
+ i3(e5);
18855
+ }
18856
+ }
18857
+ function c2(e4) {
18858
+ var t4;
18859
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
18860
+ e5(t4);
18861
+ })).then(s2, a2);
18862
+ }
18863
+ c2((n2 = n2.apply(e3, t3 || [])).next());
18864
+ });
18865
+ };
18829
18866
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
18830
- const n = r(5188), o = r(3212), i2 = r(4104), s = r(2760), a = r(9100);
18867
+ const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
18831
18868
  t2.IpcCoreBase = class {
18832
18869
  constructor() {
18833
18870
  this._db = new Map;
18834
18871
  }
18835
18872
  };
18836
18873
 
18837
- class c {
18874
+ class u {
18838
18875
  constructor(e3, t3, r2) {
18839
- this.addressBuilder = e3, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i2.ProxySource(this), this.dispatchProxies = new i2.DispatchProxyClassStore, this.wire = new i2.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i2.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
18876
+ 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;
18840
18877
  }
18841
18878
  getAddress(e3) {
18842
18879
  const t3 = new this.addressBuilder;
18843
18880
  return e3(t3), t3.assertAddress();
18844
18881
  }
18882
+ disposeChannel(e3) {
18883
+ return n(this, undefined, undefined, function* () {
18884
+ const t3 = this.getAddress(e3);
18885
+ yield this.wire.disposeChannel(t3.key);
18886
+ });
18887
+ }
18888
+ disposeAllChannels() {
18889
+ return n(this, undefined, undefined, function* () {
18890
+ yield this.wire.disposeAllChannels();
18891
+ });
18892
+ }
18845
18893
  }
18846
- t2.IpcBaseImpl = c, function(e3) {
18894
+ t2.IpcBaseImpl = u, function(e3) {
18847
18895
  e3.ProxySource = class {
18848
18896
  constructor(e4) {
18849
18897
  this._serviceProvider = e4;
@@ -18859,7 +18907,7 @@ Object name: '${e3}'.`), t3;
18859
18907
  this._serviceProvider = e4, this._address = t4;
18860
18908
  }
18861
18909
  withService(e4) {
18862
- const t4 = new i2.ProxyId(e4, this._address);
18910
+ const t4 = new s.ProxyId(e4, this._address);
18863
18911
  return this._serviceProvider.proxySource.resolve(t4);
18864
18912
  }
18865
18913
  }
@@ -18881,27 +18929,27 @@ Object name: '${e3}'.`), t3;
18881
18929
  this._ipc = e4, this._address = t4;
18882
18930
  }
18883
18931
  setConnectHelper(e4) {
18884
- (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
18932
+ (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
18885
18933
  }
18886
18934
  forAnyService() {
18887
- return new o2(this._ipc, this._address);
18935
+ return new n2(this._ipc, this._address);
18888
18936
  }
18889
18937
  forService(e4) {
18890
- return new o2(this._ipc, this._address, e4);
18938
+ return new n2(this._ipc, this._address, e4);
18891
18939
  }
18892
18940
  }
18893
18941
  e3.ConfigurationWithAddress = r2;
18894
18942
 
18895
- class o2 {
18943
+ class n2 {
18896
18944
  constructor(e4, t4, r3) {
18897
18945
  this._ipc = e4, this._address = t4, this._service = r3;
18898
18946
  }
18899
18947
  setRequestTimeout(e4) {
18900
- (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
18948
+ (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);
18901
18949
  }
18902
18950
  }
18903
- e3.ConfigurationWithAddressService = o2;
18904
- }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
18951
+ e3.ConfigurationWithAddressService = n2;
18952
+ }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
18905
18953
  }, 3552: (e2, t2) => {
18906
18954
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
18907
18955
  constructor(e3, t3, r, n) {
@@ -18974,7 +19022,13 @@ Object name: '${e3}'.`), t3;
18974
19022
  }
18975
19023
  disposeAsync() {
18976
19024
  return n(this, undefined, undefined, function* () {
18977
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
19025
+ this._ctsLoop.cancel();
19026
+ try {
19027
+ yield this._loop;
19028
+ } catch (e3) {
19029
+ e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
19030
+ }
19031
+ this._stream.dispose();
18978
19032
  });
18979
19033
  }
18980
19034
  static toMessageTypeString(e3) {
@@ -19159,8 +19213,8 @@ ${e3.Data}`);
19159
19213
  static create(e3, t3, r2, n2, o2, i3) {
19160
19214
  return new a(e3, t3, r2, n2, o2, i3);
19161
19215
  }
19162
- constructor(e3, t3, r2, n2, o2, s2) {
19163
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
19216
+ constructor(e3, t3, r2, n2, s2, c) {
19217
+ this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
19164
19218
  constructor(e4) {
19165
19219
  this._owner = e4;
19166
19220
  }
@@ -19173,8 +19227,8 @@ ${e3.Data}`);
19173
19227
  complete() {
19174
19228
  this._owner.dispatchNetworkComplete();
19175
19229
  }
19176
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
19177
- this.disposeAsync();
19230
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
19231
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
19178
19232
  });
19179
19233
  }
19180
19234
  disposeAsync() {
@@ -19413,6 +19467,12 @@ ${e3.Data}`);
19413
19467
  complete() {}
19414
19468
  }(this);
19415
19469
  }
19470
+ disposeAsync() {
19471
+ return n(this, undefined, undefined, function* () {
19472
+ const e3 = this._latestChannel;
19473
+ this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
19474
+ });
19475
+ }
19416
19476
  invokeMethod(e3, t3, r2) {
19417
19477
  return n(this, undefined, undefined, function* () {
19418
19478
  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);
@@ -19567,18 +19627,55 @@ ${e3.Data}`);
19567
19627
  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];
19568
19628
  }
19569
19629
  };
19570
- }, 4156: (e2, t2, r) => {
19630
+ }, 4156: function(e2, t2, r) {
19631
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
19632
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
19633
+ function s2(e4) {
19634
+ try {
19635
+ c(n2.next(e4));
19636
+ } catch (e5) {
19637
+ i3(e5);
19638
+ }
19639
+ }
19640
+ function a(e4) {
19641
+ try {
19642
+ c(n2.throw(e4));
19643
+ } catch (e5) {
19644
+ i3(e5);
19645
+ }
19646
+ }
19647
+ function c(e4) {
19648
+ var t4;
19649
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
19650
+ e5(t4);
19651
+ })).then(s2, a);
19652
+ }
19653
+ c((n2 = n2.apply(e3, t3 || [])).next());
19654
+ });
19655
+ };
19571
19656
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
19572
- const n = r(3212), o = r(4104), i2 = r(5188);
19657
+ const o = r(3212), i2 = r(4104), s = r(5188);
19573
19658
  t2.Wire = class {
19574
19659
  invokeMethod(e3, t3, r2) {
19575
19660
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
19576
19661
  }
19577
- constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
19578
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i2.Dictionary;
19662
+ constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
19663
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
19579
19664
  }
19580
19665
  getOrCreateChannelManager(e3) {
19581
- return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
19666
+ return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
19667
+ }
19668
+ disposeChannel(e3) {
19669
+ return n(this, undefined, undefined, function* () {
19670
+ const t3 = this._map.get(e3);
19671
+ t3 && (this._map.delete(e3), yield t3.disposeAsync());
19672
+ });
19673
+ }
19674
+ disposeAllChannels() {
19675
+ return n(this, undefined, undefined, function* () {
19676
+ const e3 = [...this._map.values()];
19677
+ this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
19678
+ });
19582
19679
  }
19583
19680
  };
19584
19681
  }, 4104: function(e2, t2, r) {
@@ -20541,7 +20638,7 @@ ${e3.Data}`);
20541
20638
  }
20542
20639
  };
20543
20640
  }, 5144: (e2, t2, r) => {
20544
- 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], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
20641
+ 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~]+$/;
20545
20642
 
20546
20643
  class A extends n {
20547
20644
  constructor(e3, t3, r2) {
@@ -20664,7 +20761,7 @@ ${e3.Data}`);
20664
20761
  let g2, O2;
20665
20762
  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) {
20666
20763
  for (const e4 of r2) {
20667
- if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
20764
+ if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
20668
20765
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
20669
20766
  m2.add(e4);
20670
20767
  }
@@ -20763,7 +20860,7 @@ ${e3.Data}`);
20763
20860
  const r3 = x(t3).length;
20764
20861
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
20765
20862
  }
20766
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
20863
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
20767
20864
  }
20768
20865
  function W(e3, t3) {
20769
20866
  const r2 = this[O];
@@ -20809,7 +20906,7 @@ ${e3.Data}`);
20809
20906
  const e3 = this[O];
20810
20907
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
20811
20908
  }
20812
- Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
20909
+ 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) => {
20813
20910
  Object.defineProperty(A.prototype, e3, { enumerable: true });
20814
20911
  }), ["open", "error", "close", "message"].forEach((e3) => {
20815
20912
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -27486,11 +27583,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
27486
27583
  var coreipc_1 = require_coreipc();
27487
27584
 
27488
27585
  class HandleConsentCodeMessage extends coreipc_1.Message {
27489
- constructor(Accept, Domain, ConsentCode) {
27586
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
27490
27587
  super();
27491
27588
  this.Accept = Accept;
27492
27589
  this.Domain = Domain;
27493
27590
  this.ConsentCode = ConsentCode;
27591
+ this.SignInUrl = SignInUrl;
27592
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
27494
27593
  }
27495
27594
  }
27496
27595
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -28291,8 +28390,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
28291
28390
  constructor(_consentCodeServices) {
28292
28391
  this._consentCodeServices = _consentCodeServices;
28293
28392
  }
28294
- HandleConsentCode(accept, domain2, consentCode) {
28295
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
28393
+ HandleConsentCode(accept, domain2, consentCode, signInUrl) {
28394
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
28296
28395
  }
28297
28396
  IsDomainAllowed(domain2) {
28298
28397
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -28434,7 +28533,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
28434
28533
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
28435
28534
  }
28436
28535
  CloseAsync() {
28437
- return __awaiter(this, undefined, undefined, function* () {});
28536
+ return __awaiter(this, undefined, undefined, function* () {
28537
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
28538
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
28539
+ });
28438
28540
  }
28439
28541
  get RobotStatusChanged() {
28440
28542
  return this._robotStatusChanged;
@@ -28691,7 +28793,7 @@ var require_dist = __commonJS((exports) => {
28691
28793
  // package.json
28692
28794
  var package_default = {
28693
28795
  name: "@uipath/orchestrator-tool",
28694
- version: "0.9.0",
28796
+ version: "0.9.1",
28695
28797
  description: "Manage Orchestrator folders, jobs, processes, and releases.",
28696
28798
  private: false,
28697
28799
  repository: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/orchestrator-tool",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Manage Orchestrator folders, jobs, processes, and releases.",
5
5
  "private": false,
6
6
  "repository": {
@@ -34,12 +34,12 @@
34
34
  "lint:fix": "biome check --write ."
35
35
  },
36
36
  "devDependencies": {
37
- "@uipath/common": "0.9.0",
38
- "@uipath/filesystem": "0.9.0",
39
- "@uipath/orchestrator-sdk": "0.9.0",
37
+ "@uipath/common": "0.9.1",
38
+ "@uipath/filesystem": "0.9.1",
39
+ "@uipath/orchestrator-sdk": "0.9.1",
40
40
  "@types/node": "^25.5.0",
41
41
  "commander": "^14.0.3",
42
42
  "typescript": "^5"
43
43
  },
44
- "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
44
+ "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
45
45
  }