@uipath/data-fabric-tool 1.205.0-preview.281 → 1.206.0-preview.282

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 (24) hide show
  1. package/README.md +41 -0
  2. package/dist/{entities-inline-baef06jh.js → entities-inline-2t6gm4dg.js} +67 -52
  3. package/dist/{federated-payload-9pzxpsw5.js → federated-payload-5aj381w4.js} +61 -26
  4. package/dist/{getMachineId-bsd-67w37xtj.js → getMachineId-bsd-hr7dy73y.js} +3 -3
  5. package/dist/{getMachineId-darwin-4g3xfpfp.js → getMachineId-darwin-k0c7ykqv.js} +3 -3
  6. package/dist/{getMachineId-linux-a4p6fb9w.js → getMachineId-linux-f0m4gd78.js} +2 -2
  7. package/dist/{getMachineId-unsupported-77w362eh.js → getMachineId-unsupported-e99prk6h.js} +2 -2
  8. package/dist/{getMachineId-win-9cfxg9c8.js → getMachineId-win-zqh7yjfs.js} +3 -3
  9. package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
  10. package/dist/index.js +11 -13
  11. package/dist/{jmespath-231m3hyn.js → jmespath-ab6tdc42.js} +1 -1
  12. package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
  13. package/dist/{packager-tool-pz3g5mpk.js → packager-tool-0j0r03b9.js} +3 -3
  14. package/dist/{packager-tool-bndhpxxj.js → packager-tool-4b88bsfh.js} +30 -30
  15. package/dist/{packager-tool-2wp1xwz4.js → packager-tool-4h93ssh9.js} +6 -6
  16. package/dist/{packager-tool-m0btwdsf.js → packager-tool-8h3n7zh5.js} +207 -3
  17. package/dist/{packager-tool-1de529jm.js → packager-tool-epsr41wx.js} +12 -3
  18. package/dist/{packager-tool-2czkpqb0.js → packager-tool-ggemp2c3.js} +1 -1
  19. package/dist/{packager-tool-r0r0wqk6.js → packager-tool-k1j9cp3v.js} +164 -60
  20. package/dist/{packager-tool-w9r3qa12.js → packager-tool-rmg1jqy3.js} +1183 -1166
  21. package/dist/{packager-tool-xnrdmg37.js → packager-tool-xskp1rxe.js} +1494 -1214
  22. package/dist/packager-tool.js +5 -6
  23. package/dist/tool.js +10 -12
  24. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./packager-tool-1de529jm.js";
3
+ } from "./packager-tool-epsr41wx.js";
4
4
 
5
5
  // ../../node_modules/@opentelemetry/api/build/src/version.js
6
6
  var require_version = __commonJS(function(exports) {
@@ -169,14 +169,14 @@ var require_types = __commonJS(function(exports) {
169
169
  Object.defineProperty(exports, "__esModule", { value: true });
170
170
  exports.DiagLogLevel = undefined;
171
171
  var DiagLogLevel;
172
- (function(DiagLogLevel2) {
173
- DiagLogLevel2[DiagLogLevel2["NONE"] = 0] = "NONE";
174
- DiagLogLevel2[DiagLogLevel2["ERROR"] = 30] = "ERROR";
175
- DiagLogLevel2[DiagLogLevel2["WARN"] = 50] = "WARN";
176
- DiagLogLevel2[DiagLogLevel2["INFO"] = 60] = "INFO";
177
- DiagLogLevel2[DiagLogLevel2["DEBUG"] = 70] = "DEBUG";
178
- DiagLogLevel2[DiagLogLevel2["VERBOSE"] = 80] = "VERBOSE";
179
- DiagLogLevel2[DiagLogLevel2["ALL"] = 9999] = "ALL";
172
+ (function(DiagLogLevel) {
173
+ DiagLogLevel[DiagLogLevel["NONE"] = 0] = "NONE";
174
+ DiagLogLevel[DiagLogLevel["ERROR"] = 30] = "ERROR";
175
+ DiagLogLevel[DiagLogLevel["WARN"] = 50] = "WARN";
176
+ DiagLogLevel[DiagLogLevel["INFO"] = 60] = "INFO";
177
+ DiagLogLevel[DiagLogLevel["DEBUG"] = 70] = "DEBUG";
178
+ DiagLogLevel[DiagLogLevel["VERBOSE"] = 80] = "VERBOSE";
179
+ DiagLogLevel[DiagLogLevel["ALL"] = 9999] = "ALL";
180
180
  })(DiagLogLevel = exports.DiagLogLevel || (exports.DiagLogLevel = {}));
181
181
  });
182
182
 
@@ -529,9 +529,9 @@ var require_Metric = __commonJS(function(exports) {
529
529
  Object.defineProperty(exports, "__esModule", { value: true });
530
530
  exports.ValueType = undefined;
531
531
  var ValueType;
532
- (function(ValueType2) {
533
- ValueType2[ValueType2["INT"] = 0] = "INT";
534
- ValueType2[ValueType2["DOUBLE"] = 1] = "DOUBLE";
532
+ (function(ValueType) {
533
+ ValueType[ValueType["INT"] = 0] = "INT";
534
+ ValueType[ValueType["DOUBLE"] = 1] = "DOUBLE";
535
535
  })(ValueType = exports.ValueType || (exports.ValueType = {}));
536
536
  });
537
537
 
@@ -635,9 +635,9 @@ var require_trace_flags = __commonJS(function(exports) {
635
635
  Object.defineProperty(exports, "__esModule", { value: true });
636
636
  exports.TraceFlags = undefined;
637
637
  var TraceFlags;
638
- (function(TraceFlags2) {
639
- TraceFlags2[TraceFlags2["NONE"] = 0] = "NONE";
640
- TraceFlags2[TraceFlags2["SAMPLED"] = 1] = "SAMPLED";
638
+ (function(TraceFlags) {
639
+ TraceFlags[TraceFlags["NONE"] = 0] = "NONE";
640
+ TraceFlags[TraceFlags["SAMPLED"] = 1] = "SAMPLED";
641
641
  })(TraceFlags = exports.TraceFlags || (exports.TraceFlags = {}));
642
642
  });
643
643
 
@@ -1005,10 +1005,10 @@ var require_SamplingResult = __commonJS(function(exports) {
1005
1005
  Object.defineProperty(exports, "__esModule", { value: true });
1006
1006
  exports.SamplingDecision = undefined;
1007
1007
  var SamplingDecision;
1008
- (function(SamplingDecision2) {
1009
- SamplingDecision2[SamplingDecision2["NOT_RECORD"] = 0] = "NOT_RECORD";
1010
- SamplingDecision2[SamplingDecision2["RECORD"] = 1] = "RECORD";
1011
- SamplingDecision2[SamplingDecision2["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
1008
+ (function(SamplingDecision) {
1009
+ SamplingDecision[SamplingDecision["NOT_RECORD"] = 0] = "NOT_RECORD";
1010
+ SamplingDecision[SamplingDecision["RECORD"] = 1] = "RECORD";
1011
+ SamplingDecision[SamplingDecision["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
1012
1012
  })(SamplingDecision = exports.SamplingDecision || (exports.SamplingDecision = {}));
1013
1013
  });
1014
1014
 
@@ -1017,12 +1017,12 @@ var require_span_kind = __commonJS(function(exports) {
1017
1017
  Object.defineProperty(exports, "__esModule", { value: true });
1018
1018
  exports.SpanKind = undefined;
1019
1019
  var SpanKind;
1020
- (function(SpanKind2) {
1021
- SpanKind2[SpanKind2["INTERNAL"] = 0] = "INTERNAL";
1022
- SpanKind2[SpanKind2["SERVER"] = 1] = "SERVER";
1023
- SpanKind2[SpanKind2["CLIENT"] = 2] = "CLIENT";
1024
- SpanKind2[SpanKind2["PRODUCER"] = 3] = "PRODUCER";
1025
- SpanKind2[SpanKind2["CONSUMER"] = 4] = "CONSUMER";
1020
+ (function(SpanKind) {
1021
+ SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL";
1022
+ SpanKind[SpanKind["SERVER"] = 1] = "SERVER";
1023
+ SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT";
1024
+ SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER";
1025
+ SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
1026
1026
  })(SpanKind = exports.SpanKind || (exports.SpanKind = {}));
1027
1027
  });
1028
1028
 
@@ -1031,10 +1031,10 @@ var require_status = __commonJS(function(exports) {
1031
1031
  Object.defineProperty(exports, "__esModule", { value: true });
1032
1032
  exports.SpanStatusCode = undefined;
1033
1033
  var SpanStatusCode;
1034
- (function(SpanStatusCode2) {
1035
- SpanStatusCode2[SpanStatusCode2["UNSET"] = 0] = "UNSET";
1036
- SpanStatusCode2[SpanStatusCode2["OK"] = 1] = "OK";
1037
- SpanStatusCode2[SpanStatusCode2["ERROR"] = 2] = "ERROR";
1034
+ (function(SpanStatusCode) {
1035
+ SpanStatusCode[SpanStatusCode["UNSET"] = 0] = "UNSET";
1036
+ SpanStatusCode[SpanStatusCode["OK"] = 1] = "OK";
1037
+ SpanStatusCode[SpanStatusCode["ERROR"] = 2] = "ERROR";
1038
1038
  })(SpanStatusCode = exports.SpanStatusCode || (exports.SpanStatusCode = {}));
1039
1039
  });
1040
1040
 
@@ -1484,4 +1484,4 @@ var require_src = __commonJS(function(exports) {
1484
1484
 
1485
1485
  export { require_src };
1486
1486
 
1487
- //# debugId=4AF816916D9C918264756E2164756E21
1487
+ //# debugId=DCE1CD650085B68F64756E2164756E21
@@ -1,12 +1,12 @@
1
1
  import {
2
- OutputFormatter,
3
- RESULTS,
4
2
  getFileSystem,
3
+ RESULTS,
4
+ OutputFormatter,
5
5
  processContext,
6
- readStdin,
7
6
  requireConfirmation,
8
- warnDeprecatedOptionAlias
9
- } from "./packager-tool-xnrdmg37.js";
7
+ warnDeprecatedOptionAlias,
8
+ readStdin
9
+ } from "./packager-tool-xskp1rxe.js";
10
10
 
11
11
  // src/utils/output.ts
12
12
  function fail(message, instructions) {
@@ -98,4 +98,4 @@ function parseJson(raw) {
98
98
 
99
99
  export { fail, failInvalidArgument, failWithCode, requireDestructiveConfirmation, readFileBinary, readJsonInput };
100
100
 
101
- //# debugId=0FC79F5B9BB6159864756E2164756E21
101
+ //# debugId=74A4DD409DC73AE664756E2164756E21
@@ -1,6 +1,208 @@
1
1
  import {
2
2
  __require
3
- } from "./packager-tool-1de529jm.js";
3
+ } from "./packager-tool-epsr41wx.js";
4
+
5
+ // ../common/src/telemetry/telemetry-dimensions.ts
6
+ var BaseDimensions = {
7
+ ApplicationName: "ApplicationName",
8
+ ProductVersion: "ProductVersion",
9
+ InstallationId: "InstallationId",
10
+ CloudUserId: "CloudUserId",
11
+ CloudTenantId: "CloudTenantId",
12
+ CloudOrganizationId: "CloudOrganizationId",
13
+ IsInternalUser: "IsInternalUser",
14
+ Environment: "Environment",
15
+ BaseUrl: "BaseUrl",
16
+ Region: "Region",
17
+ Agent: "Agent",
18
+ AgentVersion: "AgentVersion",
19
+ AgentModel: "AgentModel",
20
+ ToolName: "ToolName",
21
+ ToolVersion: "ToolVersion",
22
+ ExecutionContext: "ExecutionContext",
23
+ CiProvider: "CiProvider",
24
+ SessionIdSource: "SessionIdSource",
25
+ SessionId: "SessionId"
26
+ };
27
+ var CommandDimensions = {
28
+ IsCommand: "IsCommand",
29
+ IsReexec: "IsReexec",
30
+ CommandName: "CommandName",
31
+ ExitCode: "ExitCode",
32
+ TerminalOutcome: "TerminalOutcome",
33
+ ErrorClass: "ErrorClass",
34
+ TerminalSignal: "TerminalSignal",
35
+ ErrorMessage: "ErrorMessage",
36
+ SkillName: "SkillName",
37
+ ProductArea: "ProductArea",
38
+ Mode: "Mode"
39
+ };
40
+ var ProjectDimensions = {
41
+ ProjectKey: "ProjectKey",
42
+ ProjectType: "ProjectType",
43
+ ProjectIdentityStatus: "ProjectIdentityStatus",
44
+ SolutionKey: "SolutionKey",
45
+ SolutionProjectKey: "SolutionProjectKey",
46
+ SolutionIdentityStatus: "SolutionIdentityStatus",
47
+ PreviousSolutionKey: "PreviousSolutionKey"
48
+ };
49
+ var GUID_KEY_DIMENSIONS = new Set([
50
+ ProjectDimensions.ProjectKey,
51
+ ProjectDimensions.SolutionKey,
52
+ ProjectDimensions.SolutionProjectKey,
53
+ ProjectDimensions.PreviousSolutionKey
54
+ ]);
55
+ var ShipDimensions = {
56
+ ShipKind: "ShipKind",
57
+ Target: "Target",
58
+ ProjectType: "ProjectType",
59
+ ProjectTypes: "ProjectTypes",
60
+ ArtifactCorrelationKey: "ArtifactCorrelationKey",
61
+ PackageName: "PackageName",
62
+ PackageVersion: "PackageVersion",
63
+ PackageVersionKey: "PackageVersionKey",
64
+ DeploymentKey: "DeploymentKey",
65
+ SolutionId: "SolutionId",
66
+ FolderKey: "FolderKey",
67
+ FeedId: "FeedId"
68
+ };
69
+ var ErrorDimensions = {
70
+ Result: "Result",
71
+ ErrorCode: "ErrorCode",
72
+ Retry: "Retry",
73
+ ErrorMessage: "ErrorMessage",
74
+ HttpStatus: "HttpStatus",
75
+ UpstreamErrorCode: "UpstreamErrorCode"
76
+ };
77
+ var AuthDimensions = {
78
+ AuthenticationMethod: "AuthenticationMethod",
79
+ Success: "Success",
80
+ Reason: "Reason"
81
+ };
82
+ var SkillsDimensions = {
83
+ SchemaVersion: "SchemaVersion",
84
+ AgentType: "AgentType",
85
+ SkillsVersion: "SkillsVersion",
86
+ UipSubcommand: "UipSubcommand",
87
+ FileExtension: "FileExtension",
88
+ SubagentModel: "SubagentModel",
89
+ SubagentType: "SubagentType",
90
+ PermissionMode: "PermissionMode",
91
+ EffortLevel: "EffortLevel",
92
+ SessionSource: "SessionSource",
93
+ Outcome: "Outcome",
94
+ DurationMs: "DurationMs",
95
+ Source: "Source"
96
+ };
97
+ var PackagerDimensions = {
98
+ ProjectId: "ProjectId",
99
+ ProjectType: "ProjectType",
100
+ SolutionId: "SolutionId"
101
+ };
102
+ var ScopeDimensions = {
103
+ FolderId: "FolderId"
104
+ };
105
+ var ID_DIMENSIONS = new Set([
106
+ BaseDimensions.CloudUserId,
107
+ BaseDimensions.CloudTenantId,
108
+ BaseDimensions.CloudOrganizationId,
109
+ BaseDimensions.InstallationId,
110
+ ShipDimensions.ArtifactCorrelationKey,
111
+ ShipDimensions.PackageVersionKey,
112
+ ShipDimensions.DeploymentKey,
113
+ ShipDimensions.SolutionId,
114
+ ShipDimensions.FolderKey,
115
+ ShipDimensions.FeedId,
116
+ PackagerDimensions.ProjectId
117
+ ]);
118
+ var NON_IDENTIFIER_PLACEHOLDER_PATTERN = /^(?:\[[A-Z_]+\]|<[^>]+>)$/;
119
+ var RESERVED_DIMENSION_NAMES = new Set([
120
+ ...Object.values(BaseDimensions),
121
+ ...Object.values(CommandDimensions),
122
+ ...Object.values(ShipDimensions),
123
+ ...Object.values(ProjectDimensions),
124
+ ...Object.values(ErrorDimensions),
125
+ ...Object.values(AuthDimensions),
126
+ ...Object.values(SkillsDimensions),
127
+ ...Object.values(PackagerDimensions),
128
+ ...Object.values(ScopeDimensions)
129
+ ]);
130
+ var CURATED_DIMENSIONS = new Set([
131
+ BaseDimensions.ApplicationName,
132
+ BaseDimensions.ProductVersion,
133
+ BaseDimensions.InstallationId,
134
+ BaseDimensions.CloudUserId,
135
+ BaseDimensions.CloudTenantId,
136
+ BaseDimensions.CloudOrganizationId,
137
+ BaseDimensions.IsInternalUser,
138
+ BaseDimensions.Environment,
139
+ BaseDimensions.BaseUrl,
140
+ BaseDimensions.Region,
141
+ BaseDimensions.Agent,
142
+ BaseDimensions.AgentVersion,
143
+ BaseDimensions.ToolVersion,
144
+ BaseDimensions.ExecutionContext,
145
+ BaseDimensions.CiProvider,
146
+ BaseDimensions.SessionIdSource,
147
+ BaseDimensions.SessionId,
148
+ ...Object.values(CommandDimensions),
149
+ ...Object.values(ShipDimensions),
150
+ ...Object.values(ProjectDimensions)
151
+ ]);
152
+ function lowercaseIdDimensionValues(properties) {
153
+ let changed = false;
154
+ const result = {
155
+ ...properties
156
+ };
157
+ for (const key of Object.keys(result)) {
158
+ const value = result[key];
159
+ if (!ID_DIMENSIONS.has(key) || typeof value !== "string" || NON_IDENTIFIER_PLACEHOLDER_PATTERN.test(value)) {
160
+ continue;
161
+ }
162
+ const lowered = value.toLowerCase();
163
+ if (lowered !== value) {
164
+ result[key] = lowered;
165
+ changed = true;
166
+ }
167
+ }
168
+ return changed ? result : properties;
169
+ }
170
+
171
+ // ../common/src/telemetry/project-identity.ts
172
+ function projectKey(id) {
173
+ if (typeof id !== "string")
174
+ return;
175
+ const key = id.trim().toLowerCase().replaceAll("-", "");
176
+ return /^[0-9a-f]{32}$/.test(key) ? key : undefined;
177
+ }
178
+ function projectIdentityProperties(identity) {
179
+ const key = identity.id ? projectKey(identity.id) : undefined;
180
+ return {
181
+ [ProjectDimensions.ProjectIdentityStatus]: identity.status === "resolved" && !key ? "invalid" : identity.status,
182
+ [ProjectDimensions.ProjectType]: identity.projectType,
183
+ ...identity.status === "resolved" && key ? {
184
+ [ProjectDimensions.ProjectKey]: key
185
+ } : {}
186
+ };
187
+ }
188
+ var PROJECT_IDENTITY_LOOKUP_BUDGET_MS = 1000;
189
+ async function withinProjectIdentityBudget(work, onTimeout) {
190
+ work.catch(() => {
191
+ return;
192
+ });
193
+ let timer;
194
+ const expired = new Promise((resolve) => {
195
+ timer = setTimeout(() => {
196
+ onTimeout?.();
197
+ resolve(undefined);
198
+ }, PROJECT_IDENTITY_LOOKUP_BUDGET_MS);
199
+ });
200
+ try {
201
+ return await Promise.race([work, expired]);
202
+ } finally {
203
+ clearTimeout(timer);
204
+ }
205
+ }
4
206
 
5
207
  // ../common/src/telemetry/pseudonymize.ts
6
208
  var PSEUDONYM_DOMAIN = "uipath-cli/telemetry/pseudonym/v1:";
@@ -465,6 +667,8 @@ function redactProperty(name, value) {
465
667
  if (isSensitiveName(name)) {
466
668
  return REDACTED;
467
669
  }
670
+ if (GUID_KEY_DIMENSIONS.has(name))
671
+ return projectKey(value);
468
672
  if (typeof value === "boolean" || typeof value === "number") {
469
673
  return value;
470
674
  }
@@ -879,6 +1083,6 @@ function findInvalidFieldConstraints(fields) {
879
1083
  return null;
880
1084
  }
881
1085
 
882
- export { singleton, recordSuppliedArgumentValues, releaseSuppliedArgumentValues, redactSpanName, redactHttpDependencyName, redactError, redactProperties, describeThrownValue, catchError, MAX_MULTILINE_MAX_FIELDS, findInvalidFieldConstraints, findReservedNameError, validateNameFormat, validateName };
1086
+ export { BaseDimensions, CommandDimensions, ErrorDimensions, SkillsDimensions, lowercaseIdDimensionValues, projectIdentityProperties, PROJECT_IDENTITY_LOOKUP_BUDGET_MS, withinProjectIdentityBudget, singleton, recordSuppliedArgumentValues, releaseSuppliedArgumentValues, redactSpanName, redactHttpDependencyName, redactError, redactProperties, describeThrownValue, catchError, MAX_MULTILINE_MAX_FIELDS, findInvalidFieldConstraints, findReservedNameError, validateNameFormat, validateName };
883
1087
 
884
- //# debugId=E54838BA13B08A5964756E2164756E21
1088
+ //# debugId=260E9FBD679971EC64756E2164756E21
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
18
18
  return cached;
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
22
  if (mod && typeof mod === "object" || typeof mod === "function") {
23
23
  for (let key of __getOwnPropNames(mod))
24
24
  if (!__hasOwnProp.call(to, key))
@@ -32,8 +32,17 @@ var __toESM = (mod, isNodeMode, target) => {
32
32
  return to;
33
33
  };
34
34
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
35
+ var __exportCjs = (target, getters, setters) => {
36
+ for (var name in getters)
37
+ __defProp(target, name, {
38
+ get: getters[name],
39
+ set: setters[name],
40
+ enumerable: true,
41
+ configurable: true
42
+ });
43
+ };
35
44
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
36
45
 
37
- export { __toESM, __commonJS, __require };
46
+ export { __toESM, __commonJS, __exportCjs, __require };
38
47
 
39
- //# debugId=4A15A0D6FCDB684764756E2164756E21
48
+ //# debugId=6692E9B4C735B07364756E2164756E21
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  __require
4
- } from "./packager-tool-1de529jm.js";
4
+ } from "./packager-tool-epsr41wx.js";
5
5
 
6
6
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js
7
7
  var require_execAsync = __commonJS(function(exports) {