@uipath/aops-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.
Files changed (2) hide show
  1. package/dist/tool.js +13 -6
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -21230,7 +21230,7 @@ var init_server = __esm(() => {
21230
21230
  var package_default = {
21231
21231
  name: "@uipath/aops-tool",
21232
21232
  license: "MIT",
21233
- version: "1.198.0-preview.90",
21233
+ version: "1.199.0-preview.91",
21234
21234
  description: "Manage UiPath StudioAdmin AOps — connections, repos, projects, solutions, pipelines, executions.",
21235
21235
  private: false,
21236
21236
  repository: {
@@ -21309,6 +21309,7 @@ function settlePromiseLike(thenable) {
21309
21309
  var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
21310
21310
  var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
21311
21311
  var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
21312
+ 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.";
21312
21313
  var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
21313
21314
  var NETWORK_ERROR_CODES = new Set([
21314
21315
  "ECONNREFUSED",
@@ -21410,6 +21411,9 @@ function classifyError(status, error) {
21410
21411
  if (status === 405) {
21411
21412
  return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
21412
21413
  }
21414
+ if (status === 413) {
21415
+ return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
21416
+ }
21413
21417
  if (status === 408) {
21414
21418
  return { errorCode: "timeout", retry: "RetryLater" };
21415
21419
  }
@@ -21487,6 +21491,8 @@ async function extractErrorDetails(error, options) {
21487
21491
  result = "AuthenticationError";
21488
21492
  } else if (status === 405) {
21489
21493
  message = DEFAULT_405;
21494
+ } else if (status === 413) {
21495
+ message = DEFAULT_413;
21490
21496
  } else if (status === 400 || status === 422) {
21491
21497
  message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
21492
21498
  result = "ValidationError";
@@ -28141,6 +28147,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
28141
28147
  var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
28142
28148
  var COMMAND_ATTRIBUTION = commandAttribution([
28143
28149
  ["cli", "troubleshoot", ["uip.feedback"]],
28150
+ ["llm-gateway", "operate", ["uip.llm-gateway"]],
28144
28151
  ["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
28145
28152
  ["context-grounding", "build", ["uip.context-grounding"]],
28146
28153
  ["api-workflow", "build", ["uip.api-workflow"]],
@@ -29355,7 +29362,7 @@ class VoidApiResponse {
29355
29362
  var package_default2 = {
29356
29363
  name: "@uipath/sc-sdk",
29357
29364
  license: "MIT",
29358
- version: "1.198.0",
29365
+ version: "1.199.0",
29359
29366
  description: "SDK for the UiPath SourceControl API — connections, repositories, automation projects, solutions.",
29360
29367
  repository: {
29361
29368
  type: "git",
@@ -30595,6 +30602,7 @@ var resolveConfigAsync = async ({
30595
30602
  customAuthority,
30596
30603
  customClientId,
30597
30604
  customClientSecret,
30605
+ customClientAssertion,
30598
30606
  customScopes
30599
30607
  } = {}) => {
30600
30608
  const fileAuth = getAuthFileConfig();
@@ -30620,7 +30628,7 @@ var resolveConfigAsync = async ({
30620
30628
  if (!clientSecret && fileAuth.clientSecret) {
30621
30629
  clientSecret = fileAuth.clientSecret;
30622
30630
  }
30623
- const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
30631
+ const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
30624
30632
  const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
30625
30633
  return {
30626
30634
  clientId,
@@ -31738,7 +31746,6 @@ var getAuthContext = async (options = {}) => {
31738
31746
  tenantName
31739
31747
  };
31740
31748
  };
31741
-
31742
31749
  // ../auth/src/index.ts
31743
31750
  init_constants();
31744
31751
 
@@ -32042,7 +32049,7 @@ class VoidApiResponse2 {
32042
32049
  var package_default3 = {
32043
32050
  name: "@uipath/cicd-sdk",
32044
32051
  license: "MIT",
32045
- version: "1.198.0",
32052
+ version: "1.199.0",
32046
32053
  description: "SDK for the UiPath StudioAdmin CICD API — pipelines, pipeline executions, partition configuration.",
32047
32054
  repository: {
32048
32055
  type: "git",
@@ -35814,4 +35821,4 @@ export {
35814
35821
  metadata
35815
35822
  };
35816
35823
 
35817
- //# debugId=B655F2F61BA044F164756E2164756E21
35824
+ //# debugId=4893722ADD1B1F6864756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/aops-tool",
3
3
  "license": "MIT",
4
- "version": "1.198.0-preview.90",
4
+ "version": "1.199.0-preview.91",
5
5
  "description": "Manage UiPath StudioAdmin AOps — connections, repos, projects, solutions, pipelines, executions.",
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
  }