@uipath/rules-tool 1.206.0-preview.291 → 1.206.0-preview.292
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/THIRD-PARTY-NOTICES.md +2 -2
- package/dist/{embedded-file-reader-0228j82a.js → embedded-file-reader-pxpwcq3n.js} +16 -16
- package/dist/{first-party-service-hegqxm82.js → first-party-service-wcnp88a9.js} +1 -1
- package/dist/{index-4a4x1ygg.js → index-24g0nqej.js} +1 -1
- package/dist/{index-xaxgkfez.js → index-bac43qkt.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{rule-catalog-5qnmp0xp.js → rule-catalog-p3dwc566.js} +1 -1
- package/dist/{rules-debug-service-79bsq64p.js → rules-debug-service-4c9tg0hw.js} +1 -1
- package/dist/{rules-init-service-fc799dnp.js → rules-init-service-qkan766e.js} +2 -2
- package/dist/solution-definition-helper-exca4thg.js +8 -0
- package/dist/{tool-8cnhz30a.js → tool-08vxhez5.js} +3880 -1406
- package/dist/{tool-1m3p7pyj.js → tool-gxfen4hx.js} +7 -7
- package/dist/{tool-fbqkhjs7.js → tool-t7q72sxh.js} +3 -3
- package/dist/tool.js +1 -1
- package/package.json +2 -2
- /package/dist/{rules-validate-service-s787ehrr.js → rules-validate-service-0z1a00hr.js} +0 -0
|
@@ -16,7 +16,7 @@ var package_default = {
|
|
|
16
16
|
name: "@uipath/rules-tool",
|
|
17
17
|
author: "UiPath",
|
|
18
18
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
19
|
-
version: "1.206.0-preview.
|
|
19
|
+
version: "1.206.0-preview.292",
|
|
20
20
|
description: "Create and manage UiPath Business Rules (DMN) projects.",
|
|
21
21
|
private: false,
|
|
22
22
|
repository: {
|
|
@@ -93,7 +93,7 @@ var RULES_DEBUG_EXAMPLES = [
|
|
|
93
93
|
var registerDebugCommand = (program) => {
|
|
94
94
|
program.command("debug").description("Upload the rules project's solution to Studio Web and evaluate it once through the rules engine. Returns the decision outputs and errors, and the trace id that shows which rules fired.").argument("<project-path>", "Path to the business rules project directory (must contain project.uiproj)").option("-i, --inputs <json>", "Input values as a JSON object or @file.json").option("--folder-path <path>", "Folder to evaluate in and record the run's trace under (default: your personal workspace)").option("--folder-key <key>", "Key (GUID) of the folder to evaluate in and record the run's trace under").option("--timeout <seconds>", "Maximum seconds to wait for the rules engine to evaluate (default: 120)", (value) => parseBoundedInt(value, "--timeout", { min: 1, max: 3600 })).option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", (value) => Number.parseInt(value, 10), 10).examples(RULES_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
|
|
95
95
|
const { reportRulesFailure } = await import("./rules-command-error-30c8a3n9.js");
|
|
96
|
-
const { debugRuleProjectAsync } = await import("./rules-debug-service-
|
|
96
|
+
const { debugRuleProjectAsync } = await import("./rules-debug-service-4c9tg0hw.js");
|
|
97
97
|
const [error, result] = await catchError(debugRuleProjectAsync(projectPath, options));
|
|
98
98
|
if (error) {
|
|
99
99
|
await reportRulesFailure("Failed to debug business rules project", error);
|
|
@@ -197,7 +197,7 @@ var registerDescribeCommand = (program) => {
|
|
|
197
197
|
}
|
|
198
198
|
const [error, entryPoints] = await catchError((async () => {
|
|
199
199
|
const folder = await rules.resolveRequiredFolder(options);
|
|
200
|
-
const { describeRuleAsync } = await import("./rule-catalog-
|
|
200
|
+
const { describeRuleAsync } = await import("./rule-catalog-p3dwc566.js");
|
|
201
201
|
return describeRuleAsync(name, folder);
|
|
202
202
|
})());
|
|
203
203
|
if (error) {
|
|
@@ -290,7 +290,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
290
290
|
];
|
|
291
291
|
var registerInitCommand = (program) => {
|
|
292
292
|
program.command("init").description("Create a new business rules project seeded with one decision table. If run outside an existing solution, a parent '<name>Solution' is scaffolded automatically and the rules project is created inside it. If run inside an existing solution, the project is added to that solution.").argument("<name>", "Business rules project name").option("--force", "Force initialization even if target directory exists and is not empty").option("--skip-solution-registration", "Do not auto-register this project in the surrounding solution").examples(RULES_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
293
|
-
const { rulesInitAsync } = await import("./rules-init-service-
|
|
293
|
+
const { rulesInitAsync } = await import("./rules-init-service-qkan766e.js");
|
|
294
294
|
const [error, result] = await catchError(rulesInitAsync(name, {
|
|
295
295
|
force: options.force,
|
|
296
296
|
skipRegistration: options.skipSolutionRegistration === true
|
|
@@ -414,7 +414,7 @@ async function listRulesAcrossFolders(options) {
|
|
|
414
414
|
if (options.tenant !== undefined) {
|
|
415
415
|
throw new RulesCommandError("'uip rules list --all-folders' does not support --tenant: it lists rules from the resource catalog of the tenant you are logged in to.", "invalid_argument", "Drop --all-folders and pass --folder-path <path> or --folder-key <key> to list one folder in that tenant, or run 'uip login tenant set <tenant-name>' to switch tenants.");
|
|
416
416
|
}
|
|
417
|
-
const { listRulesAcrossFoldersAsync } = await import("./rule-catalog-
|
|
417
|
+
const { listRulesAcrossFoldersAsync } = await import("./rule-catalog-p3dwc566.js");
|
|
418
418
|
const result = await listRulesAcrossFoldersAsync(options.limit, options.offset);
|
|
419
419
|
if (!result) {
|
|
420
420
|
throw new RulesCommandError("Listing business rules across folders needs the Node CLI: the browser build cannot read the resource catalog.", "configuration_error", "Drop --all-folders and pass --folder-path <path> or --folder-key <key> to list one folder.");
|
|
@@ -481,7 +481,7 @@ var RULES_VALIDATE_EXAMPLES = [
|
|
|
481
481
|
var registerValidateCommand = (program) => {
|
|
482
482
|
program.command("validate").description("Check a rules project for what Studio Web blocks publish and debug on, the designer's diagnostics for each .dmn, and for an entry-points.json out of step with the .dmn. Errors exit 1; warnings are reported only.").argument("<project-path>", "Path to the business rules project directory (must contain project.uiproj)").examples(RULES_VALIDATE_EXAMPLES).trackedAction(processContext, async (projectPath) => {
|
|
483
483
|
const { reportRulesFailure } = await import("./rules-command-error-30c8a3n9.js");
|
|
484
|
-
const { validateRuleProjectAsync } = await import("./rules-validate-service-
|
|
484
|
+
const { validateRuleProjectAsync } = await import("./rules-validate-service-0z1a00hr.js");
|
|
485
485
|
const [error, result] = await catchError(validateRuleProjectAsync(projectPath));
|
|
486
486
|
if (error) {
|
|
487
487
|
await reportRulesFailure("Failed to validate business rules project", error);
|
|
@@ -609,4 +609,4 @@ var registerCommands2 = async (program) => {
|
|
|
609
609
|
|
|
610
610
|
export { metadata2, registerCommands2 };
|
|
611
611
|
|
|
612
|
-
//# debugId=
|
|
612
|
+
//# debugId=4CCFD53D8C409FF064756E2164756E21
|
|
@@ -1591,7 +1591,7 @@ var package_default = {
|
|
|
1591
1591
|
name: "@uipath/solution-sdk",
|
|
1592
1592
|
author: "UiPath",
|
|
1593
1593
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
1594
|
-
version: "1.206.0-preview.
|
|
1594
|
+
version: "1.206.0-preview.292",
|
|
1595
1595
|
repository: {
|
|
1596
1596
|
type: "git",
|
|
1597
1597
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -1656,7 +1656,7 @@ var package_default = {
|
|
|
1656
1656
|
"@uipath/filesystem": "workspace:*",
|
|
1657
1657
|
"@uipath/orchestrator-sdk": "workspace:*",
|
|
1658
1658
|
"@uipath/pipelines-sdk": "workspace:*",
|
|
1659
|
-
"@uipath/resource-builder-sdk": "
|
|
1659
|
+
"@uipath/resource-builder-sdk": "2026.11.0-alpha0531-4969",
|
|
1660
1660
|
"@uipath/solutionpackager-tool-core": "workspace:*",
|
|
1661
1661
|
"@uipath/studioweb-sdk": "workspace:*",
|
|
1662
1662
|
"@types/node": "^25.5.2",
|
|
@@ -1850,4 +1850,4 @@ var SUCCEEDED = "creationsucceeded";
|
|
|
1850
1850
|
var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
|
|
1851
1851
|
export { buildSolutionPackageFromDir, uploadOrOverwriteSolution };
|
|
1852
1852
|
|
|
1853
|
-
//# debugId=
|
|
1853
|
+
//# debugId=5829333F13B6D1A664756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/rules-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.206.0-preview.
|
|
5
|
+
"version": "1.206.0-preview.292",
|
|
6
6
|
"description": "Create and manage UiPath Business Rules (DMN) projects.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "40d037aa9ed3a9a333eba4780cecfb83996f2749"
|
|
31
31
|
}
|
|
File without changes
|