@uipath/flow-tool 1.207.0-preview.332 → 1.207.0-preview.334

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.
Files changed (75) hide show
  1. package/dist/{binding-service-mvfp86z4.js → binding-service-y69p7bft.js} +10 -10
  2. package/dist/{connector-service-z9xf0z8y.js → connector-service-5pdagjqw.js} +11 -11
  3. package/dist/{conversion-A2KZVSOA-qgdpjdbh.js → conversion-A2KZVSOA-da0jvkca.js} +3 -3
  4. package/dist/{de-HF4GJ4EK-NX7YTOSY-gyzn1fh8.js → de-HF4GJ4EK-NX7YTOSY-dktwe57v.js} +1 -1
  5. package/dist/{edge-service-1ayc3243.js → edge-service-kkfne3nm.js} +2 -2
  6. package/dist/{en-ETY46SDS-RI6EZCN6-eyddffxt.js → en-ETY46SDS-RI6EZCN6-pfhhzcjx.js} +1 -1
  7. package/dist/{en-JZXY3PYE-7dg73t6y.js → en-JZXY3PYE-bzkw4wgy.js} +1 -1
  8. package/dist/{en-LQHKFSEY-29g44x08.js → en-LQHKFSEY-6yks1zxs.js} +1 -1
  9. package/dist/{es-IYP2OLUY-7SKYGF6A-akxp1qyq.js → es-IYP2OLUY-7SKYGF6A-4vnqdwa5.js} +1 -1
  10. package/dist/{es-MX-D2MN3U37-D74A6FRL-tgtgg1fw.js → es-MX-D2MN3U37-D74A6FRL-y86mt797.js} +1 -1
  11. package/dist/{flow-debug-service-kq9rjxsj.js → flow-debug-service-0me2vxkq.js} +6 -6
  12. package/dist/{flow-eval-node-target-cvky9e0t.js → flow-eval-node-target-1d8p56wg.js} +2 -2
  13. package/dist/{flow-eval-run-service-t4dxn47b.js → flow-eval-run-service-erq7wv8m.js} +8 -8
  14. package/dist/{flow-eval-service-vvnzbg5s.js → flow-eval-service-pr46s2dv.js} +3 -3
  15. package/dist/{flow-init-service-je0dr5av.js → flow-init-service-p5vr4vrp.js} +4 -4
  16. package/dist/{flow-io-dwnzjp7z.js → flow-io-kpe0kedx.js} +2 -2
  17. package/dist/{flow-migrate-service-wr6a61rw.js → flow-migrate-service-sbkjbz9s.js} +2 -2
  18. package/dist/{flow-pack-service-qb60q13n.js → flow-pack-service-km3w34k9.js} +9 -9
  19. package/dist/{flow-validate-service-rzyarvm6.js → flow-validate-service-k1jq6kfa.js} +14 -14
  20. package/dist/{fr-NISALSPL-3ANDQPI3-vp295h3w.js → fr-NISALSPL-3ANDQPI3-mhm6ek0f.js} +1 -1
  21. package/dist/{governance-fetcher-1me9mzfj.js → governance-fetcher-467cnpa6.js} +2 -2
  22. package/dist/{hitl-service-mbev8nmc.js → hitl-service-v5q0efn6.js} +2 -2
  23. package/dist/{index-dwaz3cxg.js → index-00vgxn4y.js} +5 -8
  24. package/dist/{index-fdf6g1gm.js → index-4yfn160r.js} +1 -1
  25. package/dist/{index-deft5etj.js → index-afffg0b8.js} +1 -1
  26. package/dist/index.js +2 -2
  27. package/dist/init.js +4 -4
  28. package/dist/{inline-entity-resolver-f5veqjw6.js → inline-entity-resolver-4558jjkj.js} +2 -2
  29. package/dist/{integration-service-fetcher-hhygz8hd.js → integration-service-fetcher-5yr6tqwm.js} +1 -1
  30. package/dist/{ja-HTS2Q4YG-7Q6WUI6H-8esfnqa6.js → ja-HTS2Q4YG-7Q6WUI6H-fse7j3mk.js} +1 -1
  31. package/dist/{ko-3JFGTMNY-VT6UQ3IS-ca7m1wj3.js → ko-3JFGTMNY-VT6UQ3IS-fqa4t5v5.js} +1 -1
  32. package/dist/{node-r3tf5mfd.js → node-3yh1m0d1.js} +1 -1
  33. package/dist/{node-service-58rzn7p2.js → node-service-8s2n98wv.js} +10 -10
  34. package/dist/{node-sync-service-d1e5ep20.js → node-sync-service-qwhyyxab.js} +2 -2
  35. package/dist/{packager-tool-64w2m80w.js → packager-tool-16w60d43.js} +1 -1
  36. package/dist/{packager-tool-rjc5vyyh.js → packager-tool-382cnkd4.js} +5 -5
  37. package/dist/{packager-tool-c6dt0dny.js → packager-tool-4a34h7n6.js} +2 -2
  38. package/dist/{packager-tool-78fjb0hf.js → packager-tool-4yme9q7e.js} +1 -1
  39. package/dist/{packager-tool-3tke26pq.js → packager-tool-5ctz0p8f.js} +2 -2
  40. package/dist/{packager-tool-hjkws5w8.js → packager-tool-5mxtj6da.js} +1 -1
  41. package/dist/{packager-tool-rnktmgrb.js → packager-tool-67h8d606.js} +2 -2
  42. package/dist/{packager-tool-xgzjee0s.js → packager-tool-6g0xkr0f.js} +1 -1
  43. package/dist/{packager-tool-mrfbe314.js → packager-tool-6gjjggwf.js} +1 -1
  44. package/dist/{packager-tool-vtq4byf7.js → packager-tool-6s1j4wb7.js} +7 -7
  45. package/dist/{packager-tool-dx90ajph.js → packager-tool-98pqxpg7.js} +2 -2
  46. package/dist/{packager-tool-bspnhjv9.js → packager-tool-d003kxdg.js} +2 -2
  47. package/dist/{packager-tool-0kn0w319.js → packager-tool-dcafdc9q.js} +1 -1
  48. package/dist/{packager-tool-mx0c8yrh.js → packager-tool-j9d4219y.js} +42 -42
  49. package/dist/{packager-tool-raqjjae7.js → packager-tool-k7fpt2ae.js} +1 -1
  50. package/dist/{packager-tool-4be5rea9.js → packager-tool-nnn1gt0q.js} +2 -2
  51. package/dist/{packager-tool-w3gayvrq.js → packager-tool-p29ept23.js} +18 -18
  52. package/dist/{packager-tool-e51m1fyv.js → packager-tool-q2xa0gq4.js} +1 -1
  53. package/dist/{packager-tool-y1w610j6.js → packager-tool-r8htwba6.js} +201 -34
  54. package/dist/{packager-tool-yf5543s4.js → packager-tool-v2t7d9xb.js} +18 -57
  55. package/dist/{packager-tool-rarf7qwg.js → packager-tool-vrhar8me.js} +1 -1
  56. package/dist/{packager-tool-9ccrc8bt.js → packager-tool-xf25s2a8.js} +1 -1
  57. package/dist/{packager-tool-z7yzeg7q.js → packager-tool-zha5f5qr.js} +1 -1
  58. package/dist/packager-tool.js +2 -2
  59. package/dist/{provision-node-service-jsjwrrxy.js → provision-node-service-rcg441kb.js} +4 -4
  60. package/dist/{pt-BR-7H7BP5DT-IOHWNCIU-aw4fx6qe.js → pt-BR-7H7BP5DT-IOHWNCIU-v2pg5nkr.js} +1 -1
  61. package/dist/{pt-QWGSZKMD-RTKSQCYA-8zbypx7q.js → pt-QWGSZKMD-RTKSQCYA-bvy1vtvd.js} +1 -1
  62. package/dist/{ro-B7G474JK-Q3BAA4S3-f982svht.js → ro-B7G474JK-Q3BAA4S3-nt2tqsmb.js} +1 -1
  63. package/dist/{ru-GSCT4ARZ-6OTD7JLB-php56keq.js → ru-GSCT4ARZ-6OTD7JLB-fgd1ctmn.js} +1 -1
  64. package/dist/{schema-document-service-1439cr4x.js → schema-document-service-3my6vb16.js} +4 -4
  65. package/dist/{serialization-7CB4AREI-79wkbwsf.js → serialization-7CB4AREI-ypgaa7yh.js} +2 -2
  66. package/dist/services/connector-binding-validator.d.ts +25 -17
  67. package/dist/services/flow-validate-service.d.ts +7 -15
  68. package/dist/{tidy-service-44n8kkj3.js → tidy-service-dvazjjk5.js} +2 -2
  69. package/dist/tool.js +2 -2
  70. package/dist/{tr-FX7WCKK2-CEOTUJRD-xpcv4gyc.js → tr-FX7WCKK2-CEOTUJRD-0b3nsrg2.js} +1 -1
  71. package/dist/validation.js +14 -14
  72. package/dist/{variable-service-jzbeaehm.js → variable-service-4etf2q73.js} +2 -2
  73. package/dist/{zh-CN-NCMB6YM5-BB2LRIMQ-6x635vr5.js → zh-CN-NCMB6YM5-BB2LRIMQ-9wmzt0pm.js} +1 -1
  74. package/dist/{zh-TW-UNIEJPLE-ECGOEPYS-km9h8j8v.js → zh-TW-UNIEJPLE-ECGOEPYS-wbb4fkme.js} +1 -1
  75. package/package.json +2 -2
@@ -57,17 +57,16 @@ import {
57
57
  runDesignerRules2,
58
58
  UI_ONLY_NODE_TYPES2,
59
59
  previewIdIssues
60
- } from "./packager-tool-w3gayvrq.js";
60
+ } from "./packager-tool-p29ept23.js";
61
61
  import {
62
62
  resolveProjectFlowFile2
63
- } from "./packager-tool-64w2m80w.js";
63
+ } from "./packager-tool-16w60d43.js";
64
64
  import {
65
65
  readSolutionInlineEntities2
66
66
  } from "./packager-tool-gjjr2a2w.js";
67
67
  import {
68
- parse,
69
- loadRegistry2
70
- } from "./packager-tool-y1w610j6.js";
68
+ parse
69
+ } from "./packager-tool-r8htwba6.js";
71
70
  import {
72
71
  loadResourceKeyMap2,
73
72
  findProjectsWithoutProcessResource2,
@@ -75,7 +74,7 @@ import {
75
74
  } from "./packager-tool-bn09xgy8.js";
76
75
  import {
77
76
  loadCurrentTenantNodes2
78
- } from "./packager-tool-hjkws5w8.js";
77
+ } from "./packager-tool-5mxtj6da.js";
79
78
  import {
80
79
  ERROR_SOURCE_PORT,
81
80
  parseVisibleInputKey,
@@ -91,7 +90,7 @@ import {
91
90
  } from "./packager-tool-7re5d8aq.js";
92
91
  import {
93
92
  checkForwardMigration
94
- } from "./packager-tool-0kn0w319.js";
93
+ } from "./packager-tool-dcafdc9q.js";
95
94
  import {
96
95
  INLINE_ACTIVITY_TYPE_PREFIX,
97
96
  INLINE_ACTIVITY_SOURCE,
@@ -100,7 +99,7 @@ import {
100
99
  findOrchestratorConnectionField,
101
100
  resolveProcessTarget2,
102
101
  collectNodeBindingResourceKeys2
103
- } from "./packager-tool-vtq4byf7.js";
102
+ } from "./packager-tool-6s1j4wb7.js";
104
103
  import {
105
104
  MINT_MISSING_IDS,
106
105
  validateExtractionSchemaDocument
@@ -112,7 +111,7 @@ import {
112
111
  connectorNodeValidator2,
113
112
  readEssentialConfiguration,
114
113
  crossNodeBindingValidator
115
- } from "./packager-tool-e51m1fyv.js";
114
+ } from "./packager-tool-q2xa0gq4.js";
116
115
  import {
117
116
  containerBodyPorts
118
117
  } from "./packager-tool-ajx79m52.js";
@@ -122,7 +121,7 @@ import {
122
121
  } from "./packager-tool-p8ncdnsj.js";
123
122
  import {
124
123
  isProcessNode
125
- } from "./packager-tool-raqjjae7.js";
124
+ } from "./packager-tool-k7fpt2ae.js";
126
125
  import {
127
126
  isReadableExtractionSchema,
128
127
  isLegacySchemaDocument
@@ -250,38 +249,11 @@ var ACTION_VERBS = [
250
249
  "archive"
251
250
  ];
252
251
  var MANAGED_HTTP_NODE_TYPE = "core.action.http.v2";
253
- async function loadConnectorCatalog() {
254
- const keywords = new Set(STATIC_CONNECTOR_KEYWORDS);
255
- const activityTokenBags = [];
256
- const [err, registry] = await catchError2(loadRegistry2());
257
- if (err) {
258
- logger.debug(`Connector-binding validator: could not load IS catalog cache (${err.message}); falling back to static keyword list.`);
259
- return { keywords, activityTokenBags };
260
- }
261
- if (!registry) {
262
- return { keywords, activityTokenBags };
263
- }
264
- for (const connector of registry.discovered.connectors) {
265
- addConnectorKeywords(connector, keywords);
266
- for (const activity of connector.activities) {
267
- const tokens = tokenize(activity.displayName);
268
- if (tokens.size > 0) {
269
- activityTokenBags.push({
270
- connectorKey: connector.key,
271
- connectorName: connector.name,
272
- tokens
273
- });
274
- }
275
- }
276
- }
277
- return { keywords, activityTokenBags };
278
- }
279
- function addConnectorKeywords(connector, out) {
280
- const keyParts = connector.key.toLowerCase().split("-").filter((p) => p && p !== "uipath");
281
- for (const part of keyParts)
282
- out.add(part);
283
- for (const t of tokenize(connector.name))
284
- out.add(t);
252
+ function staticConnectorCatalog() {
253
+ return {
254
+ keywords: new Set(STATIC_CONNECTOR_KEYWORDS),
255
+ activityTokenBags: []
256
+ };
285
257
  }
286
258
  function tokenize(label) {
287
259
  if (!label)
@@ -2363,7 +2335,6 @@ class FlowValidateService2 {
2363
2335
  strictExpressions;
2364
2336
  connectorCatalogOverride;
2365
2337
  currentManifestCache;
2366
- connectorCatalogCache;
2367
2338
  constructor(options = {}) {
2368
2339
  this.fs = getFileSystem();
2369
2340
  this.extraRules = options.extraRules ?? [];
@@ -2492,7 +2463,7 @@ Validating: ${absolutePath}
2492
2463
  issues.push(...this.validateDuplicateProcessTargets(workflow));
2493
2464
  issues.push(...this.validateIdpProcessorAuthors(workflow));
2494
2465
  issues.push(...this.validateIdpProcessorsProvisioned(workflow));
2495
- issues.push(...await this.validateConnectorBindingShapes(workflow));
2466
+ issues.push(...this.validateConnectorBindingShapes(workflow));
2496
2467
  issues.push(...this.validateAgentInputBindings(graph, hydrationDiagnoses, ""));
2497
2468
  issues.push(...this.validateAgentPromptInputRefs(graph, hydrationDiagnoses, ""));
2498
2469
  issues.push(...this.validateAgentInputScopeRefs(graph, hydrationDiagnoses, ""));
@@ -3540,18 +3511,8 @@ Validating: ${absolutePath}
3540
3511
  }
3541
3512
  return issues;
3542
3513
  }
3543
- async validateConnectorBindingShapes(workflow) {
3544
- const catalog = await this.loadConnectorCatalogCached();
3545
- return validateConnectorBindings(workflow, catalog, {
3546
- strict: this.strictBindings
3547
- });
3548
- }
3549
- async loadConnectorCatalogCached() {
3550
- if (this.connectorCatalogOverride) {
3551
- return this.connectorCatalogOverride;
3552
- }
3553
- this.connectorCatalogCache ??= loadConnectorCatalog();
3554
- return this.connectorCatalogCache;
3514
+ validateConnectorBindingShapes(workflow) {
3515
+ return validateConnectorBindings(workflow, this.connectorCatalogOverride ?? staticConnectorCatalog(), { strict: this.strictBindings });
3555
3516
  }
3556
3517
  async validateSolutionRegistrationAndLayout(absolutePath, workflow) {
3557
3518
  const issues = [];
@@ -4036,4 +3997,4 @@ function describeUnsatisfiableJoin(node, finding, graph) {
4036
3997
 
4037
3998
  export { FlowValidateService2 };
4038
3999
 
4039
- //# debugId=86B108FFE6D7CE8D64756E2164756E21
4000
+ //# debugId=1312C9FAB731C7A464756E2164756E21
@@ -5,7 +5,7 @@ import {
5
5
  collectAgentInputLeaves2,
6
6
  isBareProjectIdSource2,
7
7
  isInlineAgentNodeType2
8
- } from "./packager-tool-w3gayvrq.js";
8
+ } from "./packager-tool-p29ept23.js";
9
9
  import {
10
10
  isRecord2
11
11
  } from "./packager-tool-7re5d8aq.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./packager-tool-bcsjm5hv.js";
4
4
  import {
5
5
  writeResolvedFlow3
6
- } from "./packager-tool-w3gayvrq.js";
6
+ } from "./packager-tool-p29ept23.js";
7
7
 
8
8
  // ../executor/flow-debug/src/write-resolved-flow.ts
9
9
  async function writeResolvedFlow2(fs, dir, name, workflow) {
@@ -22,7 +22,7 @@ import {
22
22
  writeIdpProcessorResource2,
23
23
  collectIdpProcessorUpdates2,
24
24
  DEFAULT_IDP_PROCESSOR_NAME2
25
- } from "./packager-tool-w3gayvrq.js";
25
+ } from "./packager-tool-p29ept23.js";
26
26
  import {
27
27
  findFlowProjectRoot2
28
28
  } from "./packager-tool-az1s2z5b.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  registerPackagerFactories2
3
- } from "./packager-tool-mrfbe314.js";
4
- import"./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-6gjjggwf.js";
4
+ import"./packager-tool-p29ept23.js";
5
5
  import"./packager-tool-6azsz9h8.js";
6
6
  import"./packager-tool-az1s2z5b.js";
7
7
  import"./packager-tool-mm6a12y4.js";
@@ -9,19 +9,19 @@ import"./packager-tool-1db1wqdy.js";
9
9
  import"./packager-tool-4hn7v05x.js";
10
10
  import"./packager-tool-bcsjm5hv.js";
11
11
  import"./packager-tool-qnwrc9e0.js";
12
- import"./packager-tool-w3gayvrq.js";
12
+ import"./packager-tool-p29ept23.js";
13
13
  import"./packager-tool-6azsz9h8.js";
14
14
  import {
15
15
  readFlowWorkflow2,
16
16
  writeFlowWorkflow2
17
- } from "./packager-tool-64w2m80w.js";
17
+ } from "./packager-tool-16w60d43.js";
18
18
  import"./packager-tool-bbq5kbb9.js";
19
19
  import {
20
20
  requestError2
21
- } from "./packager-tool-4be5rea9.js";
21
+ } from "./packager-tool-nnn1gt0q.js";
22
22
  import {
23
23
  provisionIdpProcessorForNode
24
- } from "./packager-tool-z7yzeg7q.js";
24
+ } from "./packager-tool-zha5f5qr.js";
25
25
  import"./packager-tool-az1s2z5b.js";
26
26
  import"./packager-tool-mm6a12y4.js";
27
27
  import"./packager-tool-40bxn7j2.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/pt-BR-7H7BP5DT-IOHWNCIU.js
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/pt-QWGSZKMD-RTKSQCYA.js
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/ro-B7G474JK-Q3BAA4S3.js
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/ru-GSCT4ARZ-6OTD7JLB.js
6
6
  init_esm_shims();
@@ -4,12 +4,12 @@ import {
4
4
  getNodeSchema2,
5
5
  DraftPolicy2,
6
6
  setNodeSchemaFromSource2
7
- } from "./packager-tool-4be5rea9.js";
7
+ } from "./packager-tool-nnn1gt0q.js";
8
8
  import"./packager-tool-bbq5kbb9.js";
9
- import"./packager-tool-z7yzeg7q.js";
10
- import"./packager-tool-64w2m80w.js";
9
+ import"./packager-tool-zha5f5qr.js";
10
+ import"./packager-tool-16w60d43.js";
11
11
  import"./packager-tool-dmhmcav3.js";
12
- import"./packager-tool-w3gayvrq.js";
12
+ import"./packager-tool-p29ept23.js";
13
13
  import"./packager-tool-6azsz9h8.js";
14
14
  import"./packager-tool-az1s2z5b.js";
15
15
  import"./packager-tool-mm6a12y4.js";
@@ -89,11 +89,11 @@ import {
89
89
  buildDerivedInputDefinition,
90
90
  rewriteStringsDeep2,
91
91
  telemetryService
92
- } from "./packager-tool-w3gayvrq.js";
92
+ } from "./packager-tool-p29ept23.js";
93
93
  import {
94
94
  isContainerNodeManifest,
95
95
  SERVICES_NAMESPACE
96
- } from "./packager-tool-3tke26pq.js";
96
+ } from "./packager-tool-5ctz0p8f.js";
97
97
  import {
98
98
  JS_EXPRESSION_PREFIX2,
99
99
  isExpressionValue2,
@@ -9,16 +9,16 @@
9
9
  * 404'd at runtime against the unconfigured HTTP endpoint.
10
10
  *
11
11
  * This module looks at every Managed-HTTP node, derives whether the label is
12
- * "connector-shaped" (mentions a connector keyword from the cached IS catalog
13
- * or a static fallback list), and verifies that the node carries either a
14
- * connector-mode or manual-mode binding. Misses surface as a `warning` by
15
- * default and as `error` under `--strict-bindings`.
12
+ * "connector-shaped" (mentions a connector keyword from the static list, or
13
+ * from a richer catalog a host supplies via `FlowValidateOptions.connectorCatalog`),
14
+ * and verifies that the node carries either a connector-mode or manual-mode
15
+ * binding. Misses surface as a `warning` by default and as `error` under
16
+ * `--strict-bindings`.
16
17
  *
17
- * Catalog lookup is best-effort: when the registry cache is missing
18
- * (offline / first-run), a small static keyword list keeps the check active
19
- * for the most common connectors (Slack, Gmail, Jira, Salesforce, …) rather
20
- * than going silent — these are the same connectors most likely to be
21
- * referenced by hallucinating agents.
18
+ * The static keyword list keeps the check active for the most common
19
+ * connectors (Slack, Gmail, Jira, Salesforce, …) without reading any
20
+ * registry snapshot, so the same `.flow` gets the same findings on every
21
+ * machine.
22
22
  */
23
23
  import type { ValidationIssue } from "./node-validators/types.js";
24
24
  /** Generic Managed HTTP node type — the type that historically slipped through. */
@@ -60,16 +60,16 @@ export interface ConnectorBindingValidationOptions {
60
60
  */
61
61
  strict?: boolean;
62
62
  /**
63
- * Test-time injection. When provided, this overrides whatever
64
- * `loadRegistry()` would return. Lets specs assert behavior against a
65
- * known catalog without touching the user's real cache.
63
+ * Injection for hosts and specs. When provided, this replaces
64
+ * {@link staticConnectorCatalog}, e.g. with a host's live catalog.
66
65
  */
67
66
  catalogOverride?: ConnectorCatalog;
68
67
  }
69
68
  /**
70
69
  * Compact view of the IS catalog the validator actually needs — connector
71
70
  * keywords (`key`, `name`) and a flat list of activity display tokens.
72
- * Built once per `validateFile` from the cached `MaestroRegistry`.
71
+ * `flow validate` uses {@link staticConnectorCatalog}; a host may pass a
72
+ * richer one.
73
73
  */
74
74
  export interface ConnectorCatalog {
75
75
  /**
@@ -89,11 +89,19 @@ export interface ConnectorCatalog {
89
89
  }>;
90
90
  }
91
91
  /**
92
- * Build a `ConnectorCatalog` from the cached registry. Returns a catalog with
93
- * empty `activityTokenBags` (but populated with static keywords) when no
94
- * cache exists — so the check still fires for offline users.
92
+ * The catalog `flow validate` uses: the static connector keywords, and no
93
+ * activity token bags. It reads no registry snapshot, so the same `.flow`
94
+ * gets the same findings on every machine, pulled or not. Before, the
95
+ * maestro registry snapshot (`~/.uipath/maestro/registry.json`, written by
96
+ * `uip maestro registry pull`) added every connector's activity names, so a
97
+ * label sharing two words with any activity ("Get Record") matched on a
98
+ * machine that had pulled and not on one that had not. A host that has a live
99
+ * catalog can still pass one (`FlowValidateOptions.connectorCatalog`).
100
+ *
101
+ * @example
102
+ * staticConnectorCatalog().keywords.has("slack"); // true
95
103
  */
96
- export declare function loadConnectorCatalog(): Promise<ConnectorCatalog>;
104
+ export declare function staticConnectorCatalog(): ConnectorCatalog;
97
105
  /**
98
106
  * Walk every node in the flow + every subflow and emit one issue per
99
107
  * unbound, connector-shaped Managed HTTP node — plus one per MCP "Run a Tool"
@@ -78,7 +78,7 @@ export interface FlowValidateOptions {
78
78
  strictExpressions?: boolean;
79
79
  /**
80
80
  * Test/host override for the connector catalog used by the binding-shape
81
- * validator. Supplying this skips the `loadRegistry()` cache lookup.
81
+ * validator. Replaces the static keyword catalog (`staticConnectorCatalog`).
82
82
  */
83
83
  connectorCatalog?: ConnectorCatalog;
84
84
  }
@@ -95,7 +95,6 @@ export declare class FlowValidateService {
95
95
  private readonly strictExpressions;
96
96
  private readonly connectorCatalogOverride?;
97
97
  private currentManifestCache?;
98
- private connectorCatalogCache?;
99
98
  constructor(options?: FlowValidateOptions);
100
99
  execute(flowFilePath: string): Promise<number>;
101
100
  private loadCurrentManifestMap;
@@ -506,21 +505,14 @@ export declare class FlowValidateService {
506
505
  /**
507
506
  * Connector-binding shape check (MST-9810, upstream UiPath/cli#2027).
508
507
  *
509
- * Lazy-loads the IS connector catalog (cached registry from
510
- * `~/.uipath/maestro/registry.json`, falling back to a static keyword
511
- * list when no cache exists) and delegates to
512
- * `validateConnectorBindings`. Promotes warnings to errors when
513
- * constructed with `strictBindings: true` (wired to `--strict-bindings`).
514
- *
515
- * Catalog loading is best-effort and never throws: when the cache is
516
- * missing or unreadable, the validator still runs against the static
517
- * fallback keyword list. That keeps the check active for offline users
518
- * who would otherwise be the most likely to hit this bug, while
519
- * letting tests inject deterministic catalogs via
520
- * `FlowValidateOptions.connectorCatalog`.
508
+ * Matches labels against {@link staticConnectorCatalog} (the static
509
+ * connector keyword list) and delegates to `validateConnectorBindings`.
510
+ * It reads no registry snapshot, so a `.flow` gets the same findings on
511
+ * every machine. Promotes warnings to errors when constructed with
512
+ * `strictBindings: true` (wired to `--strict-bindings`). Tests and hosts
513
+ * can inject a catalog via `FlowValidateOptions.connectorCatalog`.
521
514
  */
522
515
  private validateConnectorBindingShapes;
523
- private loadConnectorCatalogCached;
524
516
  /**
525
517
  * Project↔solution registration + canonical-path layout (residual roadmap
526
518
  * §A3, [MST-9711]). Walks up from the .flow's parent looking for a
@@ -12,11 +12,11 @@ import"./packager-tool-bcsjm5hv.js";
12
12
  import"./packager-tool-qnwrc9e0.js";
13
13
  import {
14
14
  UI_ONLY_NODE_TYPES2
15
- } from "./packager-tool-w3gayvrq.js";
15
+ } from "./packager-tool-p29ept23.js";
16
16
  import {
17
17
  readFlowWorkflow2,
18
18
  writeFlowWorkflow2
19
- } from "./packager-tool-64w2m80w.js";
19
+ } from "./packager-tool-16w60d43.js";
20
20
  import {
21
21
  enableErrorHandlingForErrorEdges,
22
22
  expandHandleIds
package/dist/tool.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  metadata2,
3
3
  registerCommands2
4
- } from "./packager-tool-mx0c8yrh.js";
5
- import"./packager-tool-rjc5vyyh.js";
4
+ } from "./packager-tool-j9d4219y.js";
5
+ import"./packager-tool-382cnkd4.js";
6
6
  import"./packager-tool-7re5d8aq.js";
7
7
  import"./packager-tool-xgvp8a8g.js";
8
8
  import"./packager-tool-rcjtmknf.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/tr-FX7WCKK2-CEOTUJRD.js
6
6
  init_esm_shims();
@@ -4,13 +4,13 @@ import"./packager-tool-bcsjm5hv.js";
4
4
  import"./packager-tool-t0e7fvqz.js";
5
5
  import"./packager-tool-dmhmcav3.js";
6
6
  import"./packager-tool-qnwrc9e0.js";
7
- import"./packager-tool-w3gayvrq.js";
7
+ import"./packager-tool-p29ept23.js";
8
8
  import"./packager-tool-6azsz9h8.js";
9
- import"./packager-tool-64w2m80w.js";
9
+ import"./packager-tool-16w60d43.js";
10
10
  import"./packager-tool-gjjr2a2w.js";
11
- import"./packager-tool-78fjb0hf.js";
12
- import"./packager-tool-dx90ajph.js";
13
- import"./packager-tool-y1w610j6.js";
11
+ import"./packager-tool-4yme9q7e.js";
12
+ import"./packager-tool-98pqxpg7.js";
13
+ import"./packager-tool-r8htwba6.js";
14
14
  import"./packager-tool-wvf6b31h.js";
15
15
  import"./packager-tool-bzcphfa8.js";
16
16
  import"./packager-tool-tgawhrva.js";
@@ -20,24 +20,24 @@ import"./packager-tool-xgvp8a8g.js";
20
20
  import"./packager-tool-xb16e3tz.js";
21
21
  import"./packager-tool-4skf6ak1.js";
22
22
  import"./packager-tool-bn09xgy8.js";
23
- import"./packager-tool-hjkws5w8.js";
23
+ import"./packager-tool-5mxtj6da.js";
24
24
  import"./packager-tool-eyjtznrj.js";
25
- import"./packager-tool-rjc5vyyh.js";
26
- import"./packager-tool-bspnhjv9.js";
25
+ import"./packager-tool-382cnkd4.js";
26
+ import"./packager-tool-d003kxdg.js";
27
27
  import"./packager-tool-vg16h3pk.js";
28
28
  import"./packager-tool-7re5d8aq.js";
29
- import"./packager-tool-0kn0w319.js";
30
- import"./packager-tool-vtq4byf7.js";
29
+ import"./packager-tool-dcafdc9q.js";
30
+ import"./packager-tool-6s1j4wb7.js";
31
31
  import {
32
32
  FlowValidateService2
33
- } from "./packager-tool-yf5543s4.js";
33
+ } from "./packager-tool-v2t7d9xb.js";
34
34
  import"./packager-tool-bbq5kbb9.js";
35
35
  import {
36
36
  connectorNodeValidator2
37
- } from "./packager-tool-e51m1fyv.js";
37
+ } from "./packager-tool-q2xa0gq4.js";
38
38
  import"./packager-tool-ajx79m52.js";
39
- import"./packager-tool-z7yzeg7q.js";
40
- import"./packager-tool-raqjjae7.js";
39
+ import"./packager-tool-zha5f5qr.js";
40
+ import"./packager-tool-k7fpt2ae.js";
41
41
  import"./packager-tool-jjnfwfd4.js";
42
42
  import"./packager-tool-mvzswn9n.js";
43
43
  import"./packager-tool-az1s2z5b.js";
@@ -10,11 +10,11 @@ import"./packager-tool-1db1wqdy.js";
10
10
  import"./packager-tool-4hn7v05x.js";
11
11
  import"./packager-tool-bcsjm5hv.js";
12
12
  import"./packager-tool-qnwrc9e0.js";
13
- import"./packager-tool-w3gayvrq.js";
13
+ import"./packager-tool-p29ept23.js";
14
14
  import {
15
15
  readFlowWorkflow2,
16
16
  writeFlowWorkflow2
17
- } from "./packager-tool-64w2m80w.js";
17
+ } from "./packager-tool-16w60d43.js";
18
18
  import"./packager-tool-az1s2z5b.js";
19
19
  import {
20
20
  createWorkflowVariable2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/zh-CN-NCMB6YM5-BB2LRIMQ.js
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-w3gayvrq.js";
3
+ } from "./packager-tool-p29ept23.js";
4
4
 
5
5
  // ../../node_modules/@uipath/flow-converter/dist/zh-TW-UNIEJPLE-ECGOEPYS.js
6
6
  init_esm_shims();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/flow-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.207.0-preview.332",
5
+ "version": "1.207.0-preview.334",
6
6
  "description": "Create, debug, and run UiPath Flow projects and jobs.",
7
7
  "private": false,
8
8
  "repository": {
@@ -36,5 +36,5 @@
36
36
  "files": [
37
37
  "dist"
38
38
  ],
39
- "gitHead": "b01e6df095e5e8b1a763c47f56408e190ff80207"
39
+ "gitHead": "51c5cade8ef550c4bee313696269d5de7bc8e1eb"
40
40
  }