@uipath/guardrails-tool 1.202.0-preview.136 → 1.202.0-preview.138

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 +10 -10
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS(function(exports) {
2100
2100
  var package_default = {
2101
2101
  name: "@uipath/guardrails-tool",
2102
2102
  license: "MIT",
2103
- version: "1.202.0-preview.136",
2103
+ version: "1.202.0-preview.138",
2104
2104
  description: "CLI plugin for UiPath AI Trust Layer guardrail configurations.",
2105
2105
  private: false,
2106
2106
  repository: {
@@ -4060,6 +4060,14 @@ var RETRY_HINTS = [
4060
4060
  "RetryAfter30Seconds",
4061
4061
  "RetryAfter60Seconds"
4062
4062
  ];
4063
+ var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
4064
+ var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
4065
+ function isCliErrorCode(value) {
4066
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
4067
+ }
4068
+ function isRetryHint(value) {
4069
+ return typeof value === "string" && RETRY_HINT_VALUES.has(value);
4070
+ }
4063
4071
  var RESULTS = {
4064
4072
  Success: "Success",
4065
4073
  Failure: "Failure",
@@ -4863,8 +4871,6 @@ function emitInvocationRequest(name, success, properties) {
4863
4871
 
4864
4872
  // ../../common/src/trackedAction.ts
4865
4873
  var pollSignalSlot = singleton("PollSignal");
4866
- var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
4867
- var retryHintValues = new Set(RETRY_HINTS);
4868
4874
  var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
4869
4875
  var processContext = {
4870
4876
  exit: (code) => {
@@ -4952,12 +4958,6 @@ function deriveCommandPath(cmd) {
4952
4958
  }
4953
4959
  return commandTelemetryName(parts);
4954
4960
  }
4955
- function isCliErrorCode(value) {
4956
- return typeof value === "string" && cliErrorCodeValues.has(value);
4957
- }
4958
- function isRetryHint(value) {
4959
- return typeof value === "string" && retryHintValues.has(value);
4960
- }
4961
4961
  function isErrorContext(value) {
4962
4962
  return value !== null && typeof value === "object";
4963
4963
  }
@@ -7218,4 +7218,4 @@ export {
7218
7218
  registerCommands
7219
7219
  };
7220
7220
 
7221
- //# debugId=48EDD3CE27B5E10564756E2164756E21
7221
+ //# debugId=A4C1C356CAA6F92264756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/guardrails-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.136",
4
+ "version": "1.202.0-preview.138",
5
5
  "description": "CLI plugin for UiPath AI Trust Layer guardrail configurations.",
6
6
  "private": false,
7
7
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "files": [
24
24
  "dist"
25
25
  ],
26
- "gitHead": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
26
+ "gitHead": "46372d5c4c4ae9352e9457a99e9d5efc1890cb48"
27
27
  }