@uipath/maestro-sdk 1.204.0-preview.249 → 1.204.0-preview.250

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.
@@ -12593,6 +12593,20 @@ var TERMINAL_PROJECT_DEBUG_STATUSES = new Set([
12593
12593
  "creationfailed",
12594
12594
  "validationfailed"
12595
12595
  ]);
12596
+
12597
+ class DebugProvisioningFailedError extends Error {
12598
+ status;
12599
+ errors;
12600
+ constructor(status, errors) {
12601
+ super(`Studio Web resource provisioning failed with status ${status}` + (errors.length ? ` (${JSON.stringify(errors)})` : "."));
12602
+ this.name = "DebugProvisioningFailedError";
12603
+ this.status = status;
12604
+ this.errors = errors;
12605
+ }
12606
+ get isValidationFailure() {
12607
+ return this.status.toLowerCase() === "validationfailed";
12608
+ }
12609
+ }
12596
12610
  var delay = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
12597
12611
  async function waitForProjectProvisioning(config, solutionId, sessionId, timeoutMs, pollIntervalMs) {
12598
12612
  const deadline = Date.now() + timeoutMs;
@@ -12611,7 +12625,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
12611
12625
  logger.debug(`Project debug provisioning status: ${info.status ?? "unknown"}`);
12612
12626
  if (status && TERMINAL_PROJECT_DEBUG_STATUSES.has(status)) {
12613
12627
  if (status !== "creationsucceeded") {
12614
- throw new Error(`Studio Web resource provisioning failed with status ${info.status ?? "unknown"}` + (info.errors?.length ? ` (${JSON.stringify(info.errors)})` : "."));
12628
+ throw new DebugProvisioningFailedError(info.status ?? "unknown", info.errors ?? []);
12615
12629
  }
12616
12630
  logger.info(`Studio Web resources provisioned${info.folderFullyQualifiedName ? ` in ${info.folderFullyQualifiedName}` : ""}`);
12617
12631
  return;
@@ -13079,6 +13093,7 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
13079
13093
  export {
13080
13094
  DEBUG_MODE_MAP,
13081
13095
  DebugPollTimeoutError,
13096
+ DebugProvisioningFailedError,
13082
13097
  DebugVariablesFetchFailedError,
13083
13098
  FpsPropertiesInjectionError,
13084
13099
  SIMULATION_MODE_MAP,
@@ -13103,4 +13118,4 @@ export {
13103
13118
  uploadAndDebugSolution
13104
13119
  };
13105
13120
 
13106
- //# debugId=7EF05DD95FED651C64756E2164756E21
13121
+ //# debugId=701C6E3BDA6285E964756E2164756E21
package/dist/index.js CHANGED
@@ -132494,7 +132494,7 @@ var init_package = __esm(() => {
132494
132494
  name: "@uipath/integrationservice-sdk",
132495
132495
  author: "UiPath",
132496
132496
  license: "SEE LICENSE IN LICENSE.txt",
132497
- version: "1.204.0-preview.249",
132497
+ version: "1.204.0-preview.250",
132498
132498
  repository: {
132499
132499
  type: "git",
132500
132500
  url: "https://github.com/UiPath/cli.git",
@@ -200365,10 +200365,19 @@ async function findSolutionFromCwd() {
200365
200365
  }
200366
200366
  async function readProjectEntryPointIO(projectDir) {
200367
200367
  const fs7 = getFileSystem();
200368
- const candidates = [
200369
- fs7.path.join(projectDir, "entry-points.json"),
200370
- fs7.path.join(projectDir, "content", "entry-points.json")
200371
- ];
200368
+ const fromSource = await readEntryPointsFile(fs7.path.join(projectDir, "entry-points.json"), fs7.path.join(projectDir, "content", "entry-points.json"));
200369
+ if (fromSource)
200370
+ return fromSource;
200371
+ const fromFlow = await readProjectIOFromFlowVariables(projectDir);
200372
+ if (fromFlow)
200373
+ return fromFlow;
200374
+ const fromBuild = await readEntryPointsFile(fs7.path.join(projectDir, ".local", "content", "entry-points.json"));
200375
+ if (fromBuild)
200376
+ return fromBuild;
200377
+ return EMPTY_IO2;
200378
+ }
200379
+ async function readEntryPointsFile(...candidates) {
200380
+ const fs7 = getFileSystem();
200372
200381
  for (const filePath of candidates) {
200373
200382
  const [err, content] = await catchError(fs7.readFile(filePath, "utf-8"));
200374
200383
  if (err || !content)
@@ -200378,10 +200387,7 @@ async function readProjectEntryPointIO(projectDir) {
200378
200387
  continue;
200379
200388
  return extractIOFromEntryPoints(parsed);
200380
200389
  }
200381
- const fromFlow = await readProjectIOFromFlowVariables(projectDir);
200382
- if (fromFlow)
200383
- return fromFlow;
200384
- return EMPTY_IO2;
200390
+ return;
200385
200391
  }
200386
200392
  async function readProjectIOFromFlowVariables(projectDir) {
200387
200393
  const fs7 = getFileSystem();
@@ -212088,6 +212094,20 @@ var TERMINAL_PROJECT_DEBUG_STATUSES = new Set([
212088
212094
  "creationfailed",
212089
212095
  "validationfailed"
212090
212096
  ]);
212097
+
212098
+ class DebugProvisioningFailedError extends Error {
212099
+ status;
212100
+ errors;
212101
+ constructor(status, errors) {
212102
+ super(`Studio Web resource provisioning failed with status ${status}` + (errors.length ? ` (${JSON.stringify(errors)})` : "."));
212103
+ this.name = "DebugProvisioningFailedError";
212104
+ this.status = status;
212105
+ this.errors = errors;
212106
+ }
212107
+ get isValidationFailure() {
212108
+ return this.status.toLowerCase() === "validationfailed";
212109
+ }
212110
+ }
212091
212111
  var delay = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
212092
212112
  async function waitForProjectProvisioning(config, solutionId, sessionId, timeoutMs, pollIntervalMs) {
212093
212113
  const deadline = Date.now() + timeoutMs;
@@ -212106,7 +212126,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
212106
212126
  logger.debug(`Project debug provisioning status: ${info.status ?? "unknown"}`);
212107
212127
  if (status && TERMINAL_PROJECT_DEBUG_STATUSES.has(status)) {
212108
212128
  if (status !== "creationsucceeded") {
212109
- throw new Error(`Studio Web resource provisioning failed with status ${info.status ?? "unknown"}` + (info.errors?.length ? ` (${JSON.stringify(info.errors)})` : "."));
212129
+ throw new DebugProvisioningFailedError(info.status ?? "unknown", info.errors ?? []);
212110
212130
  }
212111
212131
  logger.info(`Studio Web resources provisioned${info.folderFullyQualifiedName ? ` in ${info.folderFullyQualifiedName}` : ""}`);
212112
212132
  return;
@@ -213022,10 +213042,11 @@ In-solution (--local):
213022
213042
  searchNodes: searchNodes2,
213023
213043
  searchNodesWithFilters: searchNodesWithFilters2
213024
213044
  } = await Promise.resolve().then(() => (init_node_sync_service(), exports_node_sync_service));
213045
+ const searchLocal = () => parsedFilters ? searchNodesWithFilters2(keyword, parsedFilters, {
213046
+ local: true
213047
+ }) : searchNodes2(keyword, { local: true });
213025
213048
  if (options.local) {
213026
- const [searchError2, results2] = await catchError(parsedFilters ? searchNodesWithFilters2(keyword, parsedFilters, {
213027
- local: true
213028
- }) : searchNodes2(keyword, { local: true }));
213049
+ const [searchError2, results2] = await catchError(searchLocal());
213029
213050
  if (searchError2) {
213030
213051
  OutputFormatter.error({
213031
213052
  Result: RESULTS.Failure,
@@ -213052,10 +213073,18 @@ In-solution (--local):
213052
213073
  processContext.exit(1);
213053
213074
  return;
213054
213075
  }
213076
+ let warning;
213077
+ if (results.length === 0) {
213078
+ const [, localMatches] = await catchError(searchLocal());
213079
+ if (localMatches && localMatches.length > 0) {
213080
+ warning = `No tenant node matches, but ${localMatches.length} node(s) from projects in this solution do. Re-run the same search with --local.`;
213081
+ }
213082
+ }
213055
213083
  OutputFormatter.success({
213056
213084
  Result: RESULTS.Success,
213057
213085
  Code: "NodeSearchSuccess",
213058
- Data: results.map((result) => flattenNodeWithAvailability(result.node, result.availableOnTenant))
213086
+ Data: results.map((result) => flattenNodeWithAvailability(result.node, result.availableOnTenant)),
213087
+ ...warning ? { Warning: warning } : {}
213059
213088
  });
213060
213089
  });
213061
213090
  registry5.command("get").description("Get the full schema for a single node. For connector nodes (uipath.connector.*), the base manifest is automatically enriched with live metadata from Integration Service.").addHelpText("after", `
@@ -213081,7 +213110,7 @@ Examples:
213081
213110
 
213082
213111
  In-solution (--local):
213083
213112
  cd MySolution/MyFlow && ${cmd} get <node-type> --local`).argument("<node-type>", `Node type identifier — get it from '${cmd} search'`).option("--connection-id <id>", "Connection ID for Integration Service connector node enrichment. Required for connector trigger nodes; optional for connector activity nodes.").option("--local", "Get node from in-solution projects only (requires .uipx in CWD, parent, or grandparent)").examples(getExamples).trackedAction(processContext, async (nodeType, options) => {
213084
- const { getNodeEnriched: getNodeEnriched2 } = await Promise.resolve().then(() => (init_node_sync_service(), exports_node_sync_service));
213113
+ const { getNode: getNode2, getNodeEnriched: getNodeEnriched2 } = await Promise.resolve().then(() => (init_node_sync_service(), exports_node_sync_service));
213085
213114
  const [error91, result] = await catchError(getNodeEnriched2(nodeType, options.connectionId, {
213086
213115
  local: options.local
213087
213116
  }));
@@ -213095,10 +213124,12 @@ In-solution (--local):
213095
213124
  return;
213096
213125
  }
213097
213126
  if (!result) {
213127
+ const [, inSolution] = options.local ? [undefined, null] : await catchError(getNode2(nodeType, { local: true }));
213098
213128
  OutputFormatter.error({
213099
213129
  Result: RESULTS.Failure,
213100
213130
  Message: "Node not found",
213101
- Instructions: `No node found with node type: ${nodeType}`
213131
+ Instructions: inSolution ? `'${nodeType}' is a node of a project in this solution, which only --local looks up. Run: ${cmd} get ${nodeType} --local` : `No node found with node type: ${nodeType}`,
213132
+ ErrorCode: "not_found"
213102
213133
  });
213103
213134
  processContext.exit(1);
213104
213135
  return;
@@ -217724,6 +217755,7 @@ export {
217724
217755
  BpmnValidateService,
217725
217756
  CACHE_EXPIRATION_MS,
217726
217757
  DebugPollTimeoutError,
217758
+ DebugProvisioningFailedError,
217727
217759
  FilterParseError,
217728
217760
  FpsPropertiesInjectionError,
217729
217761
  MANAGED_HTTP_CONNECTOR_KEY,
@@ -217832,4 +217864,4 @@ export {
217832
217864
  withPimsCall
217833
217865
  };
217834
217866
 
217835
- //# debugId=AD598115F129DB2964756E2164756E21
217867
+ //# debugId=FAFB02558FAE2FF464756E2164756E21
@@ -132494,7 +132494,7 @@ var init_package = __esm(() => {
132494
132494
  name: "@uipath/integrationservice-sdk",
132495
132495
  author: "UiPath",
132496
132496
  license: "SEE LICENSE IN LICENSE.txt",
132497
- version: "1.204.0-preview.249",
132497
+ version: "1.204.0-preview.250",
132498
132498
  repository: {
132499
132499
  type: "git",
132500
132500
  url: "https://github.com/UiPath/cli.git",
@@ -200365,10 +200365,19 @@ async function findSolutionFromCwd() {
200365
200365
  }
200366
200366
  async function readProjectEntryPointIO(projectDir) {
200367
200367
  const fs7 = getFileSystem();
200368
- const candidates = [
200369
- fs7.path.join(projectDir, "entry-points.json"),
200370
- fs7.path.join(projectDir, "content", "entry-points.json")
200371
- ];
200368
+ const fromSource = await readEntryPointsFile(fs7.path.join(projectDir, "entry-points.json"), fs7.path.join(projectDir, "content", "entry-points.json"));
200369
+ if (fromSource)
200370
+ return fromSource;
200371
+ const fromFlow = await readProjectIOFromFlowVariables(projectDir);
200372
+ if (fromFlow)
200373
+ return fromFlow;
200374
+ const fromBuild = await readEntryPointsFile(fs7.path.join(projectDir, ".local", "content", "entry-points.json"));
200375
+ if (fromBuild)
200376
+ return fromBuild;
200377
+ return EMPTY_IO2;
200378
+ }
200379
+ async function readEntryPointsFile(...candidates) {
200380
+ const fs7 = getFileSystem();
200372
200381
  for (const filePath of candidates) {
200373
200382
  const [err, content] = await catchError(fs7.readFile(filePath, "utf-8"));
200374
200383
  if (err || !content)
@@ -200378,10 +200387,7 @@ async function readProjectEntryPointIO(projectDir) {
200378
200387
  continue;
200379
200388
  return extractIOFromEntryPoints(parsed);
200380
200389
  }
200381
- const fromFlow = await readProjectIOFromFlowVariables(projectDir);
200382
- if (fromFlow)
200383
- return fromFlow;
200384
- return EMPTY_IO2;
200390
+ return;
200385
200391
  }
200386
200392
  async function readProjectIOFromFlowVariables(projectDir) {
200387
200393
  const fs7 = getFileSystem();
@@ -201287,10 +201293,11 @@ In-solution (--local):
201287
201293
  searchNodes: searchNodes2,
201288
201294
  searchNodesWithFilters: searchNodesWithFilters2
201289
201295
  } = await Promise.resolve().then(() => (init_node_sync_service(), exports_node_sync_service));
201296
+ const searchLocal = () => parsedFilters ? searchNodesWithFilters2(keyword, parsedFilters, {
201297
+ local: true
201298
+ }) : searchNodes2(keyword, { local: true });
201290
201299
  if (options.local) {
201291
- const [searchError2, results2] = await catchError(parsedFilters ? searchNodesWithFilters2(keyword, parsedFilters, {
201292
- local: true
201293
- }) : searchNodes2(keyword, { local: true }));
201300
+ const [searchError2, results2] = await catchError(searchLocal());
201294
201301
  if (searchError2) {
201295
201302
  OutputFormatter.error({
201296
201303
  Result: RESULTS.Failure,
@@ -201317,10 +201324,18 @@ In-solution (--local):
201317
201324
  processContext.exit(1);
201318
201325
  return;
201319
201326
  }
201327
+ let warning;
201328
+ if (results.length === 0) {
201329
+ const [, localMatches] = await catchError(searchLocal());
201330
+ if (localMatches && localMatches.length > 0) {
201331
+ warning = `No tenant node matches, but ${localMatches.length} node(s) from projects in this solution do. Re-run the same search with --local.`;
201332
+ }
201333
+ }
201320
201334
  OutputFormatter.success({
201321
201335
  Result: RESULTS.Success,
201322
201336
  Code: "NodeSearchSuccess",
201323
- Data: results.map((result) => flattenNodeWithAvailability(result.node, result.availableOnTenant))
201337
+ Data: results.map((result) => flattenNodeWithAvailability(result.node, result.availableOnTenant)),
201338
+ ...warning ? { Warning: warning } : {}
201324
201339
  });
201325
201340
  });
201326
201341
  registry5.command("get").description("Get the full schema for a single node. For connector nodes (uipath.connector.*), the base manifest is automatically enriched with live metadata from Integration Service.").addHelpText("after", `
@@ -201346,7 +201361,7 @@ Examples:
201346
201361
 
201347
201362
  In-solution (--local):
201348
201363
  cd MySolution/MyFlow && ${cmd} get <node-type> --local`).argument("<node-type>", `Node type identifier — get it from '${cmd} search'`).option("--connection-id <id>", "Connection ID for Integration Service connector node enrichment. Required for connector trigger nodes; optional for connector activity nodes.").option("--local", "Get node from in-solution projects only (requires .uipx in CWD, parent, or grandparent)").examples(getExamples).trackedAction(processContext, async (nodeType, options) => {
201349
- const { getNodeEnriched: getNodeEnriched2 } = await Promise.resolve().then(() => (init_node_sync_service(), exports_node_sync_service));
201364
+ const { getNode: getNode2, getNodeEnriched: getNodeEnriched2 } = await Promise.resolve().then(() => (init_node_sync_service(), exports_node_sync_service));
201350
201365
  const [error91, result] = await catchError(getNodeEnriched2(nodeType, options.connectionId, {
201351
201366
  local: options.local
201352
201367
  }));
@@ -201360,10 +201375,12 @@ In-solution (--local):
201360
201375
  return;
201361
201376
  }
201362
201377
  if (!result) {
201378
+ const [, inSolution] = options.local ? [undefined, null] : await catchError(getNode2(nodeType, { local: true }));
201363
201379
  OutputFormatter.error({
201364
201380
  Result: RESULTS.Failure,
201365
201381
  Message: "Node not found",
201366
- Instructions: `No node found with node type: ${nodeType}`
201382
+ Instructions: inSolution ? `'${nodeType}' is a node of a project in this solution, which only --local looks up. Run: ${cmd} get ${nodeType} --local` : `No node found with node type: ${nodeType}`,
201383
+ ErrorCode: "not_found"
201367
201384
  });
201368
201385
  processContext.exit(1);
201369
201386
  return;
@@ -201381,4 +201398,4 @@ export {
201381
201398
  registerRegistryCommand
201382
201399
  };
201383
201400
 
201384
- //# debugId=22E77518D522EDCF64756E2164756E21
201401
+ //# debugId=D8107D52EBA7834264756E2164756E21
@@ -14038,6 +14038,20 @@ var TERMINAL_PROJECT_DEBUG_STATUSES = new Set([
14038
14038
  "creationfailed",
14039
14039
  "validationfailed"
14040
14040
  ]);
14041
+
14042
+ class DebugProvisioningFailedError extends Error {
14043
+ status;
14044
+ errors;
14045
+ constructor(status, errors) {
14046
+ super(`Studio Web resource provisioning failed with status ${status}` + (errors.length ? ` (${JSON.stringify(errors)})` : "."));
14047
+ this.name = "DebugProvisioningFailedError";
14048
+ this.status = status;
14049
+ this.errors = errors;
14050
+ }
14051
+ get isValidationFailure() {
14052
+ return this.status.toLowerCase() === "validationfailed";
14053
+ }
14054
+ }
14041
14055
  var delay = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
14042
14056
  async function waitForProjectProvisioning(config, solutionId, sessionId, timeoutMs, pollIntervalMs) {
14043
14057
  const deadline = Date.now() + timeoutMs;
@@ -14056,7 +14070,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
14056
14070
  logger.debug(`Project debug provisioning status: ${info.status ?? "unknown"}`);
14057
14071
  if (status && TERMINAL_PROJECT_DEBUG_STATUSES.has(status)) {
14058
14072
  if (status !== "creationsucceeded") {
14059
- throw new Error(`Studio Web resource provisioning failed with status ${info.status ?? "unknown"}` + (info.errors?.length ? ` (${JSON.stringify(info.errors)})` : "."));
14073
+ throw new DebugProvisioningFailedError(info.status ?? "unknown", info.errors ?? []);
14060
14074
  }
14061
14075
  logger.info(`Studio Web resources provisioned${info.folderFullyQualifiedName ? ` in ${info.folderFullyQualifiedName}` : ""}`);
14062
14076
  return;
@@ -15982,4 +15996,4 @@ export {
15982
15996
  registerSharedProcessesCommands
15983
15997
  };
15984
15998
 
15985
- //# debugId=039356C4ABAFE97164756E2164756E21
15999
+ //# debugId=11D8829B1410D86164756E2164756E21
@@ -82,6 +82,25 @@ export interface PrepareForCustomDebugResponse {
82
82
  solutionDebugId: string;
83
83
  projectDebugId: string;
84
84
  }
85
+ /**
86
+ * Thrown when Studio Web debug resource provisioning ends in a terminal status
87
+ * other than `creationSucceeded`.
88
+ *
89
+ * Carries the raw status and error list so a caller can tell a
90
+ * `validationFailed` (the uploaded solution references something Studio Web
91
+ * cannot provision, e.g. a process that does not exist) from other failures
92
+ * without matching on the message. The message text is the same one the plain
93
+ * `Error` this replaced carried.
94
+ */
95
+ export declare class DebugProvisioningFailedError extends Error {
96
+ /** Status as Studio Web reported it (e.g. `validationFailed`), or "unknown". */
97
+ readonly status: string;
98
+ /** Error entries from the provisioning status response, as returned. */
99
+ readonly errors: unknown[];
100
+ constructor(status: string, errors: unknown[]);
101
+ /** True when Studio Web rejected the solution's resources during validation. */
102
+ get isValidationFailure(): boolean;
103
+ }
85
104
  /**
86
105
  * Prepare a local workspace project for Studio Web debug.
87
106
  *
@@ -5,7 +5,7 @@ export { createPimsConfig } from "./client-factory";
5
5
  export type { DebugApiService, MaestroHttpErrorDetails, } from "./debug-http-client";
6
6
  export { debugPimsGet, debugPimsPatch, debugPimsPost, debugPimsPut, MaestroHttpError, orchestratorGet, orchestratorPost, parseBackendErrorBody, studioWebDelete, studioWebPost, } from "./debug-http-client";
7
7
  export type { BeginDebugSessionOptions, PersonalFolderInfo, PrepareForCustomDebugParams, PrepareForCustomDebugResponse, UploadAndDebugParams, } from "./debug-service";
8
- export { beginDebugSession, buildPollTimeoutFailureOutput, buildStudioWebDesignerUrl, createDebugInstance, DebugPollTimeoutError, extractStartEventId, FpsPropertiesInjectionError, fetchDebugInstanceIncidents, getFolderInfoById, getPersonalFolderInfo, getPersonalFolderKey, injectInlineAgentProcessEntries, injectSolutionProjectProcessEntries, isFaultedDebugStatus, isSuccessfulDebugStatus, patchConnectionOverwrites, pollDebugInstanceStatus, prepareForCustomDebug, resolveFaultIncidents, uploadAndDebugSolution, } from "./debug-service";
8
+ export { beginDebugSession, buildPollTimeoutFailureOutput, buildStudioWebDesignerUrl, createDebugInstance, DebugPollTimeoutError, DebugProvisioningFailedError, extractStartEventId, FpsPropertiesInjectionError, fetchDebugInstanceIncidents, getFolderInfoById, getPersonalFolderInfo, getPersonalFolderKey, injectInlineAgentProcessEntries, injectSolutionProjectProcessEntries, isFaultedDebugStatus, isSuccessfulDebugStatus, patchConnectionOverwrites, pollDebugInstanceStatus, prepareForCustomDebug, resolveFaultIncidents, uploadAndDebugSolution, } from "./debug-service";
9
9
  export type { BeginSessionResponse, BreakpointUpdateRequest, ContinueOnBreakpointRequest, DebugCallbacks, DebugGetAllVariablesResponse, DebugGetVariablesResponse, DebugIncidentResponse, DebugInstanceResponse, DebugInstanceStatusResponse, DebugInstanceStatusResult, DebugResult, DebugVariablesResponse, ElementExecution, InlineAgentDescriptor, OrchestratorApiConfig, PatchVariablesRequest, SolutionProjectDescriptor, StudioWebDebugConfig, } from "./debug-types";
10
10
  export { parseJsonInputOrFile, readJsonFile, resolveJsonInput, } from "./json-input";
11
11
  export { BPMN_SPEC, SUPPORTED_UIPATH_EXTENSION_TAG_NAMES, SUPPORTED_UIPATH_EXTENSION_TAGS, } from "./manifest/bpmn-spec";
@@ -36,7 +36,7 @@ export declare function findSolutionFromCwd(): Promise<SolutionContext | null>;
36
36
  * Tries flat layout first, then content/ subdirectory.
37
37
  *
38
38
  * Falls back to extracting `variables.globals` from the project's `.flow`
39
- * file whenever no usable `entry-points.json` is found in either candidate
39
+ * file whenever no usable `entry-points.json` is found in any candidate
40
40
  * location — that is, when the file is missing, unreadable, contains
41
41
  * invalid JSON, or carries an empty `entryPoints` array. `flow init` and
42
42
  * `flow variable add` do not emit `entry-points.json` — the packager
@@ -46,6 +46,12 @@ export declare function findSolutionFromCwd(): Promise<SolutionContext | null>;
46
46
  * broader trigger (not strictly ENOENT) is intentional: a corrupted or
47
47
  * stale `entry-points.json` should still let the `.flow` source recover
48
48
  * the typed contract.
49
+ *
50
+ * Last, probes `.local/content/entry-points.json` — where `uip rpa build`
51
+ * writes an RPA project's entry points; that project keeps none at its
52
+ * root and has no `.flow` file. It is build output, so it comes after the
53
+ * `.flow` source: a Flow sibling with a stale build copy under `.local/`
54
+ * still reports its live variables.
49
55
  */
50
56
  export declare function readProjectEntryPointIO(projectDir: string): Promise<ProjectEntryPointIO>;
51
57
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/maestro-sdk",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.204.0-preview.249",
5
+ "version": "1.204.0-preview.250",
6
6
  "description": "SDK for the UiPath Maestro (PIMS) API — process instance management.",
7
7
  "repository": {
8
8
  "type": "git",
@@ -103,5 +103,5 @@
103
103
  "files": [
104
104
  "dist"
105
105
  ],
106
- "gitHead": "a0ea4d79473cd8077d99d13c2644163be126b103"
106
+ "gitHead": "80ffb08b3e58d7ca233b16fae8521163b1dcd635"
107
107
  }