@uipath/flow-tool 1.204.0-preview.254 → 1.205.0-preview.256
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/README.md +9 -9
- package/dist/THIRD-PARTY-NOTICES.md +36 -12
- package/dist/{authoring-bppe07p0.js → authoring-e1k40hyw.js} +6 -5
- package/dist/{binding-service-9t9gqe9c.js → binding-service-yw91615m.js} +38 -30
- package/dist/{connector-service-xm05bmhz.js → connector-service-ttm75a4n.js} +224 -47
- package/dist/de-UZI7FJDO-awjpqfz0.js +200 -0
- package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
- package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
- package/dist/debug-conversation-trigger-xsm3ycqx.js +30 -0
- package/dist/{debug-http-client-p4kf38yt.js → debug-http-client-yqjzsnhw.js} +5 -4
- package/dist/{debug-service-893erynq.js → debug-service-nra3n02y.js} +6 -5
- package/dist/{edge-service-rms6p69f.js → edge-service-8fv0m681.js} +16 -12
- package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
- package/dist/en-EJCBA3LK-0wb3b1xy.js +146 -0
- package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
- package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
- package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
- package/dist/es-4UBUTCQA-t7hsackg.js +200 -0
- package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
- package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
- package/dist/es-MX-5RELIXKI-jtjbcxbb.js +200 -0
- package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
- package/dist/filter-engine-7ep90g7f.js +11 -0
- package/dist/{flow-api-kjvpsxhw.js → flow-api-sat010z1.js} +16 -10
- package/dist/{flow-debug-service-3wtns3k7.js → flow-debug-service-cgawm96k.js} +96 -58
- package/dist/{flow-eval-node-target-ee6vbq8a.js → flow-eval-node-target-dah1gmmh.js} +17 -17
- package/dist/flow-eval-run-api-xdygjzfv.js +13 -0
- package/dist/{flow-eval-run-service-0ne6bjff.js → flow-eval-run-service-03j1szf6.js} +73 -80
- package/dist/{flow-eval-service-kbbq3wwq.js → flow-eval-service-9j46ta9k.js} +167 -415
- package/dist/{flow-init-sdk-source-z9qx1zkt.js → flow-init-sdk-source-xvdvkq7d.js} +6 -5
- package/dist/{flow-init-service-cefvmek0.js → flow-init-service-0a4y3a46.js} +19 -15
- package/dist/{flow-io-ykx6eb1v.js → flow-io-1wabd32s.js} +15 -11
- package/dist/{flow-migrate-service-c4hcjfc8.js → flow-migrate-service-mkqpbwtv.js} +16 -12
- package/dist/{flow-pack-service-6wqe1mj3.js → flow-pack-service-7dj2hhyz.js} +47 -38
- package/dist/flow-validate-service-1ktjayjv.js +70 -0
- package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
- package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
- package/dist/fr-VBM5WRC2-707ha692.js +200 -0
- package/dist/{governance-fetcher-fgwewrfq.js → governance-fetcher-76hxssjm.js} +7 -6
- package/dist/{hitl-service-0tct4x3e.js → hitl-service-vcbhd4cb.js} +15 -11
- package/dist/{index-aaq9rwfv.js → index-1b2je9n2.js} +1088 -233
- package/dist/index-d090f35d.js +66 -0
- package/dist/{index-yj4xk2aw.js → index-dgdnbb2g.js} +7 -5
- package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
- package/dist/{index-tzky1ynd.js → index-hz008fep.js} +6 -5
- package/dist/{index-vrhcbxnk.js → index-nsn889vf.js} +6 -5
- package/dist/{index-2s8rmmw6.js → index-sqhbn7ew.js} +4 -4
- package/dist/{index-tnz5ks4t.js → index-wycgq0ff.js} +65 -2230
- package/dist/index.js +17 -14
- package/dist/init.js +19 -15
- package/dist/inline-entity-resolver-64pqwk86.js +45 -0
- package/dist/input-reader-n7kzdrev.js +12 -0
- package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
- package/dist/ja-43QL7CGO-h6qfxfay.js +200 -0
- package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
- package/dist/{known-types-q6fcyq2e.js → known-types-3025scz1.js} +5 -5
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +200 -0
- package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
- package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
- package/dist/{maestro-automate-entry-qak46eg0.js → maestro-automate-entry-6f9act3w.js} +2 -2
- package/dist/{node-ey7dteda.js → node-hz6cvp9d.js} +29 -15
- package/dist/{node-service-z8s4nm09.js → node-service-7wz8gx7h.js} +41 -30
- package/dist/{node-strategy-fdnkvq4a.js → node-strategy-1dmmhvf3.js} +1 -1
- package/dist/node-sync-service-yvyf7chw.js +61 -0
- package/dist/packager-tool-10vc8pq4.js +2 -0
- package/dist/{packager-tool-wq9k7pq8.js → packager-tool-2h15x2kb.js} +6 -6
- package/dist/{packager-tool-c4909mw9.js → packager-tool-2z0r1f32.js} +668 -57
- package/dist/packager-tool-4kr6g0zw.js +16 -0
- package/dist/packager-tool-4x7tzvv0.js +1176 -0
- package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
- package/dist/packager-tool-7hw344bt.js +107 -0
- package/dist/{packager-tool-fjcbc1bb.js → packager-tool-7wnxyvf9.js} +519 -437
- package/dist/{packager-tool-m8xtf5ej.js → packager-tool-8g5931fz.js} +7 -4
- package/dist/{packager-tool-h9tzz0qd.js → packager-tool-961vsbsc.js} +15 -10
- package/dist/packager-tool-9era57c0.js +28 -0
- package/dist/packager-tool-9gprvfcy.js +23 -0
- package/dist/packager-tool-9jxzgsxc.js +14 -0
- package/dist/{packager-tool-zxp4hya4.js → packager-tool-a5afh1dc.js} +34 -13
- package/dist/{packager-tool-02f63a08.js → packager-tool-apawc11t.js} +88 -762
- package/dist/{packager-tool-tf3d2y8z.js → packager-tool-aw9v0raw.js} +2 -2
- package/dist/packager-tool-cqtsj6yh.js +2 -0
- package/dist/{packager-tool-5nqhxb9e.js → packager-tool-dwd6cc01.js} +16110 -13031
- package/dist/{packager-tool-t605qewm.js → packager-tool-dxgrhfq5.js} +2 -2
- package/dist/{packager-tool-awkq26v0.js → packager-tool-e7kvq8hf.js} +5 -3
- package/dist/{packager-tool-m6abv2vy.js → packager-tool-fjqpf1y6.js} +6 -24
- package/dist/{packager-tool-3dc9gz35.js → packager-tool-frjt46rb.js} +1 -1
- package/dist/{packager-tool-y8egb0fa.js → packager-tool-gqq3vkgh.js} +2573 -535
- package/dist/{packager-tool-w5a1hhyj.js → packager-tool-hxyjn885.js} +13 -2
- package/dist/packager-tool-j3228zs9.js +35 -0
- package/dist/{packager-tool-hhy1gr2k.js → packager-tool-jgfzfqjm.js} +1 -1
- package/dist/{packager-tool-n4m8yrm2.js → packager-tool-kb520rm5.js} +172 -71
- package/dist/{packager-tool-4fhedj18.js → packager-tool-kmv2p8z4.js} +20 -8
- package/dist/{packager-tool-6h69pd2a.js → packager-tool-kn86394c.js} +127 -61
- package/dist/packager-tool-mgcz986r.js +143 -0
- package/dist/{packager-tool-3h2ktz6q.js → packager-tool-myhbp761.js} +11 -1
- package/dist/{packager-tool-2xycknte.js → packager-tool-ns9xn7zq.js} +13 -13
- package/dist/{packager-tool-vbfz8k7w.js → packager-tool-p8gab24q.js} +52 -32
- package/dist/{packager-tool-stq8800d.js → packager-tool-pacrqxv2.js} +17 -4
- package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
- package/dist/packager-tool-phw8ydjx.js +331 -0
- package/dist/{packager-tool-c7nmvv5g.js → packager-tool-q8akejne.js} +6 -4
- package/dist/packager-tool-qcqb9hf8.js +26 -0
- package/dist/{packager-tool-n89vrpex.js → packager-tool-skcjythd.js} +10907 -25608
- package/dist/{packager-tool-vnwq9t1v.js → packager-tool-sphnextf.js} +5 -6
- package/dist/{packager-tool-1ca047de.js → packager-tool-sqpesv2e.js} +12 -56
- package/dist/packager-tool-t7ahhaer.js +877 -0
- package/dist/{packager-tool-0d375dbz.js → packager-tool-thnkpqwc.js} +1802 -378
- package/dist/{packager-tool-peawy22c.js → packager-tool-tqjfdpda.js} +53 -8
- package/dist/{packager-tool-qsa2nf80.js → packager-tool-vd3rn4fj.js} +463 -327
- package/dist/{packager-tool-5tjzg56t.js → packager-tool-wh660fny.js} +1 -1
- package/dist/{packager-tool-tyg399d6.js → packager-tool-wze74wyk.js} +74 -47
- package/dist/{packager-tool-arbswyqr.js → packager-tool-x20684x5.js} +1 -1
- package/dist/packager-tool-xj0agqpk.js +11 -0
- package/dist/packager-tool-xk78j7dz.js +1256 -0
- package/dist/{packager-tool-py93409h.js → packager-tool-ymma2s85.js} +2 -2
- package/dist/packager-tool-z0yxfhdj.js +40 -0
- package/dist/packager-tool.js +13 -10
- package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
- package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +200 -0
- package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
- package/dist/pt-RMIAKZB4-t80exmp7.js +200 -0
- package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
- package/dist/ro-GHOBYW2S-4zevc9dy.js +200 -0
- package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
- package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +10 -0
- package/dist/services/connector-request-buckets.d.ts +1 -0
- package/dist/services/flow-eval-file-store.d.ts +1 -11
- package/dist/services/flow-eval-utils.d.ts +1 -32
- package/dist/services/flow-validate-service.d.ts +51 -0
- package/dist/services/inline-entity-resolver.d.ts +22 -0
- package/dist/services/node-service.d.ts +21 -1
- package/dist/services/packaging-utils.d.ts +15 -2
- package/dist/{shared-utils-pnbvyyb2.js → shared-utils-tqnx96mg.js} +4 -3
- package/dist/solution-auth-8qz5pw7z.js +14 -0
- package/dist/solution-discovery-vqravtkh.js +44 -0
- package/dist/{tidy-service-chs0s9pw.js → tidy-service-tqjea6g2.js} +143 -39
- package/dist/tool.js +17 -14
- package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
- package/dist/tr-GDTLECMM-kngksm3r.js +200 -0
- package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
- package/dist/utils/flow-io.d.ts +2 -1
- package/dist/validation.js +39 -33
- package/dist/{variable-service-6ky17hts.js → variable-service-kqnqxmx2.js} +16 -12
- package/dist/{wait-for-flow-job-d8m6mqb4.js → wait-for-flow-job-b0vj8828.js} +15 -12
- package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
- package/dist/zh-CN-I5D7WHBD-ge92tbx9.js +200 -0
- package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
- package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +200 -0
- package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
- package/package.json +2 -2
- package/dist/debug-conversation-trigger-mqzrtt1v.js +0 -44
- package/dist/flow-eval-run-api-byx3cacw.js +0 -13
- package/dist/flow-validate-service-5pbh3s4p.js +0 -64
- package/dist/input-reader-vhar4g0k.js +0 -11
- package/dist/node-sync-service-ak1wgysc.js +0 -40
- package/dist/packager-tool-2m06764j.js +0 -454
- package/dist/packager-tool-6c3szt0w.js +0 -265
- package/dist/packager-tool-8ak76pc3.js +0 -15
- package/dist/packager-tool-pz5nqg0s.js +0 -64
- package/dist/packager-tool-t3ysatjd.js +0 -521
- package/dist/packager-tool-vd6jt4n8.js +0 -208
- package/dist/services/flow-debug-service.d.ts +0 -320
- package/dist/services/flow-eval-schema/deterministic-evaluators.d.ts +0 -110
- package/dist/services/flow-eval-schema/evaluator-fields.d.ts +0 -66
- package/dist/services/flow-eval-schema/helpers.d.ts +0 -9
- package/dist/services/flow-eval-schema/index.d.ts +0 -4
- package/dist/services/flow-eval-schema/llm-judge-evaluators.d.ts +0 -174
- package/dist/services/flow-eval-schema/prompts.d.ts +0 -2
- package/dist/services/flow-eval-schema/registry.d.ts +0 -375
- package/dist/services/flow-eval-schema/tool-call-evaluators.d.ts +0 -93
- package/dist/services/flow-eval-schema/types.d.ts +0 -95
- package/dist/services/flow-eval-types.d.ts +0 -6
- package/dist/utils/write-resolved-flow.d.ts +0 -7
- /package/dist/{headless-45dypanh.js → headless-fw8pwyzm.js} +0 -0
- /package/dist/{localization-xecwjpe2.js → localization-d6gjmrsw.js} +0 -0
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export declare const TOOL_CALL_EVALUATOR_TYPES: {
|
|
2
|
-
readonly "uipath-tool-call-args": {
|
|
3
|
-
readonly name: "Tool Call Arguments";
|
|
4
|
-
readonly description: "Verify tool call arguments match expected values";
|
|
5
|
-
readonly category: "tool-call";
|
|
6
|
-
readonly shortDescription: "Checks that tools were called with correct arguments";
|
|
7
|
-
readonly configFields: readonly [{
|
|
8
|
-
readonly key: "strict";
|
|
9
|
-
readonly label: "Strict Mode";
|
|
10
|
-
readonly type: "boolean";
|
|
11
|
-
readonly required: false;
|
|
12
|
-
readonly default: false;
|
|
13
|
-
readonly description: "If true, requires exact match of all tool call arguments";
|
|
14
|
-
}, {
|
|
15
|
-
readonly key: "subset";
|
|
16
|
-
readonly label: "Subset Mode";
|
|
17
|
-
readonly type: "boolean";
|
|
18
|
-
readonly required: false;
|
|
19
|
-
readonly default: false;
|
|
20
|
-
readonly description: "If true, allows actual tool calls to be a subset of expected";
|
|
21
|
-
}];
|
|
22
|
-
readonly criteriaFields: readonly [{
|
|
23
|
-
readonly key: "toolCalls";
|
|
24
|
-
readonly label: "Tool Calls";
|
|
25
|
-
readonly type: "toolCallArgs";
|
|
26
|
-
readonly required: false;
|
|
27
|
-
readonly description: "Expected tool calls with names and arguments";
|
|
28
|
-
}];
|
|
29
|
-
};
|
|
30
|
-
readonly "uipath-tool-call-count": {
|
|
31
|
-
readonly name: "Tool Call Count";
|
|
32
|
-
readonly description: "Verify tool call counts match expected values";
|
|
33
|
-
readonly category: "tool-call";
|
|
34
|
-
readonly shortDescription: "Checks number of times each tool was called";
|
|
35
|
-
readonly configFields: readonly [{
|
|
36
|
-
readonly key: "strict";
|
|
37
|
-
readonly label: "Strict Mode";
|
|
38
|
-
readonly type: "boolean";
|
|
39
|
-
readonly required: false;
|
|
40
|
-
readonly default: false;
|
|
41
|
-
readonly description: "If true, requires exact count match";
|
|
42
|
-
}];
|
|
43
|
-
readonly criteriaFields: readonly [{
|
|
44
|
-
readonly key: "toolCallsCount";
|
|
45
|
-
readonly label: "Tool Calls Count";
|
|
46
|
-
readonly type: "toolCallCount";
|
|
47
|
-
readonly required: false;
|
|
48
|
-
readonly description: "Expected tool call counts with comparison operators";
|
|
49
|
-
}];
|
|
50
|
-
};
|
|
51
|
-
readonly "uipath-tool-call-order": {
|
|
52
|
-
readonly name: "Tool Call Order";
|
|
53
|
-
readonly description: "Verify tool calls occur in expected order";
|
|
54
|
-
readonly category: "tool-call";
|
|
55
|
-
readonly shortDescription: "Checks that tools were called in the right sequence";
|
|
56
|
-
readonly configFields: readonly [{
|
|
57
|
-
readonly key: "strict";
|
|
58
|
-
readonly label: "Strict Mode";
|
|
59
|
-
readonly type: "boolean";
|
|
60
|
-
readonly required: false;
|
|
61
|
-
readonly default: false;
|
|
62
|
-
readonly description: "If true, requires exact order match";
|
|
63
|
-
}];
|
|
64
|
-
readonly criteriaFields: readonly [{
|
|
65
|
-
readonly key: "toolCallsOrder";
|
|
66
|
-
readonly label: "Tool Calls Order";
|
|
67
|
-
readonly type: "toolCallOrder";
|
|
68
|
-
readonly required: false;
|
|
69
|
-
readonly description: "Tool names in expected execution order";
|
|
70
|
-
}];
|
|
71
|
-
};
|
|
72
|
-
readonly "uipath-tool-call-output": {
|
|
73
|
-
readonly name: "Tool Call Output";
|
|
74
|
-
readonly description: "Verify tool call outputs match expected values";
|
|
75
|
-
readonly category: "tool-call";
|
|
76
|
-
readonly shortDescription: "Checks that tool outputs match expected values";
|
|
77
|
-
readonly configFields: readonly [{
|
|
78
|
-
readonly key: "strict";
|
|
79
|
-
readonly label: "Strict Mode";
|
|
80
|
-
readonly type: "boolean";
|
|
81
|
-
readonly required: false;
|
|
82
|
-
readonly default: false;
|
|
83
|
-
readonly description: "If true, requires exact output match";
|
|
84
|
-
}];
|
|
85
|
-
readonly criteriaFields: readonly [{
|
|
86
|
-
readonly key: "toolOutputs";
|
|
87
|
-
readonly label: "Tool Outputs";
|
|
88
|
-
readonly type: "toolCallOutput";
|
|
89
|
-
readonly required: false;
|
|
90
|
-
readonly description: "Expected tool outputs with names and output values";
|
|
91
|
-
}];
|
|
92
|
-
};
|
|
93
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
export type EvaluationCriteria = Record<string, unknown>;
|
|
2
|
-
export type EvaluatorFieldType = "array" | "boolean" | "llmModel" | "number" | "object" | "string" | "targetOutputKey" | "toolCallArgs" | "toolCallCount" | "toolCallOrder" | "toolCallOutput";
|
|
3
|
-
export interface EvaluatorFieldDefinition {
|
|
4
|
-
key: string;
|
|
5
|
-
label: string;
|
|
6
|
-
type: EvaluatorFieldType;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
description?: string;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
default?: string | number | boolean | Record<string, unknown> | unknown[];
|
|
11
|
-
min?: number;
|
|
12
|
-
max?: number;
|
|
13
|
-
step?: number;
|
|
14
|
-
minLength?: number;
|
|
15
|
-
maxLength?: number;
|
|
16
|
-
pattern?: string;
|
|
17
|
-
itemType?: EvaluatorFieldType;
|
|
18
|
-
properties?: Record<string, unknown>;
|
|
19
|
-
}
|
|
20
|
-
export type EvaluatorCategoryId = "deterministic" | "llm-judge" | "tool-call";
|
|
21
|
-
export interface EvaluatorTypeDefinition {
|
|
22
|
-
name: string;
|
|
23
|
-
description: string;
|
|
24
|
-
category: EvaluatorCategoryId;
|
|
25
|
-
shortDescription: string;
|
|
26
|
-
configFields: readonly EvaluatorFieldDefinition[];
|
|
27
|
-
criteriaFields: readonly EvaluatorFieldDefinition[];
|
|
28
|
-
examples?: {
|
|
29
|
-
config?: Record<string, unknown>;
|
|
30
|
-
criteria?: Record<string, unknown>;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export interface Evaluator {
|
|
34
|
-
version: string;
|
|
35
|
-
id: string;
|
|
36
|
-
name?: string;
|
|
37
|
-
description: string;
|
|
38
|
-
evaluatorTypeId: string;
|
|
39
|
-
evaluatorConfig: Record<string, unknown>;
|
|
40
|
-
fileName?: string;
|
|
41
|
-
createdAt?: string | Date;
|
|
42
|
-
updatedAt?: string | Date;
|
|
43
|
-
}
|
|
44
|
-
export type SimulationStrategy = "Static" | "Llm";
|
|
45
|
-
export interface Simulation {
|
|
46
|
-
componentId: string;
|
|
47
|
-
componentType: string;
|
|
48
|
-
componentDescription?: string;
|
|
49
|
-
simulationStrategy: SimulationStrategy;
|
|
50
|
-
simulationInstruction?: string;
|
|
51
|
-
mockValue?: unknown;
|
|
52
|
-
outputSchema?: unknown;
|
|
53
|
-
childSimulations?: Simulation[];
|
|
54
|
-
}
|
|
55
|
-
export interface Evaluation {
|
|
56
|
-
id: string;
|
|
57
|
-
name: string;
|
|
58
|
-
inputs: Record<string, unknown>;
|
|
59
|
-
expectedOutput?: Record<string, unknown>;
|
|
60
|
-
evaluationCriterias: Record<string, EvaluationCriteria | null | undefined>;
|
|
61
|
-
simulations?: Simulation[];
|
|
62
|
-
createdAt?: string | Date;
|
|
63
|
-
updatedAt?: string | Date;
|
|
64
|
-
}
|
|
65
|
-
export type EvaluationSetTarget = {
|
|
66
|
-
kind: "agentNode";
|
|
67
|
-
nodeId: string;
|
|
68
|
-
} | {
|
|
69
|
-
kind: "documentClassification";
|
|
70
|
-
nodeId: string;
|
|
71
|
-
} | {
|
|
72
|
-
kind: "documentExtraction";
|
|
73
|
-
nodeId: string;
|
|
74
|
-
} | {
|
|
75
|
-
kind: "flow";
|
|
76
|
-
entrypoint?: string;
|
|
77
|
-
};
|
|
78
|
-
export interface EvaluationSet {
|
|
79
|
-
version: string;
|
|
80
|
-
schemaVersion?: number;
|
|
81
|
-
id: string;
|
|
82
|
-
name: string;
|
|
83
|
-
description?: string;
|
|
84
|
-
evaluatorRefs: string[];
|
|
85
|
-
evaluations: Evaluation[];
|
|
86
|
-
batchSize?: number;
|
|
87
|
-
timeoutMinutes?: number;
|
|
88
|
-
fileName?: string;
|
|
89
|
-
target?: EvaluationSetTarget;
|
|
90
|
-
selectedEntrypoint?: string;
|
|
91
|
-
nodeEval?: boolean;
|
|
92
|
-
targetKind?: string;
|
|
93
|
-
createdAt?: string | Date;
|
|
94
|
-
updatedAt?: string | Date;
|
|
95
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Evaluation, EvaluationSet, Evaluator, EvaluationCriteria as SchemaEvaluationCriteria, Simulation, SimulationStrategy } from "./flow-eval-schema/index.js";
|
|
2
|
-
export type EvaluationCriteria = SchemaEvaluationCriteria;
|
|
3
|
-
export type FlowEvaluator = Evaluator;
|
|
4
|
-
export type FlowEvaluation = Evaluation;
|
|
5
|
-
export type FlowEvaluationSet = EvaluationSet;
|
|
6
|
-
export type { Simulation, SimulationStrategy };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { IFileSystem } from "@uipath/filesystem";
|
|
2
|
-
import type { Workflow } from "@uipath/flow-core";
|
|
3
|
-
/**
|
|
4
|
-
* Write a fully resolved .flow file (all $refs inlined, layout normalized)
|
|
5
|
-
* alongside the original .flow file in the project directory.
|
|
6
|
-
*/
|
|
7
|
-
export declare function writeResolvedFlow(fs: IFileSystem, dir: string, name: string, workflow: Workflow): Promise<void>;
|
|
File without changes
|
|
File without changes
|