@uipath/traces-tool 1.198.0-preview.94 → 1.199.0-preview.92
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 +20 -7
- 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/traces-tool",
|
|
21232
21232
|
license: "MIT",
|
|
21233
|
-
version: "1.
|
|
21233
|
+
version: "1.199.0-preview.92",
|
|
21234
21234
|
description: "Query execution traces for UiPath jobs",
|
|
21235
21235
|
private: false,
|
|
21236
21236
|
keywords: [
|
|
@@ -21258,6 +21258,7 @@ var package_default = {
|
|
|
21258
21258
|
devDependencies: {
|
|
21259
21259
|
"@uipath/auth": "workspace:*",
|
|
21260
21260
|
"@uipath/common": "workspace:*",
|
|
21261
|
+
"@uipath/filesystem": "workspace:*",
|
|
21261
21262
|
"@uipath/orchestrator-sdk": "workspace:*",
|
|
21262
21263
|
"@types/node": "^25.5.2",
|
|
21263
21264
|
commander: "^14.0.3",
|
|
@@ -21300,6 +21301,7 @@ function settlePromiseLike(thenable) {
|
|
|
21300
21301
|
var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
|
|
21301
21302
|
var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
|
|
21302
21303
|
var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
|
|
21304
|
+
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.";
|
|
21303
21305
|
var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
|
|
21304
21306
|
var NETWORK_ERROR_CODES = new Set([
|
|
21305
21307
|
"ECONNREFUSED",
|
|
@@ -21401,6 +21403,9 @@ function classifyError(status, error) {
|
|
|
21401
21403
|
if (status === 405) {
|
|
21402
21404
|
return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
|
|
21403
21405
|
}
|
|
21406
|
+
if (status === 413) {
|
|
21407
|
+
return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
|
|
21408
|
+
}
|
|
21404
21409
|
if (status === 408) {
|
|
21405
21410
|
return { errorCode: "timeout", retry: "RetryLater" };
|
|
21406
21411
|
}
|
|
@@ -21478,6 +21483,8 @@ async function extractErrorDetails(error, options) {
|
|
|
21478
21483
|
result = "AuthenticationError";
|
|
21479
21484
|
} else if (status === 405) {
|
|
21480
21485
|
message = DEFAULT_405;
|
|
21486
|
+
} else if (status === 413) {
|
|
21487
|
+
message = DEFAULT_413;
|
|
21481
21488
|
} else if (status === 400 || status === 422) {
|
|
21482
21489
|
message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
|
|
21483
21490
|
result = "ValidationError";
|
|
@@ -28132,6 +28139,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
28132
28139
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
28133
28140
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
28134
28141
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
28142
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
28135
28143
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
28136
28144
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
28137
28145
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -28725,6 +28733,7 @@ var resolveConfigAsync = async ({
|
|
|
28725
28733
|
customAuthority,
|
|
28726
28734
|
customClientId,
|
|
28727
28735
|
customClientSecret,
|
|
28736
|
+
customClientAssertion,
|
|
28728
28737
|
customScopes
|
|
28729
28738
|
} = {}) => {
|
|
28730
28739
|
const fileAuth = getAuthFileConfig();
|
|
@@ -28750,7 +28759,7 @@ var resolveConfigAsync = async ({
|
|
|
28750
28759
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
28751
28760
|
clientSecret = fileAuth.clientSecret;
|
|
28752
28761
|
}
|
|
28753
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
28762
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
28754
28763
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
28755
28764
|
return {
|
|
28756
28765
|
clientId,
|
|
@@ -29868,7 +29877,6 @@ var getAuthContext = async (options = {}) => {
|
|
|
29868
29877
|
tenantName
|
|
29869
29878
|
};
|
|
29870
29879
|
};
|
|
29871
|
-
|
|
29872
29880
|
// ../auth/src/index.ts
|
|
29873
29881
|
init_constants();
|
|
29874
29882
|
|
|
@@ -30071,6 +30079,7 @@ async function deleteFeedback(id, opts) {
|
|
|
30071
30079
|
}
|
|
30072
30080
|
|
|
30073
30081
|
// src/commands/feedback/_shared.ts
|
|
30082
|
+
init_src();
|
|
30074
30083
|
function collect(val, prev) {
|
|
30075
30084
|
return [...prev, val];
|
|
30076
30085
|
}
|
|
@@ -30082,8 +30091,12 @@ async function readCommentFile(filePath) {
|
|
|
30082
30091
|
}
|
|
30083
30092
|
return Buffer.concat(chunks).toString("utf8");
|
|
30084
30093
|
}
|
|
30085
|
-
const
|
|
30086
|
-
|
|
30094
|
+
const fs7 = getFileSystem();
|
|
30095
|
+
const content = await fs7.readFile(filePath, "utf-8");
|
|
30096
|
+
if (content === null) {
|
|
30097
|
+
throw new Error(`Comment file not found: ${filePath}`);
|
|
30098
|
+
}
|
|
30099
|
+
return content;
|
|
30087
30100
|
}
|
|
30088
30101
|
|
|
30089
30102
|
// src/commands/feedback/create.ts
|
|
@@ -30865,7 +30878,7 @@ class TextApiResponse {
|
|
|
30865
30878
|
var package_default2 = {
|
|
30866
30879
|
name: "@uipath/orchestrator-sdk",
|
|
30867
30880
|
license: "MIT",
|
|
30868
|
-
version: "1.
|
|
30881
|
+
version: "1.199.0",
|
|
30869
30882
|
repository: {
|
|
30870
30883
|
type: "git",
|
|
30871
30884
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -34838,4 +34851,4 @@ export {
|
|
|
34838
34851
|
metadata
|
|
34839
34852
|
};
|
|
34840
34853
|
|
|
34841
|
-
//# debugId=
|
|
34854
|
+
//# debugId=1E796EEBD7AC063E64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/traces-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.199.0-preview.92",
|
|
5
5
|
"description": "Query execution traces for UiPath jobs",
|
|
6
6
|
"private": false,
|
|
7
7
|
"keywords": [
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org/"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "d7b66f18f30e2e80a17293b6a0b656b54da35d49"
|
|
25
25
|
}
|