@uipath/aops-tool 1.198.0 → 1.199.0-preview.105
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 +13 -6
- 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.
|
|
21233
|
+
version: "1.199.0-preview.105",
|
|
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";
|
|
@@ -28369,6 +28375,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
28369
28375
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
28370
28376
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
28371
28377
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
28378
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
28372
28379
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
28373
28380
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
28374
28381
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -29462,7 +29469,7 @@ class VoidApiResponse {
|
|
|
29462
29469
|
var package_default2 = {
|
|
29463
29470
|
name: "@uipath/sc-sdk",
|
|
29464
29471
|
license: "MIT",
|
|
29465
|
-
version: "1.
|
|
29472
|
+
version: "1.199.0",
|
|
29466
29473
|
description: "SDK for the UiPath SourceControl API — connections, repositories, automation projects, solutions.",
|
|
29467
29474
|
repository: {
|
|
29468
29475
|
type: "git",
|
|
@@ -30702,6 +30709,7 @@ var resolveConfigAsync = async ({
|
|
|
30702
30709
|
customAuthority,
|
|
30703
30710
|
customClientId,
|
|
30704
30711
|
customClientSecret,
|
|
30712
|
+
customClientAssertion,
|
|
30705
30713
|
customScopes
|
|
30706
30714
|
} = {}) => {
|
|
30707
30715
|
const fileAuth = getAuthFileConfig();
|
|
@@ -30727,7 +30735,7 @@ var resolveConfigAsync = async ({
|
|
|
30727
30735
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
30728
30736
|
clientSecret = fileAuth.clientSecret;
|
|
30729
30737
|
}
|
|
30730
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
30738
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
30731
30739
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
30732
30740
|
return {
|
|
30733
30741
|
clientId,
|
|
@@ -31845,7 +31853,6 @@ var getAuthContext = async (options = {}) => {
|
|
|
31845
31853
|
tenantName
|
|
31846
31854
|
};
|
|
31847
31855
|
};
|
|
31848
|
-
|
|
31849
31856
|
// ../auth/src/index.ts
|
|
31850
31857
|
init_constants();
|
|
31851
31858
|
|
|
@@ -32149,7 +32156,7 @@ class VoidApiResponse2 {
|
|
|
32149
32156
|
var package_default3 = {
|
|
32150
32157
|
name: "@uipath/cicd-sdk",
|
|
32151
32158
|
license: "MIT",
|
|
32152
|
-
version: "1.
|
|
32159
|
+
version: "1.199.0",
|
|
32153
32160
|
description: "SDK for the UiPath StudioAdmin CICD API — pipelines, pipeline executions, partition configuration.",
|
|
32154
32161
|
repository: {
|
|
32155
32162
|
type: "git",
|
|
@@ -35921,4 +35928,4 @@ export {
|
|
|
35921
35928
|
metadata
|
|
35922
35929
|
};
|
|
35923
35930
|
|
|
35924
|
-
//# debugId=
|
|
35931
|
+
//# debugId=788B52D60C73B11464756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/aops-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.199.0-preview.105",
|
|
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": "
|
|
29
|
+
"gitHead": "30a83200f41e8bb994929322e33176b4355f6707"
|
|
30
30
|
}
|