@uipath/resourcecatalog-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 +12 -5
- package/dist/tool.js +12 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -21247,7 +21247,7 @@ var {
|
|
|
21247
21247
|
var package_default = {
|
|
21248
21248
|
name: "@uipath/resourcecatalog-tool",
|
|
21249
21249
|
license: "MIT",
|
|
21250
|
-
version: "1.
|
|
21250
|
+
version: "1.199.0-preview.91",
|
|
21251
21251
|
description: "CLI plugin for the UiPath Resource Catalog Service.",
|
|
21252
21252
|
private: false,
|
|
21253
21253
|
repository: {
|
|
@@ -21324,6 +21324,7 @@ function settlePromiseLike(thenable) {
|
|
|
21324
21324
|
var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
|
|
21325
21325
|
var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
|
|
21326
21326
|
var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
|
|
21327
|
+
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.";
|
|
21327
21328
|
var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
|
|
21328
21329
|
var NETWORK_ERROR_CODES = new Set([
|
|
21329
21330
|
"ECONNREFUSED",
|
|
@@ -21425,6 +21426,9 @@ function classifyError(status, error) {
|
|
|
21425
21426
|
if (status === 405) {
|
|
21426
21427
|
return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
|
|
21427
21428
|
}
|
|
21429
|
+
if (status === 413) {
|
|
21430
|
+
return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
|
|
21431
|
+
}
|
|
21428
21432
|
if (status === 408) {
|
|
21429
21433
|
return { errorCode: "timeout", retry: "RetryLater" };
|
|
21430
21434
|
}
|
|
@@ -21502,6 +21506,8 @@ async function extractErrorDetails(error, options) {
|
|
|
21502
21506
|
result = "AuthenticationError";
|
|
21503
21507
|
} else if (status === 405) {
|
|
21504
21508
|
message = DEFAULT_405;
|
|
21509
|
+
} else if (status === 413) {
|
|
21510
|
+
message = DEFAULT_413;
|
|
21505
21511
|
} else if (status === 400 || status === 422) {
|
|
21506
21512
|
message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
|
|
21507
21513
|
result = "ValidationError";
|
|
@@ -28140,6 +28146,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
28140
28146
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
28141
28147
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
28142
28148
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
28149
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
28143
28150
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
28144
28151
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
28145
28152
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -28918,7 +28925,7 @@ class VoidApiResponse {
|
|
|
28918
28925
|
var package_default2 = {
|
|
28919
28926
|
name: "@uipath/resourcecatalog-sdk",
|
|
28920
28927
|
license: "MIT",
|
|
28921
|
-
version: "1.
|
|
28928
|
+
version: "1.199.0",
|
|
28922
28929
|
description: "SDK for the UiPath Resource Catalog Service API.",
|
|
28923
28930
|
repository: {
|
|
28924
28931
|
type: "git",
|
|
@@ -30360,6 +30367,7 @@ var resolveConfigAsync = async ({
|
|
|
30360
30367
|
customAuthority,
|
|
30361
30368
|
customClientId,
|
|
30362
30369
|
customClientSecret,
|
|
30370
|
+
customClientAssertion,
|
|
30363
30371
|
customScopes
|
|
30364
30372
|
} = {}) => {
|
|
30365
30373
|
const fileAuth = getAuthFileConfig();
|
|
@@ -30385,7 +30393,7 @@ var resolveConfigAsync = async ({
|
|
|
30385
30393
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
30386
30394
|
clientSecret = fileAuth.clientSecret;
|
|
30387
30395
|
}
|
|
30388
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
30396
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
30389
30397
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
30390
30398
|
return {
|
|
30391
30399
|
clientId,
|
|
@@ -31471,7 +31479,6 @@ function normalizeTokenRefreshUnavailableFailure() {
|
|
|
31471
31479
|
function errorMessage(error) {
|
|
31472
31480
|
return error instanceof Error ? error.message : String(error);
|
|
31473
31481
|
}
|
|
31474
|
-
|
|
31475
31482
|
// ../../auth/src/index.ts
|
|
31476
31483
|
init_constants();
|
|
31477
31484
|
|
|
@@ -31760,4 +31767,4 @@ program2.name(metadata.commandPrefix).description(metadata.description).version(
|
|
|
31760
31767
|
await registerCommands(program2);
|
|
31761
31768
|
program2.parse(process.argv);
|
|
31762
31769
|
|
|
31763
|
-
//# debugId=
|
|
31770
|
+
//# debugId=EB4E193493FDBED764756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -19137,7 +19137,7 @@ var init_server = __esm(() => {
|
|
|
19137
19137
|
var package_default = {
|
|
19138
19138
|
name: "@uipath/resourcecatalog-tool",
|
|
19139
19139
|
license: "MIT",
|
|
19140
|
-
version: "1.
|
|
19140
|
+
version: "1.199.0-preview.91",
|
|
19141
19141
|
description: "CLI plugin for the UiPath Resource Catalog Service.",
|
|
19142
19142
|
private: false,
|
|
19143
19143
|
repository: {
|
|
@@ -19214,6 +19214,7 @@ function settlePromiseLike(thenable) {
|
|
|
19214
19214
|
var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
|
|
19215
19215
|
var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
|
|
19216
19216
|
var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
|
|
19217
|
+
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.";
|
|
19217
19218
|
var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
|
|
19218
19219
|
var NETWORK_ERROR_CODES = new Set([
|
|
19219
19220
|
"ECONNREFUSED",
|
|
@@ -19315,6 +19316,9 @@ function classifyError(status, error) {
|
|
|
19315
19316
|
if (status === 405) {
|
|
19316
19317
|
return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
|
|
19317
19318
|
}
|
|
19319
|
+
if (status === 413) {
|
|
19320
|
+
return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
|
|
19321
|
+
}
|
|
19318
19322
|
if (status === 408) {
|
|
19319
19323
|
return { errorCode: "timeout", retry: "RetryLater" };
|
|
19320
19324
|
}
|
|
@@ -19392,6 +19396,8 @@ async function extractErrorDetails(error, options) {
|
|
|
19392
19396
|
result = "AuthenticationError";
|
|
19393
19397
|
} else if (status === 405) {
|
|
19394
19398
|
message = DEFAULT_405;
|
|
19399
|
+
} else if (status === 413) {
|
|
19400
|
+
message = DEFAULT_413;
|
|
19395
19401
|
} else if (status === 400 || status === 422) {
|
|
19396
19402
|
message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
|
|
19397
19403
|
result = "ValidationError";
|
|
@@ -26034,6 +26040,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
26034
26040
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
26035
26041
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
26036
26042
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
26043
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
26037
26044
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
26038
26045
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
26039
26046
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -26816,7 +26823,7 @@ class VoidApiResponse {
|
|
|
26816
26823
|
var package_default2 = {
|
|
26817
26824
|
name: "@uipath/resourcecatalog-sdk",
|
|
26818
26825
|
license: "MIT",
|
|
26819
|
-
version: "1.
|
|
26826
|
+
version: "1.199.0",
|
|
26820
26827
|
description: "SDK for the UiPath Resource Catalog Service API.",
|
|
26821
26828
|
repository: {
|
|
26822
26829
|
type: "git",
|
|
@@ -28258,6 +28265,7 @@ var resolveConfigAsync = async ({
|
|
|
28258
28265
|
customAuthority,
|
|
28259
28266
|
customClientId,
|
|
28260
28267
|
customClientSecret,
|
|
28268
|
+
customClientAssertion,
|
|
28261
28269
|
customScopes
|
|
28262
28270
|
} = {}) => {
|
|
28263
28271
|
const fileAuth = getAuthFileConfig();
|
|
@@ -28283,7 +28291,7 @@ var resolveConfigAsync = async ({
|
|
|
28283
28291
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
28284
28292
|
clientSecret = fileAuth.clientSecret;
|
|
28285
28293
|
}
|
|
28286
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
28294
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
28287
28295
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
28288
28296
|
return {
|
|
28289
28297
|
clientId,
|
|
@@ -29369,7 +29377,6 @@ function normalizeTokenRefreshUnavailableFailure() {
|
|
|
29369
29377
|
function errorMessage(error) {
|
|
29370
29378
|
return error instanceof Error ? error.message : String(error);
|
|
29371
29379
|
}
|
|
29372
|
-
|
|
29373
29380
|
// ../../auth/src/index.ts
|
|
29374
29381
|
init_constants();
|
|
29375
29382
|
|
|
@@ -29658,4 +29665,4 @@ export {
|
|
|
29658
29665
|
metadata
|
|
29659
29666
|
};
|
|
29660
29667
|
|
|
29661
|
-
//# debugId=
|
|
29668
|
+
//# debugId=A970226CBDF41E3F64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/resourcecatalog-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.199.0-preview.91",
|
|
5
5
|
"description": "CLI plugin for the UiPath Resource Catalog Service.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "f428cb1e61ba89ad18394b0c6106784055699f02"
|
|
30
30
|
}
|