@uipath/packager-tool-workflowcompiler 1.205.0-preview.276 → 1.206.0-preview.279

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/index.js +164 -134
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -706,6 +706,153 @@ var en2 = {
706
706
  // ../packager-orchestrator-client/src/i18n/index.ts
707
707
  I18nManager2.registerTranslations("en", en2);
708
708
 
709
+ // ../../common/src/telemetry/telemetry-dimensions.ts
710
+ var BaseDimensions = {
711
+ ApplicationName: "ApplicationName",
712
+ ProductVersion: "ProductVersion",
713
+ InstallationId: "InstallationId",
714
+ CloudUserId: "CloudUserId",
715
+ CloudTenantId: "CloudTenantId",
716
+ CloudOrganizationId: "CloudOrganizationId",
717
+ IsInternalUser: "IsInternalUser",
718
+ Environment: "Environment",
719
+ BaseUrl: "BaseUrl",
720
+ Region: "Region",
721
+ Agent: "Agent",
722
+ AgentVersion: "AgentVersion",
723
+ AgentModel: "AgentModel",
724
+ ToolName: "ToolName",
725
+ ToolVersion: "ToolVersion",
726
+ ExecutionContext: "ExecutionContext",
727
+ CiProvider: "CiProvider",
728
+ SessionIdSource: "SessionIdSource",
729
+ SessionId: "SessionId"
730
+ };
731
+ var CommandDimensions = {
732
+ IsCommand: "IsCommand",
733
+ IsReexec: "IsReexec",
734
+ CommandName: "CommandName",
735
+ ExitCode: "ExitCode",
736
+ TerminalOutcome: "TerminalOutcome",
737
+ ErrorClass: "ErrorClass",
738
+ TerminalSignal: "TerminalSignal",
739
+ ErrorMessage: "ErrorMessage",
740
+ SkillName: "SkillName",
741
+ ProductArea: "ProductArea",
742
+ Mode: "Mode"
743
+ };
744
+ var ProjectDimensions = {
745
+ ProjectKey: "ProjectKey",
746
+ ProjectType: "ProjectType",
747
+ ProjectIdentityStatus: "ProjectIdentityStatus",
748
+ SolutionKey: "SolutionKey",
749
+ SolutionProjectKey: "SolutionProjectKey",
750
+ SolutionIdentityStatus: "SolutionIdentityStatus",
751
+ PreviousSolutionKey: "PreviousSolutionKey"
752
+ };
753
+ var GUID_KEY_DIMENSIONS = new Set([
754
+ ProjectDimensions.ProjectKey,
755
+ ProjectDimensions.SolutionKey,
756
+ ProjectDimensions.SolutionProjectKey,
757
+ ProjectDimensions.PreviousSolutionKey
758
+ ]);
759
+ var ShipDimensions = {
760
+ ShipKind: "ShipKind",
761
+ Target: "Target",
762
+ ProjectType: "ProjectType",
763
+ ProjectTypes: "ProjectTypes",
764
+ ArtifactCorrelationKey: "ArtifactCorrelationKey",
765
+ PackageName: "PackageName",
766
+ PackageVersion: "PackageVersion",
767
+ PackageVersionKey: "PackageVersionKey",
768
+ DeploymentKey: "DeploymentKey",
769
+ SolutionId: "SolutionId",
770
+ FolderKey: "FolderKey",
771
+ FeedId: "FeedId"
772
+ };
773
+ var ErrorDimensions = {
774
+ Result: "Result",
775
+ ErrorCode: "ErrorCode",
776
+ Retry: "Retry",
777
+ ErrorMessage: "ErrorMessage",
778
+ HttpStatus: "HttpStatus",
779
+ UpstreamErrorCode: "UpstreamErrorCode"
780
+ };
781
+ var AuthDimensions = {
782
+ AuthenticationMethod: "AuthenticationMethod",
783
+ Success: "Success",
784
+ Reason: "Reason"
785
+ };
786
+ var SkillsDimensions = {
787
+ SchemaVersion: "SchemaVersion",
788
+ AgentType: "AgentType",
789
+ SkillsVersion: "SkillsVersion",
790
+ UipSubcommand: "UipSubcommand",
791
+ FileExtension: "FileExtension",
792
+ SubagentModel: "SubagentModel",
793
+ SubagentType: "SubagentType",
794
+ PermissionMode: "PermissionMode",
795
+ EffortLevel: "EffortLevel",
796
+ SessionSource: "SessionSource",
797
+ Outcome: "Outcome",
798
+ DurationMs: "DurationMs",
799
+ Source: "Source"
800
+ };
801
+ var PackagerDimensions = {
802
+ ProjectId: "ProjectId",
803
+ ProjectType: "ProjectType",
804
+ SolutionId: "SolutionId"
805
+ };
806
+ var ScopeDimensions = {
807
+ FolderId: "FolderId"
808
+ };
809
+ var ID_DIMENSIONS = new Set([
810
+ BaseDimensions.CloudUserId,
811
+ BaseDimensions.CloudTenantId,
812
+ BaseDimensions.CloudOrganizationId,
813
+ BaseDimensions.InstallationId,
814
+ ShipDimensions.ArtifactCorrelationKey,
815
+ ShipDimensions.PackageVersionKey,
816
+ ShipDimensions.DeploymentKey,
817
+ ShipDimensions.SolutionId,
818
+ ShipDimensions.FolderKey,
819
+ ShipDimensions.FeedId,
820
+ PackagerDimensions.ProjectId
821
+ ]);
822
+ var RESERVED_DIMENSION_NAMES = new Set([
823
+ ...Object.values(BaseDimensions),
824
+ ...Object.values(CommandDimensions),
825
+ ...Object.values(ShipDimensions),
826
+ ...Object.values(ProjectDimensions),
827
+ ...Object.values(ErrorDimensions),
828
+ ...Object.values(AuthDimensions),
829
+ ...Object.values(SkillsDimensions),
830
+ ...Object.values(PackagerDimensions),
831
+ ...Object.values(ScopeDimensions)
832
+ ]);
833
+ var CURATED_DIMENSIONS = new Set([
834
+ BaseDimensions.ApplicationName,
835
+ BaseDimensions.ProductVersion,
836
+ BaseDimensions.InstallationId,
837
+ BaseDimensions.CloudUserId,
838
+ BaseDimensions.CloudTenantId,
839
+ BaseDimensions.CloudOrganizationId,
840
+ BaseDimensions.IsInternalUser,
841
+ BaseDimensions.Environment,
842
+ BaseDimensions.BaseUrl,
843
+ BaseDimensions.Region,
844
+ BaseDimensions.Agent,
845
+ BaseDimensions.AgentVersion,
846
+ BaseDimensions.ToolVersion,
847
+ BaseDimensions.ExecutionContext,
848
+ BaseDimensions.CiProvider,
849
+ BaseDimensions.SessionIdSource,
850
+ BaseDimensions.SessionId,
851
+ ...Object.values(CommandDimensions),
852
+ ...Object.values(ShipDimensions),
853
+ ...Object.values(ProjectDimensions)
854
+ ]);
855
+
709
856
  // ../../common/src/telemetry/pseudonymize.ts
710
857
  var SHA256_K = new Uint32Array([
711
858
  1116352408,
@@ -992,136 +1139,6 @@ import {
992
1139
  // ../../common/src/telemetry/global-telemetry-properties.ts
993
1140
  var telemetryPropsSlot = singleton("TelemetryDefaultProps");
994
1141
 
995
- // ../../common/src/telemetry/telemetry-dimensions.ts
996
- var BaseDimensions = {
997
- ApplicationName: "ApplicationName",
998
- ProductVersion: "ProductVersion",
999
- InstallationId: "InstallationId",
1000
- CloudUserId: "CloudUserId",
1001
- CloudTenantId: "CloudTenantId",
1002
- CloudOrganizationId: "CloudOrganizationId",
1003
- IsInternalUser: "IsInternalUser",
1004
- Environment: "Environment",
1005
- BaseUrl: "BaseUrl",
1006
- Region: "Region",
1007
- Agent: "Agent",
1008
- AgentVersion: "AgentVersion",
1009
- AgentModel: "AgentModel",
1010
- ToolName: "ToolName",
1011
- ToolVersion: "ToolVersion",
1012
- ExecutionContext: "ExecutionContext",
1013
- CiProvider: "CiProvider",
1014
- SessionIdSource: "SessionIdSource",
1015
- SessionId: "SessionId"
1016
- };
1017
- var CommandDimensions = {
1018
- IsCommand: "IsCommand",
1019
- IsReexec: "IsReexec",
1020
- CommandName: "CommandName",
1021
- ExitCode: "ExitCode",
1022
- TerminalOutcome: "TerminalOutcome",
1023
- ErrorClass: "ErrorClass",
1024
- TerminalSignal: "TerminalSignal",
1025
- ErrorMessage: "ErrorMessage",
1026
- SkillName: "SkillName",
1027
- ProductArea: "ProductArea",
1028
- Mode: "Mode"
1029
- };
1030
- var ShipDimensions = {
1031
- ShipKind: "ShipKind",
1032
- Target: "Target",
1033
- ProjectType: "ProjectType",
1034
- ProjectTypes: "ProjectTypes",
1035
- ArtifactCorrelationKey: "ArtifactCorrelationKey",
1036
- PackageName: "PackageName",
1037
- PackageVersion: "PackageVersion",
1038
- PackageVersionKey: "PackageVersionKey",
1039
- DeploymentKey: "DeploymentKey",
1040
- SolutionId: "SolutionId",
1041
- FolderKey: "FolderKey",
1042
- FeedId: "FeedId"
1043
- };
1044
- var ErrorDimensions = {
1045
- Result: "Result",
1046
- ErrorCode: "ErrorCode",
1047
- Retry: "Retry",
1048
- ErrorMessage: "ErrorMessage",
1049
- HttpStatus: "HttpStatus",
1050
- UpstreamErrorCode: "UpstreamErrorCode"
1051
- };
1052
- var AuthDimensions = {
1053
- AuthenticationMethod: "AuthenticationMethod",
1054
- Success: "Success",
1055
- Reason: "Reason"
1056
- };
1057
- var SkillsDimensions = {
1058
- SchemaVersion: "SchemaVersion",
1059
- AgentType: "AgentType",
1060
- SkillsVersion: "SkillsVersion",
1061
- UipSubcommand: "UipSubcommand",
1062
- FileExtension: "FileExtension",
1063
- SubagentModel: "SubagentModel",
1064
- SubagentType: "SubagentType",
1065
- PermissionMode: "PermissionMode",
1066
- EffortLevel: "EffortLevel",
1067
- SessionSource: "SessionSource",
1068
- Outcome: "Outcome",
1069
- DurationMs: "DurationMs",
1070
- Source: "Source"
1071
- };
1072
- var PackagerDimensions = {
1073
- ProjectId: "ProjectId",
1074
- ProjectType: "ProjectType",
1075
- SolutionId: "SolutionId"
1076
- };
1077
- var ScopeDimensions = {
1078
- FolderId: "FolderId"
1079
- };
1080
- var ID_DIMENSIONS = new Set([
1081
- BaseDimensions.CloudUserId,
1082
- BaseDimensions.CloudTenantId,
1083
- BaseDimensions.CloudOrganizationId,
1084
- BaseDimensions.InstallationId,
1085
- ShipDimensions.ArtifactCorrelationKey,
1086
- ShipDimensions.PackageVersionKey,
1087
- ShipDimensions.DeploymentKey,
1088
- ShipDimensions.SolutionId,
1089
- ShipDimensions.FolderKey,
1090
- ShipDimensions.FeedId,
1091
- PackagerDimensions.ProjectId
1092
- ]);
1093
- var RESERVED_DIMENSION_NAMES = new Set([
1094
- ...Object.values(BaseDimensions),
1095
- ...Object.values(CommandDimensions),
1096
- ...Object.values(ShipDimensions),
1097
- ...Object.values(ErrorDimensions),
1098
- ...Object.values(AuthDimensions),
1099
- ...Object.values(SkillsDimensions),
1100
- ...Object.values(PackagerDimensions),
1101
- ...Object.values(ScopeDimensions)
1102
- ]);
1103
- var CURATED_DIMENSIONS = new Set([
1104
- BaseDimensions.ApplicationName,
1105
- BaseDimensions.ProductVersion,
1106
- BaseDimensions.InstallationId,
1107
- BaseDimensions.CloudUserId,
1108
- BaseDimensions.CloudTenantId,
1109
- BaseDimensions.CloudOrganizationId,
1110
- BaseDimensions.IsInternalUser,
1111
- BaseDimensions.Environment,
1112
- BaseDimensions.BaseUrl,
1113
- BaseDimensions.Region,
1114
- BaseDimensions.Agent,
1115
- BaseDimensions.AgentVersion,
1116
- BaseDimensions.ToolVersion,
1117
- BaseDimensions.ExecutionContext,
1118
- BaseDimensions.CiProvider,
1119
- BaseDimensions.SessionIdSource,
1120
- BaseDimensions.SessionId,
1121
- ...Object.values(CommandDimensions),
1122
- ...Object.values(ShipDimensions)
1123
- ]);
1124
-
1125
1142
  // ../../common/src/sdk-user-agent.ts
1126
1143
  var USER_AGENT_HEADER = "User-Agent";
1127
1144
  var AGENT_PROPERTY = BaseDimensions.Agent;
@@ -1153,6 +1170,12 @@ function addSdkUserAgentHeader(headers, userAgent) {
1153
1170
  return result;
1154
1171
  }
1155
1172
 
1173
+ // ../../orchestrator-sdk/src/folder-feed.ts
1174
+ function toFolderFeedId(answer) {
1175
+ const feedId = answer?.trim().replace(/^"|"$/g, "");
1176
+ return !feedId || feedId === "null" ? undefined : feedId;
1177
+ }
1178
+
1156
1179
  // ../packager-orchestrator-client/src/orchestrator-feeds-service.ts
1157
1180
  import {
1158
1181
  translate
@@ -1160,7 +1183,7 @@ import {
1160
1183
  // ../packager-orchestrator-client/package.json
1161
1184
  var package_default = {
1162
1185
  name: "@uipath/packager-orchestrator-client",
1163
- version: "1.205.0",
1186
+ version: "1.206.0",
1164
1187
  description: "UiPath packager client for Orchestrator package-feed interaction (feed discovery + NuGet source composition)",
1165
1188
  type: "module",
1166
1189
  private: true,
@@ -1198,6 +1221,7 @@ var package_default = {
1198
1221
  devDependencies: {
1199
1222
  "@types/node": "^25.5.2",
1200
1223
  "@uipath/common": "workspace:*",
1224
+ "@uipath/orchestrator-sdk": "workspace:*",
1201
1225
  "@uipath/solutionpackager-tool-core": "workspace:*",
1202
1226
  "@vitest/coverage-v8": "^4.1.12",
1203
1227
  typescript: "^7.0.2",
@@ -1283,8 +1307,7 @@ class OrchestratorFeedsService {
1283
1307
  async getFolderFeedIdAsync(connection, folderKey) {
1284
1308
  const path = `${FOLDER_FEED_PATH}?folderKey=${encodeURIComponent(folderKey)}`;
1285
1309
  const text = await this.getAsync(connection, path, "GetFolderFeedByKey");
1286
- const feedId = text.trim().replace(/^"|"$/g, "");
1287
- return feedId === "" || feedId === "null" ? undefined : feedId;
1310
+ return toFolderFeedId(text);
1288
1311
  }
1289
1312
  async getAsync(connection, relativePath, operation) {
1290
1313
  const { orchestratorUrl, accessToken, tenantId } = connection;
@@ -1958,6 +1981,11 @@ function pushIgnoredRules(args, ignoredRules) {
1958
1981
  args.push(`--ignored-rules`, rules.join(","));
1959
1982
  }
1960
1983
  }
1984
+ function pushActivitiesRootCategory(args, activitiesRootCategory) {
1985
+ if (activitiesRootCategory?.trim()) {
1986
+ args.push(`--activities-root-category`, activitiesRootCategory);
1987
+ }
1988
+ }
1961
1989
 
1962
1990
  class WorkflowCompilerTool extends ProjectTool {
1963
1991
  context;
@@ -2076,6 +2104,7 @@ class WorkflowCompilerTool extends ProjectTool {
2076
2104
  const outputType = this.mapOutputType(options.outputType);
2077
2105
  args.push(`--output-type`, outputType);
2078
2106
  }
2107
+ pushActivitiesRootCategory(args, options.activitiesRootCategory);
2079
2108
  if (paths.orchestratorFeedsJsonPath) {
2080
2109
  args.push(`--nuget-config-file`, paths.orchestratorFeedsJsonPath);
2081
2110
  }
@@ -2130,6 +2159,7 @@ class WorkflowCompilerTool extends ProjectTool {
2130
2159
  const outputType = this.mapOutputType(options.outputType);
2131
2160
  args.push(`--output-type`, outputType);
2132
2161
  }
2162
+ pushActivitiesRootCategory(args, options.activitiesRootCategory);
2133
2163
  if (paths.orchestratorFeedsJsonPath) {
2134
2164
  args.push(`--nuget-config-file`, paths.orchestratorFeedsJsonPath);
2135
2165
  }
@@ -2299,4 +2329,4 @@ export {
2299
2329
  setupWorkflowCompiler
2300
2330
  };
2301
2331
 
2302
- //# debugId=D06585013EE9A44264756E2164756E21
2332
+ //# debugId=A8E9BEEF52E7852B64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-workflowcompiler",
3
- "version": "1.205.0-preview.276",
3
+ "version": "1.206.0-preview.279",
4
4
  "description": "UiPath Workflow Compiler tool implementation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -21,8 +21,8 @@
21
21
  "author": "UiPath",
22
22
  "license": "SEE LICENSE IN LICENSE.txt",
23
23
  "peerDependencies": {
24
- "@uipath/solutionpackager-tool-core": "1.205.0"
24
+ "@uipath/solutionpackager-tool-core": "1.206.0"
25
25
  },
26
26
  "dependencies": {},
27
- "gitHead": "9c262c3cc03e56190185733888dca266bbb01ba6"
27
+ "gitHead": "d2176feff38d4e91a9d84723af847b2dfd5c6008"
28
28
  }