@uipath/solution-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/README.md +1 -1
- package/dist/commands/package-command-utils.d.ts +4 -0
- package/dist/commands/project-add.d.ts +2 -0
- package/dist/commands/project-import.d.ts +2 -0
- package/dist/commands/project-list.d.ts +2 -0
- package/dist/commands/project-publish.d.ts +2 -0
- package/dist/commands/project-remove.d.ts +2 -0
- package/dist/commands/project-resync.d.ts +2 -0
- package/dist/commands/project-utils.d.ts +60 -0
- package/dist/commands/project.d.ts +3 -0
- package/dist/deploy.js +99 -10
- package/dist/init.d.ts +8 -0
- package/dist/init.js +47610 -8921
- package/dist/models/pack-command-types.d.ts +7 -0
- package/dist/pack.js +43081 -29364
- package/dist/packager-tool.js +6 -4
- package/dist/providers/resource-builder-init.d.ts +1 -1
- package/dist/publish.js +13 -6
- package/dist/resource.js +557 -73
- package/dist/services/deploy-list-service.d.ts +24 -2
- package/dist/services/deploy-run-service.d.ts +6 -0
- package/dist/services/deployment-search.d.ts +9 -1
- package/dist/services/entry-point-spec-enhancer.d.ts +1 -1
- package/dist/services/local-resource-matcher.d.ts +27 -0
- package/dist/services/pack-command-service.d.ts +8 -0
- package/dist/services/project-artifacts-service.d.ts +34 -0
- package/dist/services/sync-resources-from-bindings.d.ts +1 -8
- package/dist/templates/AGENTS.md +7 -7
- package/dist/tool.js +75007 -74016
- package/dist/utils/option-parsers.d.ts +1 -0
- package/dist/utils/poll-result-handler.d.ts +11 -0
- package/package.json +2 -2
package/dist/packager-tool.js
CHANGED
|
@@ -1583,10 +1583,12 @@ class ToolResult {
|
|
|
1583
1583
|
message;
|
|
1584
1584
|
packages;
|
|
1585
1585
|
details;
|
|
1586
|
-
|
|
1586
|
+
instructions;
|
|
1587
|
+
constructor(errorCode, message, packages = [], instructions) {
|
|
1587
1588
|
this.errorCode = errorCode;
|
|
1588
1589
|
this.message = message;
|
|
1589
1590
|
this.packages = packages;
|
|
1591
|
+
this.instructions = instructions;
|
|
1590
1592
|
}
|
|
1591
1593
|
get isSuccess() {
|
|
1592
1594
|
return this.errorCode === "SUCCESS";
|
|
@@ -1594,8 +1596,8 @@ class ToolResult {
|
|
|
1594
1596
|
static success() {
|
|
1595
1597
|
return new ToolResult("SUCCESS");
|
|
1596
1598
|
}
|
|
1597
|
-
static error(errorCode, message) {
|
|
1598
|
-
return new ToolResult(errorCode, message);
|
|
1599
|
+
static error(errorCode, message, instructions) {
|
|
1600
|
+
return new ToolResult(errorCode, message, [], instructions);
|
|
1599
1601
|
}
|
|
1600
1602
|
}
|
|
1601
1603
|
var OPERATE_FILE = "operate.json";
|
|
@@ -4673,4 +4675,4 @@ toolsFactoryRepository2.registerProjectToolFactory(new ConnectorToolFactory);
|
|
|
4673
4675
|
toolsFactoryRepository2.registerProjectToolFactory(new WebAppToolFactory);
|
|
4674
4676
|
toolsFactoryRepository2.registerProjectToolFactory(new FunctionsToolFactory);
|
|
4675
4677
|
|
|
4676
|
-
//# debugId=
|
|
4678
|
+
//# debugId=83A1AD50869B571F64756E2164756E21
|
|
@@ -7,6 +7,6 @@ import { type IResourceBuilderServices } from "@uipath/resource-builder-sdk";
|
|
|
7
7
|
*
|
|
8
8
|
* `EntryPointSpecEnhancer` is registered so artefact resources (resources
|
|
9
9
|
* with a `projectKey`) reflect the latest `entry-points.json` from disk at
|
|
10
|
-
* read time, instead of the snapshot captured at `solution
|
|
10
|
+
* read time, instead of the snapshot captured at `solution projects add`.
|
|
11
11
|
*/
|
|
12
12
|
export declare function createResourceBuilderServices(): Promise<IResourceBuilderServices>;
|
package/dist/publish.js
CHANGED
|
@@ -21262,6 +21262,7 @@ function settlePromiseLike(thenable) {
|
|
|
21262
21262
|
var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
|
|
21263
21263
|
var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
|
|
21264
21264
|
var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
|
|
21265
|
+
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.";
|
|
21265
21266
|
var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
|
|
21266
21267
|
var NETWORK_ERROR_CODES = new Set([
|
|
21267
21268
|
"ECONNREFUSED",
|
|
@@ -21363,6 +21364,9 @@ function classifyError(status, error) {
|
|
|
21363
21364
|
if (status === 405) {
|
|
21364
21365
|
return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
|
|
21365
21366
|
}
|
|
21367
|
+
if (status === 413) {
|
|
21368
|
+
return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
|
|
21369
|
+
}
|
|
21366
21370
|
if (status === 408) {
|
|
21367
21371
|
return { errorCode: "timeout", retry: "RetryLater" };
|
|
21368
21372
|
}
|
|
@@ -21440,6 +21444,8 @@ async function extractErrorDetails(error, options) {
|
|
|
21440
21444
|
result = "AuthenticationError";
|
|
21441
21445
|
} else if (status === 405) {
|
|
21442
21446
|
message = DEFAULT_405;
|
|
21447
|
+
} else if (status === 413) {
|
|
21448
|
+
message = DEFAULT_413;
|
|
21443
21449
|
} else if (status === 400 || status === 422) {
|
|
21444
21450
|
message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
|
|
21445
21451
|
result = "ValidationError";
|
|
@@ -28318,6 +28324,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
28318
28324
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
28319
28325
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
28320
28326
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
28327
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
28321
28328
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
28322
28329
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
28323
28330
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -29372,7 +29379,7 @@ class TextApiResponse {
|
|
|
29372
29379
|
var package_default = {
|
|
29373
29380
|
name: "@uipath/pipelines-sdk",
|
|
29374
29381
|
license: "MIT",
|
|
29375
|
-
version: "1.
|
|
29382
|
+
version: "1.199.0",
|
|
29376
29383
|
description: "Generated TypeScript client for UiPath Pipelines API (CI/CD deployment lifecycle)",
|
|
29377
29384
|
repository: {
|
|
29378
29385
|
type: "git",
|
|
@@ -30696,7 +30703,7 @@ class TextApiResponse2 {
|
|
|
30696
30703
|
var package_default2 = {
|
|
30697
30704
|
name: "@uipath/solution-sdk",
|
|
30698
30705
|
license: "MIT",
|
|
30699
|
-
version: "1.
|
|
30706
|
+
version: "1.199.0-preview.105",
|
|
30700
30707
|
repository: {
|
|
30701
30708
|
type: "git",
|
|
30702
30709
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -31396,6 +31403,7 @@ var resolveConfigAsync = async ({
|
|
|
31396
31403
|
customAuthority,
|
|
31397
31404
|
customClientId,
|
|
31398
31405
|
customClientSecret,
|
|
31406
|
+
customClientAssertion,
|
|
31399
31407
|
customScopes
|
|
31400
31408
|
} = {}) => {
|
|
31401
31409
|
const fileAuth = getAuthFileConfig();
|
|
@@ -31421,7 +31429,7 @@ var resolveConfigAsync = async ({
|
|
|
31421
31429
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
31422
31430
|
clientSecret = fileAuth.clientSecret;
|
|
31423
31431
|
}
|
|
31424
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
31432
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
31425
31433
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
31426
31434
|
return {
|
|
31427
31435
|
clientId,
|
|
@@ -32539,7 +32547,6 @@ var getAuthContext = async (options = {}) => {
|
|
|
32539
32547
|
tenantName
|
|
32540
32548
|
};
|
|
32541
32549
|
};
|
|
32542
|
-
|
|
32543
32550
|
// ../auth/src/index.ts
|
|
32544
32551
|
init_constants();
|
|
32545
32552
|
|
|
@@ -32832,7 +32839,7 @@ class VoidApiResponse3 {
|
|
|
32832
32839
|
var package_default3 = {
|
|
32833
32840
|
name: "@uipath/orchestrator-sdk",
|
|
32834
32841
|
license: "MIT",
|
|
32835
|
-
version: "1.
|
|
32842
|
+
version: "1.199.0",
|
|
32836
32843
|
repository: {
|
|
32837
32844
|
type: "git",
|
|
32838
32845
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -33471,4 +33478,4 @@ export {
|
|
|
33471
33478
|
publishSolutionAsync
|
|
33472
33479
|
};
|
|
33473
33480
|
|
|
33474
|
-
//# debugId=
|
|
33481
|
+
//# debugId=2B41E16A7E1D926964756E2164756E21
|