@uipath/llmgw-tool 1.197.0 → 1.198.0-preview.80
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 +21 -5
- package/package.json +2 -2
package/dist/tool.js
CHANGED
|
@@ -4,7 +4,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@uipath/llmgw-tool",
|
|
6
6
|
license: "MIT",
|
|
7
|
-
version: "1.
|
|
7
|
+
version: "1.198.0-preview.80",
|
|
8
8
|
description: "CLI plugin for UiPath AI Trust Layer Bring-Your-Own LLM connections.",
|
|
9
9
|
private: false,
|
|
10
10
|
repository: {
|
|
@@ -941,8 +941,15 @@ var TLS_ERROR_CODES = new Set([
|
|
|
941
941
|
var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
|
|
942
942
|
var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
|
|
943
943
|
function describeConnectivityError(error) {
|
|
944
|
-
|
|
945
|
-
|
|
944
|
+
const queue = [error];
|
|
945
|
+
const seen = new Set;
|
|
946
|
+
for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
|
|
947
|
+
const current = queue.shift();
|
|
948
|
+
if (current === null || typeof current !== "object")
|
|
949
|
+
continue;
|
|
950
|
+
if (seen.has(current))
|
|
951
|
+
continue;
|
|
952
|
+
seen.add(current);
|
|
946
953
|
const cur = current;
|
|
947
954
|
const code = typeof cur.code === "string" ? cur.code : undefined;
|
|
948
955
|
const message = typeof cur.message === "string" ? cur.message : undefined;
|
|
@@ -962,7 +969,10 @@ function describeConnectivityError(error) {
|
|
|
962
969
|
instructions: NETWORK_INSTRUCTIONS
|
|
963
970
|
};
|
|
964
971
|
}
|
|
965
|
-
|
|
972
|
+
if (cur.cause !== undefined)
|
|
973
|
+
queue.push(cur.cause);
|
|
974
|
+
if (Array.isArray(cur.errors))
|
|
975
|
+
queue.push(...cur.errors);
|
|
966
976
|
}
|
|
967
977
|
return;
|
|
968
978
|
}
|
|
@@ -6181,6 +6191,7 @@ function getLogFilePath() {
|
|
|
6181
6191
|
// ../../common/src/output-format-context.ts
|
|
6182
6192
|
var formatSlot = singleton("OutputFormat");
|
|
6183
6193
|
var formatExplicitSlot = singleton("OutputFormatExplicit");
|
|
6194
|
+
var helpRequestedSlot = singleton("HelpRequested");
|
|
6184
6195
|
var filterSlot = singleton("OutputFilter");
|
|
6185
6196
|
function getOutputFormat() {
|
|
6186
6197
|
return formatSlot.get("json");
|
|
@@ -7248,6 +7259,9 @@ var OutputFormatter;
|
|
|
7248
7259
|
if (opts?.warning) {
|
|
7249
7260
|
data.Warning = opts.warning;
|
|
7250
7261
|
}
|
|
7262
|
+
if (opts?.pagination) {
|
|
7263
|
+
data.Pagination = opts.pagination;
|
|
7264
|
+
}
|
|
7251
7265
|
success(data);
|
|
7252
7266
|
}
|
|
7253
7267
|
OutputFormatter.emitList = emitList;
|
|
@@ -7698,6 +7712,7 @@ var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
|
|
|
7698
7712
|
var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
|
|
7699
7713
|
// ../../common/src/interactivity-context.ts
|
|
7700
7714
|
var modeSlot = singleton("InteractivityMode");
|
|
7715
|
+
var interactiveFlagSlot = singleton("InteractiveFlag");
|
|
7701
7716
|
// ../../common/src/option-aliases.ts
|
|
7702
7717
|
import { Option } from "commander";
|
|
7703
7718
|
// ../../common/src/option-validators.ts
|
|
@@ -27649,6 +27664,7 @@ function normalizeTokenRefreshUnavailableFailure() {
|
|
|
27649
27664
|
function errorMessage(error) {
|
|
27650
27665
|
return error instanceof Error ? error.message : String(error);
|
|
27651
27666
|
}
|
|
27667
|
+
init_constants();
|
|
27652
27668
|
init_src();
|
|
27653
27669
|
var TENANT_SELECTION_REQUIRED_CODE = "TENANT_SELECTION_REQUIRED";
|
|
27654
27670
|
var INVALID_TENANT_CODE = "INVALID_TENANT";
|
|
@@ -29032,4 +29048,4 @@ export {
|
|
|
29032
29048
|
metadata
|
|
29033
29049
|
};
|
|
29034
29050
|
|
|
29035
|
-
//# debugId=
|
|
29051
|
+
//# debugId=36B105799DA2714E64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/llmgw-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.198.0-preview.80",
|
|
5
5
|
"description": "CLI plugin for UiPath AI Trust Layer Bring-Your-Own LLM connections.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"files": [
|
|
24
24
|
"dist"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "9b2c3c0f21a256d2f38dd28bc97e72e6f7b10a9c"
|
|
27
27
|
}
|