@uipath/flow-tool 1.201.0-preview.131 → 1.201.0-preview.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{authoring-rezk32bm.js → authoring-7r6g06c7.js} +2 -2
- package/dist/{conversion-W6HMHBWW-6qbqgqks.js → conversion-H2VEEYLB-ng48mbf7.js} +536 -161
- package/dist/{de-K6MLR24N-5N5XGLH6-gbwpvdz4.js → de-5HU6GFWV-4EZK6G7N-yrh21f52.js} +273 -13
- package/dist/{de-K6MLR24N-00fjz82b.js → de-5HU6GFWV-zheyw6d2.js} +271 -10
- package/dist/de-5KVP66U6-f7knj511.js +161 -0
- package/dist/de-5KVP66U6-t37qr521.js +161 -0
- package/dist/{de-B2KIY5TC-81f703v3.js → de-HKTOVV4H-d5yw5j21.js} +3 -3
- package/dist/{de-WMKOGI7B-r1821wpe.js → de-WMKOGI7B-6dc1zdnp.js} +3 -3
- package/dist/en-4KXU7N7B-24v330b5.js +118 -0
- package/dist/en-4KXU7N7B-66fntxa2.js +118 -0
- package/dist/{en-ILA4HPE5-ALHGESZE-zrv4qss8.js → en-MABQK6C4-REWE2WG2-8dp4cqdg.js} +109 -6
- package/dist/{en-ILA4HPE5-fhwvq92r.js → en-MABQK6C4-nkzq2j8t.js} +106 -2
- package/dist/{en-P6PNWNTO-g1f6cjh5.js → en-P4AS26D7-szrzfxz1.js} +3 -5
- package/dist/{en-X4DLPKLJ-dt1wtdm7.js → en-X4DLPKLJ-1h9gj5c1.js} +3 -3
- package/dist/{es-BVPGJUWA-9gk2g9yb.js → es-BVPGJUWA-0k59eqfv.js} +3 -3
- package/dist/{es-HTQSD352-YTAEDCE5-nhsbg581.js → es-LUTYN7U7-IY5QWOUF-k2aefzc0.js} +273 -13
- package/dist/{es-HTQSD352-m9rr3f0g.js → es-LUTYN7U7-ye5zn4sn.js} +271 -10
- package/dist/{es-MX-3SP2SSV6-f20qspbr.js → es-MX-H2EAXLYI-qwnqt48x.js} +3 -3
- package/dist/{es-MX-FOX525CG-87g500gr.js → es-MX-POESXYP2-9538722k.js} +272 -11
- package/dist/{es-MX-FOX525CG-HLM27OEL-whr0t9v3.js → es-MX-POESXYP2-UW6VP5QI-cd3a79g9.js} +274 -14
- package/dist/{es-MX-U6YL5KQX-ynwxdjr8.js → es-MX-U6YL5KQX-k4qvpgd4.js} +3 -3
- package/dist/es-MX-XAVLOQW3-47a405kf.js +161 -0
- package/dist/es-MX-XAVLOQW3-9b3cp9n8.js +161 -0
- package/dist/{es-BBX4AUJX-h99fcr53.js → es-O4PAV2CR-jwfaawwk.js} +3 -3
- package/dist/es-VFPNVMP5-6sftsdxe.js +161 -0
- package/dist/es-VFPNVMP5-thm0z9sr.js +161 -0
- package/dist/{fr-FSTBVVGK-t3y57xrb.js → fr-5YRGHXF5-q6b63yg0.js} +3 -3
- package/dist/fr-E5MDO4EG-exvrs7ge.js +161 -0
- package/dist/fr-E5MDO4EG-f3x1jeqw.js +161 -0
- package/dist/{fr-EKTTDR7Z-bmpwp31r.js → fr-EKTTDR7Z-m2t68j0m.js} +3 -3
- package/dist/{fr-54THJ4QH-IGABNGU6-fpzw2mba.js → fr-LJIK56LW-STG6QR3T-cextvv8q.js} +274 -14
- package/dist/{fr-54THJ4QH-d6ezjbhw.js → fr-LJIK56LW-xf3xf2kh.js} +272 -11
- package/dist/{index-6hp3p3eq.js → index-dhcd9b82.js} +2 -2
- package/dist/{index-zvxfkpkr.js → index-er6vy3jk.js} +71 -5
- package/dist/index.js +22 -16
- package/dist/init.js +19 -13
- package/dist/ja-DPO5PPLO-fmbg7zt2.js +161 -0
- package/dist/ja-DPO5PPLO-s2a7j3nj.js +161 -0
- package/dist/{ja-MHUPLSWO-CS3KE4Y3-mbtkzwd7.js → ja-FGEGLBJ3-MG3BSWXD-vq19zt2p.js} +273 -13
- package/dist/{ja-MHUPLSWO-3qwy4jc0.js → ja-FGEGLBJ3-w9byjhze.js} +271 -10
- package/dist/{ja-FW33BJBW-htfk4d8t.js → ja-SDAPAVCR-943p5gx7.js} +3 -3
- package/dist/{ja-Y2YBTXNN-96cvy5av.js → ja-Y2YBTXNN-5sszk2zv.js} +3 -3
- package/dist/ko-ITOPNIYI-aqy82jk8.js +161 -0
- package/dist/ko-ITOPNIYI-qz39kamf.js +161 -0
- package/dist/{ko-PDO5AXNW-d653t4pc.js → ko-NAGOZLC3-wb3y9yhh.js} +3 -3
- package/dist/{ko-S33XAV26-cxf4dn2t.js → ko-S33XAV26-rfsv9myd.js} +3 -3
- package/dist/{ko-XPJTXIKK-DNSW4KYQ-956vp61f.js → ko-TUAK3G3A-TBEBKOTM-ns78t2rv.js} +277 -17
- package/dist/{ko-XPJTXIKK-w1hs4px7.js → ko-TUAK3G3A-s25w0ckg.js} +275 -14
- package/dist/{node-rnmmv28d.js → node-qyxvhbw6.js} +2 -2
- package/dist/{packager-tool-cqrsre00.js → packager-tool-0567pxpm.js} +121 -12
- package/dist/{packager-tool-3wf3tkrc.js → packager-tool-09xysehb.js} +3 -5
- package/dist/{packager-tool-b0s5d4ek.js → packager-tool-0sz8se22.js} +1 -1
- package/dist/{packager-tool-s5y06ny4.js → packager-tool-2xgc101h.js} +544 -45
- package/dist/{packager-tool-03knb0er.js → packager-tool-3wygxefb.js} +116 -17
- package/dist/packager-tool-6ejqwbw9.js +26 -0
- package/dist/{packager-tool-952kqpax.js → packager-tool-78a3szsp.js} +890 -339
- package/dist/{packager-tool-xzcywm2b.js → packager-tool-c42dp002.js} +1 -1
- package/dist/{packager-tool-v61wap3v.js → packager-tool-djagtpkt.js} +12111 -6271
- package/dist/{packager-tool-1gjx8w7m.js → packager-tool-fgdsmd8k.js} +258 -486
- package/dist/packager-tool-gasyxww9.js +23964 -0
- package/dist/packager-tool-gmrwvnyh.js +1171 -0
- package/dist/packager-tool-jysvpt8p.js +11 -0
- package/dist/packager-tool-m6x5sczh.js +899 -0
- package/dist/packager-tool-mcaf4ewf.js +46 -0
- package/dist/packager-tool-p9j43p8h.js +115 -0
- package/dist/{packager-tool-v2p6g3fd.js → packager-tool-pkq70dec.js} +1 -1
- package/dist/{packager-tool-zh6g3h65.js → packager-tool-sf18719z.js} +5 -5
- package/dist/packager-tool-tq9q9m77.js +115 -0
- package/dist/{packager-tool-1yy9x4vk.js → packager-tool-v74yk918.js} +2 -2
- package/dist/packager-tool-vdd02vns.js +55924 -0
- package/dist/packager-tool-xj0agqpk.js +11 -0
- package/dist/packager-tool.js +15 -9
- package/dist/{pt-JLZYSSXX-7jth254x.js → pt-7TR74ZMB-1g8my56g.js} +3 -3
- package/dist/{pt-BR-TV7NR3ID-PDSSHRHU-nddwzj29.js → pt-BR-7XGDXRDJ-TR5D7JYL-533wvy7p.js} +274 -14
- package/dist/{pt-BR-TV7NR3ID-vgd26pj1.js → pt-BR-7XGDXRDJ-espnkgrj.js} +272 -11
- package/dist/pt-BR-BXURWX4W-dqr4dnf9.js +161 -0
- package/dist/pt-BR-BXURWX4W-xzyndmrx.js +161 -0
- package/dist/{pt-BR-LQH3RSBB-kyb4jmcw.js → pt-BR-DXXSYJDO-bn84ewp7.js} +3 -3
- package/dist/{pt-BR-JO45SCNI-4kbfnzc4.js → pt-BR-JO45SCNI-mt93s33c.js} +3 -3
- package/dist/{pt-4JEPEAST-JO5WN33S-ccdbdab2.js → pt-TMVOOITK-H2ADYHSD-ezpggv33.js} +273 -13
- package/dist/{pt-4JEPEAST-40npwxyw.js → pt-TMVOOITK-myha14p9.js} +271 -10
- package/dist/{pt-W3NA4LIZ-f02gapvs.js → pt-W3NA4LIZ-fwd1q4j0.js} +3 -3
- package/dist/pt-YI4VE4YQ-521681zf.js +161 -0
- package/dist/pt-YI4VE4YQ-v7gjeg82.js +161 -0
- package/dist/{ro-RKJ74FV3-QS3I6XKJ-kb31d85k.js → ro-2VALF3S5-NXBJUEZN-nqw1zs33.js} +277 -17
- package/dist/{ro-RKJ74FV3-qn0ey39v.js → ro-2VALF3S5-cdz5afkr.js} +275 -14
- package/dist/{ro-E2EBPQGT-vn573vcr.js → ro-BJFER5OI-334n28rj.js} +3 -3
- package/dist/ro-RKXZUG7Z-cm3xn3fj.js +161 -0
- package/dist/ro-RKXZUG7Z-pdztdafr.js +161 -0
- package/dist/{ro-WLKX6HF5-fcbe2zz8.js → ro-WLKX6HF5-b9tj8q67.js} +3 -3
- package/dist/ru-GSCT4ARZ-FTVCGQTL-5nh4jf2e.js +14 -0
- package/dist/ru-T73OPRTC-mp5gn7gs.js +10 -0
- package/dist/ru-WBLQ5B2U-8xd4gpv2.js +10 -0
- package/dist/ru-WBLQ5B2U-mswqs9wc.js +10 -0
- package/dist/serialization-GAW7UFOK-9hkdmmd2.js +36541 -0
- package/dist/services/flow-eval-schema/deterministic-evaluators.d.ts +110 -0
- package/dist/services/flow-eval-schema/evaluator-fields.d.ts +66 -0
- package/dist/services/flow-eval-schema/helpers.d.ts +9 -0
- package/dist/services/flow-eval-schema/index.d.ts +4 -0
- package/dist/services/flow-eval-schema/llm-judge-evaluators.d.ts +174 -0
- package/dist/services/flow-eval-schema/prompts.d.ts +2 -0
- package/dist/services/flow-eval-schema/registry.d.ts +375 -0
- package/dist/services/flow-eval-schema/tool-call-evaluators.d.ts +93 -0
- package/dist/services/flow-eval-schema/types.d.ts +78 -0
- package/dist/services/flow-eval-types.d.ts +6 -0
- package/dist/services/flow-eval-utils.d.ts +14 -0
- package/dist/services/flow-validate-service.d.ts +11 -0
- package/dist/services/packaging-utils.d.ts +3 -29
- package/dist/tool.js +22 -16
- package/dist/{tr-3U2W2XCA-zg3zcmq3.js → tr-3U2W2XCA-43ptfc0m.js} +3 -3
- package/dist/tr-AA6O2WSR-bj9n80k8.js +161 -0
- package/dist/tr-AA6O2WSR-ga1xnymp.js +161 -0
- package/dist/{tr-X7R6GQNB-VMEZAWRJ-vdbjqw23.js → tr-RIFCEXFH-BZS7S7QK-q465b62g.js} +279 -19
- package/dist/{tr-X7R6GQNB-shwv16dz.js → tr-RIFCEXFH-hgkb4g8y.js} +277 -16
- package/dist/{tr-ZUUSMHER-pfn5dq1r.js → tr-RQTZ2DMS-bpgd4kma.js} +3 -3
- package/dist/utils/flow-io.d.ts +8 -0
- package/dist/validation.js +19 -13
- package/dist/{zh-CN-FEZ24J4A-q5b5x20w.js → zh-CN-IP3FMXWM-1cfarhcp.js} +271 -10
- package/dist/{zh-CN-FEZ24J4A-LSEMG63K-db8kf6rm.js → zh-CN-IP3FMXWM-H3JI2XUM-ta4yac7h.js} +273 -13
- package/dist/{zh-CN-IPZYQR3P-1h76csc4.js → zh-CN-IPZYQR3P-egjmvyjf.js} +3 -3
- package/dist/zh-CN-R2KLHXQV-wttmznep.js +161 -0
- package/dist/zh-CN-R2KLHXQV-x6gnk2n0.js +161 -0
- package/dist/{zh-CN-YFKQ7HBX-w98q5zqf.js → zh-CN-ZC6LT4IN-vty9mvv8.js} +3 -3
- package/dist/{zh-TW-GKSCT6NW-JLMWTDAF-g2smq1gm.js → zh-TW-AGIDXIPF-R4XZRDJZ-cgxxz5k4.js} +274 -14
- package/dist/{zh-TW-GKSCT6NW-4n1yfre0.js → zh-TW-AGIDXIPF-n6r6w7vy.js} +272 -11
- package/dist/{zh-TW-CP5PCVEJ-wvbxf7c7.js → zh-TW-R7Y5KVMU-q81f4z2p.js} +3 -3
- package/dist/zh-TW-RJGCQANM-gqn0aca0.js +161 -0
- package/dist/zh-TW-RJGCQANM-tt8j5wv2.js +161 -0
- package/dist/{zh-TW-YPVSQVGT-wbybwpwt.js → zh-TW-YPVSQVGT-b378ztph.js} +3 -3
- package/package.json +2 -2
- package/dist/packager-tool-1169tjst.js +0 -87554
- package/dist/packager-tool-c19w8vg9.js +0 -26
- package/dist/packager-tool-gbgfwx8f.js +0 -2
- package/dist/packager-tool-jpcm3xas.js +0 -12
- package/dist/packager-tool-mt2g0zjx.js +0 -36187
- package/dist/packager-tool-pvgqbm48.js +0 -21
- package/dist/ru-D6DDND7Z-e4en56d2.js +0 -10
- package/dist/ru-GSCT4ARZ-3TVTUGWP-bbg6360z.js +0 -15
- package/dist/serialization-GTFWODSH-p7wmsmj7.js +0 -148
- /package/dist/{packager-tool-ny53xmsd.js → packager-tool-cvwr40ax.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
en_default
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-tq9q9m77.js";
|
|
4
4
|
import {
|
|
5
5
|
__glob
|
|
6
6
|
} from "./packager-tool-c23zrhj8.js";
|
|
@@ -6881,7 +6881,7 @@ var require_dist = __commonJS((exports, module) => {
|
|
|
6881
6881
|
module.exports.default = ajvErrors;
|
|
6882
6882
|
});
|
|
6883
6883
|
|
|
6884
|
-
// ../../node_modules/@uipath/
|
|
6884
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/internal/constants.js
|
|
6885
6885
|
var require_constants = __commonJS((exports, module) => {
|
|
6886
6886
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
6887
6887
|
var MAX_LENGTH = 256;
|
|
@@ -6909,13 +6909,13 @@ var require_constants = __commonJS((exports, module) => {
|
|
|
6909
6909
|
};
|
|
6910
6910
|
});
|
|
6911
6911
|
|
|
6912
|
-
// ../../node_modules/@uipath/
|
|
6912
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/internal/debug.js
|
|
6913
6913
|
var require_debug = __commonJS((exports, module) => {
|
|
6914
6914
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
6915
6915
|
module.exports = debug;
|
|
6916
6916
|
});
|
|
6917
6917
|
|
|
6918
|
-
// ../../node_modules/@uipath/
|
|
6918
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/internal/re.js
|
|
6919
6919
|
var require_re = __commonJS((exports, module) => {
|
|
6920
6920
|
var {
|
|
6921
6921
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -7000,7 +7000,7 @@ var require_re = __commonJS((exports, module) => {
|
|
|
7000
7000
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
7001
7001
|
});
|
|
7002
7002
|
|
|
7003
|
-
// ../../node_modules/@uipath/
|
|
7003
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/internal/parse-options.js
|
|
7004
7004
|
var require_parse_options = __commonJS((exports, module) => {
|
|
7005
7005
|
var looseOption = Object.freeze({ loose: true });
|
|
7006
7006
|
var emptyOpts = Object.freeze({});
|
|
@@ -7016,7 +7016,7 @@ var require_parse_options = __commonJS((exports, module) => {
|
|
|
7016
7016
|
module.exports = parseOptions;
|
|
7017
7017
|
});
|
|
7018
7018
|
|
|
7019
|
-
// ../../node_modules/@uipath/
|
|
7019
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/internal/identifiers.js
|
|
7020
7020
|
var require_identifiers = __commonJS((exports, module) => {
|
|
7021
7021
|
var numeric = /^[0-9]+$/;
|
|
7022
7022
|
var compareIdentifiers = (a, b) => {
|
|
@@ -7038,7 +7038,7 @@ var require_identifiers = __commonJS((exports, module) => {
|
|
|
7038
7038
|
};
|
|
7039
7039
|
});
|
|
7040
7040
|
|
|
7041
|
-
// ../../node_modules/@uipath/
|
|
7041
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/classes/semver.js
|
|
7042
7042
|
var require_semver = __commonJS((exports, module) => {
|
|
7043
7043
|
var debug = require_debug();
|
|
7044
7044
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
@@ -7307,7 +7307,7 @@ var require_semver = __commonJS((exports, module) => {
|
|
|
7307
7307
|
module.exports = SemVer;
|
|
7308
7308
|
});
|
|
7309
7309
|
|
|
7310
|
-
// ../../node_modules/@uipath/
|
|
7310
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/parse.js
|
|
7311
7311
|
var require_parse = __commonJS((exports, module) => {
|
|
7312
7312
|
var SemVer = require_semver();
|
|
7313
7313
|
var parse9 = (version3, options, throwErrors = false) => {
|
|
@@ -7326,7 +7326,7 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
7326
7326
|
module.exports = parse9;
|
|
7327
7327
|
});
|
|
7328
7328
|
|
|
7329
|
-
// ../../node_modules/@uipath/
|
|
7329
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/valid.js
|
|
7330
7330
|
var require_valid = __commonJS((exports, module) => {
|
|
7331
7331
|
var parse9 = require_parse();
|
|
7332
7332
|
var valid = (version3, options) => {
|
|
@@ -7336,7 +7336,7 @@ var require_valid = __commonJS((exports, module) => {
|
|
|
7336
7336
|
module.exports = valid;
|
|
7337
7337
|
});
|
|
7338
7338
|
|
|
7339
|
-
// ../../node_modules/@uipath/
|
|
7339
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/clean.js
|
|
7340
7340
|
var require_clean = __commonJS((exports, module) => {
|
|
7341
7341
|
var parse9 = require_parse();
|
|
7342
7342
|
var clean = (version3, options) => {
|
|
@@ -7346,7 +7346,7 @@ var require_clean = __commonJS((exports, module) => {
|
|
|
7346
7346
|
module.exports = clean;
|
|
7347
7347
|
});
|
|
7348
7348
|
|
|
7349
|
-
// ../../node_modules/@uipath/
|
|
7349
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/inc.js
|
|
7350
7350
|
var require_inc = __commonJS((exports, module) => {
|
|
7351
7351
|
var SemVer = require_semver();
|
|
7352
7352
|
var inc = (version3, release, options, identifier, identifierBase) => {
|
|
@@ -7364,7 +7364,7 @@ var require_inc = __commonJS((exports, module) => {
|
|
|
7364
7364
|
module.exports = inc;
|
|
7365
7365
|
});
|
|
7366
7366
|
|
|
7367
|
-
// ../../node_modules/@uipath/
|
|
7367
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/diff.js
|
|
7368
7368
|
var require_diff = __commonJS((exports, module) => {
|
|
7369
7369
|
var parse9 = require_parse();
|
|
7370
7370
|
var diff = (version1, version22) => {
|
|
@@ -7405,28 +7405,28 @@ var require_diff = __commonJS((exports, module) => {
|
|
|
7405
7405
|
module.exports = diff;
|
|
7406
7406
|
});
|
|
7407
7407
|
|
|
7408
|
-
// ../../node_modules/@uipath/
|
|
7408
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/major.js
|
|
7409
7409
|
var require_major = __commonJS((exports, module) => {
|
|
7410
7410
|
var SemVer = require_semver();
|
|
7411
7411
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
7412
7412
|
module.exports = major;
|
|
7413
7413
|
});
|
|
7414
7414
|
|
|
7415
|
-
// ../../node_modules/@uipath/
|
|
7415
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/minor.js
|
|
7416
7416
|
var require_minor = __commonJS((exports, module) => {
|
|
7417
7417
|
var SemVer = require_semver();
|
|
7418
7418
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
7419
7419
|
module.exports = minor;
|
|
7420
7420
|
});
|
|
7421
7421
|
|
|
7422
|
-
// ../../node_modules/@uipath/
|
|
7422
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/patch.js
|
|
7423
7423
|
var require_patch = __commonJS((exports, module) => {
|
|
7424
7424
|
var SemVer = require_semver();
|
|
7425
7425
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
7426
7426
|
module.exports = patch;
|
|
7427
7427
|
});
|
|
7428
7428
|
|
|
7429
|
-
// ../../node_modules/@uipath/
|
|
7429
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/prerelease.js
|
|
7430
7430
|
var require_prerelease = __commonJS((exports, module) => {
|
|
7431
7431
|
var parse9 = require_parse();
|
|
7432
7432
|
var prerelease = (version3, options) => {
|
|
@@ -7436,28 +7436,28 @@ var require_prerelease = __commonJS((exports, module) => {
|
|
|
7436
7436
|
module.exports = prerelease;
|
|
7437
7437
|
});
|
|
7438
7438
|
|
|
7439
|
-
// ../../node_modules/@uipath/
|
|
7439
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/compare.js
|
|
7440
7440
|
var require_compare = __commonJS((exports, module) => {
|
|
7441
7441
|
var SemVer = require_semver();
|
|
7442
7442
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
7443
7443
|
module.exports = compare;
|
|
7444
7444
|
});
|
|
7445
7445
|
|
|
7446
|
-
// ../../node_modules/@uipath/
|
|
7446
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/rcompare.js
|
|
7447
7447
|
var require_rcompare = __commonJS((exports, module) => {
|
|
7448
7448
|
var compare = require_compare();
|
|
7449
7449
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
7450
7450
|
module.exports = rcompare;
|
|
7451
7451
|
});
|
|
7452
7452
|
|
|
7453
|
-
// ../../node_modules/@uipath/
|
|
7453
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/compare-loose.js
|
|
7454
7454
|
var require_compare_loose = __commonJS((exports, module) => {
|
|
7455
7455
|
var compare = require_compare();
|
|
7456
7456
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
7457
7457
|
module.exports = compareLoose;
|
|
7458
7458
|
});
|
|
7459
7459
|
|
|
7460
|
-
// ../../node_modules/@uipath/
|
|
7460
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/compare-build.js
|
|
7461
7461
|
var require_compare_build = __commonJS((exports, module) => {
|
|
7462
7462
|
var SemVer = require_semver();
|
|
7463
7463
|
var compareBuild = (a, b, loose) => {
|
|
@@ -7468,63 +7468,63 @@ var require_compare_build = __commonJS((exports, module) => {
|
|
|
7468
7468
|
module.exports = compareBuild;
|
|
7469
7469
|
});
|
|
7470
7470
|
|
|
7471
|
-
// ../../node_modules/@uipath/
|
|
7471
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/sort.js
|
|
7472
7472
|
var require_sort = __commonJS((exports, module) => {
|
|
7473
7473
|
var compareBuild = require_compare_build();
|
|
7474
7474
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
7475
7475
|
module.exports = sort;
|
|
7476
7476
|
});
|
|
7477
7477
|
|
|
7478
|
-
// ../../node_modules/@uipath/
|
|
7478
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/rsort.js
|
|
7479
7479
|
var require_rsort = __commonJS((exports, module) => {
|
|
7480
7480
|
var compareBuild = require_compare_build();
|
|
7481
7481
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
7482
7482
|
module.exports = rsort;
|
|
7483
7483
|
});
|
|
7484
7484
|
|
|
7485
|
-
// ../../node_modules/@uipath/
|
|
7485
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/gt.js
|
|
7486
7486
|
var require_gt = __commonJS((exports, module) => {
|
|
7487
7487
|
var compare = require_compare();
|
|
7488
7488
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
7489
7489
|
module.exports = gt;
|
|
7490
7490
|
});
|
|
7491
7491
|
|
|
7492
|
-
// ../../node_modules/@uipath/
|
|
7492
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/lt.js
|
|
7493
7493
|
var require_lt = __commonJS((exports, module) => {
|
|
7494
7494
|
var compare = require_compare();
|
|
7495
7495
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
7496
7496
|
module.exports = lt;
|
|
7497
7497
|
});
|
|
7498
7498
|
|
|
7499
|
-
// ../../node_modules/@uipath/
|
|
7499
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/eq.js
|
|
7500
7500
|
var require_eq = __commonJS((exports, module) => {
|
|
7501
7501
|
var compare = require_compare();
|
|
7502
7502
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
7503
7503
|
module.exports = eq;
|
|
7504
7504
|
});
|
|
7505
7505
|
|
|
7506
|
-
// ../../node_modules/@uipath/
|
|
7506
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/neq.js
|
|
7507
7507
|
var require_neq = __commonJS((exports, module) => {
|
|
7508
7508
|
var compare = require_compare();
|
|
7509
7509
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
7510
7510
|
module.exports = neq;
|
|
7511
7511
|
});
|
|
7512
7512
|
|
|
7513
|
-
// ../../node_modules/@uipath/
|
|
7513
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/gte.js
|
|
7514
7514
|
var require_gte = __commonJS((exports, module) => {
|
|
7515
7515
|
var compare = require_compare();
|
|
7516
7516
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
7517
7517
|
module.exports = gte;
|
|
7518
7518
|
});
|
|
7519
7519
|
|
|
7520
|
-
// ../../node_modules/@uipath/
|
|
7520
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/lte.js
|
|
7521
7521
|
var require_lte = __commonJS((exports, module) => {
|
|
7522
7522
|
var compare = require_compare();
|
|
7523
7523
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
7524
7524
|
module.exports = lte;
|
|
7525
7525
|
});
|
|
7526
7526
|
|
|
7527
|
-
// ../../node_modules/@uipath/
|
|
7527
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/cmp.js
|
|
7528
7528
|
var require_cmp = __commonJS((exports, module) => {
|
|
7529
7529
|
var eq = require_eq();
|
|
7530
7530
|
var neq = require_neq();
|
|
@@ -7571,7 +7571,7 @@ var require_cmp = __commonJS((exports, module) => {
|
|
|
7571
7571
|
module.exports = cmp;
|
|
7572
7572
|
});
|
|
7573
7573
|
|
|
7574
|
-
// ../../node_modules/@uipath/
|
|
7574
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/coerce.js
|
|
7575
7575
|
var require_coerce = __commonJS((exports, module) => {
|
|
7576
7576
|
var SemVer = require_semver();
|
|
7577
7577
|
var parse9 = require_parse();
|
|
@@ -7614,7 +7614,7 @@ var require_coerce = __commonJS((exports, module) => {
|
|
|
7614
7614
|
module.exports = coerce;
|
|
7615
7615
|
});
|
|
7616
7616
|
|
|
7617
|
-
// ../../node_modules/@uipath/
|
|
7617
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/truncate.js
|
|
7618
7618
|
var require_truncate = __commonJS((exports, module) => {
|
|
7619
7619
|
var parse9 = require_parse();
|
|
7620
7620
|
var constants = require_constants();
|
|
@@ -7652,7 +7652,7 @@ var require_truncate = __commonJS((exports, module) => {
|
|
|
7652
7652
|
module.exports = truncate;
|
|
7653
7653
|
});
|
|
7654
7654
|
|
|
7655
|
-
// ../../node_modules/@uipath/
|
|
7655
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/internal/lrucache.js
|
|
7656
7656
|
var require_lrucache = __commonJS((exports, module) => {
|
|
7657
7657
|
class LRUCache {
|
|
7658
7658
|
constructor() {
|
|
@@ -7687,7 +7687,7 @@ var require_lrucache = __commonJS((exports, module) => {
|
|
|
7687
7687
|
module.exports = LRUCache;
|
|
7688
7688
|
});
|
|
7689
7689
|
|
|
7690
|
-
// ../../node_modules/@uipath/
|
|
7690
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/classes/range.js
|
|
7691
7691
|
var require_range = __commonJS((exports, module) => {
|
|
7692
7692
|
var SPACE_CHARACTERS = /\s+/g;
|
|
7693
7693
|
|
|
@@ -8061,7 +8061,7 @@ var require_range = __commonJS((exports, module) => {
|
|
|
8061
8061
|
};
|
|
8062
8062
|
});
|
|
8063
8063
|
|
|
8064
|
-
// ../../node_modules/@uipath/
|
|
8064
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/classes/comparator.js
|
|
8065
8065
|
var require_comparator = __commonJS((exports, module) => {
|
|
8066
8066
|
var ANY = Symbol("SemVer ANY");
|
|
8067
8067
|
|
|
@@ -8172,7 +8172,7 @@ var require_comparator = __commonJS((exports, module) => {
|
|
|
8172
8172
|
var Range = require_range();
|
|
8173
8173
|
});
|
|
8174
8174
|
|
|
8175
|
-
// ../../node_modules/@uipath/
|
|
8175
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/functions/satisfies.js
|
|
8176
8176
|
var require_satisfies = __commonJS((exports, module) => {
|
|
8177
8177
|
var Range = require_range();
|
|
8178
8178
|
var satisfies = (version3, range, options) => {
|
|
@@ -8186,14 +8186,14 @@ var require_satisfies = __commonJS((exports, module) => {
|
|
|
8186
8186
|
module.exports = satisfies;
|
|
8187
8187
|
});
|
|
8188
8188
|
|
|
8189
|
-
// ../../node_modules/@uipath/
|
|
8189
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/to-comparators.js
|
|
8190
8190
|
var require_to_comparators = __commonJS((exports, module) => {
|
|
8191
8191
|
var Range = require_range();
|
|
8192
8192
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
8193
8193
|
module.exports = toComparators;
|
|
8194
8194
|
});
|
|
8195
8195
|
|
|
8196
|
-
// ../../node_modules/@uipath/
|
|
8196
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/max-satisfying.js
|
|
8197
8197
|
var require_max_satisfying = __commonJS((exports, module) => {
|
|
8198
8198
|
var SemVer = require_semver();
|
|
8199
8199
|
var Range = require_range();
|
|
@@ -8219,7 +8219,7 @@ var require_max_satisfying = __commonJS((exports, module) => {
|
|
|
8219
8219
|
module.exports = maxSatisfying;
|
|
8220
8220
|
});
|
|
8221
8221
|
|
|
8222
|
-
// ../../node_modules/@uipath/
|
|
8222
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/min-satisfying.js
|
|
8223
8223
|
var require_min_satisfying = __commonJS((exports, module) => {
|
|
8224
8224
|
var SemVer = require_semver();
|
|
8225
8225
|
var Range = require_range();
|
|
@@ -8245,7 +8245,7 @@ var require_min_satisfying = __commonJS((exports, module) => {
|
|
|
8245
8245
|
module.exports = minSatisfying;
|
|
8246
8246
|
});
|
|
8247
8247
|
|
|
8248
|
-
// ../../node_modules/@uipath/
|
|
8248
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/min-version.js
|
|
8249
8249
|
var require_min_version = __commonJS((exports, module) => {
|
|
8250
8250
|
var SemVer = require_semver();
|
|
8251
8251
|
var Range = require_range();
|
|
@@ -8299,7 +8299,7 @@ var require_min_version = __commonJS((exports, module) => {
|
|
|
8299
8299
|
module.exports = minVersion;
|
|
8300
8300
|
});
|
|
8301
8301
|
|
|
8302
|
-
// ../../node_modules/@uipath/
|
|
8302
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/valid.js
|
|
8303
8303
|
var require_valid2 = __commonJS((exports, module) => {
|
|
8304
8304
|
var Range = require_range();
|
|
8305
8305
|
var validRange = (range, options) => {
|
|
@@ -8312,7 +8312,7 @@ var require_valid2 = __commonJS((exports, module) => {
|
|
|
8312
8312
|
module.exports = validRange;
|
|
8313
8313
|
});
|
|
8314
8314
|
|
|
8315
|
-
// ../../node_modules/@uipath/
|
|
8315
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/outside.js
|
|
8316
8316
|
var require_outside = __commonJS((exports, module) => {
|
|
8317
8317
|
var SemVer = require_semver();
|
|
8318
8318
|
var Comparator = require_comparator();
|
|
@@ -8378,21 +8378,21 @@ var require_outside = __commonJS((exports, module) => {
|
|
|
8378
8378
|
module.exports = outside;
|
|
8379
8379
|
});
|
|
8380
8380
|
|
|
8381
|
-
// ../../node_modules/@uipath/
|
|
8381
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/gtr.js
|
|
8382
8382
|
var require_gtr = __commonJS((exports, module) => {
|
|
8383
8383
|
var outside = require_outside();
|
|
8384
8384
|
var gtr = (version3, range, options) => outside(version3, range, ">", options);
|
|
8385
8385
|
module.exports = gtr;
|
|
8386
8386
|
});
|
|
8387
8387
|
|
|
8388
|
-
// ../../node_modules/@uipath/
|
|
8388
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/ltr.js
|
|
8389
8389
|
var require_ltr = __commonJS((exports, module) => {
|
|
8390
8390
|
var outside = require_outside();
|
|
8391
8391
|
var ltr = (version3, range, options) => outside(version3, range, "<", options);
|
|
8392
8392
|
module.exports = ltr;
|
|
8393
8393
|
});
|
|
8394
8394
|
|
|
8395
|
-
// ../../node_modules/@uipath/
|
|
8395
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/intersects.js
|
|
8396
8396
|
var require_intersects = __commonJS((exports, module) => {
|
|
8397
8397
|
var Range = require_range();
|
|
8398
8398
|
var intersects = (r1, r2, options) => {
|
|
@@ -8403,7 +8403,7 @@ var require_intersects = __commonJS((exports, module) => {
|
|
|
8403
8403
|
module.exports = intersects;
|
|
8404
8404
|
});
|
|
8405
8405
|
|
|
8406
|
-
// ../../node_modules/@uipath/
|
|
8406
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/simplify.js
|
|
8407
8407
|
var require_simplify = __commonJS((exports, module) => {
|
|
8408
8408
|
var satisfies = require_satisfies();
|
|
8409
8409
|
var compare = require_compare();
|
|
@@ -8450,7 +8450,7 @@ var require_simplify = __commonJS((exports, module) => {
|
|
|
8450
8450
|
};
|
|
8451
8451
|
});
|
|
8452
8452
|
|
|
8453
|
-
// ../../node_modules/@uipath/
|
|
8453
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/ranges/subset.js
|
|
8454
8454
|
var require_subset = __commonJS((exports, module) => {
|
|
8455
8455
|
var Range = require_range();
|
|
8456
8456
|
var Comparator = require_comparator();
|
|
@@ -8610,7 +8610,7 @@ var require_subset = __commonJS((exports, module) => {
|
|
|
8610
8610
|
module.exports = subset;
|
|
8611
8611
|
});
|
|
8612
8612
|
|
|
8613
|
-
// ../../node_modules/@uipath/
|
|
8613
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/semver/index.js
|
|
8614
8614
|
var require_semver2 = __commonJS((exports, module) => {
|
|
8615
8615
|
var internalRe = require_re();
|
|
8616
8616
|
var constants = require_constants();
|
|
@@ -8771,7 +8771,7 @@ var require_index_cjs = __commonJS((exports, module) => {
|
|
|
8771
8771
|
module.exports = index;
|
|
8772
8772
|
});
|
|
8773
8773
|
|
|
8774
|
-
// ../../node_modules/@uipath/flow-schema/dist/chunk-
|
|
8774
|
+
// ../../node_modules/@uipath/flow-schema/dist/chunk-4LDHBBA7.js
|
|
8775
8775
|
var SUPPORTED_LOCALES = ["en", "es", "pt", "de", "fr", "ja", "ko", "ru", "tr", "ro", "zh-CN", "zh-TW", "pt-BR", "es-MX"];
|
|
8776
8776
|
var DEFAULT_LOCALE = "en";
|
|
8777
8777
|
function normalizeCasing(locale) {
|
|
@@ -8833,20 +8833,20 @@ function createI18nRegistrar(options) {
|
|
|
8833
8833
|
};
|
|
8834
8834
|
}
|
|
8835
8835
|
var globImport_locales_json = __glob({
|
|
8836
|
-
"../../locales/de.json": () => import("./de-
|
|
8837
|
-
"../../locales/en.json": () => import("./en-
|
|
8838
|
-
"../../locales/es-MX.json": () => import("./es-MX-
|
|
8839
|
-
"../../locales/es.json": () => import("./es-
|
|
8840
|
-
"../../locales/fr.json": () => import("./fr-
|
|
8841
|
-
"../../locales/ja.json": () => import("./ja-
|
|
8842
|
-
"../../locales/ko.json": () => import("./ko-
|
|
8843
|
-
"../../locales/pt-BR.json": () => import("./pt-BR-
|
|
8844
|
-
"../../locales/pt.json": () => import("./pt-
|
|
8845
|
-
"../../locales/ro.json": () => import("./ro-
|
|
8836
|
+
"../../locales/de.json": () => import("./de-5KVP66U6-f7knj511.js"),
|
|
8837
|
+
"../../locales/en.json": () => import("./en-4KXU7N7B-66fntxa2.js"),
|
|
8838
|
+
"../../locales/es-MX.json": () => import("./es-MX-XAVLOQW3-9b3cp9n8.js"),
|
|
8839
|
+
"../../locales/es.json": () => import("./es-VFPNVMP5-thm0z9sr.js"),
|
|
8840
|
+
"../../locales/fr.json": () => import("./fr-E5MDO4EG-exvrs7ge.js"),
|
|
8841
|
+
"../../locales/ja.json": () => import("./ja-DPO5PPLO-s2a7j3nj.js"),
|
|
8842
|
+
"../../locales/ko.json": () => import("./ko-ITOPNIYI-qz39kamf.js"),
|
|
8843
|
+
"../../locales/pt-BR.json": () => import("./pt-BR-BXURWX4W-dqr4dnf9.js"),
|
|
8844
|
+
"../../locales/pt.json": () => import("./pt-YI4VE4YQ-v7gjeg82.js"),
|
|
8845
|
+
"../../locales/ro.json": () => import("./ro-RKXZUG7Z-cm3xn3fj.js"),
|
|
8846
8846
|
"../../locales/ru.json": () => import("./ru-WBLQ5B2U-awt245ky.js"),
|
|
8847
|
-
"../../locales/tr.json": () => import("./tr-
|
|
8848
|
-
"../../locales/zh-CN.json": () => import("./zh-CN-
|
|
8849
|
-
"../../locales/zh-TW.json": () => import("./zh-TW-
|
|
8847
|
+
"../../locales/tr.json": () => import("./tr-AA6O2WSR-ga1xnymp.js"),
|
|
8848
|
+
"../../locales/zh-CN.json": () => import("./zh-CN-R2KLHXQV-wttmznep.js"),
|
|
8849
|
+
"../../locales/zh-TW.json": () => import("./zh-TW-RJGCQANM-gqn0aca0.js")
|
|
8850
8850
|
});
|
|
8851
8851
|
var VALIDATION_NAMESPACE = "validation";
|
|
8852
8852
|
var registerFlowSchemaI18n = createI18nRegistrar({
|
|
@@ -8855,6 +8855,122 @@ var registerFlowSchemaI18n = createI18nRegistrar({
|
|
|
8855
8855
|
loadCatalog: (lng) => globImport_locales_json(`../../locales/${lng}.json`)
|
|
8856
8856
|
});
|
|
8857
8857
|
|
|
8858
|
+
// ../../node_modules/@uipath/flow-schema/dist/chunk-756NT5WJ.js
|
|
8859
|
+
var RESERVED_WORDS = [
|
|
8860
|
+
"break",
|
|
8861
|
+
"case",
|
|
8862
|
+
"catch",
|
|
8863
|
+
"continue",
|
|
8864
|
+
"debugger",
|
|
8865
|
+
"default",
|
|
8866
|
+
"delete",
|
|
8867
|
+
"do",
|
|
8868
|
+
"else",
|
|
8869
|
+
"finally",
|
|
8870
|
+
"for",
|
|
8871
|
+
"function",
|
|
8872
|
+
"if",
|
|
8873
|
+
"in",
|
|
8874
|
+
"instanceof",
|
|
8875
|
+
"new",
|
|
8876
|
+
"return",
|
|
8877
|
+
"switch",
|
|
8878
|
+
"this",
|
|
8879
|
+
"throw",
|
|
8880
|
+
"try",
|
|
8881
|
+
"typeof",
|
|
8882
|
+
"var",
|
|
8883
|
+
"void",
|
|
8884
|
+
"while",
|
|
8885
|
+
"with",
|
|
8886
|
+
"class",
|
|
8887
|
+
"const",
|
|
8888
|
+
"enum",
|
|
8889
|
+
"export",
|
|
8890
|
+
"extends",
|
|
8891
|
+
"import",
|
|
8892
|
+
"super",
|
|
8893
|
+
"implements",
|
|
8894
|
+
"interface",
|
|
8895
|
+
"let",
|
|
8896
|
+
"package",
|
|
8897
|
+
"private",
|
|
8898
|
+
"protected",
|
|
8899
|
+
"public",
|
|
8900
|
+
"static",
|
|
8901
|
+
"yield"
|
|
8902
|
+
];
|
|
8903
|
+
var VALID_IDENTIFIER_PATTERN = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
|
|
8904
|
+
var FLAT_SEP = "__";
|
|
8905
|
+
function generateRandomId(length) {
|
|
8906
|
+
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8907
|
+
let result = "";
|
|
8908
|
+
for (let i = 0;i < length; i++) {
|
|
8909
|
+
result += chars.charAt(Math.floor(Math.random() * chars.length));
|
|
8910
|
+
}
|
|
8911
|
+
return result;
|
|
8912
|
+
}
|
|
8913
|
+
function generateNextId(prefix, count = 6) {
|
|
8914
|
+
return `${prefix}${generateRandomId(count)}`;
|
|
8915
|
+
}
|
|
8916
|
+
function isPlainObject(value) {
|
|
8917
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
8918
|
+
}
|
|
8919
|
+
function deepEqual(a, b) {
|
|
8920
|
+
if (a === b)
|
|
8921
|
+
return true;
|
|
8922
|
+
if (a === null || b === null)
|
|
8923
|
+
return a === b;
|
|
8924
|
+
if (a === undefined || b === undefined)
|
|
8925
|
+
return a === b;
|
|
8926
|
+
if (typeof a !== typeof b)
|
|
8927
|
+
return false;
|
|
8928
|
+
if (Array.isArray(a)) {
|
|
8929
|
+
if (!Array.isArray(b) || a.length !== b.length)
|
|
8930
|
+
return false;
|
|
8931
|
+
return a.every((val, i) => deepEqual(val, b[i]));
|
|
8932
|
+
}
|
|
8933
|
+
if (typeof a === "object") {
|
|
8934
|
+
if (Array.isArray(b))
|
|
8935
|
+
return false;
|
|
8936
|
+
const objA = a;
|
|
8937
|
+
const objB = b;
|
|
8938
|
+
const keysA = Object.keys(objA);
|
|
8939
|
+
const keysB = Object.keys(objB);
|
|
8940
|
+
if (keysA.length !== keysB.length)
|
|
8941
|
+
return false;
|
|
8942
|
+
return keysA.every((key) => (key in objB) && deepEqual(objA[key], objB[key]));
|
|
8943
|
+
}
|
|
8944
|
+
return false;
|
|
8945
|
+
}
|
|
8946
|
+
var IN_FILTER_OPERATOR = "is any of";
|
|
8947
|
+
function resolveReadResultMode(cfg) {
|
|
8948
|
+
return cfg?.resultMode === "multiple" ? "multiple" : "single";
|
|
8949
|
+
}
|
|
8950
|
+
function readExpressionText(value) {
|
|
8951
|
+
if (typeof value === "string")
|
|
8952
|
+
return value;
|
|
8953
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
8954
|
+
return "";
|
|
8955
|
+
const expression = value.expression;
|
|
8956
|
+
return typeof expression === "string" ? expression : "";
|
|
8957
|
+
}
|
|
8958
|
+
function isJsExpressionShape(value) {
|
|
8959
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
8960
|
+
return false;
|
|
8961
|
+
return value.type === "jsExpression";
|
|
8962
|
+
}
|
|
8963
|
+
function readEntityFilterValueListIsEmpty(row, multiRecord) {
|
|
8964
|
+
if (!multiRecord || row?.operator !== IN_FILTER_OPERATOR)
|
|
8965
|
+
return false;
|
|
8966
|
+
const text = readExpressionText(row.value);
|
|
8967
|
+
if (!row.field || !text.trim())
|
|
8968
|
+
return false;
|
|
8969
|
+
if (isJsExpressionShape(row.value))
|
|
8970
|
+
return false;
|
|
8971
|
+
return text.split(",").every((part) => !part.trim());
|
|
8972
|
+
}
|
|
8973
|
+
|
|
8858
8974
|
// ../../node_modules/zod/v4/classic/external.js
|
|
8859
8975
|
var exports_external = {};
|
|
8860
8976
|
__export(exports_external, {
|
|
@@ -9486,7 +9602,7 @@ __export(exports_util, {
|
|
|
9486
9602
|
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
9487
9603
|
joinValues: () => joinValues,
|
|
9488
9604
|
issue: () => issue,
|
|
9489
|
-
isPlainObject: () =>
|
|
9605
|
+
isPlainObject: () => isPlainObject2,
|
|
9490
9606
|
isObject: () => isObject,
|
|
9491
9607
|
hexToUint8Array: () => hexToUint8Array,
|
|
9492
9608
|
getSizableOrigin: () => getSizableOrigin,
|
|
@@ -9668,7 +9784,7 @@ var allowsEval = /* @__PURE__ */ cached(() => {
|
|
|
9668
9784
|
return false;
|
|
9669
9785
|
}
|
|
9670
9786
|
});
|
|
9671
|
-
function
|
|
9787
|
+
function isPlainObject2(o) {
|
|
9672
9788
|
if (isObject(o) === false)
|
|
9673
9789
|
return false;
|
|
9674
9790
|
const ctor = o.constructor;
|
|
@@ -9685,7 +9801,7 @@ function isPlainObject(o) {
|
|
|
9685
9801
|
return true;
|
|
9686
9802
|
}
|
|
9687
9803
|
function shallowClone(o) {
|
|
9688
|
-
if (
|
|
9804
|
+
if (isPlainObject2(o))
|
|
9689
9805
|
return { ...o };
|
|
9690
9806
|
if (Array.isArray(o))
|
|
9691
9807
|
return [...o];
|
|
@@ -9889,7 +10005,7 @@ function omit(schema, mask) {
|
|
|
9889
10005
|
return clone(schema, def);
|
|
9890
10006
|
}
|
|
9891
10007
|
function extend(schema, shape) {
|
|
9892
|
-
if (!
|
|
10008
|
+
if (!isPlainObject2(shape)) {
|
|
9893
10009
|
throw new Error("Invalid input to extend: expected a plain object");
|
|
9894
10010
|
}
|
|
9895
10011
|
const checks = schema._zod.def.checks;
|
|
@@ -9912,7 +10028,7 @@ function extend(schema, shape) {
|
|
|
9912
10028
|
return clone(schema, def);
|
|
9913
10029
|
}
|
|
9914
10030
|
function safeExtend(schema, shape) {
|
|
9915
|
-
if (!
|
|
10031
|
+
if (!isPlainObject2(shape)) {
|
|
9916
10032
|
throw new Error("Invalid input to safeExtend: expected a plain object");
|
|
9917
10033
|
}
|
|
9918
10034
|
const def = mergeDefs(schema._zod.def, {
|
|
@@ -12255,7 +12371,7 @@ function mergeValues(a, b) {
|
|
|
12255
12371
|
if (a instanceof Date && b instanceof Date && +a === +b) {
|
|
12256
12372
|
return { valid: true, data: a };
|
|
12257
12373
|
}
|
|
12258
|
-
if (
|
|
12374
|
+
if (isPlainObject2(a) && isPlainObject2(b)) {
|
|
12259
12375
|
const bKeys = Object.keys(b);
|
|
12260
12376
|
const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
|
|
12261
12377
|
const newObj = { ...a, ...b };
|
|
@@ -12441,7 +12557,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
12441
12557
|
$ZodType.init(inst, def);
|
|
12442
12558
|
inst._zod.parse = (payload, ctx) => {
|
|
12443
12559
|
const input = payload.value;
|
|
12444
|
-
if (!
|
|
12560
|
+
if (!isPlainObject2(input)) {
|
|
12445
12561
|
payload.issues.push({
|
|
12446
12562
|
expected: "record",
|
|
12447
12563
|
code: "invalid_type",
|
|
@@ -23131,7 +23247,7 @@ function date4(params) {
|
|
|
23131
23247
|
|
|
23132
23248
|
// ../../node_modules/zod/v4/classic/external.js
|
|
23133
23249
|
config(en_default2());
|
|
23134
|
-
// ../../node_modules/@uipath/flow-schema/dist/chunk-
|
|
23250
|
+
// ../../node_modules/@uipath/flow-schema/dist/chunk-3ANVRIJ3.js
|
|
23135
23251
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
23136
23252
|
var import_ajv_errors = __toESM(require_dist(), 1);
|
|
23137
23253
|
|
|
@@ -25686,7 +25802,7 @@ var hasLoadedNamespace = instance.hasLoadedNamespace;
|
|
|
25686
25802
|
var loadNamespaces = instance.loadNamespaces;
|
|
25687
25803
|
var loadLanguages = instance.loadLanguages;
|
|
25688
25804
|
|
|
25689
|
-
// ../../node_modules/@uipath/
|
|
25805
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/external.js
|
|
25690
25806
|
var exports_external2 = {};
|
|
25691
25807
|
__export(exports_external2, {
|
|
25692
25808
|
xid: () => xid4,
|
|
@@ -25898,7 +26014,7 @@ __export(exports_external2, {
|
|
|
25898
26014
|
$brand: () => $brand2
|
|
25899
26015
|
});
|
|
25900
26016
|
|
|
25901
|
-
// ../../node_modules/@uipath/
|
|
26017
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/index.js
|
|
25902
26018
|
var exports_core4 = {};
|
|
25903
26019
|
__export(exports_core4, {
|
|
25904
26020
|
version: () => version2,
|
|
@@ -26142,7 +26258,7 @@ __export(exports_core4, {
|
|
|
26142
26258
|
$ZodAny: () => $ZodAny2
|
|
26143
26259
|
});
|
|
26144
26260
|
|
|
26145
|
-
// ../../node_modules/@uipath/
|
|
26261
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/core.js
|
|
26146
26262
|
var NEVER2 = Object.freeze({
|
|
26147
26263
|
status: "aborted"
|
|
26148
26264
|
});
|
|
@@ -26202,7 +26318,7 @@ function config2(newConfig) {
|
|
|
26202
26318
|
Object.assign(globalConfig2, newConfig);
|
|
26203
26319
|
return globalConfig2;
|
|
26204
26320
|
}
|
|
26205
|
-
// ../../node_modules/@uipath/
|
|
26321
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/util.js
|
|
26206
26322
|
var exports_util2 = {};
|
|
26207
26323
|
__export(exports_util2, {
|
|
26208
26324
|
unwrapMessage: () => unwrapMessage2,
|
|
@@ -26224,7 +26340,7 @@ __export(exports_util2, {
|
|
|
26224
26340
|
jsonStringifyReplacer: () => jsonStringifyReplacer2,
|
|
26225
26341
|
joinValues: () => joinValues2,
|
|
26226
26342
|
issue: () => issue2,
|
|
26227
|
-
isPlainObject: () =>
|
|
26343
|
+
isPlainObject: () => isPlainObject3,
|
|
26228
26344
|
isObject: () => isObject2,
|
|
26229
26345
|
getSizableOrigin: () => getSizableOrigin2,
|
|
26230
26346
|
getParsedType: () => getParsedType2,
|
|
@@ -26378,7 +26494,7 @@ var allowsEval2 = cached2(() => {
|
|
|
26378
26494
|
return false;
|
|
26379
26495
|
}
|
|
26380
26496
|
});
|
|
26381
|
-
function
|
|
26497
|
+
function isPlainObject3(o) {
|
|
26382
26498
|
if (isObject2(o) === false)
|
|
26383
26499
|
return false;
|
|
26384
26500
|
const ctor = o.constructor;
|
|
@@ -26563,7 +26679,7 @@ function omit2(schema, mask) {
|
|
|
26563
26679
|
});
|
|
26564
26680
|
}
|
|
26565
26681
|
function extend2(schema, shape) {
|
|
26566
|
-
if (!
|
|
26682
|
+
if (!isPlainObject3(shape)) {
|
|
26567
26683
|
throw new Error("Invalid input to extend: expected a plain object");
|
|
26568
26684
|
}
|
|
26569
26685
|
const def = {
|
|
@@ -26716,7 +26832,7 @@ class Class2 {
|
|
|
26716
26832
|
constructor(..._args) {}
|
|
26717
26833
|
}
|
|
26718
26834
|
|
|
26719
|
-
// ../../node_modules/@uipath/
|
|
26835
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/errors.js
|
|
26720
26836
|
var initializer3 = (inst, def) => {
|
|
26721
26837
|
inst.name = "$ZodError";
|
|
26722
26838
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -26863,7 +26979,7 @@ function prettifyError2(error51) {
|
|
|
26863
26979
|
`);
|
|
26864
26980
|
}
|
|
26865
26981
|
|
|
26866
|
-
// ../../node_modules/@uipath/
|
|
26982
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/parse.js
|
|
26867
26983
|
var _parse2 = (_Err) => (schema, value, _ctx, _params) => {
|
|
26868
26984
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
26869
26985
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -26914,7 +27030,7 @@ var _safeParseAsync2 = (_Err) => async (schema, value, _ctx) => {
|
|
|
26914
27030
|
} : { success: true, data: result.value };
|
|
26915
27031
|
};
|
|
26916
27032
|
var safeParseAsync3 = /* @__PURE__ */ _safeParseAsync2($ZodRealError2);
|
|
26917
|
-
// ../../node_modules/@uipath/
|
|
27033
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/regexes.js
|
|
26918
27034
|
var exports_regexes2 = {};
|
|
26919
27035
|
__export(exports_regexes2, {
|
|
26920
27036
|
xid: () => xid3,
|
|
@@ -27027,7 +27143,7 @@ var _undefined4 = /undefined/i;
|
|
|
27027
27143
|
var lowercase2 = /^[^A-Z]*$/;
|
|
27028
27144
|
var uppercase2 = /^[^a-z]*$/;
|
|
27029
27145
|
|
|
27030
|
-
// ../../node_modules/@uipath/
|
|
27146
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/checks.js
|
|
27031
27147
|
var $ZodCheck2 = /* @__PURE__ */ $constructor2("$ZodCheck", (inst, def) => {
|
|
27032
27148
|
var _a3;
|
|
27033
27149
|
inst._zod ?? (inst._zod = {});
|
|
@@ -27564,7 +27680,7 @@ var $ZodCheckOverwrite2 = /* @__PURE__ */ $constructor2("$ZodCheckOverwrite", (i
|
|
|
27564
27680
|
};
|
|
27565
27681
|
});
|
|
27566
27682
|
|
|
27567
|
-
// ../../node_modules/@uipath/
|
|
27683
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/doc.js
|
|
27568
27684
|
class Doc2 {
|
|
27569
27685
|
constructor(args = []) {
|
|
27570
27686
|
this.content = [];
|
|
@@ -27602,14 +27718,14 @@ class Doc2 {
|
|
|
27602
27718
|
}
|
|
27603
27719
|
}
|
|
27604
27720
|
|
|
27605
|
-
// ../../node_modules/@uipath/
|
|
27721
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/versions.js
|
|
27606
27722
|
var version2 = {
|
|
27607
27723
|
major: 4,
|
|
27608
27724
|
minor: 0,
|
|
27609
27725
|
patch: 0
|
|
27610
27726
|
};
|
|
27611
27727
|
|
|
27612
|
-
// ../../node_modules/@uipath/
|
|
27728
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/schemas.js
|
|
27613
27729
|
var $ZodType2 = /* @__PURE__ */ $constructor2("$ZodType", (inst, def) => {
|
|
27614
27730
|
var _a3;
|
|
27615
27731
|
inst ?? (inst = {});
|
|
@@ -28552,7 +28668,7 @@ function mergeValues2(a, b) {
|
|
|
28552
28668
|
if (a instanceof Date && b instanceof Date && +a === +b) {
|
|
28553
28669
|
return { valid: true, data: a };
|
|
28554
28670
|
}
|
|
28555
|
-
if (
|
|
28671
|
+
if (isPlainObject3(a) && isPlainObject3(b)) {
|
|
28556
28672
|
const bKeys = Object.keys(b);
|
|
28557
28673
|
const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
|
|
28558
28674
|
const newObj = { ...a, ...b };
|
|
@@ -28682,7 +28798,7 @@ var $ZodRecord2 = /* @__PURE__ */ $constructor2("$ZodRecord", (inst, def) => {
|
|
|
28682
28798
|
$ZodType2.init(inst, def);
|
|
28683
28799
|
inst._zod.parse = (payload, ctx) => {
|
|
28684
28800
|
const input = payload.value;
|
|
28685
|
-
if (!
|
|
28801
|
+
if (!isPlainObject3(input)) {
|
|
28686
28802
|
payload.issues.push({
|
|
28687
28803
|
expected: "record",
|
|
28688
28804
|
code: "invalid_type",
|
|
@@ -29227,7 +29343,7 @@ function handleRefineResult2(result, payload, input, inst) {
|
|
|
29227
29343
|
payload.issues.push(issue2(_iss));
|
|
29228
29344
|
}
|
|
29229
29345
|
}
|
|
29230
|
-
// ../../node_modules/@uipath/
|
|
29346
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/index.js
|
|
29231
29347
|
var exports_locales2 = {};
|
|
29232
29348
|
__export(exports_locales2, {
|
|
29233
29349
|
zhTW: () => zh_TW_default2,
|
|
@@ -29271,7 +29387,7 @@ __export(exports_locales2, {
|
|
|
29271
29387
|
ar: () => ar_default2
|
|
29272
29388
|
});
|
|
29273
29389
|
|
|
29274
|
-
// ../../node_modules/@uipath/
|
|
29390
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ar.js
|
|
29275
29391
|
var error51 = () => {
|
|
29276
29392
|
const Sizable = {
|
|
29277
29393
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -29387,7 +29503,7 @@ function ar_default2() {
|
|
|
29387
29503
|
localeError: error51()
|
|
29388
29504
|
};
|
|
29389
29505
|
}
|
|
29390
|
-
// ../../node_modules/@uipath/
|
|
29506
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/az.js
|
|
29391
29507
|
var error52 = () => {
|
|
29392
29508
|
const Sizable = {
|
|
29393
29509
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -29502,7 +29618,7 @@ function az_default2() {
|
|
|
29502
29618
|
localeError: error52()
|
|
29503
29619
|
};
|
|
29504
29620
|
}
|
|
29505
|
-
// ../../node_modules/@uipath/
|
|
29621
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/be.js
|
|
29506
29622
|
function getBelarusianPlural2(count, one, few, many) {
|
|
29507
29623
|
const absCount = Math.abs(count);
|
|
29508
29624
|
const lastDigit = absCount % 10;
|
|
@@ -29666,7 +29782,7 @@ function be_default2() {
|
|
|
29666
29782
|
localeError: error53()
|
|
29667
29783
|
};
|
|
29668
29784
|
}
|
|
29669
|
-
// ../../node_modules/@uipath/
|
|
29785
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ca.js
|
|
29670
29786
|
var error54 = () => {
|
|
29671
29787
|
const Sizable = {
|
|
29672
29788
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -29783,7 +29899,7 @@ function ca_default2() {
|
|
|
29783
29899
|
localeError: error54()
|
|
29784
29900
|
};
|
|
29785
29901
|
}
|
|
29786
|
-
// ../../node_modules/@uipath/
|
|
29902
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/cs.js
|
|
29787
29903
|
var error55 = () => {
|
|
29788
29904
|
const Sizable = {
|
|
29789
29905
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -29918,7 +30034,7 @@ function cs_default2() {
|
|
|
29918
30034
|
localeError: error55()
|
|
29919
30035
|
};
|
|
29920
30036
|
}
|
|
29921
|
-
// ../../node_modules/@uipath/
|
|
30037
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/de.js
|
|
29922
30038
|
var error56 = () => {
|
|
29923
30039
|
const Sizable = {
|
|
29924
30040
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -30034,7 +30150,7 @@ function de_default2() {
|
|
|
30034
30150
|
localeError: error56()
|
|
30035
30151
|
};
|
|
30036
30152
|
}
|
|
30037
|
-
// ../../node_modules/@uipath/
|
|
30153
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/en.js
|
|
30038
30154
|
var parsedType2 = (data) => {
|
|
30039
30155
|
const t2 = typeof data;
|
|
30040
30156
|
switch (t2) {
|
|
@@ -30151,7 +30267,7 @@ function en_default3() {
|
|
|
30151
30267
|
localeError: error57()
|
|
30152
30268
|
};
|
|
30153
30269
|
}
|
|
30154
|
-
// ../../node_modules/@uipath/
|
|
30270
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/eo.js
|
|
30155
30271
|
var parsedType3 = (data) => {
|
|
30156
30272
|
const t2 = typeof data;
|
|
30157
30273
|
switch (t2) {
|
|
@@ -30267,7 +30383,7 @@ function eo_default2() {
|
|
|
30267
30383
|
localeError: error58()
|
|
30268
30384
|
};
|
|
30269
30385
|
}
|
|
30270
|
-
// ../../node_modules/@uipath/
|
|
30386
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/es.js
|
|
30271
30387
|
var error59 = () => {
|
|
30272
30388
|
const Sizable = {
|
|
30273
30389
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -30383,7 +30499,7 @@ function es_default2() {
|
|
|
30383
30499
|
localeError: error59()
|
|
30384
30500
|
};
|
|
30385
30501
|
}
|
|
30386
|
-
// ../../node_modules/@uipath/
|
|
30502
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/fa.js
|
|
30387
30503
|
var error60 = () => {
|
|
30388
30504
|
const Sizable = {
|
|
30389
30505
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
@@ -30505,7 +30621,7 @@ function fa_default2() {
|
|
|
30505
30621
|
localeError: error60()
|
|
30506
30622
|
};
|
|
30507
30623
|
}
|
|
30508
|
-
// ../../node_modules/@uipath/
|
|
30624
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/fi.js
|
|
30509
30625
|
var error61 = () => {
|
|
30510
30626
|
const Sizable = {
|
|
30511
30627
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
@@ -30627,7 +30743,7 @@ function fi_default2() {
|
|
|
30627
30743
|
localeError: error61()
|
|
30628
30744
|
};
|
|
30629
30745
|
}
|
|
30630
|
-
// ../../node_modules/@uipath/
|
|
30746
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/fr.js
|
|
30631
30747
|
var error62 = () => {
|
|
30632
30748
|
const Sizable = {
|
|
30633
30749
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -30743,7 +30859,7 @@ function fr_default2() {
|
|
|
30743
30859
|
localeError: error62()
|
|
30744
30860
|
};
|
|
30745
30861
|
}
|
|
30746
|
-
// ../../node_modules/@uipath/
|
|
30862
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/fr-CA.js
|
|
30747
30863
|
var error63 = () => {
|
|
30748
30864
|
const Sizable = {
|
|
30749
30865
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -30860,7 +30976,7 @@ function fr_CA_default2() {
|
|
|
30860
30976
|
localeError: error63()
|
|
30861
30977
|
};
|
|
30862
30978
|
}
|
|
30863
|
-
// ../../node_modules/@uipath/
|
|
30979
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/he.js
|
|
30864
30980
|
var error64 = () => {
|
|
30865
30981
|
const Sizable = {
|
|
30866
30982
|
string: { unit: "אותיות", verb: "לכלול" },
|
|
@@ -30976,7 +31092,7 @@ function he_default2() {
|
|
|
30976
31092
|
localeError: error64()
|
|
30977
31093
|
};
|
|
30978
31094
|
}
|
|
30979
|
-
// ../../node_modules/@uipath/
|
|
31095
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/hu.js
|
|
30980
31096
|
var error65 = () => {
|
|
30981
31097
|
const Sizable = {
|
|
30982
31098
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -31092,7 +31208,7 @@ function hu_default2() {
|
|
|
31092
31208
|
localeError: error65()
|
|
31093
31209
|
};
|
|
31094
31210
|
}
|
|
31095
|
-
// ../../node_modules/@uipath/
|
|
31211
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/id.js
|
|
31096
31212
|
var error66 = () => {
|
|
31097
31213
|
const Sizable = {
|
|
31098
31214
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -31208,7 +31324,7 @@ function id_default2() {
|
|
|
31208
31324
|
localeError: error66()
|
|
31209
31325
|
};
|
|
31210
31326
|
}
|
|
31211
|
-
// ../../node_modules/@uipath/
|
|
31327
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/it.js
|
|
31212
31328
|
var error67 = () => {
|
|
31213
31329
|
const Sizable = {
|
|
31214
31330
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -31324,7 +31440,7 @@ function it_default2() {
|
|
|
31324
31440
|
localeError: error67()
|
|
31325
31441
|
};
|
|
31326
31442
|
}
|
|
31327
|
-
// ../../node_modules/@uipath/
|
|
31443
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ja.js
|
|
31328
31444
|
var error68 = () => {
|
|
31329
31445
|
const Sizable = {
|
|
31330
31446
|
string: { unit: "文字", verb: "である" },
|
|
@@ -31439,7 +31555,7 @@ function ja_default2() {
|
|
|
31439
31555
|
localeError: error68()
|
|
31440
31556
|
};
|
|
31441
31557
|
}
|
|
31442
|
-
// ../../node_modules/@uipath/
|
|
31558
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/kh.js
|
|
31443
31559
|
var error69 = () => {
|
|
31444
31560
|
const Sizable = {
|
|
31445
31561
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
@@ -31556,7 +31672,7 @@ function kh_default2() {
|
|
|
31556
31672
|
localeError: error69()
|
|
31557
31673
|
};
|
|
31558
31674
|
}
|
|
31559
|
-
// ../../node_modules/@uipath/
|
|
31675
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ko.js
|
|
31560
31676
|
var error70 = () => {
|
|
31561
31677
|
const Sizable = {
|
|
31562
31678
|
string: { unit: "문자", verb: "to have" },
|
|
@@ -31677,7 +31793,7 @@ function ko_default2() {
|
|
|
31677
31793
|
localeError: error70()
|
|
31678
31794
|
};
|
|
31679
31795
|
}
|
|
31680
|
-
// ../../node_modules/@uipath/
|
|
31796
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/mk.js
|
|
31681
31797
|
var error71 = () => {
|
|
31682
31798
|
const Sizable = {
|
|
31683
31799
|
string: { unit: "знаци", verb: "да имаат" },
|
|
@@ -31794,7 +31910,7 @@ function mk_default2() {
|
|
|
31794
31910
|
localeError: error71()
|
|
31795
31911
|
};
|
|
31796
31912
|
}
|
|
31797
|
-
// ../../node_modules/@uipath/
|
|
31913
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ms.js
|
|
31798
31914
|
var error72 = () => {
|
|
31799
31915
|
const Sizable = {
|
|
31800
31916
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -31910,7 +32026,7 @@ function ms_default2() {
|
|
|
31910
32026
|
localeError: error72()
|
|
31911
32027
|
};
|
|
31912
32028
|
}
|
|
31913
|
-
// ../../node_modules/@uipath/
|
|
32029
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/nl.js
|
|
31914
32030
|
var error73 = () => {
|
|
31915
32031
|
const Sizable = {
|
|
31916
32032
|
string: { unit: "tekens" },
|
|
@@ -32027,7 +32143,7 @@ function nl_default2() {
|
|
|
32027
32143
|
localeError: error73()
|
|
32028
32144
|
};
|
|
32029
32145
|
}
|
|
32030
|
-
// ../../node_modules/@uipath/
|
|
32146
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/no.js
|
|
32031
32147
|
var error74 = () => {
|
|
32032
32148
|
const Sizable = {
|
|
32033
32149
|
string: { unit: "tegn", verb: "å ha" },
|
|
@@ -32143,7 +32259,7 @@ function no_default2() {
|
|
|
32143
32259
|
localeError: error74()
|
|
32144
32260
|
};
|
|
32145
32261
|
}
|
|
32146
|
-
// ../../node_modules/@uipath/
|
|
32262
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ota.js
|
|
32147
32263
|
var error75 = () => {
|
|
32148
32264
|
const Sizable = {
|
|
32149
32265
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
@@ -32259,7 +32375,7 @@ function ota_default2() {
|
|
|
32259
32375
|
localeError: error75()
|
|
32260
32376
|
};
|
|
32261
32377
|
}
|
|
32262
|
-
// ../../node_modules/@uipath/
|
|
32378
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ps.js
|
|
32263
32379
|
var error76 = () => {
|
|
32264
32380
|
const Sizable = {
|
|
32265
32381
|
string: { unit: "توکي", verb: "ولري" },
|
|
@@ -32381,7 +32497,7 @@ function ps_default2() {
|
|
|
32381
32497
|
localeError: error76()
|
|
32382
32498
|
};
|
|
32383
32499
|
}
|
|
32384
|
-
// ../../node_modules/@uipath/
|
|
32500
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/pl.js
|
|
32385
32501
|
var error77 = () => {
|
|
32386
32502
|
const Sizable = {
|
|
32387
32503
|
string: { unit: "znaków", verb: "mieć" },
|
|
@@ -32498,7 +32614,7 @@ function pl_default2() {
|
|
|
32498
32614
|
localeError: error77()
|
|
32499
32615
|
};
|
|
32500
32616
|
}
|
|
32501
|
-
// ../../node_modules/@uipath/
|
|
32617
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/pt.js
|
|
32502
32618
|
var error78 = () => {
|
|
32503
32619
|
const Sizable = {
|
|
32504
32620
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -32614,7 +32730,7 @@ function pt_default2() {
|
|
|
32614
32730
|
localeError: error78()
|
|
32615
32731
|
};
|
|
32616
32732
|
}
|
|
32617
|
-
// ../../node_modules/@uipath/
|
|
32733
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ru.js
|
|
32618
32734
|
function getRussianPlural2(count, one, few, many) {
|
|
32619
32735
|
const absCount = Math.abs(count);
|
|
32620
32736
|
const lastDigit = absCount % 10;
|
|
@@ -32778,7 +32894,7 @@ function ru_default2() {
|
|
|
32778
32894
|
localeError: error79()
|
|
32779
32895
|
};
|
|
32780
32896
|
}
|
|
32781
|
-
// ../../node_modules/@uipath/
|
|
32897
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/sl.js
|
|
32782
32898
|
var error80 = () => {
|
|
32783
32899
|
const Sizable = {
|
|
32784
32900
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -32895,7 +33011,7 @@ function sl_default2() {
|
|
|
32895
33011
|
localeError: error80()
|
|
32896
33012
|
};
|
|
32897
33013
|
}
|
|
32898
|
-
// ../../node_modules/@uipath/
|
|
33014
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/sv.js
|
|
32899
33015
|
var error81 = () => {
|
|
32900
33016
|
const Sizable = {
|
|
32901
33017
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -33013,7 +33129,7 @@ function sv_default2() {
|
|
|
33013
33129
|
localeError: error81()
|
|
33014
33130
|
};
|
|
33015
33131
|
}
|
|
33016
|
-
// ../../node_modules/@uipath/
|
|
33132
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ta.js
|
|
33017
33133
|
var error82 = () => {
|
|
33018
33134
|
const Sizable = {
|
|
33019
33135
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -33130,7 +33246,7 @@ function ta_default2() {
|
|
|
33130
33246
|
localeError: error82()
|
|
33131
33247
|
};
|
|
33132
33248
|
}
|
|
33133
|
-
// ../../node_modules/@uipath/
|
|
33249
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/th.js
|
|
33134
33250
|
var error83 = () => {
|
|
33135
33251
|
const Sizable = {
|
|
33136
33252
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
@@ -33247,7 +33363,7 @@ function th_default2() {
|
|
|
33247
33363
|
localeError: error83()
|
|
33248
33364
|
};
|
|
33249
33365
|
}
|
|
33250
|
-
// ../../node_modules/@uipath/
|
|
33366
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/tr.js
|
|
33251
33367
|
var parsedType4 = (data) => {
|
|
33252
33368
|
const t2 = typeof data;
|
|
33253
33369
|
switch (t2) {
|
|
@@ -33362,7 +33478,7 @@ function tr_default2() {
|
|
|
33362
33478
|
localeError: error84()
|
|
33363
33479
|
};
|
|
33364
33480
|
}
|
|
33365
|
-
// ../../node_modules/@uipath/
|
|
33481
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ua.js
|
|
33366
33482
|
var error85 = () => {
|
|
33367
33483
|
const Sizable = {
|
|
33368
33484
|
string: { unit: "символів", verb: "матиме" },
|
|
@@ -33478,7 +33594,7 @@ function ua_default2() {
|
|
|
33478
33594
|
localeError: error85()
|
|
33479
33595
|
};
|
|
33480
33596
|
}
|
|
33481
|
-
// ../../node_modules/@uipath/
|
|
33597
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/ur.js
|
|
33482
33598
|
var error86 = () => {
|
|
33483
33599
|
const Sizable = {
|
|
33484
33600
|
string: { unit: "حروف", verb: "ہونا" },
|
|
@@ -33595,7 +33711,7 @@ function ur_default2() {
|
|
|
33595
33711
|
localeError: error86()
|
|
33596
33712
|
};
|
|
33597
33713
|
}
|
|
33598
|
-
// ../../node_modules/@uipath/
|
|
33714
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/vi.js
|
|
33599
33715
|
var error87 = () => {
|
|
33600
33716
|
const Sizable = {
|
|
33601
33717
|
string: { unit: "ký tự", verb: "có" },
|
|
@@ -33711,7 +33827,7 @@ function vi_default2() {
|
|
|
33711
33827
|
localeError: error87()
|
|
33712
33828
|
};
|
|
33713
33829
|
}
|
|
33714
|
-
// ../../node_modules/@uipath/
|
|
33830
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/zh-CN.js
|
|
33715
33831
|
var error88 = () => {
|
|
33716
33832
|
const Sizable = {
|
|
33717
33833
|
string: { unit: "字符", verb: "包含" },
|
|
@@ -33827,7 +33943,7 @@ function zh_CN_default2() {
|
|
|
33827
33943
|
localeError: error88()
|
|
33828
33944
|
};
|
|
33829
33945
|
}
|
|
33830
|
-
// ../../node_modules/@uipath/
|
|
33946
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/locales/zh-TW.js
|
|
33831
33947
|
var error89 = () => {
|
|
33832
33948
|
const Sizable = {
|
|
33833
33949
|
string: { unit: "字元", verb: "擁有" },
|
|
@@ -33944,7 +34060,7 @@ function zh_TW_default2() {
|
|
|
33944
34060
|
localeError: error89()
|
|
33945
34061
|
};
|
|
33946
34062
|
}
|
|
33947
|
-
// ../../node_modules/@uipath/
|
|
34063
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/registries.js
|
|
33948
34064
|
var $output2 = Symbol("ZodOutput");
|
|
33949
34065
|
var $input2 = Symbol("ZodInput");
|
|
33950
34066
|
|
|
@@ -33994,7 +34110,7 @@ function registry2() {
|
|
|
33994
34110
|
return new $ZodRegistry2;
|
|
33995
34111
|
}
|
|
33996
34112
|
var globalRegistry2 = /* @__PURE__ */ registry2();
|
|
33997
|
-
// ../../node_modules/@uipath/
|
|
34113
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/api.js
|
|
33998
34114
|
function _string2(Class3, params) {
|
|
33999
34115
|
return new Class3({
|
|
34000
34116
|
type: "string",
|
|
@@ -34849,7 +34965,7 @@ function _stringFormat2(Class3, format, fnOrRegex, _params = {}) {
|
|
|
34849
34965
|
return inst;
|
|
34850
34966
|
}
|
|
34851
34967
|
|
|
34852
|
-
// ../../node_modules/@uipath/
|
|
34968
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/function.js
|
|
34853
34969
|
class $ZodFunction2 {
|
|
34854
34970
|
constructor(def) {
|
|
34855
34971
|
this._def = def;
|
|
@@ -34918,7 +35034,7 @@ function _function2(params) {
|
|
|
34918
35034
|
output: params?.output ?? _unknown2($ZodUnknown2)
|
|
34919
35035
|
});
|
|
34920
35036
|
}
|
|
34921
|
-
// ../../node_modules/@uipath/
|
|
35037
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/to-json-schema.js
|
|
34922
35038
|
class JSONSchemaGenerator2 {
|
|
34923
35039
|
constructor(params) {
|
|
34924
35040
|
this.counter = 0;
|
|
@@ -35670,9 +35786,9 @@ function isTransforming2(_schema, _ctx) {
|
|
|
35670
35786
|
}
|
|
35671
35787
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
35672
35788
|
}
|
|
35673
|
-
// ../../node_modules/@uipath/
|
|
35789
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/core/json-schema.js
|
|
35674
35790
|
var exports_json_schema2 = {};
|
|
35675
|
-
// ../../node_modules/@uipath/
|
|
35791
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/iso.js
|
|
35676
35792
|
var exports_iso2 = {};
|
|
35677
35793
|
__export(exports_iso2, {
|
|
35678
35794
|
time: () => time4,
|
|
@@ -35713,7 +35829,7 @@ function duration4(params) {
|
|
|
35713
35829
|
return _isoDuration2(ZodISODuration2, params);
|
|
35714
35830
|
}
|
|
35715
35831
|
|
|
35716
|
-
// ../../node_modules/@uipath/
|
|
35832
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/errors.js
|
|
35717
35833
|
var initializer4 = (inst, issues) => {
|
|
35718
35834
|
$ZodError2.init(inst, issues);
|
|
35719
35835
|
inst.name = "ZodError";
|
|
@@ -35742,13 +35858,13 @@ var ZodRealError2 = $constructor2("ZodError", initializer4, {
|
|
|
35742
35858
|
Parent: Error
|
|
35743
35859
|
});
|
|
35744
35860
|
|
|
35745
|
-
// ../../node_modules/@uipath/
|
|
35861
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/parse.js
|
|
35746
35862
|
var parse7 = /* @__PURE__ */ _parse2(ZodRealError2);
|
|
35747
35863
|
var parseAsync4 = /* @__PURE__ */ _parseAsync2(ZodRealError2);
|
|
35748
35864
|
var safeParse4 = /* @__PURE__ */ _safeParse2(ZodRealError2);
|
|
35749
35865
|
var safeParseAsync4 = /* @__PURE__ */ _safeParseAsync2(ZodRealError2);
|
|
35750
35866
|
|
|
35751
|
-
// ../../node_modules/@uipath/
|
|
35867
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/schemas.js
|
|
35752
35868
|
var ZodType2 = /* @__PURE__ */ $constructor2("ZodType", (inst, def) => {
|
|
35753
35869
|
$ZodType2.init(inst, def);
|
|
35754
35870
|
inst.def = def;
|
|
@@ -36679,7 +36795,7 @@ function json2(params) {
|
|
|
36679
36795
|
function preprocess2(fn, schema) {
|
|
36680
36796
|
return pipe2(transform2(fn), schema);
|
|
36681
36797
|
}
|
|
36682
|
-
// ../../node_modules/@uipath/
|
|
36798
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/compat.js
|
|
36683
36799
|
var ZodIssueCode2 = {
|
|
36684
36800
|
invalid_type: "invalid_type",
|
|
36685
36801
|
too_big: "too_big",
|
|
@@ -36701,7 +36817,7 @@ function setErrorMap2(map3) {
|
|
|
36701
36817
|
function getErrorMap2() {
|
|
36702
36818
|
return config2().customError;
|
|
36703
36819
|
}
|
|
36704
|
-
// ../../node_modules/@uipath/
|
|
36820
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/coerce.js
|
|
36705
36821
|
var exports_coerce2 = {};
|
|
36706
36822
|
__export(exports_coerce2, {
|
|
36707
36823
|
string: () => string6,
|
|
@@ -36726,9 +36842,9 @@ function date8(params) {
|
|
|
36726
36842
|
return _coercedDate2(ZodDate2, params);
|
|
36727
36843
|
}
|
|
36728
36844
|
|
|
36729
|
-
// ../../node_modules/@uipath/
|
|
36845
|
+
// ../../node_modules/@uipath/agents-storage-schemas/node_modules/zod/v4/classic/external.js
|
|
36730
36846
|
config2(en_default3());
|
|
36731
|
-
// ../../node_modules/@uipath/
|
|
36847
|
+
// ../../node_modules/@uipath/agents-storage-schemas/dist/index.js
|
|
36732
36848
|
var import_semver = __toESM(require_semver2(), 1);
|
|
36733
36849
|
var createStorageSchema = (factory) => {
|
|
36734
36850
|
return factory();
|
|
@@ -45901,6 +46017,58 @@ var migrationV50 = createMigration({
|
|
|
45901
46017
|
};
|
|
45902
46018
|
}
|
|
45903
46019
|
});
|
|
46020
|
+
var migrations = [
|
|
46021
|
+
migrationV1,
|
|
46022
|
+
migrationV2,
|
|
46023
|
+
migrationV3,
|
|
46024
|
+
migrationV4,
|
|
46025
|
+
migrationV5,
|
|
46026
|
+
migrationV6,
|
|
46027
|
+
migrationV7,
|
|
46028
|
+
migrationV8,
|
|
46029
|
+
migrationV9,
|
|
46030
|
+
migrationV10,
|
|
46031
|
+
migrationV11,
|
|
46032
|
+
migrationV12,
|
|
46033
|
+
migrationV13,
|
|
46034
|
+
migrationV14,
|
|
46035
|
+
migrationV15,
|
|
46036
|
+
migrationV16,
|
|
46037
|
+
migrationV17,
|
|
46038
|
+
migrationV18,
|
|
46039
|
+
migrationV19,
|
|
46040
|
+
migrationV20,
|
|
46041
|
+
migrationV21,
|
|
46042
|
+
migrationV22,
|
|
46043
|
+
migrationV23,
|
|
46044
|
+
migrationV24,
|
|
46045
|
+
migrationV25,
|
|
46046
|
+
migrationV26,
|
|
46047
|
+
migrationV27,
|
|
46048
|
+
migrationV28,
|
|
46049
|
+
migrationV29,
|
|
46050
|
+
migrationV30,
|
|
46051
|
+
migrationV31,
|
|
46052
|
+
migrationV32,
|
|
46053
|
+
migrationV33,
|
|
46054
|
+
migrationV34,
|
|
46055
|
+
migrationV35,
|
|
46056
|
+
migrationV36,
|
|
46057
|
+
migrationV37,
|
|
46058
|
+
migrationV38,
|
|
46059
|
+
migrationV39,
|
|
46060
|
+
migrationV40,
|
|
46061
|
+
migrationV41,
|
|
46062
|
+
migrationV42,
|
|
46063
|
+
migrationV43,
|
|
46064
|
+
migrationV44,
|
|
46065
|
+
migrationV45,
|
|
46066
|
+
migrationV46,
|
|
46067
|
+
migrationV47,
|
|
46068
|
+
migrationV48,
|
|
46069
|
+
migrationV49,
|
|
46070
|
+
migrationV50
|
|
46071
|
+
];
|
|
45904
46072
|
var currentStorageSchemaMigration = migrationV50;
|
|
45905
46073
|
var currentStorageSchema = currentStorageSchemaMigration.to;
|
|
45906
46074
|
var currentAgentStorageSchema = currentStorageSchemaMigration.entities.agent;
|
|
@@ -45909,6 +46077,43 @@ var currentFeatureStorageSchema = currentStorageSchemaMigration.entities.feature
|
|
|
45909
46077
|
var currentEvaluationSetStorageSchema = currentStorageSchemaMigration.entities.evalSet;
|
|
45910
46078
|
var currentCodedAgentStorageSchema = currentStorageSchemaMigration.entities.codedAgent;
|
|
45911
46079
|
var currentFlowLayoutStorageSchema = currentStorageSchemaMigration.entities.flowLayout;
|
|
46080
|
+
var applyMigrations = async (migrations2, data, currentVersion9, options = {}) => {
|
|
46081
|
+
const parsedCurrentVersion = import_semver.coerce(currentVersion9);
|
|
46082
|
+
if (!parsedCurrentVersion) {
|
|
46083
|
+
throw new Error(`Invalid current version: ${currentVersion9}`);
|
|
46084
|
+
}
|
|
46085
|
+
const migrationsToApply = migrations2.filter((migration) => {
|
|
46086
|
+
const toVersion = import_semver.coerce(migration.to.version);
|
|
46087
|
+
if (!toVersion) {
|
|
46088
|
+
throw new Error(`Invalid target version: ${migration.to.version}`);
|
|
46089
|
+
}
|
|
46090
|
+
return import_semver.lt(parsedCurrentVersion, toVersion);
|
|
46091
|
+
});
|
|
46092
|
+
console.debug("Applying migrations", {
|
|
46093
|
+
currentVersion: currentVersion9,
|
|
46094
|
+
migrationsToApply: migrationsToApply.map((m) => `${m.from.version} -> ${m.to.version}`)
|
|
46095
|
+
});
|
|
46096
|
+
let currentData = data;
|
|
46097
|
+
for (const migration of migrationsToApply) {
|
|
46098
|
+
try {
|
|
46099
|
+
console.debug(`Applying migration: ${migration.from.version} -> ${migration.to.version}`);
|
|
46100
|
+
currentData = migration.apply(currentData, options.errorTracker);
|
|
46101
|
+
} catch (error90) {
|
|
46102
|
+
const migrationError = new Error(`Migration failed: ${migration.from.version} -> ${migration.to.version}`);
|
|
46103
|
+
options.errorTracker?.trackError(migrationError, "critical", {
|
|
46104
|
+
originalError: error90,
|
|
46105
|
+
migration: `${migration.from.version} -> ${migration.to.version}`
|
|
46106
|
+
});
|
|
46107
|
+
throw migrationError;
|
|
46108
|
+
}
|
|
46109
|
+
}
|
|
46110
|
+
return currentData;
|
|
46111
|
+
};
|
|
46112
|
+
var getLatestVersion = (migrations2) => {
|
|
46113
|
+
if (migrations2.length === 0)
|
|
46114
|
+
throw new Error("No migrations available");
|
|
46115
|
+
return migrations2[migrations2.length - 1].to.version;
|
|
46116
|
+
};
|
|
45912
46117
|
|
|
45913
46118
|
// ../../node_modules/jsep/dist/jsep.js
|
|
45914
46119
|
class Hooks {
|
|
@@ -46587,7 +46792,7 @@ var ternary = {
|
|
|
46587
46792
|
};
|
|
46588
46793
|
jsep.plugins.register(ternary);
|
|
46589
46794
|
|
|
46590
|
-
// ../../node_modules/@uipath/flow-schema/dist/chunk-
|
|
46795
|
+
// ../../node_modules/@uipath/flow-schema/dist/chunk-3ANVRIJ3.js
|
|
46591
46796
|
function isBlockingSeverity(severity) {
|
|
46592
46797
|
return severity === "error" || severity === "critical";
|
|
46593
46798
|
}
|
|
@@ -46785,6 +46990,54 @@ function hasMustacheInterpolation(s) {
|
|
|
46785
46990
|
const stripped = s.replace(/\\\{/g, "").replace(/\\\}/g, "");
|
|
46786
46991
|
return /\{\{[^{}]+\}\}/.test(stripped);
|
|
46787
46992
|
}
|
|
46993
|
+
var ESCAPED_MUSTACHE_PLACEHOLDER = "__FLOW_ESCAPED_MUSTACHE__";
|
|
46994
|
+
var ESCAPED_MUSTACHE_REGEX = /\\\{\{/g;
|
|
46995
|
+
var hasMustache = (value) => {
|
|
46996
|
+
if (!value)
|
|
46997
|
+
return false;
|
|
46998
|
+
const open = value.indexOf("{{");
|
|
46999
|
+
return open !== -1 && value.indexOf("}}", open + 2) !== -1;
|
|
47000
|
+
};
|
|
47001
|
+
var parseMustacheSegments = (value) => {
|
|
47002
|
+
if (!value)
|
|
47003
|
+
return { segments: [], tail: "" };
|
|
47004
|
+
const segments = [];
|
|
47005
|
+
let pos = 0;
|
|
47006
|
+
while (pos < value.length) {
|
|
47007
|
+
const openIdx = value.indexOf("{{", pos);
|
|
47008
|
+
if (openIdx === -1)
|
|
47009
|
+
break;
|
|
47010
|
+
const closeIdx = value.indexOf("}}", openIdx + 2);
|
|
47011
|
+
if (closeIdx === -1)
|
|
47012
|
+
break;
|
|
47013
|
+
segments.push({
|
|
47014
|
+
staticText: value.slice(pos, openIdx),
|
|
47015
|
+
expression: value.slice(openIdx + 2, closeIdx).trim()
|
|
47016
|
+
});
|
|
47017
|
+
pos = closeIdx + 2;
|
|
47018
|
+
}
|
|
47019
|
+
return { segments, tail: value.slice(pos) };
|
|
47020
|
+
};
|
|
47021
|
+
function templateInterpolationBody(expr) {
|
|
47022
|
+
if (!hasMustache(expr))
|
|
47023
|
+
return;
|
|
47024
|
+
const input = expr.replace(ESCAPED_MUSTACHE_REGEX, ESCAPED_MUSTACHE_PLACEHOLDER);
|
|
47025
|
+
const restore = (s) => s.replace(new RegExp(ESCAPED_MUSTACHE_PLACEHOLDER, "g"), "{{");
|
|
47026
|
+
const { segments, tail } = parseMustacheSegments(input);
|
|
47027
|
+
let result = "";
|
|
47028
|
+
for (const seg of segments)
|
|
47029
|
+
result += restore(seg.staticText) + "${" + seg.expression + "}";
|
|
47030
|
+
return result + restore(tail);
|
|
47031
|
+
}
|
|
47032
|
+
var QES_UNSAFE_CHAR = /["\\\s\u0000-\u001f]/;
|
|
47033
|
+
function isQesUncarryableValue(value) {
|
|
47034
|
+
const jsBody = getJsExpressionBody(value);
|
|
47035
|
+
if (jsBody !== undefined)
|
|
47036
|
+
return jsBody.trim() !== "" && QES_UNSAFE_CHAR.test(jsBody);
|
|
47037
|
+
const text = isExpressionValue(value) ? value.expression : typeof value === "string" ? value : "";
|
|
47038
|
+
const templateBody = templateInterpolationBody(text);
|
|
47039
|
+
return templateBody !== undefined && QES_UNSAFE_CHAR.test(templateBody);
|
|
47040
|
+
}
|
|
46788
47041
|
var t2 = instance.getFixedT(null, VALIDATION_NAMESPACE);
|
|
46789
47042
|
function isExpression(value) {
|
|
46790
47043
|
if (isExpressionValue(value))
|
|
@@ -47147,7 +47400,7 @@ function isTriggerNodeType(nodeType2) {
|
|
|
47147
47400
|
return nodeType2.startsWith("core.trigger") || nodeType2.toLowerCase().includes("trigger");
|
|
47148
47401
|
}
|
|
47149
47402
|
function isEndNodeType(nodeType2) {
|
|
47150
|
-
return nodeType2 === "core.control.end" || nodeType2 === "core.logic.terminate";
|
|
47403
|
+
return nodeType2 === "core.control.end" || nodeType2 === "core.logic.terminate" || nodeType2 === "core.control.response";
|
|
47151
47404
|
}
|
|
47152
47405
|
var LOOP_NODE_TYPE = "core.logic.loop";
|
|
47153
47406
|
var DOWHILE_NODE_TYPE = "core.logic.dowhile";
|
|
@@ -47185,10 +47438,15 @@ function resolveDoWhileLimit(raw) {
|
|
|
47185
47438
|
}
|
|
47186
47439
|
var DECISION_NODE_TYPE = "core.logic.decision";
|
|
47187
47440
|
var SWITCH_NODE_TYPE = "core.logic.switch";
|
|
47441
|
+
var MERGE_NODE_TYPE = "core.logic.merge";
|
|
47442
|
+
var MOCK_NODE_TYPE = "core.logic.mock";
|
|
47188
47443
|
var SYNTHETIC_GATEWAY_OUTPUT_KEYS = ["matchedCase", "matchedCaseId"];
|
|
47189
47444
|
function isGatewayNodeType(nodeType2) {
|
|
47190
47445
|
return nodeType2 === DECISION_NODE_TYPE || nodeType2 === SWITCH_NODE_TYPE;
|
|
47191
47446
|
}
|
|
47447
|
+
function supportsVariableUpdates(nodeType2) {
|
|
47448
|
+
return nodeType2 !== DECISION_NODE_TYPE && nodeType2 !== SWITCH_NODE_TYPE && nodeType2 !== MERGE_NODE_TYPE;
|
|
47449
|
+
}
|
|
47192
47450
|
var SUBFLOW_NODE_TYPE = "core.subflow";
|
|
47193
47451
|
function isSubflowNodeType(nodeType2) {
|
|
47194
47452
|
return nodeType2 === SUBFLOW_NODE_TYPE;
|
|
@@ -47240,6 +47498,10 @@ function isAgentResourceNodeType(nodeType2) {
|
|
|
47240
47498
|
return nodeType2.startsWith(AGENT_RESOURCE_PREFIX);
|
|
47241
47499
|
}
|
|
47242
47500
|
var CONVERSATIONAL_VOICE_END_CALL_NODE_TYPE = "uipath.conversational.voice.end-call";
|
|
47501
|
+
var CONVERSATION_TRIGGER_NODE_TYPE = "core.trigger.conversation";
|
|
47502
|
+
function isConversationalRuntimeNodeType(nodeType2) {
|
|
47503
|
+
return nodeType2 === CONVERSATION_TRIGGER_NODE_TYPE;
|
|
47504
|
+
}
|
|
47243
47505
|
function manifestExposesCallContext(manifest) {
|
|
47244
47506
|
const properties = manifest.inputDefinition?.properties;
|
|
47245
47507
|
return !!properties && Object.prototype.hasOwnProperty.call(properties, "callContext");
|
|
@@ -47870,11 +48132,46 @@ var governanceRule = {
|
|
|
47870
48132
|
return errors5;
|
|
47871
48133
|
}
|
|
47872
48134
|
};
|
|
48135
|
+
var DEFAULT_TRIGGER_OUTCOME = {
|
|
48136
|
+
id: "submit",
|
|
48137
|
+
name: "Submit",
|
|
48138
|
+
action: "Continue",
|
|
48139
|
+
isPrimary: true
|
|
48140
|
+
};
|
|
48141
|
+
var isObject3 = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
48142
|
+
function withDefaultTriggerOutcome(schema) {
|
|
48143
|
+
const source = schema ?? {};
|
|
48144
|
+
const outcomes = source.outcomes;
|
|
48145
|
+
if (Array.isArray(outcomes) && outcomes.length > 0)
|
|
48146
|
+
return { ...source, outcomes };
|
|
48147
|
+
return { ...source, outcomes: [{ ...DEFAULT_TRIGGER_OUTCOME }] };
|
|
48148
|
+
}
|
|
48149
|
+
function soleOutcome(outcomes) {
|
|
48150
|
+
const authored = Array.isArray(outcomes) ? outcomes.filter(isObject3) : [];
|
|
48151
|
+
const chosen = authored.find((outcome) => outcome.isPrimary) ?? authored[0];
|
|
48152
|
+
if (!chosen)
|
|
48153
|
+
return { ...DEFAULT_TRIGGER_OUTCOME };
|
|
48154
|
+
return { ...chosen, action: "Continue", isPrimary: true };
|
|
48155
|
+
}
|
|
48156
|
+
function normalizeFormTriggerSchema(schema) {
|
|
48157
|
+
const source = schema;
|
|
48158
|
+
const fields = source?.fields;
|
|
48159
|
+
if (!source || !isObject3(source) || !Array.isArray(fields) || fields.length === 0)
|
|
48160
|
+
return null;
|
|
48161
|
+
return {
|
|
48162
|
+
...source,
|
|
48163
|
+
fields: fields.map((field) => {
|
|
48164
|
+
const { binding: _binding, variable: _variable, ...rest } = field ?? {};
|
|
48165
|
+
return { ...rest, direction: "output" };
|
|
48166
|
+
}),
|
|
48167
|
+
outcomes: [soleOutcome(source.outcomes)]
|
|
48168
|
+
};
|
|
48169
|
+
}
|
|
47873
48170
|
function getHitlFieldChannelKey(field) {
|
|
47874
|
-
if (field.label)
|
|
47875
|
-
return field.label;
|
|
47876
48171
|
if (field.id)
|
|
47877
48172
|
return field.id;
|
|
48173
|
+
if (field.label)
|
|
48174
|
+
return field.label;
|
|
47878
48175
|
return null;
|
|
47879
48176
|
}
|
|
47880
48177
|
function isHitlInputDirectionField(field) {
|
|
@@ -47947,8 +48244,7 @@ var escalationValidationRule = {
|
|
|
47947
48244
|
const manifest = getManifestForNode(node, ctx.manifests);
|
|
47948
48245
|
const label = getNodeLabel(node, manifest);
|
|
47949
48246
|
const isQuickForm = resolveEscalationTaskType(node.type, inputs.type) === ESCALATION_TASK_TYPE.QuickForm;
|
|
47950
|
-
|
|
47951
|
-
if (!name || !name.trim()) {
|
|
48247
|
+
if (!readStringField(inputs.name).trim()) {
|
|
47952
48248
|
errors5.push({
|
|
47953
48249
|
code: "ESCALATION_NAME_REQUIRED",
|
|
47954
48250
|
...localized6("escalation_nameRequired_message", { label }, "{{label}}: Escalation name is required"),
|
|
@@ -47983,6 +48279,19 @@ var escalationValidationRule = {
|
|
|
47983
48279
|
});
|
|
47984
48280
|
}
|
|
47985
48281
|
}
|
|
48282
|
+
if (inputs.agentMemory === true) {
|
|
48283
|
+
const fieldSettings = inputs.memoryFieldSettings;
|
|
48284
|
+
if (!Array.isArray(fieldSettings) || fieldSettings.length === 0) {
|
|
48285
|
+
errors5.push({
|
|
48286
|
+
code: "ESCALATION_MEMORY_ARGUMENT_REQUIRED",
|
|
48287
|
+
...localized6("escalation_memoryArgumentRequired_message", { label }, "{{label}}: Add at least one argument for agent memory, or turn agent memory off"),
|
|
48288
|
+
severity: "error",
|
|
48289
|
+
nodeId: node.id,
|
|
48290
|
+
fieldPath: "inputs.memoryFieldSettings",
|
|
48291
|
+
layer: "node"
|
|
48292
|
+
});
|
|
48293
|
+
}
|
|
48294
|
+
}
|
|
47986
48295
|
const recipients = inputs.recipients;
|
|
47987
48296
|
const hasValidRecipient = Array.isArray(recipients) && recipients.length > 0 && recipients.some((r) => r.value && String(r.value).trim() !== "");
|
|
47988
48297
|
if (!hasValidRecipient) {
|
|
@@ -48122,66 +48431,6 @@ var conditionExpressionRule = {
|
|
|
48122
48431
|
return errors5;
|
|
48123
48432
|
}
|
|
48124
48433
|
};
|
|
48125
|
-
var RESERVED_WORDS = [
|
|
48126
|
-
"break",
|
|
48127
|
-
"case",
|
|
48128
|
-
"catch",
|
|
48129
|
-
"continue",
|
|
48130
|
-
"debugger",
|
|
48131
|
-
"default",
|
|
48132
|
-
"delete",
|
|
48133
|
-
"do",
|
|
48134
|
-
"else",
|
|
48135
|
-
"finally",
|
|
48136
|
-
"for",
|
|
48137
|
-
"function",
|
|
48138
|
-
"if",
|
|
48139
|
-
"in",
|
|
48140
|
-
"instanceof",
|
|
48141
|
-
"new",
|
|
48142
|
-
"return",
|
|
48143
|
-
"switch",
|
|
48144
|
-
"this",
|
|
48145
|
-
"throw",
|
|
48146
|
-
"try",
|
|
48147
|
-
"typeof",
|
|
48148
|
-
"var",
|
|
48149
|
-
"void",
|
|
48150
|
-
"while",
|
|
48151
|
-
"with",
|
|
48152
|
-
"class",
|
|
48153
|
-
"const",
|
|
48154
|
-
"enum",
|
|
48155
|
-
"export",
|
|
48156
|
-
"extends",
|
|
48157
|
-
"import",
|
|
48158
|
-
"super",
|
|
48159
|
-
"implements",
|
|
48160
|
-
"interface",
|
|
48161
|
-
"let",
|
|
48162
|
-
"package",
|
|
48163
|
-
"private",
|
|
48164
|
-
"protected",
|
|
48165
|
-
"public",
|
|
48166
|
-
"static",
|
|
48167
|
-
"yield"
|
|
48168
|
-
];
|
|
48169
|
-
var VALID_IDENTIFIER_PATTERN = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
|
|
48170
|
-
var FLAT_SEP = "__";
|
|
48171
|
-
function generateRandomId(length) {
|
|
48172
|
-
const chars2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
48173
|
-
let result = "";
|
|
48174
|
-
for (let i = 0;i < length; i++) {
|
|
48175
|
-
result += chars2.charAt(Math.floor(Math.random() * chars2.length));
|
|
48176
|
-
}
|
|
48177
|
-
return result;
|
|
48178
|
-
}
|
|
48179
|
-
function generateNextId(prefix, count = 6) {
|
|
48180
|
-
return `${prefix}${generateRandomId(count)}`;
|
|
48181
|
-
}
|
|
48182
|
-
function isPlainObject3(value) {
|
|
48183
|
-
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
48184
|
-
}
|
|
48185
48434
|
var t9 = instance.getFixedT(null, VALIDATION_NAMESPACE);
|
|
48186
48435
|
function localized8(key, params, defaultValue) {
|
|
48187
48436
|
return {
|
|
@@ -48190,10 +48439,23 @@ function localized8(key, params, defaultValue) {
|
|
|
48190
48439
|
};
|
|
48191
48440
|
}
|
|
48192
48441
|
var INPUT_REF_REGEX = /\{\{\s*\$agent\.([a-zA-Z_][a-zA-Z0-9_.]*)\s*\}\}/g;
|
|
48193
|
-
var
|
|
48442
|
+
var VARS_PATH_CAPTURE = String.raw`[a-zA-Z_][a-zA-Z0-9_]*(?:\.[a-zA-Z_][a-zA-Z0-9_]*|\[\d+\])*`;
|
|
48443
|
+
var VARS_REF_REGEX = new RegExp(String.raw`\{\{\s*\$vars\.(${VARS_PATH_CAPTURE})\s*\}\}`, "g");
|
|
48444
|
+
var RAW_VARS_REF_REGEX = new RegExp(String.raw`(?<!\w)\$vars\.(${VARS_PATH_CAPTURE})`, "g");
|
|
48194
48445
|
function getNodeType2(node) {
|
|
48195
48446
|
return node.data?.type ?? node.type ?? "";
|
|
48196
48447
|
}
|
|
48448
|
+
function collectStringsDeep(value, out = []) {
|
|
48449
|
+
if (typeof value === "string")
|
|
48450
|
+
out.push(value);
|
|
48451
|
+
else if (Array.isArray(value))
|
|
48452
|
+
for (const item of value)
|
|
48453
|
+
collectStringsDeep(item, out);
|
|
48454
|
+
else if (value && typeof value === "object")
|
|
48455
|
+
for (const item of Object.values(value))
|
|
48456
|
+
collectStringsDeep(item, out);
|
|
48457
|
+
return out;
|
|
48458
|
+
}
|
|
48197
48459
|
function extractMatches(text, regex) {
|
|
48198
48460
|
const refs = /* @__PURE__ */ new Set;
|
|
48199
48461
|
regex.lastIndex = 0;
|
|
@@ -48213,29 +48475,10 @@ var agentInputRefsRule = {
|
|
|
48213
48475
|
for (const n of ctx.nodes)
|
|
48214
48476
|
knownRootSegments.add(n.id);
|
|
48215
48477
|
}
|
|
48216
|
-
const
|
|
48217
|
-
const collidingNodeIds = ctx.nodes.filter((n) => n.id.includes(FLAT_SEP)).map((n) => n.id);
|
|
48478
|
+
const nodeById = new Map(ctx.nodes.map((n) => [n.id, n]));
|
|
48218
48479
|
for (const node of ctx.nodes) {
|
|
48219
48480
|
if (!isAgentNodeType(getNodeType2(node)))
|
|
48220
48481
|
continue;
|
|
48221
|
-
for (const collidingId of collidingVarIds) {
|
|
48222
|
-
errors5.push({
|
|
48223
|
-
code: "AGENT_FLAT_NAME_COLLISION",
|
|
48224
|
-
...localized8("agentInputRefs_variableCollision_message", { id: collidingId, sep: FLAT_SEP }, 'Process variable "{{id}}" contains "{{sep}}". Inline agents encode references by joining path segments with "{{sep}}", so "{{id}}" would collide with another path at runtime. Rename the variable to remove "{{sep}}".'),
|
|
48225
|
-
severity: "error",
|
|
48226
|
-
nodeId: node.id,
|
|
48227
|
-
layer: "node"
|
|
48228
|
-
});
|
|
48229
|
-
}
|
|
48230
|
-
for (const collidingId of collidingNodeIds) {
|
|
48231
|
-
errors5.push({
|
|
48232
|
-
code: "AGENT_FLAT_NAME_COLLISION",
|
|
48233
|
-
...localized8("agentInputRefs_nodeCollision_message", { id: collidingId, sep: FLAT_SEP }, 'Node "{{id}}" contains "{{sep}}". Inline agents encode references by joining path segments with "{{sep}}", so "$vars.{{id}}.output.field" would collide with another path at runtime. Rename the node to remove "{{sep}}".'),
|
|
48234
|
-
severity: "error",
|
|
48235
|
-
nodeId: node.id,
|
|
48236
|
-
layer: "node"
|
|
48237
|
-
});
|
|
48238
|
-
}
|
|
48239
48482
|
const inputs = node.data?.inputs;
|
|
48240
48483
|
if (!inputs)
|
|
48241
48484
|
continue;
|
|
@@ -48255,23 +48498,75 @@ var agentInputRefsRule = {
|
|
|
48255
48498
|
layer: "node"
|
|
48256
48499
|
});
|
|
48257
48500
|
}
|
|
48501
|
+
const mustacheVarsRefs = /* @__PURE__ */ new Set;
|
|
48502
|
+
for (const ref of extractMatches(systemPrompt, VARS_REF_REGEX))
|
|
48503
|
+
mustacheVarsRefs.add(ref);
|
|
48504
|
+
for (const ref of extractMatches(userPrompt, VARS_REF_REGEX))
|
|
48505
|
+
mustacheVarsRefs.add(ref);
|
|
48506
|
+
const rootCheckRefs = new Set(mustacheVarsRefs);
|
|
48507
|
+
for (const ref of extractMatches(systemPrompt, RAW_VARS_REF_REGEX))
|
|
48508
|
+
rootCheckRefs.add(ref);
|
|
48509
|
+
for (const ref of extractMatches(userPrompt, RAW_VARS_REF_REGEX))
|
|
48510
|
+
rootCheckRefs.add(ref);
|
|
48511
|
+
for (const edge of ctx.edges) {
|
|
48512
|
+
if (edge.source !== node.id)
|
|
48513
|
+
continue;
|
|
48514
|
+
const target = nodeById.get(edge.target);
|
|
48515
|
+
if (!target || !isAgentResourceNode(getNodeType2(target)))
|
|
48516
|
+
continue;
|
|
48517
|
+
for (const s of collectStringsDeep(target.data?.inputs ?? undefined)) {
|
|
48518
|
+
for (const ref of extractMatches(s, RAW_VARS_REF_REGEX))
|
|
48519
|
+
rootCheckRefs.add(ref);
|
|
48520
|
+
}
|
|
48521
|
+
}
|
|
48522
|
+
const stripIndex = (s) => s.replace(/\[\d+\]/g, "");
|
|
48523
|
+
const reportedProblems = /* @__PURE__ */ new Set;
|
|
48524
|
+
const flaggedRoots = /* @__PURE__ */ new Set;
|
|
48525
|
+
for (const ref of rootCheckRefs) {
|
|
48526
|
+
const segments = ref.split(".");
|
|
48527
|
+
const rootSegment = stripIndex(segments[0]);
|
|
48528
|
+
if (rootSegment === "metadata") {
|
|
48529
|
+
flaggedRoots.add(rootSegment);
|
|
48530
|
+
if (reportedProblems.has("metadata"))
|
|
48531
|
+
continue;
|
|
48532
|
+
reportedProblems.add("metadata");
|
|
48533
|
+
errors5.push({
|
|
48534
|
+
code: "AGENT_RESERVED_METADATA_ROOT",
|
|
48535
|
+
...localized8("agentInputRefs_reservedMetadataRoot_message", { ref }, 'Prompt references "$vars.{{ref}}", but a variable or node named "metadata" collides with the "$metadata" namespace once serialized for the agent and cannot round-trip. Rename it to something other than "metadata".'),
|
|
48536
|
+
severity: "error",
|
|
48537
|
+
nodeId: node.id,
|
|
48538
|
+
layer: "node"
|
|
48539
|
+
});
|
|
48540
|
+
continue;
|
|
48541
|
+
}
|
|
48542
|
+
const indexed = /\[\d+\]/.test(ref);
|
|
48543
|
+
const offending = (indexed ? segments : [segments[0]]).map(stripIndex).find((s) => s.includes("__"));
|
|
48544
|
+
if (offending) {
|
|
48545
|
+
flaggedRoots.add(rootSegment);
|
|
48546
|
+
if (reportedProblems.has(offending))
|
|
48547
|
+
continue;
|
|
48548
|
+
reportedProblems.add(offending);
|
|
48549
|
+
errors5.push({
|
|
48550
|
+
code: "AGENT_AMBIGUOUS_UNDERSCORE_ROOT",
|
|
48551
|
+
...localized8("agentInputRefs_ambiguousUnderscoreRoot_message", { ref, rootSegment: offending }, 'Prompt references "$vars.{{ref}}", but the name "{{rootSegment}}" contains "__", which is reserved as the agent-input encoding separator and cannot round-trip. Rename it to remove the double underscore.'),
|
|
48552
|
+
severity: "error",
|
|
48553
|
+
nodeId: node.id,
|
|
48554
|
+
layer: "node"
|
|
48555
|
+
});
|
|
48556
|
+
}
|
|
48557
|
+
}
|
|
48258
48558
|
if (knownRootSegments) {
|
|
48259
|
-
const
|
|
48260
|
-
|
|
48261
|
-
|
|
48262
|
-
|
|
48263
|
-
|
|
48264
|
-
|
|
48265
|
-
|
|
48266
|
-
|
|
48267
|
-
|
|
48268
|
-
|
|
48269
|
-
|
|
48270
|
-
severity: "error",
|
|
48271
|
-
nodeId: node.id,
|
|
48272
|
-
layer: "node"
|
|
48273
|
-
});
|
|
48274
|
-
}
|
|
48559
|
+
for (const ref of mustacheVarsRefs) {
|
|
48560
|
+
const rootSegment = stripIndex(ref.split(".")[0]);
|
|
48561
|
+
if (flaggedRoots.has(rootSegment) || knownRootSegments.has(rootSegment))
|
|
48562
|
+
continue;
|
|
48563
|
+
errors5.push({
|
|
48564
|
+
code: "AGENT_UNRESOLVED_VARS_REF",
|
|
48565
|
+
...localized8("agentInputRefs_unresolvedRef_message", { ref, rootSegment }, 'Prompt references "$vars.{{ref}}" but no workflow variable or node "{{rootSegment}}" exists. Add the variable/node to the flow or remove the reference.'),
|
|
48566
|
+
severity: "error",
|
|
48567
|
+
nodeId: node.id,
|
|
48568
|
+
layer: "node"
|
|
48569
|
+
});
|
|
48275
48570
|
}
|
|
48276
48571
|
}
|
|
48277
48572
|
}
|
|
@@ -48350,6 +48645,7 @@ var HITL_QUICK_FORM_NODE_TYPE = "uipath.human-in-the-loop.quick-form";
|
|
|
48350
48645
|
var HITL_CODED_ACTION_NODE_TYPE = "uipath.human-in-the-loop.coded-action-app";
|
|
48351
48646
|
var HITL_DOC_VALIDATION_NODE_TYPE = "uipath.human-in-the-loop.document-validation";
|
|
48352
48647
|
var DYNAMIC_EXTRACT_NODE_TYPE = "uipath.ixp.extract-document-builder";
|
|
48648
|
+
var FORM_TRIGGER_NODE_TYPE = "core.trigger.form";
|
|
48353
48649
|
var HITL_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
48354
48650
|
HITL_QUICK_FORM_NODE_TYPE,
|
|
48355
48651
|
HITL_CODED_ACTION_NODE_TYPE,
|
|
@@ -48359,6 +48655,9 @@ var HITL_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
|
48359
48655
|
function isHitlNodeType(t13) {
|
|
48360
48656
|
return HITL_NODE_TYPES.has(t13);
|
|
48361
48657
|
}
|
|
48658
|
+
function isHumanActionNodeType(t13) {
|
|
48659
|
+
return HITL_NODE_TYPES.has(t13) || isEscalationNode(t13);
|
|
48660
|
+
}
|
|
48362
48661
|
var HITL_VARS_REF = /\$?vars\.([A-Za-z_$][\w$]*)/g;
|
|
48363
48662
|
function nodeType(node) {
|
|
48364
48663
|
return node.data?.type ?? node.type ?? "";
|
|
@@ -48398,10 +48697,15 @@ function addHitlMapTargets(node, out) {
|
|
|
48398
48697
|
}
|
|
48399
48698
|
function collectWrittenGlobalIds(nodes, workflowVariables) {
|
|
48400
48699
|
const written = /* @__PURE__ */ new Set;
|
|
48401
|
-
|
|
48700
|
+
const unsupportedNodeIds = new Set(nodes.filter((node) => !supportsVariableUpdates(nodeType(node))).map((node) => node.id));
|
|
48701
|
+
for (const [nodeId, updates] of Object.entries(workflowVariables?.variableUpdates ?? {})) {
|
|
48702
|
+
if (unsupportedNodeIds.has(nodeId))
|
|
48703
|
+
continue;
|
|
48402
48704
|
addUpdateTargets(updates, written);
|
|
48705
|
+
}
|
|
48403
48706
|
for (const node of nodes) {
|
|
48404
|
-
|
|
48707
|
+
if (supportsVariableUpdates(nodeType(node)))
|
|
48708
|
+
addUpdateTargets(node.data?.variableUpdates, written);
|
|
48405
48709
|
addEndOutputTargets(node, written);
|
|
48406
48710
|
addHitlMapTargets(node, written);
|
|
48407
48711
|
}
|
|
@@ -48787,11 +49091,11 @@ var hitlQuickFormRule = {
|
|
|
48787
49091
|
const errors5 = [];
|
|
48788
49092
|
for (const node of ctx.nodes) {
|
|
48789
49093
|
const nodeType2 = node.data?.type ?? node.type ?? "";
|
|
48790
|
-
if (nodeType2 !== HITL_QUICK_FORM_NODE_TYPE)
|
|
49094
|
+
if (nodeType2 !== HITL_QUICK_FORM_NODE_TYPE && nodeType2 !== FORM_TRIGGER_NODE_TYPE)
|
|
48791
49095
|
continue;
|
|
48792
49096
|
const inputs = node.data?.inputs;
|
|
48793
49097
|
const schema = inputs?.schema;
|
|
48794
|
-
const fields = schema?.fields
|
|
49098
|
+
const fields = Array.isArray(schema?.fields) ? schema.fields : [];
|
|
48795
49099
|
if (fields.length === 0) {
|
|
48796
49100
|
errors5.push({
|
|
48797
49101
|
code: "HITL_QUICK_FORM_EMPTY_SCHEMA",
|
|
@@ -48804,7 +49108,8 @@ var hitlQuickFormRule = {
|
|
|
48804
49108
|
continue;
|
|
48805
49109
|
}
|
|
48806
49110
|
fields.forEach((field, index) => {
|
|
48807
|
-
|
|
49111
|
+
const label = field && typeof field === "object" && !Array.isArray(field) ? field.label : undefined;
|
|
49112
|
+
if (!readStringField(label).trim()) {
|
|
48808
49113
|
errors5.push({
|
|
48809
49114
|
code: "HITL_QUICK_FORM_FIELD_LABEL_REQUIRED",
|
|
48810
49115
|
...localized9("hitlQuickForm_fieldLabelRequired_message", {}, "Field label is required"),
|
|
@@ -48862,7 +49167,7 @@ var hitlDocValidationRule = {
|
|
|
48862
49167
|
continue;
|
|
48863
49168
|
const inputs = node.data?.inputs;
|
|
48864
49169
|
const renderType = inputs?.["validationRenderType"];
|
|
48865
|
-
const extractionResult = inputs?.["extractionResult"]
|
|
49170
|
+
const extractionResult = readStringField(inputs?.["extractionResult"]).trim();
|
|
48866
49171
|
if (!extractionResult) {
|
|
48867
49172
|
errors5.push({
|
|
48868
49173
|
code: "HITL_DOC_VALIDATION_EXTRACTION_RESULT_REQUIRED",
|
|
@@ -48874,7 +49179,7 @@ var hitlDocValidationRule = {
|
|
|
48874
49179
|
});
|
|
48875
49180
|
}
|
|
48876
49181
|
if (renderType === CUSTOM_RENDER_TYPE) {
|
|
48877
|
-
const taxonomy = inputs?.["taxonomy"]
|
|
49182
|
+
const taxonomy = readStringField(inputs?.["taxonomy"]).trim();
|
|
48878
49183
|
if (!taxonomy) {
|
|
48879
49184
|
errors5.push({
|
|
48880
49185
|
code: "HITL_DOC_VALIDATION_TAXONOMY_REQUIRED",
|
|
@@ -48992,6 +49297,72 @@ var scriptMustacheRule = {
|
|
|
48992
49297
|
return errors5;
|
|
48993
49298
|
}
|
|
48994
49299
|
};
|
|
49300
|
+
var READ_ENTITY = "core.datafabric.read";
|
|
49301
|
+
var RECORD_TARGET_NODES = /* @__PURE__ */ new Set(["core.datafabric.update", "core.datafabric.delete"]);
|
|
49302
|
+
var PROBLEM_CODES = {
|
|
49303
|
+
uncarryable: "ENTITY_QUERY_EXPRESSION_UNCARRYABLE",
|
|
49304
|
+
cleared: "ENTITY_QUERY_FILTER_EXPRESSION_EMPTY",
|
|
49305
|
+
emptyList: "ENTITY_QUERY_FILTER_VALUE_LIST_EMPTY"
|
|
49306
|
+
};
|
|
49307
|
+
var SELF_REFERENCE = /(^|[^\w$])\$self\b/;
|
|
49308
|
+
function isSelfReferential(value) {
|
|
49309
|
+
const body = getJsExpressionBody(value);
|
|
49310
|
+
return body !== undefined && SELF_REFERENCE.test(body);
|
|
49311
|
+
}
|
|
49312
|
+
function isUnqueryable(value) {
|
|
49313
|
+
return isQesUncarryableValue(value) || isSelfReferential(value);
|
|
49314
|
+
}
|
|
49315
|
+
function isFilterExpressionCleared(f) {
|
|
49316
|
+
const body = getJsExpressionBody(f.value);
|
|
49317
|
+
return body !== undefined && body.trim() === "";
|
|
49318
|
+
}
|
|
49319
|
+
var entityQueryExpressionRule = {
|
|
49320
|
+
id: "entity-query-expression",
|
|
49321
|
+
severity: "error",
|
|
49322
|
+
validate(ctx) {
|
|
49323
|
+
const errors5 = [];
|
|
49324
|
+
for (const node of ctx.nodes) {
|
|
49325
|
+
const entityConfig = node.data.inputs?.entityConfig ?? {};
|
|
49326
|
+
let problem;
|
|
49327
|
+
if (node.type === READ_ENTITY) {
|
|
49328
|
+
const filters = Array.isArray(entityConfig._filters) ? entityConfig._filters : [];
|
|
49329
|
+
const multiRecord = resolveReadResultMode(entityConfig) === "multiple";
|
|
49330
|
+
const compiles = (f) => Boolean(f?.field) && (f.operator !== IN_FILTER_OPERATOR || multiRecord);
|
|
49331
|
+
if (filters.some((f) => compiles(f) && isUnqueryable(f.value)))
|
|
49332
|
+
problem = "uncarryable";
|
|
49333
|
+
else if (multiRecord && (isUnqueryable(entityConfig._recordLimit) || isUnqueryable(entityConfig._skip)))
|
|
49334
|
+
problem = "uncarryable";
|
|
49335
|
+
else if (filters.some((f) => compiles(f) && isFilterExpressionCleared(f)))
|
|
49336
|
+
problem = "cleared";
|
|
49337
|
+
else if (filters.some((f) => readEntityFilterValueListIsEmpty(f, multiRecord)))
|
|
49338
|
+
problem = "emptyList";
|
|
49339
|
+
} else if (RECORD_TARGET_NODES.has(node.type)) {
|
|
49340
|
+
if (isRecordTargetedById(entityConfig) && isUnqueryable(entityConfig.recordId))
|
|
49341
|
+
problem = "uncarryable";
|
|
49342
|
+
}
|
|
49343
|
+
if (problem) {
|
|
49344
|
+
errors5.push({
|
|
49345
|
+
code: PROBLEM_CODES[problem],
|
|
49346
|
+
...problem === "cleared" ? localized("entityQuery_emptyFilterExpression_message", {}, "Write an expression for every filter, or remove the filter") : problem === "emptyList" ? localized("entityQuery_emptyFilterValueList_message", {}, "Add at least one value to the filter, or remove the filter") : localized("entityQuery_uncarryableExpression_message", {}, "Store this expression in a variable, or write it without spaces, quotes, or backslashes"),
|
|
49347
|
+
severity: "error",
|
|
49348
|
+
nodeId: node.id,
|
|
49349
|
+
fieldPath: "inputs.entityConfig",
|
|
49350
|
+
layer: "field"
|
|
49351
|
+
});
|
|
49352
|
+
}
|
|
49353
|
+
}
|
|
49354
|
+
return errors5;
|
|
49355
|
+
}
|
|
49356
|
+
};
|
|
49357
|
+
function isRecordTargetedById(entityConfig) {
|
|
49358
|
+
if (entityConfig.recordSource === "byId")
|
|
49359
|
+
return true;
|
|
49360
|
+
if (entityConfig.recordSource === "fromRead" || entityConfig.readEntityNodeId)
|
|
49361
|
+
return false;
|
|
49362
|
+
const recordId = entityConfig.recordId;
|
|
49363
|
+
const text = isExpressionValue(recordId) ? recordId.expression : typeof recordId === "string" ? recordId : "";
|
|
49364
|
+
return text.trim() !== "";
|
|
49365
|
+
}
|
|
48995
49366
|
function getNodeType5(node) {
|
|
48996
49367
|
return node.data?.type ?? node.type ?? "";
|
|
48997
49368
|
}
|
|
@@ -49065,6 +49436,7 @@ var generalRules = [
|
|
|
49065
49436
|
hitlDocValidationRule,
|
|
49066
49437
|
ixpSchemaDraftRule,
|
|
49067
49438
|
scriptMustacheRule,
|
|
49439
|
+
entityQueryExpressionRule,
|
|
49068
49440
|
singleConversationTriggerRule,
|
|
49069
49441
|
doWhileLimitRule
|
|
49070
49442
|
];
|
|
@@ -49072,10 +49444,30 @@ var cliRules = [...generalRules, expressionRefRule];
|
|
|
49072
49444
|
function runRules(rules, ctx) {
|
|
49073
49445
|
const errors5 = [];
|
|
49074
49446
|
for (const rule of rules) {
|
|
49075
|
-
|
|
49447
|
+
try {
|
|
49448
|
+
errors5.push(...rule.validate(ctx));
|
|
49449
|
+
} catch (err) {
|
|
49450
|
+
console.error(`[validation] rule '${rule.id}' threw and was skipped`, err);
|
|
49451
|
+
}
|
|
49076
49452
|
}
|
|
49077
49453
|
return errors5;
|
|
49078
49454
|
}
|
|
49455
|
+
function toSerializedNode(node, extraData) {
|
|
49456
|
+
return {
|
|
49457
|
+
id: node.id,
|
|
49458
|
+
type: node.type,
|
|
49459
|
+
data: {
|
|
49460
|
+
inputs: node.inputs ?? {},
|
|
49461
|
+
outputs: node.outputs ?? {},
|
|
49462
|
+
...node.typeVersion !== undefined && { typeVersion: node.typeVersion },
|
|
49463
|
+
...node.display != null && { display: node.display, label: node.display.label },
|
|
49464
|
+
...extraData
|
|
49465
|
+
}
|
|
49466
|
+
};
|
|
49467
|
+
}
|
|
49468
|
+
function toSerializedNodes(nodes, extraData) {
|
|
49469
|
+
return nodes.map((node) => toSerializedNode(node, extraData?.(node)));
|
|
49470
|
+
}
|
|
49079
49471
|
|
|
49080
49472
|
// ../../node_modules/@uipath/flow-schema/dist/index.js
|
|
49081
49473
|
var import_object = __toESM(require_index_cjs(), 1);
|
|
@@ -49116,18 +49508,29 @@ var EMPTY_VARIABLES = Object.freeze({ globals: [], nodes: [], variableUpdates: {
|
|
|
49116
49508
|
var workflowConnectionSchema = exports_external.object({
|
|
49117
49509
|
type: exports_external.enum(["cloud", "local"]),
|
|
49118
49510
|
environment: exports_external.enum(["cloud", "staging", "alpha"]).optional(),
|
|
49511
|
+
baseUrl: exports_external.string().optional(),
|
|
49119
49512
|
organizationId: exports_external.string().optional(),
|
|
49120
49513
|
tenantId: exports_external.string().optional(),
|
|
49121
49514
|
tenantName: exports_external.string().optional(),
|
|
49122
49515
|
localUrl: exports_external.string().url().optional()
|
|
49123
49516
|
});
|
|
49124
|
-
var nodeLayoutSchema = exports_external.
|
|
49517
|
+
var nodeLayoutSchema = exports_external.looseObject({
|
|
49125
49518
|
position: exports_external.object({ x: exports_external.number(), y: exports_external.number() }),
|
|
49126
49519
|
size: exports_external.object({ width: exports_external.number(), height: exports_external.number() }).optional(),
|
|
49127
49520
|
collapsed: exports_external.boolean().optional()
|
|
49128
|
-
})
|
|
49521
|
+
});
|
|
49522
|
+
var waypointSchema = exports_external.object({
|
|
49523
|
+
id: exports_external.string(),
|
|
49524
|
+
x: exports_external.number(),
|
|
49525
|
+
y: exports_external.number()
|
|
49526
|
+
});
|
|
49527
|
+
var edgeLayoutSchema = exports_external.looseObject({
|
|
49528
|
+
waypoints: exports_external.array(waypointSchema).optional(),
|
|
49529
|
+
routedWaypoints: exports_external.array(waypointSchema).optional()
|
|
49530
|
+
});
|
|
49129
49531
|
var layoutSchema = exports_external.object({
|
|
49130
|
-
nodes: exports_external.record(exports_external.string(), nodeLayoutSchema)
|
|
49532
|
+
nodes: exports_external.record(exports_external.string(), nodeLayoutSchema),
|
|
49533
|
+
edges: exports_external.record(exports_external.string(), edgeLayoutSchema).optional()
|
|
49131
49534
|
});
|
|
49132
49535
|
var bindingSchema = exports_external.object({
|
|
49133
49536
|
id: exports_external.string(),
|
|
@@ -49234,6 +49637,12 @@ var handleGroupOverrideSchema = exports_external.object({
|
|
|
49234
49637
|
handles: exports_external.array(handleManifestSchema),
|
|
49235
49638
|
visible: exports_external.boolean().optional()
|
|
49236
49639
|
});
|
|
49640
|
+
var nodeShapeSchema = exports_external["enum"]([
|
|
49641
|
+
"circle",
|
|
49642
|
+
"square",
|
|
49643
|
+
"rectangle",
|
|
49644
|
+
"container"
|
|
49645
|
+
]);
|
|
49237
49646
|
var toolbarActionSchema = exports_external.object({
|
|
49238
49647
|
id: exports_external.string(),
|
|
49239
49648
|
icon: exports_external.string(),
|
|
@@ -49243,6 +49652,7 @@ var toolbarActionSchema = exports_external.object({
|
|
|
49243
49652
|
requiresPermissions: exports_external.array(exports_external.string()).optional(),
|
|
49244
49653
|
hideOnExecution: exports_external.boolean().optional(),
|
|
49245
49654
|
nodeTypes: exports_external.array(exports_external.string()).optional(),
|
|
49655
|
+
shapes: exports_external.array(nodeShapeSchema).optional(),
|
|
49246
49656
|
handles: exports_external.array(exports_external.object({
|
|
49247
49657
|
handleType: exports_external["enum"]([
|
|
49248
49658
|
"output",
|
|
@@ -49261,12 +49671,6 @@ var modeToolbarConfigSchema = exports_external.object({
|
|
|
49261
49671
|
overflowActions: exports_external.array(toolbarActionSchema).optional()
|
|
49262
49672
|
});
|
|
49263
49673
|
var toolbarConfigurationSchema = exports_external.record(exports_external.string(), modeToolbarConfigSchema);
|
|
49264
|
-
var nodeShapeSchema = exports_external["enum"]([
|
|
49265
|
-
"circle",
|
|
49266
|
-
"square",
|
|
49267
|
-
"rectangle",
|
|
49268
|
-
"container"
|
|
49269
|
-
]);
|
|
49270
49674
|
var nodeDebugManifestSchema = exports_external.object({
|
|
49271
49675
|
runtime: exports_external.string().min(1)
|
|
49272
49676
|
});
|
|
@@ -49335,12 +49739,23 @@ var displayConfigSchema = exports_external.object({
|
|
|
49335
49739
|
footerVariant: exports_external.string().optional(),
|
|
49336
49740
|
shadow: exports_external.boolean().optional()
|
|
49337
49741
|
}).catchall(exports_external.unknown());
|
|
49742
|
+
var waypointSchema2 = exports_external.object({
|
|
49743
|
+
id: exports_external.string().min(1),
|
|
49744
|
+
x: exports_external.number(),
|
|
49745
|
+
y: exports_external.number()
|
|
49746
|
+
});
|
|
49747
|
+
var edgeUiSchema = exports_external.object({
|
|
49748
|
+
waypoints: exports_external.array(waypointSchema2).optional(),
|
|
49749
|
+
routedWaypoints: exports_external.array(waypointSchema2).optional(),
|
|
49750
|
+
autoRouted: exports_external.boolean().optional()
|
|
49751
|
+
}).catchall(exports_external.unknown());
|
|
49338
49752
|
var edgeSchema = exports_external.object({
|
|
49339
49753
|
id: idSchema,
|
|
49340
49754
|
sourceNodeId: idSchema,
|
|
49341
49755
|
sourcePort: exports_external.string().min(1),
|
|
49342
49756
|
targetNodeId: idSchema,
|
|
49343
49757
|
targetPort: exports_external.string().min(1),
|
|
49758
|
+
ui: edgeUiSchema.nullish().transform((value) => value ?? undefined).optional(),
|
|
49344
49759
|
data: exports_external.object({
|
|
49345
49760
|
label: exports_external.string().optional()
|
|
49346
49761
|
}).passthrough().optional()
|
|
@@ -49370,13 +49785,17 @@ var nodeSchema = exports_external.object({
|
|
|
49370
49785
|
model: exports_external.unknown().optional(),
|
|
49371
49786
|
parentId: idSchema.optional()
|
|
49372
49787
|
});
|
|
49788
|
+
var edgeSchema2 = edgeSchema.extend({
|
|
49789
|
+
ui: edgeLayoutSchema.optional()
|
|
49790
|
+
});
|
|
49373
49791
|
var nodeSchema2 = nodeSchema.extend({
|
|
49374
49792
|
typeVersion: exports_external.string().regex(/^\d+\.\d+(\.\d+)?$/, 'Version must be in format "x.y" or "x.y.z"')
|
|
49375
49793
|
});
|
|
49376
49794
|
var nodeManifestSchema2 = exports_external.lazy(() => nodeManifestSchema.extend({
|
|
49377
49795
|
projectId: exports_external.string().optional(),
|
|
49378
49796
|
entryPointPath: exports_external.string().optional(),
|
|
49379
|
-
unsupportedRuntime: exports_external.boolean().optional()
|
|
49797
|
+
unsupportedRuntime: exports_external.boolean().optional(),
|
|
49798
|
+
takeoverTabs: exports_external.array(exports_external.string()).optional()
|
|
49380
49799
|
}));
|
|
49381
49800
|
var categoryManifestSchema2 = exports_external.lazy(() => categoryManifestSchema.extend({
|
|
49382
49801
|
displayIfEmpty: exports_external.boolean().optional()
|
|
@@ -49384,7 +49803,7 @@ var categoryManifestSchema2 = exports_external.lazy(() => categoryManifestSchema
|
|
|
49384
49803
|
var versionSchema2 = exports_external.string().regex(/^\d+\.\d+(\.\d+)?$/, 'Version must be in format "x.y" or "x.y.z"');
|
|
49385
49804
|
var subflowEntrySchema = exports_external.object({
|
|
49386
49805
|
nodes: exports_external.array(nodeSchema2),
|
|
49387
|
-
edges: exports_external.array(
|
|
49806
|
+
edges: exports_external.array(edgeSchema2),
|
|
49388
49807
|
variables: workflowVariablesSchema.optional()
|
|
49389
49808
|
});
|
|
49390
49809
|
var workflowSchema = exports_external.object({
|
|
@@ -49394,7 +49813,7 @@ var workflowSchema = exports_external.object({
|
|
|
49394
49813
|
description: exports_external.string().optional(),
|
|
49395
49814
|
runtime: workflowRuntimeSchema.optional(),
|
|
49396
49815
|
nodes: exports_external.array(nodeSchema2),
|
|
49397
|
-
edges: exports_external.array(
|
|
49816
|
+
edges: exports_external.array(edgeSchema2),
|
|
49398
49817
|
definitions: exports_external.array(nodeManifestSchema2),
|
|
49399
49818
|
bindings: exports_external.array(bindingSchema).optional(),
|
|
49400
49819
|
variables: workflowVariablesSchema.optional(),
|
|
@@ -49406,7 +49825,7 @@ var fileFormatNodeSchema = exports_external.lazy(() => nodeSchema2.extend({
|
|
|
49406
49825
|
}));
|
|
49407
49826
|
var subflowFileSchema = exports_external.object({
|
|
49408
49827
|
nodes: exports_external.array(fileFormatNodeSchema),
|
|
49409
|
-
edges: exports_external.array(
|
|
49828
|
+
edges: exports_external.array(edgeSchema2),
|
|
49410
49829
|
variables: workflowVariablesSchema.optional(),
|
|
49411
49830
|
layout: layoutSchema.optional()
|
|
49412
49831
|
});
|
|
@@ -49417,7 +49836,7 @@ var workflowSchemaV1_0_0 = exports_external.object({
|
|
|
49417
49836
|
description: exports_external.string().optional(),
|
|
49418
49837
|
runtime: workflowRuntimeSchema.optional(),
|
|
49419
49838
|
nodes: exports_external.array(fileFormatNodeSchema),
|
|
49420
|
-
edges: exports_external.array(
|
|
49839
|
+
edges: exports_external.array(edgeSchema2),
|
|
49421
49840
|
definitions: exports_external.array(nodeManifestSchema2),
|
|
49422
49841
|
bindings: exports_external.array(bindingSchema).optional(),
|
|
49423
49842
|
variables: workflowVariablesSchema.optional(),
|
|
@@ -49430,7 +49849,7 @@ var fileFormatNodeSchema2 = exports_external.lazy(() => nodeSchema2.extend({
|
|
|
49430
49849
|
}));
|
|
49431
49850
|
var subflowFileSchema2 = exports_external.object({
|
|
49432
49851
|
nodes: exports_external.array(fileFormatNodeSchema2),
|
|
49433
|
-
edges: exports_external.array(
|
|
49852
|
+
edges: exports_external.array(edgeSchema2),
|
|
49434
49853
|
variables: workflowVariablesSchema.optional(),
|
|
49435
49854
|
layout: layoutSchema.optional()
|
|
49436
49855
|
});
|
|
@@ -49441,7 +49860,7 @@ var workflowSchemaV1_0 = exports_external.object({
|
|
|
49441
49860
|
description: exports_external.string().optional(),
|
|
49442
49861
|
runtime: workflowRuntimeSchema.optional(),
|
|
49443
49862
|
nodes: exports_external.array(fileFormatNodeSchema2),
|
|
49444
|
-
edges: exports_external.array(
|
|
49863
|
+
edges: exports_external.array(edgeSchema2),
|
|
49445
49864
|
definitions: exports_external.array(nodeManifestSchema2),
|
|
49446
49865
|
bindings: exports_external.array(bindingSchema).optional(),
|
|
49447
49866
|
variables: workflowVariablesSchema.optional(),
|
|
@@ -49469,7 +49888,7 @@ var v1_3WorkflowVariablesSchema = exports_external.object({
|
|
|
49469
49888
|
});
|
|
49470
49889
|
var subflowFileSchema3 = exports_external.object({
|
|
49471
49890
|
nodes: exports_external.array(fileFormatNodeSchema3),
|
|
49472
|
-
edges: exports_external.array(
|
|
49891
|
+
edges: exports_external.array(edgeSchema2),
|
|
49473
49892
|
variables: v1_3WorkflowVariablesSchema.optional(),
|
|
49474
49893
|
layout: layoutSchema.optional()
|
|
49475
49894
|
});
|
|
@@ -49480,7 +49899,7 @@ var workflowSchemaV1_3 = exports_external.object({
|
|
|
49480
49899
|
description: exports_external.string().optional(),
|
|
49481
49900
|
runtime: workflowRuntimeSchema.optional(),
|
|
49482
49901
|
nodes: exports_external.array(fileFormatNodeSchema3),
|
|
49483
|
-
edges: exports_external.array(
|
|
49902
|
+
edges: exports_external.array(edgeSchema2),
|
|
49484
49903
|
definitions: exports_external.array(nodeManifestSchema2),
|
|
49485
49904
|
bindings: exports_external.array(bindingSchema).optional(),
|
|
49486
49905
|
variables: v1_3WorkflowVariablesSchema.optional(),
|
|
@@ -49502,7 +49921,7 @@ var v1_4WorkflowVariablesSchema = exports_external.object({
|
|
|
49502
49921
|
});
|
|
49503
49922
|
var subflowFileSchema4 = exports_external.object({
|
|
49504
49923
|
nodes: exports_external.array(fileFormatNodeSchema4),
|
|
49505
|
-
edges: exports_external.array(
|
|
49924
|
+
edges: exports_external.array(edgeSchema2),
|
|
49506
49925
|
variables: v1_4WorkflowVariablesSchema.optional(),
|
|
49507
49926
|
layout: layoutSchema.optional()
|
|
49508
49927
|
});
|
|
@@ -49513,7 +49932,7 @@ var workflowSchemaV1_4 = exports_external.object({
|
|
|
49513
49932
|
description: exports_external.string().optional(),
|
|
49514
49933
|
runtime: workflowRuntimeSchema.optional(),
|
|
49515
49934
|
nodes: exports_external.array(fileFormatNodeSchema4),
|
|
49516
|
-
edges: exports_external.array(
|
|
49935
|
+
edges: exports_external.array(edgeSchema2),
|
|
49517
49936
|
definitions: exports_external.array(nodeManifestSchema2),
|
|
49518
49937
|
bindings: exports_external.array(bindingSchema).optional(),
|
|
49519
49938
|
variables: v1_4WorkflowVariablesSchema.optional(),
|
|
@@ -49548,7 +49967,7 @@ var fileFormatNodeSchema5 = exports_external.lazy(() => nodeSchema2.extend({
|
|
|
49548
49967
|
}));
|
|
49549
49968
|
var subflowFileSchema5 = exports_external.object({
|
|
49550
49969
|
nodes: exports_external.array(fileFormatNodeSchema5),
|
|
49551
|
-
edges: exports_external.array(
|
|
49970
|
+
edges: exports_external.array(edgeSchema2),
|
|
49552
49971
|
variables: workflowVariablesSchema.optional(),
|
|
49553
49972
|
layout: layoutSchema.optional()
|
|
49554
49973
|
});
|
|
@@ -50356,6 +50775,7 @@ function fileFormatToInMemoryWorkflow(file3) {
|
|
|
50356
50775
|
...rest,
|
|
50357
50776
|
runtime: file3.runtime ?? DEFAULT_WORKFLOW_RUNTIME,
|
|
50358
50777
|
nodes: file3.nodes ? mergeLayout(file3.nodes, file3.layout?.nodes) : [],
|
|
50778
|
+
...file3.edges && { edges: mergeEdgeLayout(file3.edges, file3.layout?.edges) },
|
|
50359
50779
|
subflows: file3.subflows ? mapValues(file3.subflows, subflowFileToMemory) : undefined
|
|
50360
50780
|
};
|
|
50361
50781
|
}
|
|
@@ -50374,11 +50794,13 @@ function inMemoryWorkflowToFileFormat(workflow) {
|
|
|
50374
50794
|
}
|
|
50375
50795
|
const { subflows: _, ...rest } = workflow;
|
|
50376
50796
|
const { layout: nodeLayout, nodes } = extractLayout(workflow.nodes);
|
|
50797
|
+
const { layout: edgeLayout, edges } = extractEdgeLayout(workflow.edges);
|
|
50377
50798
|
return {
|
|
50378
50799
|
...rest,
|
|
50379
50800
|
version: rest.version,
|
|
50380
50801
|
nodes,
|
|
50381
|
-
|
|
50802
|
+
...workflow.edges && { edges },
|
|
50803
|
+
layout: { nodes: nodeLayout, ...edgeLayout && { edges: edgeLayout } },
|
|
50382
50804
|
subflows: workflow.subflows ? mapValues(workflow.subflows, subflowMemoryToFile) : undefined
|
|
50383
50805
|
};
|
|
50384
50806
|
}
|
|
@@ -50390,6 +50812,30 @@ function mergeLayout(nodes, layoutNodes) {
|
|
|
50390
50812
|
return { ...node, ui };
|
|
50391
50813
|
});
|
|
50392
50814
|
}
|
|
50815
|
+
function mergeEdgeLayout(edges, layoutEdges) {
|
|
50816
|
+
if (!layoutEdges)
|
|
50817
|
+
return edges;
|
|
50818
|
+
return edges.map((edge) => {
|
|
50819
|
+
const layoutEntry = edge.id ? layoutEdges[edge.id] : undefined;
|
|
50820
|
+
return layoutEntry ? { ...edge, ui: { ...edge.ui, ...layoutEntry } } : edge;
|
|
50821
|
+
});
|
|
50822
|
+
}
|
|
50823
|
+
function extractEdgeLayout(edges) {
|
|
50824
|
+
if (!edges)
|
|
50825
|
+
return { layout: undefined, edges: [] };
|
|
50826
|
+
const hasLayout = (edge) => Boolean(edge.id && edge.ui && Object.keys(edge.ui).length > 0);
|
|
50827
|
+
if (!edges.some(hasLayout))
|
|
50828
|
+
return { layout: undefined, edges };
|
|
50829
|
+
const layout = {};
|
|
50830
|
+
const strippedEdges = edges.map((edge) => {
|
|
50831
|
+
if (hasLayout(edge)) {
|
|
50832
|
+
layout[edge.id] = edge.ui;
|
|
50833
|
+
}
|
|
50834
|
+
const { ui: _, ...rest } = edge;
|
|
50835
|
+
return rest;
|
|
50836
|
+
});
|
|
50837
|
+
return { layout, edges: strippedEdges };
|
|
50838
|
+
}
|
|
50393
50839
|
function extractLayout(nodes) {
|
|
50394
50840
|
const layout = {};
|
|
50395
50841
|
const strippedNodes = nodes.map((node) => {
|
|
@@ -50405,15 +50851,18 @@ function subflowFileToMemory(subflow) {
|
|
|
50405
50851
|
const { layout: _, ...rest } = subflow;
|
|
50406
50852
|
return {
|
|
50407
50853
|
...rest,
|
|
50408
|
-
nodes: mergeLayout(subflow.nodes, subflow.layout?.nodes)
|
|
50854
|
+
nodes: mergeLayout(subflow.nodes, subflow.layout?.nodes),
|
|
50855
|
+
...subflow.edges && { edges: mergeEdgeLayout(subflow.edges, subflow.layout?.edges) }
|
|
50409
50856
|
};
|
|
50410
50857
|
}
|
|
50411
50858
|
function subflowMemoryToFile(subflow) {
|
|
50412
50859
|
const { layout: nodeLayout, nodes } = extractLayout(subflow.nodes);
|
|
50860
|
+
const { layout: edgeLayout, edges } = extractEdgeLayout(subflow.edges);
|
|
50413
50861
|
return {
|
|
50414
50862
|
...subflow,
|
|
50415
50863
|
nodes,
|
|
50416
|
-
|
|
50864
|
+
...subflow.edges && { edges },
|
|
50865
|
+
layout: { nodes: nodeLayout, ...edgeLayout && { edges: edgeLayout } }
|
|
50417
50866
|
};
|
|
50418
50867
|
}
|
|
50419
50868
|
function mapValues(record3, fn) {
|
|
@@ -50529,6 +50978,15 @@ ${formatted}`,
|
|
|
50529
50978
|
};
|
|
50530
50979
|
}
|
|
50531
50980
|
}
|
|
50981
|
+
var workflowScopes = (workflow) => [
|
|
50982
|
+
{ nodes: workflow.nodes ?? [], edges: workflow.edges ?? [], variables: workflow.variables },
|
|
50983
|
+
...Object.values(workflow.subflows ?? {}).map((entry) => ({
|
|
50984
|
+
nodes: entry.nodes ?? [],
|
|
50985
|
+
edges: entry.edges ?? [],
|
|
50986
|
+
variables: entry.variables
|
|
50987
|
+
}))
|
|
50988
|
+
];
|
|
50989
|
+
var collectWorkflowNodesDeep = (workflow) => workflowScopes(workflow).flatMap((scope) => scope.nodes);
|
|
50532
50990
|
function compareVersions(a, b) {
|
|
50533
50991
|
const pa = a.split(".");
|
|
50534
50992
|
const pb = b.split(".");
|
|
@@ -50752,6 +51210,9 @@ function getCronExpressionFromTimeCycleValue(timeCycleValue) {
|
|
|
50752
51210
|
var BINDINGS_PATH_PREFIX = "=bindings.";
|
|
50753
51211
|
var BINDINGS_PLACEHOLDER_PATH_PREFIX = "bindings.";
|
|
50754
51212
|
var PROPERTY_RESOURCE = "Property";
|
|
51213
|
+
var FORM_TRIGGER_RESOURCE = "FormTrigger";
|
|
51214
|
+
var ENTRY_POINT_UNIQUE_ID = "EntryPointUniqueId";
|
|
51215
|
+
var GUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
50755
51216
|
var EntryPointType = {
|
|
50756
51217
|
ProcessOrchestration: "processorchestration",
|
|
50757
51218
|
Agent: "agent"
|
|
@@ -50821,6 +51282,74 @@ var mapTypeToJsonSchema = (type) => {
|
|
|
50821
51282
|
var isValidDefaultValueForVariable = (value) => {
|
|
50822
51283
|
return value !== undefined && value !== "";
|
|
50823
51284
|
};
|
|
51285
|
+
var JOB_ATTACHMENT_DEFINITION_KEY = "job-attachment";
|
|
51286
|
+
var JOB_ATTACHMENT_REF = `#/definitions/${JOB_ATTACHMENT_DEFINITION_KEY}`;
|
|
51287
|
+
var isJobAttachmentRef = (node) => {
|
|
51288
|
+
const ref = node?.$ref;
|
|
51289
|
+
return typeof ref === "string" && ref.endsWith(`/${JOB_ATTACHMENT_DEFINITION_KEY}`);
|
|
51290
|
+
};
|
|
51291
|
+
var convertFileTypesToRefs = (schema) => {
|
|
51292
|
+
if (!schema || typeof schema !== "object" || Array.isArray(schema))
|
|
51293
|
+
return { schema, hasFile: false };
|
|
51294
|
+
const node = schema;
|
|
51295
|
+
if (node.type === "file") {
|
|
51296
|
+
const { type: _type, ...rest } = node;
|
|
51297
|
+
return { schema: { ...rest, $ref: JOB_ATTACHMENT_REF }, hasFile: true };
|
|
51298
|
+
}
|
|
51299
|
+
let hasFile = false;
|
|
51300
|
+
const out = { ...node };
|
|
51301
|
+
for (const key of ["items", "additionalProperties"]) {
|
|
51302
|
+
const child = node[key];
|
|
51303
|
+
if (child && typeof child === "object" && !Array.isArray(child)) {
|
|
51304
|
+
const converted = convertFileTypesToRefs(child);
|
|
51305
|
+
out[key] = converted.schema;
|
|
51306
|
+
if (converted.hasFile)
|
|
51307
|
+
hasFile = true;
|
|
51308
|
+
}
|
|
51309
|
+
}
|
|
51310
|
+
if (node.properties && typeof node.properties === "object" && !Array.isArray(node.properties)) {
|
|
51311
|
+
const props = {};
|
|
51312
|
+
for (const [propKey, propSchema] of Object.entries(node.properties)) {
|
|
51313
|
+
const converted = convertFileTypesToRefs(propSchema);
|
|
51314
|
+
props[propKey] = converted.schema;
|
|
51315
|
+
if (converted.hasFile)
|
|
51316
|
+
hasFile = true;
|
|
51317
|
+
}
|
|
51318
|
+
out.properties = props;
|
|
51319
|
+
}
|
|
51320
|
+
return { schema: out, hasFile };
|
|
51321
|
+
};
|
|
51322
|
+
var convertJobAttachmentRefsToFileTypes = (schema) => {
|
|
51323
|
+
if (!schema || typeof schema !== "object" || Array.isArray(schema))
|
|
51324
|
+
return schema;
|
|
51325
|
+
const node = schema;
|
|
51326
|
+
if (isJobAttachmentRef(node)) {
|
|
51327
|
+
const { $ref: _ref, ...rest } = node;
|
|
51328
|
+
return { ...rest, type: "file" };
|
|
51329
|
+
}
|
|
51330
|
+
const out = { ...node };
|
|
51331
|
+
for (const key of ["items", "additionalProperties"]) {
|
|
51332
|
+
const child = node[key];
|
|
51333
|
+
if (child && typeof child === "object" && !Array.isArray(child))
|
|
51334
|
+
out[key] = convertJobAttachmentRefsToFileTypes(child);
|
|
51335
|
+
}
|
|
51336
|
+
if (node.properties && typeof node.properties === "object" && !Array.isArray(node.properties)) {
|
|
51337
|
+
const props = {};
|
|
51338
|
+
for (const [propKey, propSchema] of Object.entries(node.properties)) {
|
|
51339
|
+
props[propKey] = convertJobAttachmentRefsToFileTypes(propSchema);
|
|
51340
|
+
}
|
|
51341
|
+
out.properties = props;
|
|
51342
|
+
}
|
|
51343
|
+
return out;
|
|
51344
|
+
};
|
|
51345
|
+
var variableHasFileType = (variable) => {
|
|
51346
|
+
if (variable.type === "file")
|
|
51347
|
+
return true;
|
|
51348
|
+
if ((variable.type === "array" || variable.type === "object") && variable.schema) {
|
|
51349
|
+
return convertFileTypesToRefs(variable.schema).hasFile;
|
|
51350
|
+
}
|
|
51351
|
+
return false;
|
|
51352
|
+
};
|
|
50824
51353
|
var variableToJsonSchema = (variable) => {
|
|
50825
51354
|
if (variable.type === "jsonSchema") {
|
|
50826
51355
|
const body = variable.body ?? variable.schema;
|
|
@@ -50832,7 +51361,7 @@ var variableToJsonSchema = (variable) => {
|
|
|
50832
51361
|
return { type: "object" };
|
|
50833
51362
|
}
|
|
50834
51363
|
if (variable.type === "file") {
|
|
50835
|
-
return { $ref:
|
|
51364
|
+
return { $ref: JOB_ATTACHMENT_REF };
|
|
50836
51365
|
}
|
|
50837
51366
|
const defaults = {
|
|
50838
51367
|
...isValidDefaultValueForVariable(variable.defaultValue) ? { default: variable.defaultValue } : {},
|
|
@@ -50840,7 +51369,7 @@ var variableToJsonSchema = (variable) => {
|
|
|
50840
51369
|
};
|
|
50841
51370
|
if ((variable.type === "array" || variable.type === "object") && variable.schema) {
|
|
50842
51371
|
const { $schema: _$schema, ...rest } = variable.schema;
|
|
50843
|
-
return { ...rest, title: variable.id, ...defaults };
|
|
51372
|
+
return convertFileTypesToRefs({ ...rest, title: variable.id, ...defaults }).schema;
|
|
50844
51373
|
}
|
|
50845
51374
|
const { type, format } = mapTypeToJsonSchema(variable.type);
|
|
50846
51375
|
return {
|
|
@@ -50862,12 +51391,20 @@ var getBindingResourceValue = (binding, manifestModel, allBindings = []) => {
|
|
|
50862
51391
|
if (resourceType === "Entity") {
|
|
50863
51392
|
const nameBinding = allBindings.find((b) => b.resourceKey === binding.resourceKey && (b.propertyAttribute === "name" || b.name === "name"));
|
|
50864
51393
|
const nameValue = nameBinding?.default ?? binding.default;
|
|
51394
|
+
const folderKeyBinding = allBindings.find((b) => b.resourceKey === binding.resourceKey && bindingFieldMatches(b, "folderKey"));
|
|
51395
|
+
const folderKeyValue = folderKeyBinding?.default;
|
|
50865
51396
|
return {
|
|
50866
51397
|
name: {
|
|
50867
51398
|
...nameValue ? { defaultValue: nameValue } : {},
|
|
50868
51399
|
isExpression: false,
|
|
50869
51400
|
displayName: RESOURCE_CONFIG.Entity.displayName
|
|
50870
|
-
}
|
|
51401
|
+
},
|
|
51402
|
+
...folderKeyValue ? {
|
|
51403
|
+
folderKey: {
|
|
51404
|
+
defaultValue: folderKeyValue,
|
|
51405
|
+
isExpression: false
|
|
51406
|
+
}
|
|
51407
|
+
} : {}
|
|
50871
51408
|
};
|
|
50872
51409
|
}
|
|
50873
51410
|
if (RESOURCE_CONFIG[resourceType]) {
|
|
@@ -50930,7 +51467,7 @@ var getConnectionMetadata = (manifestModel, node) => {
|
|
|
50930
51467
|
Connector: connector
|
|
50931
51468
|
};
|
|
50932
51469
|
};
|
|
50933
|
-
var getBindingResources = (nodes, bindings, definitions = [], subflows) => {
|
|
51470
|
+
var getBindingResources = (nodes, bindings, definitions = [], subflows, options = {}) => {
|
|
50934
51471
|
const bindingResources = [];
|
|
50935
51472
|
for (const binding of bindings) {
|
|
50936
51473
|
const node = nodes.find((n) => modelMatchesBinding(getManifestModel(n, definitions), binding) || inputsMatchBinding(n, binding) || entityConfigMatchesBinding(n, binding));
|
|
@@ -51027,8 +51564,38 @@ var getBindingResources = (nodes, bindings, definitions = [], subflows) => {
|
|
|
51027
51564
|
}
|
|
51028
51565
|
});
|
|
51029
51566
|
}
|
|
51567
|
+
if (options.includeFormTriggers) {
|
|
51568
|
+
bindingResources.push(...buildFormTriggerResources(nodes));
|
|
51569
|
+
}
|
|
51030
51570
|
return bindingResources;
|
|
51031
51571
|
};
|
|
51572
|
+
function buildFormTriggerResources(nodes) {
|
|
51573
|
+
const resources = [];
|
|
51574
|
+
for (const node of nodes) {
|
|
51575
|
+
if (node.type !== FORM_TRIGGER_NODE_TYPE)
|
|
51576
|
+
continue;
|
|
51577
|
+
const entryPointId = node.inputs?.entryPointId;
|
|
51578
|
+
if (typeof entryPointId !== "string" || !GUID_PATTERN.test(entryPointId))
|
|
51579
|
+
continue;
|
|
51580
|
+
const form = normalizeFormTriggerSchema(node.inputs?.schema);
|
|
51581
|
+
if (!form)
|
|
51582
|
+
continue;
|
|
51583
|
+
resources.push({
|
|
51584
|
+
resource: FORM_TRIGGER_RESOURCE,
|
|
51585
|
+
key: entryPointId,
|
|
51586
|
+
id: `${FORM_TRIGGER_RESOURCE}_${entryPointId}`,
|
|
51587
|
+
value: {
|
|
51588
|
+
[ENTRY_POINT_UNIQUE_ID]: { defaultValue: entryPointId, isExpression: false }
|
|
51589
|
+
},
|
|
51590
|
+
metadata: {
|
|
51591
|
+
ActivityName: "Form Trigger",
|
|
51592
|
+
BindingsVersion: "2.2",
|
|
51593
|
+
FormDefinition: form
|
|
51594
|
+
}
|
|
51595
|
+
});
|
|
51596
|
+
}
|
|
51597
|
+
return resources;
|
|
51598
|
+
}
|
|
51032
51599
|
function findConnectionBindingForTrigger(triggerNode, bindings, manifestModel) {
|
|
51033
51600
|
const connectionBindings = bindings.filter((b) => b.resource === "connection");
|
|
51034
51601
|
const dapDetail = triggerNode.inputs?.detail;
|
|
@@ -51223,36 +51790,32 @@ var getEffectiveTriggerInputs = (startNode, definitions, globals) => {
|
|
|
51223
51790
|
}
|
|
51224
51791
|
return (globals ?? []).filter((g) => g.direction === "in" && g.triggerNodeId === startNode.id);
|
|
51225
51792
|
};
|
|
51226
|
-
var
|
|
51227
|
-
const inputVars = getEffectiveTriggerInputs(startNode, definitions, variables.globals);
|
|
51228
|
-
let hasFileType = false;
|
|
51793
|
+
var buildSchemaProperties = (variables) => {
|
|
51229
51794
|
const properties = {};
|
|
51230
|
-
|
|
51231
|
-
|
|
51795
|
+
let hasFileType = false;
|
|
51796
|
+
for (const variable of variables) {
|
|
51797
|
+
if (variableHasFileType(variable))
|
|
51232
51798
|
hasFileType = true;
|
|
51233
|
-
}
|
|
51234
51799
|
properties[variable.id] = variableToJsonSchema(variable);
|
|
51235
51800
|
}
|
|
51801
|
+
return { properties, ...hasFileType ? { definitions: JOB_ATTACHMENTS_DEFINITION } : {} };
|
|
51802
|
+
};
|
|
51803
|
+
var buildInputSchema = (variables, startNode, definitions) => {
|
|
51804
|
+
const inputVars = getEffectiveTriggerInputs(startNode, definitions, variables.globals);
|
|
51805
|
+
const { properties, definitions: fileDefinitions } = buildSchemaProperties(inputVars);
|
|
51236
51806
|
return {
|
|
51237
51807
|
type: "object",
|
|
51238
51808
|
properties,
|
|
51239
|
-
...
|
|
51809
|
+
...fileDefinitions && { definitions: fileDefinitions }
|
|
51240
51810
|
};
|
|
51241
51811
|
};
|
|
51242
51812
|
var buildOutputSchema = (variables) => {
|
|
51243
51813
|
const outputVars = (variables.globals || []).filter((v) => v.direction === "out");
|
|
51244
|
-
|
|
51245
|
-
const properties = {};
|
|
51246
|
-
for (const variable of outputVars) {
|
|
51247
|
-
if (variable.type === "file") {
|
|
51248
|
-
hasFileType = true;
|
|
51249
|
-
}
|
|
51250
|
-
properties[variable.id] = variableToJsonSchema(variable);
|
|
51251
|
-
}
|
|
51814
|
+
const { properties, definitions } = buildSchemaProperties(outputVars);
|
|
51252
51815
|
return {
|
|
51253
51816
|
type: "object",
|
|
51254
51817
|
properties,
|
|
51255
|
-
...
|
|
51818
|
+
...definitions && { definitions }
|
|
51256
51819
|
};
|
|
51257
51820
|
};
|
|
51258
51821
|
var getEntryPoints = (bpmnFileName, nodes, variables, definitions, projectType = ProjectType.ProcessOrchestration) => {
|
|
@@ -51328,28 +51891,38 @@ var deduplicateBindings = (bindings) => {
|
|
|
51328
51891
|
return Array.from(seen.values());
|
|
51329
51892
|
};
|
|
51330
51893
|
var mergeBindingResources = (resources) => {
|
|
51331
|
-
const seen = /* @__PURE__ */ new
|
|
51894
|
+
const seen = /* @__PURE__ */ new Map;
|
|
51332
51895
|
const result = [];
|
|
51333
51896
|
for (const r of resources) {
|
|
51334
51897
|
if (!r.key && !r.id) {
|
|
51335
51898
|
console.warn("[packaging] binding resource has neither key nor id; may collapse with a sibling", { resource: r.resource });
|
|
51336
51899
|
}
|
|
51337
51900
|
const k = `${(r.resource ?? "").toLowerCase()}\x00${r.key ?? r.id ?? ""}`;
|
|
51338
|
-
|
|
51901
|
+
const existing = seen.get(k);
|
|
51902
|
+
if (existing) {
|
|
51903
|
+
assertNoFormTriggerConflict(existing, r);
|
|
51339
51904
|
continue;
|
|
51340
|
-
|
|
51905
|
+
}
|
|
51906
|
+
seen.set(k, r);
|
|
51341
51907
|
result.push(r);
|
|
51342
51908
|
}
|
|
51343
51909
|
return result;
|
|
51344
51910
|
};
|
|
51911
|
+
function assertNoFormTriggerConflict(existing, incoming) {
|
|
51912
|
+
if (incoming.resource !== FORM_TRIGGER_RESOURCE)
|
|
51913
|
+
return;
|
|
51914
|
+
if (JSON.stringify(existing) === JSON.stringify(incoming))
|
|
51915
|
+
return;
|
|
51916
|
+
throw new Error(`Two Form Triggers share entry-point id ${incoming.key}. Each Form Trigger needs its own id; this usually means a .flow file was copied.`);
|
|
51917
|
+
}
|
|
51345
51918
|
var sanitizeFileName = (name) => {
|
|
51346
51919
|
return name.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
51347
51920
|
};
|
|
51348
51921
|
async function generateWorkflowPackaging(options) {
|
|
51349
|
-
const { fileName, nodes, bindings, definitions, subflows, toBpmn } = options;
|
|
51922
|
+
const { fileName, nodes, bindings, definitions, subflows, includeFormTriggers = false, toBpmn } = options;
|
|
51350
51923
|
const bpmnFileName = fileName.replace(/\.flow$/, ".bpmn");
|
|
51351
51924
|
const bpmnXml = await toBpmn();
|
|
51352
|
-
const bindingResources = getBindingResources(nodes, bindings, definitions, subflows);
|
|
51925
|
+
const bindingResources = getBindingResources(nodes, bindings, definitions, subflows, { includeFormTriggers });
|
|
51353
51926
|
return { bpmnXml, bpmnFileName, bindingResources };
|
|
51354
51927
|
}
|
|
51355
51928
|
var BINDINGS_REF_PREFIX = "=bindings.";
|
|
@@ -51400,15 +51973,9 @@ function applyConnectionOverwritesToWorkflow(workflow, overwrites) {
|
|
|
51400
51973
|
return false;
|
|
51401
51974
|
const byKey = indexOverwrites(overwrites);
|
|
51402
51975
|
let changed = patchBindings(workflow.bindings, byKey);
|
|
51403
|
-
changed = patchNodes(workflow
|
|
51404
|
-
for (const subflow of Object.values(workflow.subflows ?? {})) {
|
|
51405
|
-
changed = patchNodes(subflow.nodes, byKey) || changed;
|
|
51406
|
-
}
|
|
51976
|
+
changed = patchNodes(collectWorkflowNodesDeep(workflow), byKey) || changed;
|
|
51407
51977
|
return changed;
|
|
51408
51978
|
}
|
|
51409
|
-
function allNodes(workflow) {
|
|
51410
|
-
return [...workflow.nodes ?? [], ...Object.values(workflow.subflows ?? {}).flatMap((s) => s.nodes ?? [])];
|
|
51411
|
-
}
|
|
51412
51979
|
function candidateConnectionBindingIds(workflow, candidateKeys) {
|
|
51413
51980
|
const keyByBindingId = /* @__PURE__ */ new Map;
|
|
51414
51981
|
for (const b of workflow.bindings ?? []) {
|
|
@@ -51433,7 +52000,7 @@ function collectNodeConnectionKeys(detail, candidateKeys, keyByBindingId, refere
|
|
|
51433
52000
|
function referencedConnectionKeys(workflow, candidateKeys) {
|
|
51434
52001
|
const keyByBindingId = candidateConnectionBindingIds(workflow, candidateKeys);
|
|
51435
52002
|
const referenced = /* @__PURE__ */ new Set;
|
|
51436
|
-
for (const node of
|
|
52003
|
+
for (const node of collectWorkflowNodesDeep(workflow)) {
|
|
51437
52004
|
const detail = node.inputs?.detail;
|
|
51438
52005
|
if (detail)
|
|
51439
52006
|
collectNodeConnectionKeys(detail, candidateKeys, keyByBindingId, referenced);
|
|
@@ -51591,8 +52158,7 @@ var BINDING_REFERENCE_PREFIX = "=bindings.";
|
|
|
51591
52158
|
function resolveContextBindingPlaceholders(context, bindings, nodeResourceKey, nodeBindingResource) {
|
|
51592
52159
|
if (!bindings.length)
|
|
51593
52160
|
return context;
|
|
51594
|
-
|
|
51595
|
-
if (!candidates.length)
|
|
52161
|
+
if (nodeBindingResource && !bindings.some((b) => b.resource === nodeBindingResource))
|
|
51596
52162
|
return context;
|
|
51597
52163
|
return context.map((entry) => {
|
|
51598
52164
|
if (typeof entry.value !== "string")
|
|
@@ -51600,9 +52166,7 @@ function resolveContextBindingPlaceholders(context, bindings, nodeResourceKey, n
|
|
|
51600
52166
|
const match = entry.value.match(CONTEXT_BINDING_RE);
|
|
51601
52167
|
if (!match)
|
|
51602
52168
|
return entry;
|
|
51603
|
-
const
|
|
51604
|
-
const hasScope = typeof nodeResourceKey === "string" && nodeResourceKey.length > 0;
|
|
51605
|
-
const binding = hasScope ? candidates.find((b) => b.name === name && b.resourceKey === nodeResourceKey) : candidates.find((b) => b.name === name);
|
|
52169
|
+
const [binding] = matchContextBindings(match[1], bindings, nodeResourceKey, nodeBindingResource);
|
|
51606
52170
|
if (!binding) {
|
|
51607
52171
|
console.warn(`[flow-schema] Unresolved context binding placeholder "${entry.value}" (node resourceKey=${nodeResourceKey ?? "n/a"}, resource=${nodeBindingResource ?? "n/a"})`);
|
|
51608
52172
|
return entry;
|
|
@@ -51610,6 +52174,11 @@ function resolveContextBindingPlaceholders(context, bindings, nodeResourceKey, n
|
|
|
51610
52174
|
return { ...entry, value: `${BINDING_REFERENCE_PREFIX}${binding.id}` };
|
|
51611
52175
|
});
|
|
51612
52176
|
}
|
|
52177
|
+
function matchContextBindings(name, bindings, nodeResourceKey, nodeBindingResource) {
|
|
52178
|
+
const candidates = nodeBindingResource ? bindings.filter((b) => b.resource === nodeBindingResource) : bindings;
|
|
52179
|
+
const hasScope = typeof nodeResourceKey === "string" && nodeResourceKey.length > 0;
|
|
52180
|
+
return hasScope ? candidates.filter((b) => b.name === name && b.resourceKey === nodeResourceKey) : candidates.filter((b) => b.name === name);
|
|
52181
|
+
}
|
|
51613
52182
|
var CONVERSATIONAL_AGENT_SETTINGS = {
|
|
51614
52183
|
model: "anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
51615
52184
|
maxTokens: 8192,
|
|
@@ -51642,11 +52211,18 @@ if (!defaultVoiceModel) {
|
|
|
51642
52211
|
var DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY = defaultVoiceModel;
|
|
51643
52212
|
var getVoiceModel = (name) => VOICE_MODELS.find((m) => m.name === name) ?? DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY;
|
|
51644
52213
|
var getPersonasForModel = (modelName) => getVoiceModel(modelName).personas;
|
|
52214
|
+
var VOICE_TURN_DETECTION_SENSITIVITIES = ["low", "high"];
|
|
52215
|
+
var VOICE_TURN_DETECTION_LIMITS = {
|
|
52216
|
+
silenceDurationMs: { min: 0, max: 5000 },
|
|
52217
|
+
prefixPaddingMs: { min: 0, max: 5000 }
|
|
52218
|
+
};
|
|
52219
|
+
var DEFAULT_VOICE_AGENT_SPEAKS_FIRST = true;
|
|
51645
52220
|
var DEFAULT_CONVERSATIONAL_VOICE_SETTINGS = {
|
|
51646
52221
|
model: DEFAULT_CONVERSATIONAL_VOICE_MODEL,
|
|
51647
52222
|
maxTokens: DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY.maxTokens,
|
|
51648
52223
|
temperature: 0,
|
|
51649
|
-
persona: DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY.personas[0]
|
|
52224
|
+
persona: DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY.personas[0],
|
|
52225
|
+
agentSpeaksFirst: DEFAULT_VOICE_AGENT_SPEAKS_FIRST
|
|
51650
52226
|
};
|
|
51651
52227
|
var JobAttachmentSchema = {
|
|
51652
52228
|
type: "object",
|
|
@@ -51995,31 +52571,6 @@ function navigateToParent(doc3, pointer) {
|
|
|
51995
52571
|
return { parent: null, key: "" };
|
|
51996
52572
|
}
|
|
51997
52573
|
}
|
|
51998
|
-
function deepEqual(a, b) {
|
|
51999
|
-
if (a === b)
|
|
52000
|
-
return true;
|
|
52001
|
-
if (a === null || b === null)
|
|
52002
|
-
return a === b;
|
|
52003
|
-
if (a === undefined || b === undefined)
|
|
52004
|
-
return a === b;
|
|
52005
|
-
if (typeof a !== typeof b)
|
|
52006
|
-
return false;
|
|
52007
|
-
if (Array.isArray(a)) {
|
|
52008
|
-
if (!Array.isArray(b) || a.length !== b.length)
|
|
52009
|
-
return false;
|
|
52010
|
-
return a.every((val, i) => deepEqual(val, b[i]));
|
|
52011
|
-
}
|
|
52012
|
-
if (typeof a === "object") {
|
|
52013
|
-
const objA = a;
|
|
52014
|
-
const objB = b;
|
|
52015
|
-
const keysA = Object.keys(objA);
|
|
52016
|
-
const keysB = Object.keys(objB);
|
|
52017
|
-
if (keysA.length !== keysB.length)
|
|
52018
|
-
return false;
|
|
52019
|
-
return keysA.every((key) => (key in objB) && deepEqual(objA[key], objB[key]));
|
|
52020
|
-
}
|
|
52021
|
-
return false;
|
|
52022
|
-
}
|
|
52023
52574
|
function createRefResolver(readFile) {
|
|
52024
52575
|
return async (refPath, baseUri) => {
|
|
52025
52576
|
const resolvedPath = resolveRelativePath(baseUri, refPath);
|
|
@@ -52157,6 +52708,6 @@ async function executeWritePlan(plan, callbacks) {
|
|
|
52157
52708
|
inlinedRefs: plan.inlinedRefs
|
|
52158
52709
|
};
|
|
52159
52710
|
}
|
|
52160
|
-
export { SUPPORTED_LOCALES, DEFAULT_LOCALE, normalizeLocale, resolveSupportedLocale, createI18nRegistrar, VALIDATION_NAMESPACE, registerFlowSchemaI18n, exports_external, instance, currentStorageSchema, currentAgentStorageSchema, isBlockingSeverity, shouldBlockAction, agentEnforcementsSchema, JS_EXPRESSION_PREFIX, expressionFieldTypeSchema, expressionModeSchema, expressionValueSchema, expressionLikeSchema, isExpressionValue, isEmptyExpressionValue, encodeLiteral, decodeLiteral, coerceToExpressionValue, getJsExpressionBody, expectedTypeToFieldType, coerceInputsViaSchema, isExpression, decodeLiteralForValidation, decodeLiteralsForValidation, isJsonSchema, normalizeInputDefinition, resolveNestedFieldSchema, getFieldValidator, getNodeValidator, schemaErrorsToValidationErrors, clearValidatorCache, getManifestForNode, getNodeLabel, resolveTemplate, isTriggerNodeType, isEndNodeType, LOOP_NODE_TYPE, DOWHILE_NODE_TYPE, isLoopNodeType, isCollectionLoopNodeType, isDoWhileNodeType, DOWHILE_MAX_LIMIT, DOWHILE_MIN_LIMIT, parseDoWhileLimit, resolveDoWhileLimit, DECISION_NODE_TYPE, SWITCH_NODE_TYPE, SYNTHETIC_GATEWAY_OUTPUT_KEYS, isGatewayNodeType, SUBFLOW_NODE_TYPE, isSubflowNodeType, AUTONOMOUS_AGENT_NODE_TYPE, CONVERSATIONAL_AGENT_NODE_TYPE, VOICE_AGENT_NODE_TYPE, CONVERSATIONAL_AGENT_ICON, AGENT_NODE_TYPES, isConversationalOrVoiceAgentNodeType, isVoiceAgentNodeType, isAutonomousAgentNodeType, isAgentNodeType, isAgentToolNodeType, AGENT_RESOURCE_PREFIX, isAgentResourceNodeType, CONVERSATIONAL_VOICE_END_CALL_NODE_TYPE, isCallContextEmpty, schemaValidationRule, minConnectionsRule, triggerRequiredRule, dataTransformRule, outputMappingRule, ESCALATION_QUICK_FORM_NODE_TYPE, ESCALATION_TASK_TYPE, ESCALATION_TYPE_CODE, resolveEscalationTaskType, AGENT_RESOURCE_SOURCE_HANDLES, isToolNode, isContextNode, isEscalationNode, isQuickFormEscalationNode, isMcpNode, isA2aNode, isMemoryNode, isAgentResourceNode, DEFAULT_STORAGE_VERSION, getDefaultAgentContent, RecipientType, BYO_VALIDATOR_TYPE, temperatureExceededMessage, maxTokensExceededMessage, maxIterationsExceededMessage, modelNotAvailableMessage, governanceRule, getHitlFieldChannelKey, isHitlInputDirectionField, isHitlOutputDirectionField, findDuplicateHitlChannelKeys, isAutoDerivedFieldBinding, stripAutoDerivedFieldBindings, conditionExpressionRule,
|
|
52711
|
+
export { SUPPORTED_LOCALES, DEFAULT_LOCALE, normalizeLocale, resolveSupportedLocale, createI18nRegistrar, VALIDATION_NAMESPACE, registerFlowSchemaI18n, RESERVED_WORDS, VALID_IDENTIFIER_PATTERN, FLAT_SEP, generateRandomId, generateNextId, isPlainObject, deepEqual, exports_external, require_ajv, require_dist, instance, migrations, currentStorageSchemaMigration, currentStorageSchema, currentAgentStorageSchema, currentResourceStorageSchema, currentFeatureStorageSchema, currentFlowLayoutStorageSchema, applyMigrations, getLatestVersion, jsep, isBlockingSeverity, shouldBlockAction, agentEnforcementsSchema, JS_EXPRESSION_PREFIX, expressionFieldTypeSchema, expressionModeSchema, expressionValueSchema, expressionLikeSchema, isExpressionValue, isEmptyExpressionValue, encodeLiteral, decodeLiteral, coerceToExpressionValue, getJsExpressionBody, expectedTypeToFieldType, coerceInputsViaSchema, ESCAPED_MUSTACHE_PLACEHOLDER, hasMustache, parseMustacheSegments, templateInterpolationBody, QES_UNSAFE_CHAR, isQesUncarryableValue, isExpression, decodeLiteralForValidation, decodeLiteralsForValidation, isJsonSchema, normalizeInputDefinition, resolveNestedFieldSchema, getFieldValidator, getNodeValidator, schemaErrorsToValidationErrors, clearValidatorCache, getManifestForNode, getNodeLabel, resolveTemplate, isTriggerNodeType, isEndNodeType, LOOP_NODE_TYPE, DOWHILE_NODE_TYPE, isLoopNodeType, isCollectionLoopNodeType, isDoWhileNodeType, DOWHILE_MAX_LIMIT, DOWHILE_MIN_LIMIT, parseDoWhileLimit, resolveDoWhileLimit, DECISION_NODE_TYPE, SWITCH_NODE_TYPE, MERGE_NODE_TYPE, MOCK_NODE_TYPE, SYNTHETIC_GATEWAY_OUTPUT_KEYS, isGatewayNodeType, supportsVariableUpdates, SUBFLOW_NODE_TYPE, isSubflowNodeType, AUTONOMOUS_AGENT_NODE_TYPE, CONVERSATIONAL_AGENT_NODE_TYPE, VOICE_AGENT_NODE_TYPE, CONVERSATIONAL_AGENT_ICON, AGENT_NODE_TYPES, isConversationalOrVoiceAgentNodeType, isVoiceAgentNodeType, isAutonomousAgentNodeType, isAgentNodeType, isPublishedAgentNodeType, isAgentToolNodeType, AGENT_RESOURCE_PREFIX, isAgentResourceNodeType, CONVERSATIONAL_VOICE_END_CALL_NODE_TYPE, CONVERSATION_TRIGGER_NODE_TYPE, isConversationalRuntimeNodeType, isCallContextEmpty, schemaValidationRule, minConnectionsRule, triggerRequiredRule, dataTransformRule, outputMappingRule, ESCALATION_QUICK_FORM_NODE_TYPE, ESCALATION_TASK_TYPE, ESCALATION_TYPE_CODE, resolveEscalationTaskType, AGENT_RESOURCE_SOURCE_HANDLES, isToolNode, isContextNode, isEscalationNode, isQuickFormEscalationNode, isMcpNode, isA2aNode, isMemoryNode, isAgentResourceNode, DEFAULT_STORAGE_VERSION, getDefaultAgentContent, RecipientType, BYO_VALIDATOR_TYPE, temperatureExceededMessage, maxTokensExceededMessage, maxIterationsExceededMessage, modelNotAvailableMessage, governanceRule, DEFAULT_TRIGGER_OUTCOME, withDefaultTriggerOutcome, normalizeFormTriggerSchema, getHitlFieldChannelKey, isHitlInputDirectionField, isHitlOutputDirectionField, findDuplicateHitlChannelKeys, isAutoDerivedFieldBinding, stripAutoDerivedFieldBindings, conditionExpressionRule, agentDuplicateToolNamesRule, HITL_NODE_TYPE, HITL_QUICK_FORM_NODE_TYPE, HITL_CODED_ACTION_NODE_TYPE, HITL_DOC_VALIDATION_NODE_TYPE, DYNAMIC_EXTRACT_NODE_TYPE, FORM_TRIGGER_NODE_TYPE, HITL_NODE_TYPES, isHitlNodeType, isHumanActionNodeType, collectWrittenGlobalIds, agentEmptyVarRule, IXP_SCHEMA_EDITOR_DRAFT_EXTENSION, IXP_SCHEMA_EDITOR_ISSUES_EXTENSION, IXP_SCHEMA_INVALID_ERROR_CODE, readIxpSchemaEditorDraft, stripIxpSchemaEditorDraft, attachIxpSchemaEditorDraft, ixpSchemaDraftRule, generalRules, cliRules, runRules, toSerializedNode, toSerializedNodes, require_index_cjs, workflowRuntimeSchema, DEFAULT_WORKFLOW_RUNTIME, argumentBindingSchema, workflowVariableSchema, variableUpdateSchema, nodeVariableSchema, workflowVariablesSchema, EMPTY_VARIABLES, workflowConnectionSchema, nodeLayoutSchema, waypointSchema, edgeLayoutSchema, layoutSchema, bindingSchema, nodeManifestSchema, idSchema, edgeSchema2, nodeSchema2, nodeManifestSchema2, categoryManifestSchema2, versionSchema2, subflowEntrySchema, workflowSchema, workflowSchemaV1_0_0, workflowSchemaV1_0, workflowSchemaV1_1, workflowSchemaV1_2, workflowSchemaV1_3, workflowSchemaV1_4, workflowSchemaV1_5, workflowSchemaV1_6, workflowSchemaV1_7, workflowSchemaV1_8, workflowSchemaV1_9, workflowSchemaV1_10, WORKFLOW_VERSIONS, CURRENT_WORKFLOW_VERSION, MINIMUM_SUPPORTED_SCHEMA_VERSION, workflowFileSchema, subflowFileSchema5, workflowManifestSchema, manifestResponseSchema, handleTargetSchema2, addNodePanelSearchScopeSchema, addNodePanelCreateActionSchema, addNodePanelConfigSchema, connectionConstraintSchema2, constraintWithAddNodePanel, evaluateExpression, evaluateTemplate, evaluateCondition, matchesTypePattern, checkCategoryConstraint, validateConnection, canAcceptMoreConnections, meetsMinimumConnections, resolveRefs, containsRef, applyJsonPointer, parsePointerTokens, toJsonPointer, fileFormatToInMemoryWorkflow, resolveAndConvertWorkflow, inMemoryWorkflowToFileFormat, parseWorkflowJson, workflowScopes, collectWorkflowNodesDeep, compareVersions, CONNECTOR_NODE_PREFIX, CONNECTOR_TRIGGER_PREFIX, CONNECTOR_EVENT_PREFIX, TRIGGER_NODE_PREFIX, TRIGGER_TYPE_PREFIXES, buildConnectorNodeType, parseConnectorNodeType, WEEKDAYS, isQuartzCron, isValidQuartzCron, getTimeCycleFromCronExpression, getCronExpressionFromTimeCycleValue, BINDINGS_PATH_PREFIX, BINDINGS_PLACEHOLDER_PATH_PREFIX, EntryPointType, ProjectType, AGENT_TARGET_RUNTIME, JOB_ATTACHMENT_DEFINITION_KEY, JOB_ATTACHMENT_REF, isJobAttachmentRef, convertFileTypesToRefs, convertJobAttachmentRefsToFileTypes, variableToJsonSchema, getBindingResourceValue, getBindingResources, isStartEventNode, getEffectiveTriggerInputs, buildSchemaProperties, buildInputSchema, buildOutputSchema, getEntryPoints, getStartEventNodes, generateOperateJson, generatePackageDescriptor, generateBindingsJson, generateEntryPointsJson, deduplicateBindings, mergeBindingResources, sanitizeFileName, generateWorkflowPackaging, applyConnectionOverwritesToWorkflow, applyConnectionRemovalsToWorkflow, createBindingPackage, findDefaultEntryPointNodeId, getAllEntryPoints, serializeFrequencyToCron, parseCronToFrequency, resolveContextBindingPlaceholders, matchContextBindings, CONVERSATIONAL_AGENT_SETTINGS, CONVERSATIONAL_OUTPUTS_MIN_VERSION, DEFAULT_CONVERSATIONAL_VOICE_MODEL, VOICE_MODELS, getVoiceModel, getPersonasForModel, VOICE_TURN_DETECTION_SENSITIVITIES, VOICE_TURN_DETECTION_LIMITS, DEFAULT_VOICE_AGENT_SPEAKS_FIRST, DEFAULT_CONVERSATIONAL_VOICE_SETTINGS, JobAttachmentSchema, ANALYZE_FILES_SCHEMA, SUMMARIZE_SCHEMA, BATCH_TRANSFORM_SCHEMA, HTTP_REQUEST_SCHEMA, BUILT_IN_TOOL_SCHEMAS, getToolFields, getBuiltInToolSchema, createInputSchemaFromAppSchema, createOutputSchemaFromAppSchema, createDotNetTypeMapping, createOutcomeMappingFromSchema, getOutcomeNames, unresolveRefs, createRefResolver, planWriteThrough, executeWritePlan };
|
|
52161
52712
|
|
|
52162
|
-
//# debugId=
|
|
52713
|
+
//# debugId=B9B6CA9FC715027364756E2164756E21
|