@uipath/ixp-tool 1.198.0 → 1.199.0-preview.104
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/index.js +2 -2
- package/dist/tool.js +12 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2146,7 +2146,7 @@ var {
|
|
|
2146
2146
|
var package_default = {
|
|
2147
2147
|
name: "@uipath/ixp-tool",
|
|
2148
2148
|
license: "MIT",
|
|
2149
|
-
version: "1.
|
|
2149
|
+
version: "1.199.0-preview.104",
|
|
2150
2150
|
description: "Manage UiPath IXP projects, prompts, predictions, and model publishing.",
|
|
2151
2151
|
private: false,
|
|
2152
2152
|
repository: {
|
|
@@ -2196,4 +2196,4 @@ program2.name("ixp-tool").description("UiPath IXP Tool - Standalone CLI").versio
|
|
|
2196
2196
|
await registerCommands(program2);
|
|
2197
2197
|
program2.parse(process.argv);
|
|
2198
2198
|
|
|
2199
|
-
//# debugId=
|
|
2199
|
+
//# debugId=B9F8609838E4742964756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -21230,7 +21230,7 @@ var init_server = __esm(() => {
|
|
|
21230
21230
|
var package_default = {
|
|
21231
21231
|
name: "@uipath/ixp-tool",
|
|
21232
21232
|
license: "MIT",
|
|
21233
|
-
version: "1.
|
|
21233
|
+
version: "1.199.0-preview.104",
|
|
21234
21234
|
description: "Manage UiPath IXP projects, prompts, predictions, and model publishing.",
|
|
21235
21235
|
private: false,
|
|
21236
21236
|
repository: {
|
|
@@ -21308,6 +21308,7 @@ function settlePromiseLike(thenable) {
|
|
|
21308
21308
|
var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
|
|
21309
21309
|
var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
|
|
21310
21310
|
var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
|
|
21311
|
+
var DEFAULT_413 = "Payload too large (413). The upload exceeded the server or CDN size limit. Reduce the package size — for example, exclude unused dependencies or remove large files from the project — and try again.";
|
|
21311
21312
|
var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
|
|
21312
21313
|
var NETWORK_ERROR_CODES = new Set([
|
|
21313
21314
|
"ECONNREFUSED",
|
|
@@ -21409,6 +21410,9 @@ function classifyError(status, error) {
|
|
|
21409
21410
|
if (status === 405) {
|
|
21410
21411
|
return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
|
|
21411
21412
|
}
|
|
21413
|
+
if (status === 413) {
|
|
21414
|
+
return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
|
|
21415
|
+
}
|
|
21412
21416
|
if (status === 408) {
|
|
21413
21417
|
return { errorCode: "timeout", retry: "RetryLater" };
|
|
21414
21418
|
}
|
|
@@ -21486,6 +21490,8 @@ async function extractErrorDetails(error, options) {
|
|
|
21486
21490
|
result = "AuthenticationError";
|
|
21487
21491
|
} else if (status === 405) {
|
|
21488
21492
|
message = DEFAULT_405;
|
|
21493
|
+
} else if (status === 413) {
|
|
21494
|
+
message = DEFAULT_413;
|
|
21489
21495
|
} else if (status === 400 || status === 422) {
|
|
21490
21496
|
message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
|
|
21491
21497
|
result = "ValidationError";
|
|
@@ -28364,6 +28370,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
28364
28370
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
28365
28371
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
28366
28372
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
28373
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
28367
28374
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
28368
28375
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
28369
28376
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -28784,6 +28791,7 @@ var resolveConfigAsync = async ({
|
|
|
28784
28791
|
customAuthority,
|
|
28785
28792
|
customClientId,
|
|
28786
28793
|
customClientSecret,
|
|
28794
|
+
customClientAssertion,
|
|
28787
28795
|
customScopes
|
|
28788
28796
|
} = {}) => {
|
|
28789
28797
|
const fileAuth = getAuthFileConfig();
|
|
@@ -28809,7 +28817,7 @@ var resolveConfigAsync = async ({
|
|
|
28809
28817
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
28810
28818
|
clientSecret = fileAuth.clientSecret;
|
|
28811
28819
|
}
|
|
28812
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
28820
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
28813
28821
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
28814
28822
|
return {
|
|
28815
28823
|
clientId,
|
|
@@ -29895,7 +29903,6 @@ function normalizeTokenRefreshUnavailableFailure() {
|
|
|
29895
29903
|
function errorMessage(error) {
|
|
29896
29904
|
return error instanceof Error ? error.message : String(error);
|
|
29897
29905
|
}
|
|
29898
|
-
|
|
29899
29906
|
// ../auth/src/index.ts
|
|
29900
29907
|
init_constants();
|
|
29901
29908
|
|
|
@@ -29918,7 +29925,7 @@ init_server();
|
|
|
29918
29925
|
var package_default2 = {
|
|
29919
29926
|
name: "@uipath/ixp-sdk",
|
|
29920
29927
|
license: "MIT",
|
|
29921
|
-
version: "1.
|
|
29928
|
+
version: "1.199.0-preview.104",
|
|
29922
29929
|
description: "SDK for the UiPath IXP (Intelligent eXtraction Platform) API — projects, taxonomies, prompts, predictions, and model publishing.",
|
|
29923
29930
|
repository: {
|
|
29924
29931
|
type: "git",
|
|
@@ -32506,4 +32513,4 @@ export {
|
|
|
32506
32513
|
metadata
|
|
32507
32514
|
};
|
|
32508
32515
|
|
|
32509
|
-
//# debugId=
|
|
32516
|
+
//# debugId=5C87DBFCB433063164756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/ixp-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.199.0-preview.104",
|
|
5
5
|
"description": "Manage UiPath IXP projects, prompts, predictions, and model publishing.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "829a8ab8a25bce5b62c284bd1ddc674d2947f647"
|
|
30
30
|
}
|