@uipath/ixp-tool 1.198.0-preview.90 → 1.199.0-preview.91

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 CHANGED
@@ -2146,7 +2146,7 @@ var {
2146
2146
  var package_default = {
2147
2147
  name: "@uipath/ixp-tool",
2148
2148
  license: "MIT",
2149
- version: "1.198.0-preview.90",
2149
+ version: "1.199.0-preview.91",
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=1A78FFFBD7E4813864756E2164756E21
2199
+ //# debugId=DBEFBE5B1504ED6364756E2164756E21
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.198.0-preview.90",
21233
+ version: "1.199.0-preview.91",
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";
@@ -28136,6 +28142,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
28136
28142
  var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
28137
28143
  var COMMAND_ATTRIBUTION = commandAttribution([
28138
28144
  ["cli", "troubleshoot", ["uip.feedback"]],
28145
+ ["llm-gateway", "operate", ["uip.llm-gateway"]],
28139
28146
  ["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
28140
28147
  ["context-grounding", "build", ["uip.context-grounding"]],
28141
28148
  ["api-workflow", "build", ["uip.api-workflow"]],
@@ -28677,6 +28684,7 @@ var resolveConfigAsync = async ({
28677
28684
  customAuthority,
28678
28685
  customClientId,
28679
28686
  customClientSecret,
28687
+ customClientAssertion,
28680
28688
  customScopes
28681
28689
  } = {}) => {
28682
28690
  const fileAuth = getAuthFileConfig();
@@ -28702,7 +28710,7 @@ var resolveConfigAsync = async ({
28702
28710
  if (!clientSecret && fileAuth.clientSecret) {
28703
28711
  clientSecret = fileAuth.clientSecret;
28704
28712
  }
28705
- const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
28713
+ const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
28706
28714
  const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
28707
28715
  return {
28708
28716
  clientId,
@@ -29788,7 +29796,6 @@ function normalizeTokenRefreshUnavailableFailure() {
29788
29796
  function errorMessage(error) {
29789
29797
  return error instanceof Error ? error.message : String(error);
29790
29798
  }
29791
-
29792
29799
  // ../auth/src/index.ts
29793
29800
  init_constants();
29794
29801
 
@@ -29811,7 +29818,7 @@ init_server();
29811
29818
  var package_default2 = {
29812
29819
  name: "@uipath/ixp-sdk",
29813
29820
  license: "MIT",
29814
- version: "1.198.0-preview.90",
29821
+ version: "1.199.0-preview.91",
29815
29822
  description: "SDK for the UiPath IXP (Intelligent eXtraction Platform) API — projects, taxonomies, prompts, predictions, and model publishing.",
29816
29823
  repository: {
29817
29824
  type: "git",
@@ -32399,4 +32406,4 @@ export {
32399
32406
  metadata
32400
32407
  };
32401
32408
 
32402
- //# debugId=29DDC744C1BE7E0064756E2164756E21
32409
+ //# debugId=81FED12DFC261E4364756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/ixp-tool",
3
3
  "license": "MIT",
4
- "version": "1.198.0-preview.90",
4
+ "version": "1.199.0-preview.91",
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": "7fa615fb10f91f98f796a038ea70569336611f42"
29
+ "gitHead": "f428cb1e61ba89ad18394b0c6106784055699f02"
30
30
  }