@uipath/flow-tool 1.202.2 → 1.203.0-preview.180

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 (150) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +48 -49
  2. package/dist/{authoring-cyybnqy9.js → authoring-tv4dh80p.js} +31 -9
  3. package/dist/{binding-service-xq110a7q.js → binding-service-1hjkvp7f.js} +37 -29
  4. package/dist/{connector-service-1jp3gvb1.js → connector-service-f50vt5ar.js} +225 -57
  5. package/dist/{conversion-FQTRFHRX-j8vsrk1c.js → conversion-FQTRFHRX-5bww6cg9.js} +11 -10
  6. package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
  7. package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
  8. package/dist/{debug-conversation-trigger-q5jwq1x7.js → debug-conversation-trigger-nmd9v41y.js} +21 -18
  9. package/dist/{debug-http-client-4ev9xna7.js → debug-http-client-53qk6pc5.js} +2 -2
  10. package/dist/{debug-service-2skv6t3q.js → debug-service-nyk0s6mc.js} +3 -3
  11. package/dist/{edge-service-crgn8x3q.js → edge-service-qs0fmj4c.js} +19 -16
  12. package/dist/{index-4b8634za.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
  13. package/dist/{en-TBNO2WUV-rfe87pgh.js → en-BWGKA5OE-1qkvb9rn.js} +2 -2
  14. package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
  15. package/dist/en-TBNO2WUV-9nan43e5.js +1936 -0
  16. package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
  17. package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
  18. package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
  19. package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
  20. package/dist/first-party-service-srxaftkn.js +27 -0
  21. package/dist/{flow-api-p1jy8t6k.js → flow-api-f49qbvf6.js} +8 -8
  22. package/dist/{flow-debug-service-gtz48pcs.js → flow-debug-service-nvx6c5fm.js} +65 -40
  23. package/dist/{flow-eval-node-target-d4q72qzz.js → flow-eval-node-target-rv41h6g2.js} +24 -17
  24. package/dist/flow-eval-run-api-1bw5e0k4.js +13 -0
  25. package/dist/{flow-eval-run-service-bteardyh.js → flow-eval-run-service-bnpf0zhb.js} +105 -220
  26. package/dist/{flow-eval-service-8wn40enf.js → flow-eval-service-p0fbctsk.js} +350 -306
  27. package/dist/flow-init-service-6c5tj22g.js +42 -0
  28. package/dist/{flow-io-91tv36v5.js → flow-io-c05c9hc7.js} +18 -15
  29. package/dist/{flow-migrate-service-4mxge029.js → flow-migrate-service-6dky7rrg.js} +27 -23
  30. package/dist/{flow-pack-service-9s7wmwpf.js → flow-pack-service-3ms1t8nv.js} +44 -36
  31. package/dist/flow-validate-service-hq93ye0w.js +65 -0
  32. package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
  33. package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
  34. package/dist/{governance-fetcher-kn29e4eb.js → governance-fetcher-7b0a301w.js} +6 -5
  35. package/dist/{headless-my7j1typ.js → headless-rkxtgwts.js} +42909 -1756
  36. package/dist/{hitl-service-fmrkamr4.js → hitl-service-fpdb3tf5.js} +18 -15
  37. package/dist/{index-1kgxzh8x.js → index-3ts7y9d3.js} +15 -3
  38. package/dist/{index-gbfvfhkw.js → index-4hhb8jhe.js} +6 -4
  39. package/dist/{index-apf8q9y0.js → index-51z10z84.js} +4 -4
  40. package/dist/{index-d1yqqk6q.js → index-55cym5j7.js} +6 -4
  41. package/dist/index-kmp9fmhb.js +25 -0
  42. package/dist/index-sc7ddh21.js +16742 -0
  43. package/dist/{index-acd6bpqc.js → index-ymsd3pyx.js} +12 -15
  44. package/dist/index.js +13 -24
  45. package/dist/init.js +23 -19
  46. package/dist/{input-reader-mm2ydeh5.js → input-reader-tw0j373f.js} +1 -1
  47. package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
  48. package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
  49. package/dist/known-types-8dhhqk35.js +19 -0
  50. package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
  51. package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
  52. package/dist/{maestro-automate-entry-6bxz7zxn.js → maestro-automate-entry-pqy9xqm3.js} +2 -2
  53. package/dist/{node-2ja52fbg.js → node-98psr4wc.js} +2344 -376
  54. package/dist/{node-service-1ygyqaed.js → node-service-yfyzjg1s.js} +37 -29
  55. package/dist/{node-sync-service-a4grwf1e.js → node-sync-service-zq2ptsep.js} +15 -15
  56. package/dist/{packager-tool-nnm6kw3x.js → packager-tool-0egkaa38.js} +1 -1
  57. package/dist/{packager-tool-0hrz9qfd.js → packager-tool-10t52r3c.js} +7 -7
  58. package/dist/{packager-tool-eb48j42f.js → packager-tool-13xbv18n.js} +100 -127
  59. package/dist/{packager-tool-nq4rcqqg.js → packager-tool-1frs4sr4.js} +32 -2
  60. package/dist/{packager-tool-bddj2zb4.js → packager-tool-1r5dnt9q.js} +1 -1
  61. package/dist/{packager-tool-f0kd5kq4.js → packager-tool-26ydwf12.js} +130 -15
  62. package/dist/{packager-tool-9ydywwp2.js → packager-tool-321a1806.js} +1 -1
  63. package/dist/packager-tool-35hg551a.js +1889 -0
  64. package/dist/{packager-tool-2csx1z2z.js → packager-tool-3j8sdsc2.js} +31 -30
  65. package/dist/{packager-tool-kscf0zaz.js → packager-tool-4rvnss1x.js} +15 -56
  66. package/dist/{packager-tool-t6exvxxr.js → packager-tool-5060zp48.js} +2 -2
  67. package/dist/packager-tool-53w8skv5.js +262 -0
  68. package/dist/{packager-tool-rew0hp2h.js → packager-tool-6k8s7pt9.js} +269 -23
  69. package/dist/{packager-tool-29eg86w6.js → packager-tool-6rsegsby.js} +6 -7
  70. package/dist/packager-tool-795gzq9k.js +208 -0
  71. package/dist/packager-tool-7q6z6npd.js +1937 -0
  72. package/dist/{packager-tool-h1mds3r4.js → packager-tool-8dj442ex.js} +5 -4
  73. package/dist/packager-tool-8qp60s20.js +12 -0
  74. package/dist/{packager-tool-114a3x6s.js → packager-tool-9kx94sj5.js} +16 -6
  75. package/dist/packager-tool-asvprb1k.js +3513 -0
  76. package/dist/{packager-tool-0d7tcvg1.js → packager-tool-b1xs6aty.js} +4 -1
  77. package/dist/{packager-tool-nmqwgqp7.js → packager-tool-bzry3t7v.js} +9 -9
  78. package/dist/{packager-tool-nt7g81h7.js → packager-tool-carzh1jy.js} +10 -10
  79. package/dist/packager-tool-d88rqwk8.js +135 -0
  80. package/dist/{packager-tool-pm3qh1hy.js → packager-tool-dh5nppv4.js} +1 -1
  81. package/dist/{packager-tool-r87gxwqa.js → packager-tool-e87tzg4y.js} +2 -2
  82. package/dist/{packager-tool-d0w3423x.js → packager-tool-e9yc5m6b.js} +1 -1
  83. package/dist/packager-tool-fvm2dddf.js +6297 -0
  84. package/dist/{packager-tool-3bra2c4j.js → packager-tool-gctpkdzs.js} +1 -1
  85. package/dist/packager-tool-gdtpsdn7.js +342 -0
  86. package/dist/{packager-tool-aa481g36.js → packager-tool-gpwec9sp.js} +6 -6
  87. package/dist/{packager-tool-a1hbfmws.js → packager-tool-gzpvdcnw.js} +124 -2
  88. package/dist/{packager-tool-03hjxcd7.js → packager-tool-h9d8c9rf.js} +1 -1
  89. package/dist/packager-tool-j78fwwhq.js +16 -0
  90. package/dist/packager-tool-jysvpt8p.js +11 -0
  91. package/dist/{packager-tool-5kd7msdf.js → packager-tool-nsmy7aap.js} +5 -5
  92. package/dist/packager-tool-paq9c70w.js +1332 -0
  93. package/dist/{packager-tool-tv33t02p.js → packager-tool-pszx10r5.js} +310 -13
  94. package/dist/{packager-tool-7qzyj26r.js → packager-tool-r45r9gk6.js} +209 -199
  95. package/dist/{packager-tool-sc5tddfj.js → packager-tool-s0mzv3sx.js} +1 -1
  96. package/dist/{packager-tool-pdg7hwvw.js → packager-tool-t9c77psy.js} +3098 -3179
  97. package/dist/{packager-tool-0880myh2.js → packager-tool-v31s32s4.js} +23 -5
  98. package/dist/{packager-tool-vfb74f9p.js → packager-tool-vbser1d9.js} +7 -7
  99. package/dist/packager-tool-vcjq9xkc.js +1895 -0
  100. package/dist/{packager-tool-w20r6n9v.js → packager-tool-vck7ct1e.js} +2877 -2221
  101. package/dist/{packager-tool-e8td7b01.js → packager-tool-vdc8r21p.js} +10328 -16610
  102. package/dist/{packager-tool-yr3bws42.js → packager-tool-vqcnvaae.js} +15 -15
  103. package/dist/{packager-tool-n7x6kxph.js → packager-tool-w22107ex.js} +8 -8
  104. package/dist/packager-tool-w5a1hhyj.js +13 -0
  105. package/dist/{packager-tool-rmh1jea6.js → packager-tool-xsta8jfz.js} +4 -3
  106. package/dist/packager-tool-yvva2vc5.js +261 -0
  107. package/dist/{packager-tool-9y5am147.js → packager-tool-z185rq2a.js} +4 -4
  108. package/dist/{packager-tool-gbzpz3qn.js → packager-tool-z894s8rx.js} +10 -13
  109. package/dist/packager-tool.js +17 -14
  110. package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
  111. package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
  112. package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
  113. package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
  114. package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
  115. package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
  116. package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
  117. package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
  118. package/dist/{serialization-BXU6AKAN-n5b0v0kd.js → serialization-BXU6AKAN-z0vcrhpz.js} +13 -12
  119. package/dist/services/connector-binding-validator.d.ts +10 -1
  120. package/dist/services/definitions-lookup.d.ts +27 -0
  121. package/dist/services/flow-debug-service.d.ts +290 -0
  122. package/dist/services/flow-eval-types.d.ts +2 -2
  123. package/dist/services/flow-eval-utils.d.ts +29 -0
  124. package/dist/services/flow-validate-service.d.ts +39 -0
  125. package/dist/services/node-validators/connector-validator.d.ts +8 -0
  126. package/dist/services/vars-reference-rule.d.ts +113 -13
  127. package/dist/{shared-utils-ka4xn0nn.js → shared-utils-wv356cvj.js} +1 -1
  128. package/dist/tidy-service-cxpm6pcy.js +39 -0
  129. package/dist/tool.js +13 -24
  130. package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
  131. package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
  132. package/dist/utils/handle-expansion.d.ts +34 -0
  133. package/dist/utils/write-resolved-flow.d.ts +7 -0
  134. package/dist/validation.js +46 -39
  135. package/dist/{variable-service-caa9axmz.js → variable-service-c1f91388.js} +22 -19
  136. package/dist/{wait-for-flow-job-xtnb6zfc.js → wait-for-flow-job-yp3mhy43.js} +8 -8
  137. package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
  138. package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
  139. package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
  140. package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
  141. package/package.json +3 -2
  142. package/dist/flow-init-service-a4td40wm.js +0 -38
  143. package/dist/flow-validate-service-bd4zxhfx.js +0 -59
  144. package/dist/known-types-eq32py2n.js +0 -20
  145. package/dist/packager-tool-2wefykg9.js +0 -106
  146. package/dist/packager-tool-7t3rgb7f.js +0 -4945
  147. package/dist/packager-tool-8j92afwp.js +0 -58
  148. package/dist/packager-tool-jjpc0yka.js +0 -304
  149. package/dist/tidy-service-44n8x2mn.js +0 -36
  150. /package/dist/{localization-w8ada88j.js → localization-y790z9vm.js} +0 -0
@@ -0,0 +1,173 @@
1
+ import"./packager-tool-jysvpt8p.js";
2
+ import"./packager-tool-1yh8g550.js";
3
+
4
+ // ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/ro-BWR3ONRR.js
5
+ var agentDuplicateToolNames_duplicateName_message = "Numele instrumentului „{{name}}” este utilizat de mai multe instrumente pe acest agent. Fiecare instrument trebuie să aibă un nume unic.";
6
+ var agentEmptyVar_unwrittenVariable_message = 'Agentul folosește "$vars.{{root}}", dar niciun nod nu atribuie o valoare lui "{{root}}", astfel încât va fi gol în timpul execuției. Asociați-l cu un output al unui nod (de exemplu, output-ul "<node>.output" al unui conector) sau oferiți-i o sursă de valoare.';
7
+ var agentInputRefs_ambiguousUnderscoreRoot_message = "Referința promptului este „$vars.{{ref}}”, dar numele „{{rootSegment}}” conține „__”, care este rezervat ca separator de codificare pentru input-ul agentului și nu poate fi convertit dus-întors. Redenumiți-l pentru a elimina caracterul de subliniere dublu.";
8
+ var agentInputRefs_reservedMetadataRoot_message = 'Referințele din prompt la "$vars.{{ref}}" există, dar o variabilă sau un nod numit "metadata" intră în conflict cu spațiul de nume "$metadata" după ce este serializat pentru agent și nu poate fi reconvertit fără pierderi. Redenumiți-l cu un nume diferit de "metadata".';
9
+ var agentInputRefs_reservedNamespace_message = '"$agent.{{ref}}" este un spațiu de nume intern al runtime-ului agentului din Flow și nu poate fi utilizat direct în prompturi. Faceți referire în schimb la variabila de flux prin "$vars.{{ref}}" sau "$metadata.{{ref}}".';
10
+ var agentInputRefs_unresolvedRef_message = 'Promptul face referire la "$vars.{{ref}}", dar nu există nicio variabilă workflow sau niciun nod „{{rootSegment}}”. Adăugați variabila/nodul în flux sau eliminați referința.';
11
+ var conditionExpression_decisionWrapped_message = "Condiție nevalidă pentru „{{nodeLabel}}”: {{error}}";
12
+ var conditionExpression_incomplete_message = "Expresie incompletă";
13
+ var conditionExpression_invalid_message = "Expresie invalidă";
14
+ var conditionExpression_required_message = "Adăugați o condiție";
15
+ var conversationalVoiceEndCall_callContextInvalid_message = "{{label}}: Contextul apelului trebuie asociat cu un obiect de context al apelului";
16
+ var conversationalVoice_callContextInvalid_message = "{{label}}: Contextul apelului trebuie asociat cu un obiect de context al apelului";
17
+ var conversationalVoice_callContextRequired_message = "{{label}}: Contextul apelului este necesar când vocea este activată";
18
+ var dataTransform_customScriptMissing_message = "Operațiunea de script personalizat „{{nodeLabel}}” nu are niciun script";
19
+ var dataTransform_filterMissingField_message = "Condiției de filtrare „{{nodeLabel}}” îi lipsește un câmp";
20
+ var dataTransform_filterNoConditions_message = "Operațiunea de filtrare „{{nodeLabel}}” nu are condiții";
21
+ var dataTransform_groupByAggMissingField_message = "Agregării de grupare „{{nodeLabel}}” îi lipsește un câmp";
22
+ var dataTransform_groupByAggMissingOutputName_message = "Agregării „group by” pentru „{{nodeLabel}}” îi lipsește un nume de ieșire";
23
+ var dataTransform_groupByMissingField_message = "Operației „grupare după” pentru „{{nodeLabel}}” îi lipsește câmpul de grupare";
24
+ var dataTransform_mapMissingField_message = "În maparea câmpurilor pentru „{{nodeLabel}}” lipsește un câmp";
25
+ var dataTransform_mapNoMappings_message = "Operațiunea de mapare „{{nodeLabel}}” necesită cel puțin o mapare a câmpurilor atunci când câmpurile originale nu sunt păstrate";
26
+ var dataTransform_missingCollection_message = "„{{nodeLabel}}” nu are o variabilă de colecție";
27
+ var dataTransform_noOperations_message = '"{{nodeLabel}}" nu are nicio operațiune configurată';
28
+ var doWhile_limitOutOfRange_message = "Setați numărul maxim de iterații între {{min}} și {{max}}";
29
+ var entityQuery_emptyFilterExpression_message = "Scrieți o expresie pentru fiecare filtru sau eliminați filtrul";
30
+ var entityQuery_emptyFilterValueList_message = "Adăugați cel puțin o valoare la filtru sau eliminați filtrul";
31
+ var entityQuery_uncarryableExpression_message = "Stocați această expresie într-o variabilă sau scrieți-o fără spații, ghilimele sau bare oblice inverse";
32
+ var escalation_appRequired_message = "Selectează o aplicație de acțiune";
33
+ var escalation_memoryArgumentRequired_message = "{{label}}: Adăugați cel puțin un argument pentru memoria agentului sau dezactivați memoria agentului";
34
+ var escalation_nameRequired_message = "{{label}}: Numele escaladării este obligatoriu";
35
+ var escalation_quickFormDuplicateFieldLabel_message = "{{label}}: Mai multe câmpuri sunt etichetate „{{fieldLabel}}” — sarcina de escaladare ar păstra doar unul dintre ele. Faceți etichetele câmpurilor unice";
36
+ var escalation_recipientRequired_message = "{{label}}: Destinatarul escaladării este obligatoriu";
37
+ var governance_hitlRequired_message = "Agentul trebuie să aibă cel puțin o resursă de escaladare sau un guardrail cu acțiune HITL. Regula este impusă de politica de guvernanță: {{policyName}}";
38
+ var governance_maxIterationsExceeded_message = "Numărul maxim de iterații depășește {{maxIterations}}. Regula este impusă de politica de guvernanță: {{policyName}}";
39
+ var governance_maxTokensExceeded_message = "Numărul maxim de tokenuri per răspuns depășește {{maxTokens}}. Regula este aplicată de politica de guvernanță: {{policyName}}";
40
+ var governance_modelNotAvailable_message = "{{model}} model nu este permis, impus de politica de guvernanță: {{policyName}}";
41
+ var governance_noAllowedModel_message = "Nu este selectat niciun model permis, impus de politica de guvernanță: {{policyName}}";
42
+ var governance_temperatureExceeded_message = "Temperatura depășește {{maxTemperature}}. Regula este aplicată prin politica de guvernanță: {{policyName}}";
43
+ var hitlQuickForm_emptySchema_message = "Adăugați cel puțin un câmp";
44
+ var hitlQuickForm_fieldLabelRequired_message = "Eticheta câmpului este obligatorie";
45
+ var ixpSchemaDraft_invalidWithDetail_message = 'Schema nu este validă pentru "{{nodeLabel}}": {{detail}}';
46
+ var ixpSchemaDraft_invalid_message = "Schema nu este validă pentru „{{nodeLabel}}”.";
47
+ var outputMapping_missing_message = '"{{nodeLabel}}" nu are mapare de ieșire pentru "{{varId}}"';
48
+ var schemaValidator_genericKeyword_message = '"{{fieldName}}" pe "{{nodeLabel}}": {{detail}}';
49
+ var schemaValidator_invalidEnum_message = '"{{fieldName}}" din "{{nodeLabel}}" trebuie să fie una dintre valorile permise';
50
+ var schemaValidator_invalidField_message = '"{{fieldName}}" din "{{nodeLabel}}" este nevalid';
51
+ var schemaValidator_invalidPattern_message = '"{{fieldName}}" din "{{nodeLabel}}" are un format nevalid';
52
+ var schemaValidator_outOfRange_message = '"{{fieldName}}" pe "{{nodeLabel}}" {{detail}}';
53
+ var schemaValidator_required_message = '"{{fieldName}}" este obligatoriu în "{{nodeLabel}}"';
54
+ var schemaValidator_typeMismatch_message = "„{{fieldName}}” din „{{nodeLabel}}” așteaptă {{type}}";
55
+ var schemaValidator_validation_genericError = "Eroare de validare";
56
+ var scriptBody_mustache_message = "Faceți referire direct la variabile fără acolade duble";
57
+ var singleConversationTrigger_message = "Este permis un singur declanșator de conversație pentru fiecare proces. Eliminați declanșatorul suplimentar.";
58
+ var triggerRequired_message = "Procesul trebuie să aibă cel puțin un nod de declanșare";
59
+ var ro_default = {
60
+ agentDuplicateToolNames_duplicateName_message,
61
+ agentEmptyVar_unwrittenVariable_message,
62
+ agentInputRefs_ambiguousUnderscoreRoot_message,
63
+ agentInputRefs_reservedMetadataRoot_message,
64
+ agentInputRefs_reservedNamespace_message,
65
+ agentInputRefs_unresolvedRef_message,
66
+ conditionExpression_decisionWrapped_message,
67
+ conditionExpression_incomplete_message,
68
+ conditionExpression_invalid_message,
69
+ conditionExpression_required_message,
70
+ conversationalVoiceEndCall_callContextInvalid_message,
71
+ conversationalVoice_callContextInvalid_message,
72
+ conversationalVoice_callContextRequired_message,
73
+ dataTransform_customScriptMissing_message,
74
+ dataTransform_filterMissingField_message,
75
+ dataTransform_filterNoConditions_message,
76
+ dataTransform_groupByAggMissingField_message,
77
+ dataTransform_groupByAggMissingOutputName_message,
78
+ dataTransform_groupByMissingField_message,
79
+ dataTransform_mapMissingField_message,
80
+ dataTransform_mapNoMappings_message,
81
+ dataTransform_missingCollection_message,
82
+ dataTransform_noOperations_message,
83
+ doWhile_limitOutOfRange_message,
84
+ entityQuery_emptyFilterExpression_message,
85
+ entityQuery_emptyFilterValueList_message,
86
+ entityQuery_uncarryableExpression_message,
87
+ escalation_appRequired_message,
88
+ escalation_memoryArgumentRequired_message,
89
+ escalation_nameRequired_message,
90
+ escalation_quickFormDuplicateFieldLabel_message,
91
+ escalation_recipientRequired_message,
92
+ governance_hitlRequired_message,
93
+ governance_maxIterationsExceeded_message,
94
+ governance_maxTokensExceeded_message,
95
+ governance_modelNotAvailable_message,
96
+ governance_noAllowedModel_message,
97
+ governance_temperatureExceeded_message,
98
+ hitlQuickForm_emptySchema_message,
99
+ hitlQuickForm_fieldLabelRequired_message,
100
+ ixpSchemaDraft_invalidWithDetail_message,
101
+ ixpSchemaDraft_invalid_message,
102
+ outputMapping_missing_message,
103
+ schemaValidator_genericKeyword_message,
104
+ schemaValidator_invalidEnum_message,
105
+ schemaValidator_invalidField_message,
106
+ schemaValidator_invalidPattern_message,
107
+ schemaValidator_outOfRange_message,
108
+ schemaValidator_required_message,
109
+ schemaValidator_typeMismatch_message,
110
+ schemaValidator_validation_genericError,
111
+ scriptBody_mustache_message,
112
+ singleConversationTrigger_message,
113
+ triggerRequired_message
114
+ };
115
+ export {
116
+ agentDuplicateToolNames_duplicateName_message,
117
+ agentEmptyVar_unwrittenVariable_message,
118
+ agentInputRefs_ambiguousUnderscoreRoot_message,
119
+ agentInputRefs_reservedMetadataRoot_message,
120
+ agentInputRefs_reservedNamespace_message,
121
+ agentInputRefs_unresolvedRef_message,
122
+ conditionExpression_decisionWrapped_message,
123
+ conditionExpression_incomplete_message,
124
+ conditionExpression_invalid_message,
125
+ conditionExpression_required_message,
126
+ conversationalVoiceEndCall_callContextInvalid_message,
127
+ conversationalVoice_callContextInvalid_message,
128
+ conversationalVoice_callContextRequired_message,
129
+ dataTransform_customScriptMissing_message,
130
+ dataTransform_filterMissingField_message,
131
+ dataTransform_filterNoConditions_message,
132
+ dataTransform_groupByAggMissingField_message,
133
+ dataTransform_groupByAggMissingOutputName_message,
134
+ dataTransform_groupByMissingField_message,
135
+ dataTransform_mapMissingField_message,
136
+ dataTransform_mapNoMappings_message,
137
+ dataTransform_missingCollection_message,
138
+ dataTransform_noOperations_message,
139
+ ro_default as default,
140
+ doWhile_limitOutOfRange_message,
141
+ entityQuery_emptyFilterExpression_message,
142
+ entityQuery_emptyFilterValueList_message,
143
+ entityQuery_uncarryableExpression_message,
144
+ escalation_appRequired_message,
145
+ escalation_memoryArgumentRequired_message,
146
+ escalation_nameRequired_message,
147
+ escalation_quickFormDuplicateFieldLabel_message,
148
+ escalation_recipientRequired_message,
149
+ governance_hitlRequired_message,
150
+ governance_maxIterationsExceeded_message,
151
+ governance_maxTokensExceeded_message,
152
+ governance_modelNotAvailable_message,
153
+ governance_noAllowedModel_message,
154
+ governance_temperatureExceeded_message,
155
+ hitlQuickForm_emptySchema_message,
156
+ hitlQuickForm_fieldLabelRequired_message,
157
+ ixpSchemaDraft_invalidWithDetail_message,
158
+ ixpSchemaDraft_invalid_message,
159
+ outputMapping_missing_message,
160
+ schemaValidator_genericKeyword_message,
161
+ schemaValidator_invalidEnum_message,
162
+ schemaValidator_invalidField_message,
163
+ schemaValidator_invalidPattern_message,
164
+ schemaValidator_outOfRange_message,
165
+ schemaValidator_required_message,
166
+ schemaValidator_typeMismatch_message,
167
+ schemaValidator_validation_genericError,
168
+ scriptBody_mustache_message,
169
+ singleConversationTrigger_message,
170
+ triggerRequired_message
171
+ };
172
+
173
+ //# debugId=148C0693C9BEE5AE64756E2164756E21
@@ -0,0 +1,10 @@
1
+ import"./packager-tool-j78fwwhq.js";
2
+ import"./packager-tool-1yh8g550.js";
3
+
4
+ // ../../node_modules/@uipath/flow-expression-model/node_modules/@uipath/flow-core/dist/ru-GSCT4ARZ.js
5
+ var ru_default = {};
6
+ export {
7
+ ru_default as default
8
+ };
9
+
10
+ //# debugId=7DB3A9EB33FD392364756E2164756E21
@@ -0,0 +1,10 @@
1
+ import"./packager-tool-jysvpt8p.js";
2
+ import"./packager-tool-1yh8g550.js";
3
+
4
+ // ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/ru-WBLQ5B2U.js
5
+ var ru_default = {};
6
+ export {
7
+ ru_default as default
8
+ };
9
+
10
+ //# debugId=B7EA616BDBCEA40B64756E2164756E21
@@ -3,7 +3,7 @@ import {
3
3
  IDP_PROCESSOR_BINDING_RESOURCE,
4
4
  isContainerNodeManifest,
5
5
  readIdpProcessorKey
6
- } from "./packager-tool-9y5am147.js";
6
+ } from "./packager-tool-z185rq2a.js";
7
7
  import {
8
8
  require_lib
9
9
  } from "./packager-tool-zfrp8ecz.js";
@@ -45,7 +45,7 @@ import {
45
45
  transformExpression,
46
46
  transformNodeExpressions,
47
47
  unwrapScriptBody
48
- } from "./packager-tool-aa481g36.js";
48
+ } from "./packager-tool-gpwec9sp.js";
49
49
  import {
50
50
  FIRE_AND_FORGET_INPUT,
51
51
  IN_FILTER_OPERATOR,
@@ -77,14 +77,7 @@ import {
77
77
  stripVarsPrefix,
78
78
  toEngineRefPath,
79
79
  toFilterModel
80
- } from "./packager-tool-yr3bws42.js";
81
- import"./packager-tool-z83pga0z.js";
82
- import {
83
- init_esm_shims
84
- } from "./packager-tool-6ejqwbw9.js";
85
- import {
86
- __glob
87
- } from "./packager-tool-mcaf4ewf.js";
80
+ } from "./packager-tool-vqcnvaae.js";
88
81
  import"./packager-tool-gbgfwx8f.js";
89
82
  import {
90
83
  BINDINGS_PATH_PREFIX,
@@ -130,10 +123,18 @@ import {
130
123
  resolveDoWhileLimit,
131
124
  supportsVariableUpdates,
132
125
  validateRelatedPaths
133
- } from "./packager-tool-e8td7b01.js";
126
+ } from "./packager-tool-fvm2dddf.js";
134
127
  import {
135
128
  createI18nRegistrar
136
129
  } from "./packager-tool-p79yh9ww.js";
130
+ import"./packager-tool-vdc8r21p.js";
131
+ import"./packager-tool-z83pga0z.js";
132
+ import {
133
+ init_esm_shims
134
+ } from "./packager-tool-6ejqwbw9.js";
135
+ import {
136
+ __glob
137
+ } from "./packager-tool-mcaf4ewf.js";
137
138
  import"./packager-tool-4mna26cc.js";
138
139
  import"./packager-tool-c23zrhj8.js";
139
140
  import {
@@ -37586,4 +37587,4 @@ export {
37586
37587
  walkAncestorCollectionLoops
37587
37588
  };
37588
37589
 
37589
- //# debugId=A7F983B55FF9F91464756E2164756E21
37590
+ //# debugId=B6DA3DCF029B982664756E2164756E21
@@ -31,6 +31,7 @@ export declare const MANAGED_HTTP_NODE_TYPE = "core.action.http.v2";
31
31
  export interface ConnectorBindingNode {
32
32
  id: string;
33
33
  type: string;
34
+ typeVersion?: unknown;
34
35
  name?: unknown;
35
36
  display?: {
36
37
  label?: unknown;
@@ -43,6 +44,13 @@ export interface ConnectorBindingWorkflow {
43
44
  subflows?: Record<string, {
44
45
  nodes?: ConnectorBindingNode[];
45
46
  }>;
47
+ /**
48
+ * The flow's `definitions[]` list. Read only to skip the MCP check on a
49
+ * node whose definition already marks `toolName` required (the shared
50
+ * `schema-validation` rule reports that one — avoid a second, softer
51
+ * report for the same defect).
52
+ */
53
+ definitions?: unknown[];
46
54
  }
47
55
  export interface ConnectorBindingValidationOptions {
48
56
  /**
@@ -88,7 +96,8 @@ export interface ConnectorCatalog {
88
96
  export declare function loadConnectorCatalog(): Promise<ConnectorCatalog>;
89
97
  /**
90
98
  * Walk every node in the flow + every subflow and emit one issue per
91
- * unbound, connector-shaped Managed HTTP node. Scope mirrors
99
+ * unbound, connector-shaped Managed HTTP node — plus one per MCP "Run a Tool"
100
+ * node with no selected tool (UV-15018). Scope mirrors
92
101
  * `validateResourceBindings` so the new check stays consistent with the
93
102
  * §A4 binding-integrity pass already in `FlowValidateService`.
94
103
  */
@@ -0,0 +1,27 @@
1
+ /**
2
+ * The one lookup for a node's `definitions[]` entry, shared by every site
3
+ * that resolves a definition to WRITE to it or to act on its content
4
+ * (`patchOutputType` / `patchRequiredInputs` in connector-service, the
5
+ * toolName-required suppression in connector-binding-validator).
6
+ *
7
+ * `definitions[]` can legitimately hold two versions of one `nodeType`
8
+ * (schema-validation keys manifests by `nodeType:version`), so an unversioned
9
+ * lookup can resolve the wrong version's entry. The rules:
10
+ *
11
+ * - A node that carries a `typeVersion` resolves ONLY the entry with that
12
+ * exact `version`. A node whose version has no entry resolves nothing —
13
+ * it does not validate against any of the present entries either
14
+ * (`validateDefinitionsPresent` reports it), and patching a different
15
+ * version's entry would stamp this node's truth onto other nodes' schema.
16
+ * - A node with NO `typeVersion` (hand-authored flows, unit fixtures) falls
17
+ * back to a SOLE `nodeType` match — never one of several versions picked
18
+ * arbitrarily.
19
+ *
20
+ * Read-only display paths that prefer a best guess over nothing wrap this
21
+ * with a first-entry fallback (`findMatchingDefinition` in flow-eval-utils);
22
+ * write paths must not.
23
+ */
24
+ export declare function findNodeDefinition(definitions: ReadonlyArray<unknown> | undefined, node: {
25
+ type?: string;
26
+ typeVersion?: unknown;
27
+ }): Record<string, unknown> | undefined;
@@ -0,0 +1,290 @@
1
+ /**
2
+ * Service for debugging Flow files.
3
+ *
4
+ * Converts a .flow file to BPMN XML, generates the required project files,
5
+ * begins a debug session in Orchestrator, creates a debug instance in PIMS,
6
+ * and polls for execution status.
7
+ */
8
+ import type { Workflow } from "@uipath/flow-core";
9
+ import type { BeginSessionResponse, DebugCallbacks, DebugInstanceResponse, DebugInstanceStatusResponse, DebugResult, DebugVariablesResponse, ElementExecution, StudioWebDebugConfig } from "@uipath/maestro-sdk";
10
+ import { RuntimeProfile } from "@uipath/packager-tool-flow";
11
+ import { type SolutionImportResponse } from "@uipath/solution-sdk";
12
+ export type { BeginSessionResponse, DebugCallbacks, DebugInstanceResponse, DebugInstanceStatusResponse, DebugResult, DebugVariablesResponse, ElementExecution, SolutionImportResponse, StudioWebDebugConfig, };
13
+ /**
14
+ * Canonical user-facing message + instructions surfaced when `flow debug`
15
+ * is run against a standalone Flow project (no enclosing `.uipx`).
16
+ *
17
+ * Exported so the command layer (and tests) can assert the exact envelope
18
+ * shape required by UiPath/cli#2023 without re-stringifying it.
19
+ */
20
+ export declare const FLOW_DEBUG_MISSING_SOLUTION_MESSAGE = "Flow debug requires this Flow to be inside a solution.";
21
+ export declare const FLOW_DEBUG_MISSING_SOLUTION_INSTRUCTIONS = "Create a solution wrapper and import this Flow before debugging: `uip solution init <name>` then `uip solution projects import <flow-dir>` from inside the solution directory, then re-run `uip maestro flow debug`.";
22
+ /**
23
+ * Canonical user-facing message surfaced when the Flow project's directory
24
+ * is not listed in the enclosing solution's `.uipx` Projects[] manifest.
25
+ *
26
+ * Without this preflight, Studio Web rejects the upload with an opaque
27
+ * `Import failed (400): The solution archive does not contain any valid projects.`
28
+ * (MST-10004). Failing locally with the project path + solution path is
29
+ * far more actionable.
30
+ */
31
+ export declare const FLOW_DEBUG_UNREGISTERED_PROJECT_MESSAGE = "Flow project is not registered in the enclosing solution.";
32
+ export declare const buildFlowDebugUnregisteredProjectInstructions: (projectDir: string, solutionFile: string) => string;
33
+ /**
34
+ * Thrown by {@link FlowDebugService.executeProjectViaStudioWeb} when the
35
+ * Flow project is not enclosed by a `.uipx` solution wrapper.
36
+ *
37
+ * The command layer translates this into a `ValidationError` envelope
38
+ * (exit code 3) so users get an actionable, locally-generated diagnostic
39
+ * before any upload is attempted — fixing the opaque server-side 400
40
+ * tracked in UiPath/cli#2023.
41
+ */
42
+ export declare class MissingSolutionWrapperError extends Error {
43
+ readonly instructions: string;
44
+ constructor(message?: string, instructions?: string);
45
+ }
46
+ /**
47
+ * Thrown by {@link FlowDebugService.executeProjectViaStudioWeb} when an
48
+ * enclosing `.uipx` solution wrapper exists but does not list the Flow
49
+ * project directory in its `Projects[]` manifest.
50
+ *
51
+ * The command layer translates this into a `ValidationError` envelope
52
+ * (exit code 3). This replaces the opaque server-side
53
+ * `Import failed (400): The solution archive does not contain any valid projects.`
54
+ * surfaced from Studio Web (MST-10004) with a typed, locally-detected
55
+ * diagnostic that names the exact repair command.
56
+ */
57
+ export declare class UnregisteredProjectError extends Error {
58
+ readonly instructions: string;
59
+ readonly projectDir: string;
60
+ readonly solutionFile: string;
61
+ constructor(projectDir: string, solutionFile: string);
62
+ }
63
+ /**
64
+ * What an upload-only run returns: the solution is on Studio Web and the
65
+ * designer URL is known, but no debug session or instance was created.
66
+ */
67
+ export interface StudioWebUploadResult {
68
+ uploadedOnly: true;
69
+ solutionId: string;
70
+ studioWebUrl: string;
71
+ }
72
+ export declare const FLOW_DEBUG_INBOUND_VOICE_MESSAGE = "Inbound voice flows cannot be debugged from the CLI.";
73
+ export declare const buildFlowDebugInboundVoiceInstructions: (triggerLabel: string) => string;
74
+ /**
75
+ * Thrown when the flow starts from an incoming-call trigger. Only a real call
76
+ * to a published flow can raise one, so the run would never advance.
77
+ */
78
+ export declare class InboundVoiceDebugError extends Error {
79
+ readonly instructions: string;
80
+ constructor(triggerLabel: string);
81
+ }
82
+ /**
83
+ * Reject a flow that starts from an incoming-call trigger. Keyed on the
84
+ * trigger, not on voice nodes: an outbound flow carries the same nodes.
85
+ */
86
+ export declare function assertNotInboundVoiceFlow(workflow: {
87
+ nodes?: readonly unknown[];
88
+ }): void;
89
+ export declare class FlowDebugService {
90
+ private readonly fs;
91
+ constructor();
92
+ /**
93
+ * Pre-flight check: confirm the Flow project lives inside a `.uipx`
94
+ * solution wrapper by walking ancestor directories.
95
+ *
96
+ * Throws {@link MissingSolutionWrapperError} if no `.uipx` is found.
97
+ * Reuses {@link findNearestParentUipxFile} from `@uipath/solution-sdk`
98
+ * to share the ancestor-walk semantics with `uip solution projects import`.
99
+ *
100
+ * Returns the absolute path of the `.uipx` file when present so callers
101
+ * can log it without re-walking.
102
+ */
103
+ assertEnclosingSolution(projectPath: string): Promise<string>;
104
+ /**
105
+ * Pre-flight check: confirm the Flow project's directory is actually
106
+ * listed in the enclosing solution's `.uipx` `Projects[]` manifest.
107
+ *
108
+ * Throws {@link UnregisteredProjectError} when the manifest does not
109
+ * include the project. Comparison is canonicalized via `realpath()`
110
+ * so case-insensitive filesystems and symlinks don't yield false
111
+ * negatives.
112
+ *
113
+ * This is the local guard for MST-10004: without it, Studio Web
114
+ * silently accepts the upload and then rejects the import with an
115
+ * opaque `code:20001 / "The solution archive does not contain any
116
+ * valid projects."` HTTP 400. By failing locally, the agent (or
117
+ * human) gets the exact repair command (`uip solution projects add`)
118
+ * before any network I/O.
119
+ */
120
+ assertProjectRegisteredInSolution(projectPath: string, solutionFile: string): Promise<void>;
121
+ /**
122
+ * Read and parse a .flow file.
123
+ */
124
+ readFlowFile(flowFilePath: string): Promise<Workflow>;
125
+ /**
126
+ * Read a .bpmn file and return the raw XML string.
127
+ */
128
+ readBpmnFile(bpmnFilePath: string): Promise<string>;
129
+ /**
130
+ * Convert a Workflow to BPMN XML using @uipath/flow-converter.
131
+ *
132
+ * The inline-agent `Orchestrator.StartInlineAgentJob` activity's
133
+ * `entryPoint` must stay BARE (`<projectId>/agent.json`, no `content/`
134
+ * prefix). At debug time Orchestrator's debug-flow detector resolves the
135
+ * agent by matching the activity `entryPoint` against the
136
+ * `FpsProperties.debug.master.processes[].entryPointPath` entry, and that
137
+ * entry uses the bare path. A `content/`-prefixed activity entryPoint never
138
+ * matches, so the agent faults with `[170007]` "the job's associated
139
+ * process could not be found" (verified byte-for-byte against a working
140
+ * Studio Web debug capture, which also emits the bare path).
141
+ *
142
+ * We therefore do NOT call `setPublishIntentOnInlineAgents` here — that
143
+ * marks agents `__packageIntent = "Publish"`, which makes the converter
144
+ * emit the `content/`-prefixed form used by real publish/deploy. That form
145
+ * is wrong for a debug session.
146
+ */
147
+ convertToBpmn(workflow: Workflow, projectDir?: string): Promise<string>;
148
+ /**
149
+ * Reconstruct inline-agent `agentInputVariables` from each agent's
150
+ * `agent.json` `inputSchema` when the flow node leaves them empty.
151
+ *
152
+ * Studio Web keeps the input binding in the agent's `inputSchema` and rebuilds
153
+ * the node's `agentInputVariables` from it on load; the `.flow` it writes
154
+ * carries an empty `agentInputVariables`. The CLI converter derives the
155
+ * agent's `JobArguments` from `agentInputVariables` (it never reads
156
+ * `agent.json`), so an SW-authored flow would otherwise convert to an agent
157
+ * with empty input — works in SW, fails on `uip maestro flow debug`.
158
+ *
159
+ * We mirror SW: for each inline-agent node, read `<projectDir>/<source>/agent.json`
160
+ * and **reconcile** the node's `agentInputVariables` against the agent's
161
+ * `inputSchema.properties` — the contract the runtime actually binds. We
162
+ * *add* a derived entry for every schema input LEAF the node is missing and
163
+ * *preserve* every entry the node already declares, so a custom/divergent
164
+ * binding is never clobbered. Leaves are enumerated encoding-agnostically
165
+ * (MST-12020): a flat key (`<node>__output__<field>`) is one leaf; a NESTED
166
+ * schema's `x-uipath-container` trees are descended to their leaves — so an
167
+ * agent.json authored by a nested-flag canvas still reconciles per-field
168
+ * bindings instead of one un-navigable whole-container binding. Either way
169
+ * the derived id is the FLAT spelling (matching the packager's flat-healed
170
+ * prompt tokens), the binding is `=$vars.<node>.output.<field>`
171
+ * (`metadata`-rooted paths → `$metadata`), and "already declares" is
172
+ * checked on the CANONICAL dotted path so a flat and a nested spelling of
173
+ * the same input never produce a duplicate JobArgument.
174
+ *
175
+ * Reconciling (rather than only filling an empty list) also catches drift: an
176
+ * `agent.json` that gained an input the `.flow` node never re-wired would
177
+ * otherwise silently drop that input at debug. We therefore always read the
178
+ * agent.json. Best-effort — a missing/unreadable `agent.json` or absent
179
+ * `inputSchema` leaves the node as-is, and a node that already covers every
180
+ * schema key is left untouched (no spurious mutation).
181
+ */
182
+ private hydrateInlineAgentInputs;
183
+ /**
184
+ * Generate project files (operate.json, entry-points.json, bindings_v2.json,
185
+ * package-descriptor.json) into a temporary directory alongside the BPMN and .flow file.
186
+ */
187
+ generateProjectFiles(flowData: Workflow, bpmnXml: string, flowFileContent?: string, startEventId?: string, profile?: RuntimeProfile): Promise<string>;
188
+ /**
189
+ * Build a .uis solution package from the generated project files.
190
+ * Creates a solution wrapper, zips it into .uis format.
191
+ */
192
+ buildSolutionPackage(projectDir: string, projectName: string): Promise<string>;
193
+ private writeSingleProjectSolutionMetadata;
194
+ /**
195
+ * Build the `debug.master.processes` descriptors for every in-solution
196
+ * project so a flow-as-node callee's `Orchestrator.StartAgenticProcess`
197
+ * resolves the child — the same FpsProperties registry inline agents use,
198
+ * so no Orchestrator provisioning or deployed release is needed.
199
+ *
200
+ * Each descriptor pairs the Studio Web-minted `projectId` (from the upload
201
+ * result, matched by folder name) and the uploaded `solutionId` with the
202
+ * project's type + per-project entry point read from the staged solution.
203
+ * The lead Flow being debugged gets the exact BPMN + start node the session
204
+ * launches from; standalone Agent projects are skipped (inline agents are
205
+ * registered separately via `inlineAgents`).
206
+ */
207
+ private buildSolutionProjectDescriptors;
208
+ /**
209
+ * Compile a sibling flow project's `.flow` to BPMN + packaging artifacts
210
+ * in place inside its staged directory. Sibling flow projects are copied
211
+ * from the solution with only their `.flow` source; a flow-as-node call
212
+ * needs the compiled `.bpmn` (and bindings/manifests) in the package or the
213
+ * child job faults with 180003 (FileMissingInProjectArchive). Mirrors the
214
+ * artifact generation the lead flow already gets.
215
+ */
216
+ private generateSiblingFlowPackage;
217
+ /**
218
+ * Write a flow project's debug-package artifacts (`.flow`, compiled
219
+ * `.bpmn`, packaging manifests, resolved flow) into `projectDir`. Shared by
220
+ * the lead flow being debugged and each sibling flow-as-node callee so the
221
+ * conversion/packaging pipeline lives in one place. Returns the values the
222
+ * lead path needs downstream (entry points, start node, bpmn file name).
223
+ */
224
+ private writeFlowProjectPackage;
225
+ /** Map a raw `.uiproj` ProjectType to the BeginSession wire vocabulary. */
226
+ private toWireProjectType;
227
+ /**
228
+ * Normalize an entry point to the `debug.master` form: no leading slash,
229
+ * no `content/` prefix (e.g. `/Flow.bpmn#start` or
230
+ * `content/new.bpmn#manualTrigger1` → `Flow.bpmn#start` / `new.bpmn#manualTrigger1`).
231
+ */
232
+ private normalizeEntryPoint;
233
+ /** Read the first `entry-points.json` filePath in a project dir, or "". */
234
+ private readFirstEntryPointPath;
235
+ /**
236
+ * Derive an entry point from a project's compiled `.bpmn` start event,
237
+ * for projects whose `entry-points.json` is empty (ProcessOrchestration).
238
+ * Matches Studio Web's `/{bpmn}#{startEvent}` form (leading slash kept).
239
+ * Returns "" when no `.bpmn` is present.
240
+ */
241
+ private deriveEntryPointFromBpmn;
242
+ /** Read a project's `.uiproj` `ProjectType`, or undefined if unavailable. */
243
+ private readProjectTypeRaw;
244
+ /**
245
+ * Build a name→type map from the `.uipx` Projects array so
246
+ * {@link buildSolutionProjectDescriptors} can resolve the type for
247
+ * projects that have no `project.uiproj` (JS/TS Functions).
248
+ */
249
+ static buildProjectTypeMap(projects?: Array<{
250
+ ProjectRelativePath: string;
251
+ Type?: unknown;
252
+ }>): Map<string, string>;
253
+ /**
254
+ * Full Studio Web debug flow from a flow project directory:
255
+ * 1. Validate project directory has required files
256
+ * 2. Read .flow file + generate packaging artifacts on the fly
257
+ * 3. Build .uis solution package containing ALL projects in the solution
258
+ * 5. Upload/overwrite to Studio Web → get projectId + solutionId
259
+ * 6. Begin debug session in Orchestrator → get jobKey
260
+ * 7. Create debug instance in PIMS with solutionId + projectId
261
+ * 8. Poll PIMS debug-instances for completion
262
+ */
263
+ executeProjectViaStudioWeb(projectPath: string, config: StudioWebDebugConfig, callbacks?: DebugCallbacks, pollInterval?: number, options?: {
264
+ inputs?: Record<string, unknown>;
265
+ maxPolls?: number;
266
+ /**
267
+ * Upload the solution and stop. For a flow only a chat UI can drive,
268
+ * a debug instance would sit unused — and its message subscription
269
+ * would block the next run — so the CLI hands the user the designer
270
+ * URL instead of starting a session nobody can advance.
271
+ */
272
+ uploadOnly?: boolean;
273
+ }): Promise<DebugResult | StudioWebUploadResult>;
274
+ /**
275
+ * Full Studio Web debug flow:
276
+ * 1. Read .flow/.bpmn file
277
+ * 2. Convert to BPMN (if .flow)
278
+ * 3. Generate project files
279
+ * 4. Build .uis solution package
280
+ * 5. Upload to Studio Web → get projectId + solutionId
281
+ * 6. Begin debug session in Orchestrator → get jobKey
282
+ * 7. Create debug instance in PIMS with solutionId + projectId
283
+ * 8. Poll PIMS debug-instances for completion
284
+ */
285
+ executeViaStudioWeb(filePath: string, config: StudioWebDebugConfig, callbacks?: DebugCallbacks, pollInterval?: number, options?: {
286
+ inputs?: Record<string, unknown>;
287
+ keep?: boolean;
288
+ maxPolls?: number;
289
+ }): Promise<DebugResult>;
290
+ }
@@ -1,6 +1,6 @@
1
- import type { Evaluation, EvaluationSet, Evaluator, EvaluationCriteria as SchemaEvaluationCriteria, Simulation } from "./flow-eval-schema/index.js";
1
+ import type { Evaluation, EvaluationSet, Evaluator, EvaluationCriteria as SchemaEvaluationCriteria, Simulation, SimulationStrategy } from "./flow-eval-schema/index.js";
2
2
  export type EvaluationCriteria = SchemaEvaluationCriteria;
3
3
  export type FlowEvaluator = Evaluator;
4
4
  export type FlowEvaluation = Evaluation;
5
5
  export type FlowEvaluationSet = EvaluationSet;
6
- export type { Simulation };
6
+ export type { Simulation, SimulationStrategy };
@@ -1,3 +1,4 @@
1
+ import type { StudioWebDebugConfig } from "./flow-debug-service.js";
1
2
  import { type EvaluatorTypeId } from "./flow-eval-schema/index.js";
2
3
  import type { EvaluationCriteria, FlowEvaluator } from "./flow-eval-types.js";
3
4
  export declare function isRecord(value: unknown): value is Record<string, unknown>;
@@ -11,4 +12,32 @@ export declare function buildEvaluatorConfig(typeId: EvaluatorTypeId, options: {
11
12
  model?: string;
12
13
  prompt?: string;
13
14
  }): Record<string, unknown>;
15
+ /**
16
+ * Resolves the current login status into a {@link StudioWebDebugConfig}.
17
+ * Throws if the login is missing any required field, including organizationName.
18
+ */
19
+ export declare function resolveLoginConfig(): Promise<StudioWebDebugConfig>;
20
+ /**
21
+ * Resolves the login fields needed by {@link FlowEvalRunApi} metadata calls.
22
+ * Does not require organizationName — only the base URL, org/tenant IDs,
23
+ * and auth token.
24
+ */
25
+ export declare function resolveEvalApiConfig(): Promise<{
26
+ baseUrl: string;
27
+ organizationId: string;
28
+ tenantName: string;
29
+ tenantId: string;
30
+ authToken: string;
31
+ }>;
32
+ /**
33
+ * Finds the definition entry matching a node's type (and optionally version)
34
+ * from the flow's definitions array. Pure logic, no I/O.
35
+ *
36
+ * BEST-EFFORT read variant of `findNodeDefinition` (definitions-lookup.ts):
37
+ * when the strict lookup resolves nothing (several versions, none matching),
38
+ * this falls back to the first same-type entry — display/read paths prefer a
39
+ * best guess over nothing. Paths that WRITE to the definition (or suppress
40
+ * diagnostics based on it) must use the strict helper directly.
41
+ */
42
+ export declare function findMatchingDefinition(nodeType: string, typeVersion: string | undefined, definitions: Array<Record<string, unknown>>): Record<string, unknown> | undefined;
14
43
  export declare function buildDefaultCriteria(evaluators: FlowEvaluator[], expectedOutput: Record<string, unknown> | undefined, searchText: string | undefined): Record<string, EvaluationCriteria | null | undefined>;