@uipath/rules-tool 1.206.0-preview.291 → 1.206.0-preview.294

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.
@@ -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.291",
19
+ version: "1.206.0-preview.294",
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-79bsq64p.js");
96
+ const { debugRuleProjectAsync } = await import("./rules-debug-service-frmvxgdd.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-5qnmp0xp.js");
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-fc799dnp.js");
293
+ const { rulesInitAsync } = await import("./rules-init-service-r9cb6e42.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-5qnmp0xp.js");
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-s787ehrr.js");
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=32B38F275B25D57E64756E2164756E21
612
+ //# debugId=A05DBDB5F671B24064756E2164756E21
@@ -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.291",
1594
+ version: "1.206.0-preview.294",
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": "2025.11.0-alpha6584-4367",
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=84090FE3DBC16F5164756E2164756E21
1853
+ //# debugId=4F1D32DEB92DC56464756E2164756E21
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata2,
3
3
  registerCommands2
4
- } from "./tool-1m3p7pyj.js";
4
+ } from "./tool-fw3rvd18.js";
5
5
  import"./tool-cs8nyk0r.js";
6
6
  export {
7
7
  metadata2 as metadata,
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.291",
5
+ "version": "1.206.0-preview.294",
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": "864d551ba6398d7307537ef200eb4b54494baeed"
30
+ "gitHead": "41aa0f26a87287e408a13439006e13a85fe6b8da"
31
31
  }