@uipath/flow-tool 1.204.0-preview.255 → 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-fw3rzae4.js → binding-service-yw91615m.js} +38 -30
- package/dist/{connector-service-2z7s7qtd.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-6zr5f09c.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-9q9k756w.js → flow-debug-service-cgawm96k.js} +96 -58
- package/dist/{flow-eval-node-target-zvk7fcb2.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-2hfqyadh.js → flow-eval-run-service-03j1szf6.js} +73 -80
- package/dist/{flow-eval-service-m5n2svke.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-8y8b76zm.js → flow-init-service-0a4y3a46.js} +19 -15
- package/dist/{flow-io-w11yspjx.js → flow-io-1wabd32s.js} +15 -11
- package/dist/{flow-migrate-service-v7ch4t3h.js → flow-migrate-service-mkqpbwtv.js} +16 -12
- package/dist/{flow-pack-service-xs8v5mba.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-18pk0mgv.js → governance-fetcher-76hxssjm.js} +7 -6
- package/dist/{hitl-service-ehnfkwhp.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-9hqj0ee4.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-cvwqsgg0.js → node-hz6cvp9d.js} +29 -15
- package/dist/{node-service-544fv7as.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-29b6r6eg.js → packager-tool-2h15x2kb.js} +6 -6
- package/dist/{packager-tool-h7cjs093.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-pb7wzsn4.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-2y2mmdnq.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-5csvkk54.js → packager-tool-kb520rm5.js} +172 -71
- package/dist/{packager-tool-k04k2rnq.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-5tk1eg46.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-mx0gg6yh.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-v37kemg5.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-zgm9mqrh.js → packager-tool-thnkpqwc.js} +1802 -378
- package/dist/{packager-tool-peawy22c.js → packager-tool-tqjfdpda.js} +53 -8
- package/dist/{packager-tool-gb4sm499.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-zbhqrk3p.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-j70ccg27.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-86t2r5m9.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-hgszjdhx.js +0 -44
- package/dist/flow-eval-run-api-byx3cacw.js +0 -13
- package/dist/flow-validate-service-12v3bz1b.js +0 -64
- package/dist/input-reader-vhar4g0k.js +0 -11
- package/dist/node-sync-service-ccwgtyte.js +0 -40
- package/dist/packager-tool-4g5hk66k.js +0 -454
- package/dist/packager-tool-kg35b9s6.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/packager-tool-vscvjrhn.js +0 -265
- 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,320 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Service for debugging Flow files.
|
|
3
|
-
*
|
|
4
|
-
* Converts a .flow file to BPMN XML, generates the required project files,
|
|
5
|
-
* begins a debug session in Orchestrator, creates a debug instance in PIMS,
|
|
6
|
-
* and polls for execution status.
|
|
7
|
-
*/
|
|
8
|
-
import type { Workflow } from "@uipath/flow-core";
|
|
9
|
-
import type { BeginSessionResponse, DebugCallbacks, DebugInstanceResponse, DebugInstanceStatusResponse, DebugResult, DebugVariablesResponse, ElementExecution, StudioWebDebugConfig } from "@uipath/maestro-sdk";
|
|
10
|
-
import { DebugProvisioningFailedError } from "@uipath/maestro-sdk/debug-service";
|
|
11
|
-
import { RuntimeProfile } from "@uipath/packager-tool-flow";
|
|
12
|
-
import { type SolutionImportResponse } from "@uipath/solution-sdk";
|
|
13
|
-
export type { BeginSessionResponse, DebugCallbacks, DebugInstanceResponse, DebugInstanceStatusResponse, DebugResult, DebugVariablesResponse, ElementExecution, SolutionImportResponse, StudioWebDebugConfig, };
|
|
14
|
-
/**
|
|
15
|
-
* Canonical user-facing message + instructions surfaced when `flow debug`
|
|
16
|
-
* is run against a standalone Flow project (no enclosing `.uipx`).
|
|
17
|
-
*
|
|
18
|
-
* Exported so the command layer (and tests) can assert the exact envelope
|
|
19
|
-
* shape required by UiPath/cli#2023 without re-stringifying it.
|
|
20
|
-
*/
|
|
21
|
-
export declare const FLOW_DEBUG_MISSING_SOLUTION_MESSAGE = "Flow debug requires this Flow to be inside a solution.";
|
|
22
|
-
export declare const FLOW_DEBUG_MISSING_SOLUTION_INSTRUCTIONS = "Create a solution wrapper and import this Flow before debugging: `uip solution init <name>` then `uip solution projects import <flow-dir>` from inside the solution directory, then re-run `uip maestro flow debug`.";
|
|
23
|
-
/**
|
|
24
|
-
* Canonical user-facing message surfaced when the Flow project's directory
|
|
25
|
-
* is not listed in the enclosing solution's `.uipx` Projects[] manifest.
|
|
26
|
-
*
|
|
27
|
-
* Without this preflight, Studio Web rejects the upload with an opaque
|
|
28
|
-
* `Import failed (400): The solution archive does not contain any valid projects.`
|
|
29
|
-
* (MST-10004). Failing locally with the project path + solution path is
|
|
30
|
-
* far more actionable.
|
|
31
|
-
*/
|
|
32
|
-
export declare const FLOW_DEBUG_UNREGISTERED_PROJECT_MESSAGE = "Flow project is not registered in the enclosing solution.";
|
|
33
|
-
export declare const buildFlowDebugUnregisteredProjectInstructions: (projectDir: string, solutionFile: string) => string;
|
|
34
|
-
/**
|
|
35
|
-
* Thrown by {@link FlowDebugService.executeProjectViaStudioWeb} when the
|
|
36
|
-
* Flow project is not enclosed by a `.uipx` solution wrapper.
|
|
37
|
-
*
|
|
38
|
-
* The command layer translates this into a `ValidationError` envelope
|
|
39
|
-
* (exit code 3) so users get an actionable, locally-generated diagnostic
|
|
40
|
-
* before any upload is attempted — fixing the opaque server-side 400
|
|
41
|
-
* tracked in UiPath/cli#2023.
|
|
42
|
-
*/
|
|
43
|
-
export declare class MissingSolutionWrapperError extends Error {
|
|
44
|
-
readonly instructions: string;
|
|
45
|
-
constructor(message?: string, instructions?: string);
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Thrown by {@link FlowDebugService.executeProjectViaStudioWeb} when an
|
|
49
|
-
* enclosing `.uipx` solution wrapper exists but does not list the Flow
|
|
50
|
-
* project directory in its `Projects[]` manifest.
|
|
51
|
-
*
|
|
52
|
-
* The command layer translates this into a `ValidationError` envelope
|
|
53
|
-
* (exit code 3). This replaces the opaque server-side
|
|
54
|
-
* `Import failed (400): The solution archive does not contain any valid projects.`
|
|
55
|
-
* surfaced from Studio Web (MST-10004) with a typed, locally-detected
|
|
56
|
-
* diagnostic that names the exact repair command.
|
|
57
|
-
*/
|
|
58
|
-
export declare class UnregisteredProjectError extends Error {
|
|
59
|
-
readonly instructions: string;
|
|
60
|
-
readonly projectDir: string;
|
|
61
|
-
readonly solutionFile: string;
|
|
62
|
-
constructor(projectDir: string, solutionFile: string);
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Pick the refresh warnings that say a bound resource does not exist and
|
|
66
|
-
* reduce each to the resource it names.
|
|
67
|
-
*
|
|
68
|
-
* The refresh result only carries warnings as strings, so this matches the
|
|
69
|
-
* two anchored "not found" shapes above. The `Link it before deploy: ...`
|
|
70
|
-
* tail is dropped — it is deploy-time advice with a literal `<file>`
|
|
71
|
-
* placeholder, and the debug envelope's `Instructions` already say what to
|
|
72
|
-
* do. Duplicates are removed, since several bindings can point at the same
|
|
73
|
-
* resource.
|
|
74
|
-
*/
|
|
75
|
-
export declare function selectMissingResourceWarnings(warnings: readonly string[]): string[];
|
|
76
|
-
export declare function buildFlowDebugMissingResourcesInstructions(missingResources: readonly string[]): string;
|
|
77
|
-
/**
|
|
78
|
-
* Studio Web rejected the debug resources (`validationFailed`) and the
|
|
79
|
-
* pre-upload refresh had already reported bound resources it could not find.
|
|
80
|
-
* Keeps the original provisioning message as the prefix and appends those
|
|
81
|
-
* warnings, since Studio Web's own error names neither node nor resource.
|
|
82
|
-
*/
|
|
83
|
-
export declare class DebugProvisioningMissingResourcesError extends DebugProvisioningFailedError {
|
|
84
|
-
readonly instructions: string;
|
|
85
|
-
readonly missingResources: readonly string[];
|
|
86
|
-
constructor(cause: DebugProvisioningFailedError, missingResources: readonly string[]);
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Add the refresh's not-found warnings to a `validationFailed` provisioning
|
|
90
|
-
* error. Any other error, or no such warnings, comes back unchanged.
|
|
91
|
-
*/
|
|
92
|
-
export declare function withMissingResourceContext(error: Error, missingResourceWarnings: readonly string[]): Error;
|
|
93
|
-
/**
|
|
94
|
-
* What an upload-only run returns: the solution is on Studio Web and the
|
|
95
|
-
* designer URL is known, but no debug session or instance was created.
|
|
96
|
-
*/
|
|
97
|
-
export interface StudioWebUploadResult {
|
|
98
|
-
uploadedOnly: true;
|
|
99
|
-
solutionId: string;
|
|
100
|
-
studioWebUrl: string;
|
|
101
|
-
}
|
|
102
|
-
export declare const FLOW_DEBUG_INBOUND_VOICE_MESSAGE = "Inbound voice flows cannot be debugged from the CLI.";
|
|
103
|
-
export declare const buildFlowDebugInboundVoiceInstructions: (triggerLabel: string) => string;
|
|
104
|
-
/**
|
|
105
|
-
* Thrown when the flow starts from an incoming-call trigger. Only a real call
|
|
106
|
-
* to a published flow can raise one, so the run would never advance.
|
|
107
|
-
*/
|
|
108
|
-
export declare class InboundVoiceDebugError extends Error {
|
|
109
|
-
readonly instructions: string;
|
|
110
|
-
constructor(triggerLabel: string);
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Reject a flow that starts from an incoming-call trigger. Keyed on the
|
|
114
|
-
* trigger, not on voice nodes: an outbound flow carries the same nodes.
|
|
115
|
-
*/
|
|
116
|
-
export declare function assertNotInboundVoiceFlow(workflow: {
|
|
117
|
-
nodes?: readonly unknown[];
|
|
118
|
-
}): void;
|
|
119
|
-
export declare class FlowDebugService {
|
|
120
|
-
private readonly fs;
|
|
121
|
-
constructor();
|
|
122
|
-
/**
|
|
123
|
-
* Pre-flight check: confirm the Flow project lives inside a `.uipx`
|
|
124
|
-
* solution wrapper by walking ancestor directories.
|
|
125
|
-
*
|
|
126
|
-
* Throws {@link MissingSolutionWrapperError} if no `.uipx` is found.
|
|
127
|
-
* Reuses {@link findNearestParentUipxFile} from `@uipath/solution-sdk`
|
|
128
|
-
* to share the ancestor-walk semantics with `uip solution projects import`.
|
|
129
|
-
*
|
|
130
|
-
* Returns the absolute path of the `.uipx` file when present so callers
|
|
131
|
-
* can log it without re-walking.
|
|
132
|
-
*/
|
|
133
|
-
assertEnclosingSolution(projectPath: string): Promise<string>;
|
|
134
|
-
/**
|
|
135
|
-
* Pre-flight check: confirm the Flow project's directory is actually
|
|
136
|
-
* listed in the enclosing solution's `.uipx` `Projects[]` manifest.
|
|
137
|
-
*
|
|
138
|
-
* Throws {@link UnregisteredProjectError} when the manifest does not
|
|
139
|
-
* include the project. Comparison is canonicalized via `realpath()`
|
|
140
|
-
* so case-insensitive filesystems and symlinks don't yield false
|
|
141
|
-
* negatives.
|
|
142
|
-
*
|
|
143
|
-
* This is the local guard for MST-10004: without it, Studio Web
|
|
144
|
-
* silently accepts the upload and then rejects the import with an
|
|
145
|
-
* opaque `code:20001 / "The solution archive does not contain any
|
|
146
|
-
* valid projects."` HTTP 400. By failing locally, the agent (or
|
|
147
|
-
* human) gets the exact repair command (`uip solution projects add`)
|
|
148
|
-
* before any network I/O.
|
|
149
|
-
*/
|
|
150
|
-
assertProjectRegisteredInSolution(projectPath: string, solutionFile: string): Promise<void>;
|
|
151
|
-
/**
|
|
152
|
-
* Read and parse a .flow file.
|
|
153
|
-
*/
|
|
154
|
-
readFlowFile(flowFilePath: string): Promise<Workflow>;
|
|
155
|
-
/**
|
|
156
|
-
* Read a .bpmn file and return the raw XML string.
|
|
157
|
-
*/
|
|
158
|
-
readBpmnFile(bpmnFilePath: string): Promise<string>;
|
|
159
|
-
/**
|
|
160
|
-
* Convert a Workflow to BPMN XML using @uipath/flow-converter.
|
|
161
|
-
*
|
|
162
|
-
* The inline-agent `Orchestrator.StartInlineAgentJob` activity's
|
|
163
|
-
* `entryPoint` must stay BARE (`<projectId>/agent.json`, no `content/`
|
|
164
|
-
* prefix). At debug time Orchestrator's debug-flow detector resolves the
|
|
165
|
-
* agent by matching the activity `entryPoint` against the
|
|
166
|
-
* `FpsProperties.debug.master.processes[].entryPointPath` entry, and that
|
|
167
|
-
* entry uses the bare path. A `content/`-prefixed activity entryPoint never
|
|
168
|
-
* matches, so the agent faults with `[170007]` "the job's associated
|
|
169
|
-
* process could not be found" (verified byte-for-byte against a working
|
|
170
|
-
* Studio Web debug capture, which also emits the bare path).
|
|
171
|
-
*
|
|
172
|
-
* We therefore do NOT call `setPublishIntentOnInlineAgents` here — that
|
|
173
|
-
* marks agents `__packageIntent = "Publish"`, which makes the converter
|
|
174
|
-
* emit the `content/`-prefixed form used by real publish/deploy. That form
|
|
175
|
-
* is wrong for a debug session.
|
|
176
|
-
*/
|
|
177
|
-
convertToBpmn(workflow: Workflow, projectDir?: string): Promise<string>;
|
|
178
|
-
/**
|
|
179
|
-
* Reconstruct inline-agent `agentInputVariables` from each agent's
|
|
180
|
-
* `agent.json` `inputSchema` when the flow node leaves them empty.
|
|
181
|
-
*
|
|
182
|
-
* Studio Web keeps the input binding in the agent's `inputSchema` and rebuilds
|
|
183
|
-
* the node's `agentInputVariables` from it on load; the `.flow` it writes
|
|
184
|
-
* carries an empty `agentInputVariables`. The CLI converter derives the
|
|
185
|
-
* agent's `JobArguments` from `agentInputVariables` (it never reads
|
|
186
|
-
* `agent.json`), so an SW-authored flow would otherwise convert to an agent
|
|
187
|
-
* with empty input — works in SW, fails on `uip maestro flow debug`.
|
|
188
|
-
*
|
|
189
|
-
* We mirror SW: for each inline-agent node, read `<projectDir>/<source>/agent.json`
|
|
190
|
-
* and **reconcile** the node's `agentInputVariables` against the agent's
|
|
191
|
-
* `inputSchema.properties` — the contract the runtime actually binds. We
|
|
192
|
-
* *add* a derived entry for every schema input LEAF the node is missing and
|
|
193
|
-
* *preserve* every entry the node already declares, so a custom/divergent
|
|
194
|
-
* binding is never clobbered. Leaves are enumerated encoding-agnostically
|
|
195
|
-
* (MST-12020): a flat key (`<node>__output__<field>`) is one leaf; a NESTED
|
|
196
|
-
* schema's `x-uipath-container` trees are descended to their leaves — so an
|
|
197
|
-
* agent.json authored by a nested-flag canvas still reconciles per-field
|
|
198
|
-
* bindings instead of one un-navigable whole-container binding. Either way
|
|
199
|
-
* the derived id is the FLAT spelling (matching the packager's flat-healed
|
|
200
|
-
* prompt tokens), the binding is `=$vars.<node>.output.<field>`
|
|
201
|
-
* (`metadata`-rooted paths → `$metadata`), and "already declares" is
|
|
202
|
-
* checked on the CANONICAL dotted path so a flat and a nested spelling of
|
|
203
|
-
* the same input never produce a duplicate JobArgument.
|
|
204
|
-
*
|
|
205
|
-
* Reconciling (rather than only filling an empty list) also catches drift: an
|
|
206
|
-
* `agent.json` that gained an input the `.flow` node never re-wired would
|
|
207
|
-
* otherwise silently drop that input at debug. We therefore always read the
|
|
208
|
-
* agent.json. Best-effort — a missing/unreadable `agent.json` or absent
|
|
209
|
-
* `inputSchema` leaves the node as-is, and a node that already covers every
|
|
210
|
-
* schema key is left untouched (no spurious mutation).
|
|
211
|
-
*/
|
|
212
|
-
private hydrateInlineAgentInputs;
|
|
213
|
-
/**
|
|
214
|
-
* Generate project files (operate.json, entry-points.json, bindings_v2.json,
|
|
215
|
-
* package-descriptor.json) into a temporary directory alongside the BPMN and .flow file.
|
|
216
|
-
*/
|
|
217
|
-
generateProjectFiles(flowData: Workflow, bpmnXml: string, flowFileContent?: string, startEventId?: string, profile?: RuntimeProfile): Promise<string>;
|
|
218
|
-
/**
|
|
219
|
-
* Build a .uis solution package from the generated project files.
|
|
220
|
-
* Creates a solution wrapper, zips it into .uis format.
|
|
221
|
-
*/
|
|
222
|
-
buildSolutionPackage(projectDir: string, projectName: string): Promise<string>;
|
|
223
|
-
private writeSingleProjectSolutionMetadata;
|
|
224
|
-
/**
|
|
225
|
-
* Build the `debug.master.processes` descriptors for every in-solution
|
|
226
|
-
* project so a flow-as-node callee's `Orchestrator.StartAgenticProcess`
|
|
227
|
-
* resolves the child — the same FpsProperties registry inline agents use,
|
|
228
|
-
* so no Orchestrator provisioning or deployed release is needed.
|
|
229
|
-
*
|
|
230
|
-
* Each descriptor pairs the Studio Web-minted `projectId` (from the upload
|
|
231
|
-
* result, matched by folder name) and the uploaded `solutionId` with the
|
|
232
|
-
* project's type + per-project entry point read from the staged solution.
|
|
233
|
-
* The lead Flow being debugged gets the exact BPMN + start node the session
|
|
234
|
-
* launches from; standalone Agent projects are skipped (inline agents are
|
|
235
|
-
* registered separately via `inlineAgents`).
|
|
236
|
-
*/
|
|
237
|
-
private buildSolutionProjectDescriptors;
|
|
238
|
-
/**
|
|
239
|
-
* Compile a sibling flow project's `.flow` to BPMN + packaging artifacts
|
|
240
|
-
* in place inside its staged directory. Sibling flow projects are copied
|
|
241
|
-
* from the solution with only their `.flow` source; a flow-as-node call
|
|
242
|
-
* needs the compiled `.bpmn` (and bindings/manifests) in the package or the
|
|
243
|
-
* child job faults with 180003 (FileMissingInProjectArchive). Mirrors the
|
|
244
|
-
* artifact generation the lead flow already gets.
|
|
245
|
-
*/
|
|
246
|
-
private generateSiblingFlowPackage;
|
|
247
|
-
/**
|
|
248
|
-
* Write a flow project's debug-package artifacts (`.flow`, compiled
|
|
249
|
-
* `.bpmn`, packaging manifests, resolved flow) into `projectDir`. Shared by
|
|
250
|
-
* the lead flow being debugged and each sibling flow-as-node callee so the
|
|
251
|
-
* conversion/packaging pipeline lives in one place. Returns the values the
|
|
252
|
-
* lead path needs downstream (entry points, start node, bpmn file name).
|
|
253
|
-
*/
|
|
254
|
-
private writeFlowProjectPackage;
|
|
255
|
-
/** Map a raw `.uiproj` ProjectType to the BeginSession wire vocabulary. */
|
|
256
|
-
private toWireProjectType;
|
|
257
|
-
/**
|
|
258
|
-
* Normalize an entry point to the `debug.master` form: no leading slash,
|
|
259
|
-
* no `content/` prefix (e.g. `/Flow.bpmn#start` or
|
|
260
|
-
* `content/new.bpmn#manualTrigger1` → `Flow.bpmn#start` / `new.bpmn#manualTrigger1`).
|
|
261
|
-
*/
|
|
262
|
-
private normalizeEntryPoint;
|
|
263
|
-
/** Read the first `entry-points.json` filePath in a project dir, or "". */
|
|
264
|
-
private readFirstEntryPointPath;
|
|
265
|
-
/**
|
|
266
|
-
* Derive an entry point from a project's compiled `.bpmn` start event,
|
|
267
|
-
* for projects whose `entry-points.json` is empty (ProcessOrchestration).
|
|
268
|
-
* Matches Studio Web's `/{bpmn}#{startEvent}` form (leading slash kept).
|
|
269
|
-
* Returns "" when no `.bpmn` is present.
|
|
270
|
-
*/
|
|
271
|
-
private deriveEntryPointFromBpmn;
|
|
272
|
-
/** Read a project's `.uiproj` `ProjectType`, or undefined if unavailable. */
|
|
273
|
-
private readProjectTypeRaw;
|
|
274
|
-
/**
|
|
275
|
-
* Build a name→type map from the `.uipx` Projects array so
|
|
276
|
-
* {@link buildSolutionProjectDescriptors} can resolve the type for
|
|
277
|
-
* projects that have no `project.uiproj` (JS/TS Functions).
|
|
278
|
-
*/
|
|
279
|
-
static buildProjectTypeMap(projects?: Array<{
|
|
280
|
-
ProjectRelativePath: string;
|
|
281
|
-
Type?: unknown;
|
|
282
|
-
}>): Map<string, string>;
|
|
283
|
-
/**
|
|
284
|
-
* Full Studio Web debug flow from a flow project directory:
|
|
285
|
-
* 1. Validate project directory has required files
|
|
286
|
-
* 2. Read .flow file + generate packaging artifacts on the fly
|
|
287
|
-
* 3. Build .uis solution package containing ALL projects in the solution
|
|
288
|
-
* 5. Upload/overwrite to Studio Web → get projectId + solutionId
|
|
289
|
-
* 6. Begin debug session in Orchestrator → get jobKey
|
|
290
|
-
* 7. Create debug instance in PIMS with solutionId + projectId
|
|
291
|
-
* 8. Poll PIMS debug-instances for completion
|
|
292
|
-
*/
|
|
293
|
-
executeProjectViaStudioWeb(projectPath: string, config: StudioWebDebugConfig, callbacks?: DebugCallbacks, pollInterval?: number, options?: {
|
|
294
|
-
inputs?: Record<string, unknown>;
|
|
295
|
-
maxPolls?: number;
|
|
296
|
-
/**
|
|
297
|
-
* Upload the solution and stop. For a flow only a chat UI can drive,
|
|
298
|
-
* a debug instance would sit unused — and its message subscription
|
|
299
|
-
* would block the next run — so the CLI hands the user the designer
|
|
300
|
-
* URL instead of starting a session nobody can advance.
|
|
301
|
-
*/
|
|
302
|
-
uploadOnly?: boolean;
|
|
303
|
-
}): Promise<DebugResult | StudioWebUploadResult>;
|
|
304
|
-
/**
|
|
305
|
-
* Full Studio Web debug flow:
|
|
306
|
-
* 1. Read .flow/.bpmn file
|
|
307
|
-
* 2. Convert to BPMN (if .flow)
|
|
308
|
-
* 3. Generate project files
|
|
309
|
-
* 4. Build .uis solution package
|
|
310
|
-
* 5. Upload to Studio Web → get projectId + solutionId
|
|
311
|
-
* 6. Begin debug session in Orchestrator → get jobKey
|
|
312
|
-
* 7. Create debug instance in PIMS with solutionId + projectId
|
|
313
|
-
* 8. Poll PIMS debug-instances for completion
|
|
314
|
-
*/
|
|
315
|
-
executeViaStudioWeb(filePath: string, config: StudioWebDebugConfig, callbacks?: DebugCallbacks, pollInterval?: number, options?: {
|
|
316
|
-
inputs?: Record<string, unknown>;
|
|
317
|
-
keep?: boolean;
|
|
318
|
-
maxPolls?: number;
|
|
319
|
-
}): Promise<DebugResult>;
|
|
320
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
export declare const DETERMINISTIC_EVALUATOR_TYPES: {
|
|
2
|
-
readonly "uipath-contains": {
|
|
3
|
-
readonly name: "Contains Text";
|
|
4
|
-
readonly description: "Check if output contains specific text";
|
|
5
|
-
readonly category: "deterministic";
|
|
6
|
-
readonly shortDescription: "Passes when output contains given text";
|
|
7
|
-
readonly configFields: readonly [{
|
|
8
|
-
readonly key: "targetOutputKey";
|
|
9
|
-
readonly label: "Target Output Key";
|
|
10
|
-
readonly type: "targetOutputKey";
|
|
11
|
-
readonly required: false;
|
|
12
|
-
readonly description: "The key in the output to evaluate";
|
|
13
|
-
}, {
|
|
14
|
-
readonly key: "caseSensitive";
|
|
15
|
-
readonly label: "Case Sensitive";
|
|
16
|
-
readonly type: "boolean";
|
|
17
|
-
readonly required: false;
|
|
18
|
-
readonly default: false;
|
|
19
|
-
readonly description: "If true, the comparison is case-sensitive";
|
|
20
|
-
}, {
|
|
21
|
-
readonly key: "negated";
|
|
22
|
-
readonly type: "boolean";
|
|
23
|
-
readonly required: false;
|
|
24
|
-
readonly default: false;
|
|
25
|
-
readonly description: "If true, the evaluation passes when the match is not found";
|
|
26
|
-
readonly label: "Negated (should NOT contain)";
|
|
27
|
-
}];
|
|
28
|
-
readonly criteriaFields: readonly [{
|
|
29
|
-
readonly key: "searchText";
|
|
30
|
-
readonly label: "Search Text";
|
|
31
|
-
readonly type: "string";
|
|
32
|
-
readonly required: false;
|
|
33
|
-
readonly minLength: 1;
|
|
34
|
-
readonly description: "The text to search for in the output";
|
|
35
|
-
}];
|
|
36
|
-
readonly examples: {
|
|
37
|
-
readonly criteria: {
|
|
38
|
-
readonly searchText: "loan approved";
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly "uipath-exact-match": {
|
|
43
|
-
readonly name: "Exact Match";
|
|
44
|
-
readonly description: "Check if output exactly matches expected value";
|
|
45
|
-
readonly category: "deterministic";
|
|
46
|
-
readonly shortDescription: "Passes when output is an exact match";
|
|
47
|
-
readonly configFields: readonly [{
|
|
48
|
-
readonly key: "targetOutputKey";
|
|
49
|
-
readonly label: "Target Output Key";
|
|
50
|
-
readonly type: "targetOutputKey";
|
|
51
|
-
readonly required: false;
|
|
52
|
-
readonly description: "The key in the output to evaluate";
|
|
53
|
-
}, {
|
|
54
|
-
readonly key: "caseSensitive";
|
|
55
|
-
readonly label: "Case Sensitive";
|
|
56
|
-
readonly type: "boolean";
|
|
57
|
-
readonly required: false;
|
|
58
|
-
readonly default: false;
|
|
59
|
-
readonly description: "If true, the comparison is case-sensitive";
|
|
60
|
-
}, {
|
|
61
|
-
readonly key: "negated";
|
|
62
|
-
readonly label: "Negated";
|
|
63
|
-
readonly type: "boolean";
|
|
64
|
-
readonly required: false;
|
|
65
|
-
readonly default: false;
|
|
66
|
-
readonly description: "If true, the evaluation passes when the match is not found";
|
|
67
|
-
}];
|
|
68
|
-
readonly criteriaFields: readonly [{
|
|
69
|
-
readonly key: "expectedOutput";
|
|
70
|
-
readonly label: "Expected Output";
|
|
71
|
-
readonly type: "object";
|
|
72
|
-
readonly required: false;
|
|
73
|
-
readonly description: "The expected output value for this evaluator";
|
|
74
|
-
}];
|
|
75
|
-
readonly examples: {
|
|
76
|
-
readonly criteria: {
|
|
77
|
-
readonly expectedOutput: {
|
|
78
|
-
readonly value: "Application approved";
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
readonly "uipath-json-similarity": {
|
|
84
|
-
readonly name: "JSON Similarity";
|
|
85
|
-
readonly description: "Compare JSON output similarity";
|
|
86
|
-
readonly category: "deterministic";
|
|
87
|
-
readonly shortDescription: "Passes when JSON structures are similar";
|
|
88
|
-
readonly configFields: readonly [{
|
|
89
|
-
readonly key: "targetOutputKey";
|
|
90
|
-
readonly label: "Target Output Key";
|
|
91
|
-
readonly type: "targetOutputKey";
|
|
92
|
-
readonly required: false;
|
|
93
|
-
readonly description: "The key in the output to evaluate";
|
|
94
|
-
}];
|
|
95
|
-
readonly criteriaFields: readonly [{
|
|
96
|
-
readonly key: "expectedOutput";
|
|
97
|
-
readonly label: "Expected Output";
|
|
98
|
-
readonly type: "object";
|
|
99
|
-
readonly required: false;
|
|
100
|
-
readonly description: "The expected output value for this evaluator";
|
|
101
|
-
}];
|
|
102
|
-
readonly examples: {
|
|
103
|
-
readonly criteria: {
|
|
104
|
-
readonly expectedOutput: {
|
|
105
|
-
readonly status: "ok";
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { EvaluatorFieldDefinition } from "./types.js";
|
|
2
|
-
export declare const targetOutputKeyConfigField: {
|
|
3
|
-
readonly key: "targetOutputKey";
|
|
4
|
-
readonly label: "Target Output Key";
|
|
5
|
-
readonly type: "targetOutputKey";
|
|
6
|
-
readonly required: false;
|
|
7
|
-
readonly description: "The key in the output to evaluate";
|
|
8
|
-
};
|
|
9
|
-
export declare const caseSensitiveConfigField: {
|
|
10
|
-
readonly key: "caseSensitive";
|
|
11
|
-
readonly label: "Case Sensitive";
|
|
12
|
-
readonly type: "boolean";
|
|
13
|
-
readonly required: false;
|
|
14
|
-
readonly default: false;
|
|
15
|
-
readonly description: "If true, the comparison is case-sensitive";
|
|
16
|
-
};
|
|
17
|
-
export declare const negatedConfigField: {
|
|
18
|
-
readonly key: "negated";
|
|
19
|
-
readonly label: "Negated";
|
|
20
|
-
readonly type: "boolean";
|
|
21
|
-
readonly required: false;
|
|
22
|
-
readonly default: false;
|
|
23
|
-
readonly description: "If true, the evaluation passes when the match is not found";
|
|
24
|
-
};
|
|
25
|
-
export declare const expectedOutputCriteriaField: {
|
|
26
|
-
readonly key: "expectedOutput";
|
|
27
|
-
readonly label: "Expected Output";
|
|
28
|
-
readonly type: "object";
|
|
29
|
-
readonly required: false;
|
|
30
|
-
readonly description: "The expected output value for this evaluator";
|
|
31
|
-
};
|
|
32
|
-
export declare const llmBaseConfigFields: readonly [{
|
|
33
|
-
readonly key: "model";
|
|
34
|
-
readonly label: "Model";
|
|
35
|
-
readonly type: "llmModel";
|
|
36
|
-
readonly required: true;
|
|
37
|
-
readonly description: "The LLM model to use for judging";
|
|
38
|
-
}, {
|
|
39
|
-
readonly key: "prompt";
|
|
40
|
-
readonly label: "Evaluation Prompt";
|
|
41
|
-
readonly type: "string";
|
|
42
|
-
readonly required: true;
|
|
43
|
-
readonly default: "As an expert evaluator, analyze the semantic similarity of these JSON contents to determine a score from 0-100. Focus on comparing the meaning and contextual equivalence of corresponding fields, accounting for alternative valid expressions, synonyms, and reasonable variations in language while maintaining high standards for accuracy and completeness. Provide your score with a justification, explaining briefly and concisely why you gave that score.\n----\nExpectedOutput:\n{{ExpectedOutput}}\n----\nActualOutput:\n{{ActualOutput}}\n";
|
|
44
|
-
readonly description: "Custom prompt template for the LLM judge";
|
|
45
|
-
}, {
|
|
46
|
-
readonly key: "temperature";
|
|
47
|
-
readonly label: "Temperature";
|
|
48
|
-
readonly type: "number";
|
|
49
|
-
readonly required: true;
|
|
50
|
-
readonly default: 0;
|
|
51
|
-
readonly min: 0;
|
|
52
|
-
readonly max: 2;
|
|
53
|
-
readonly step: 0.1;
|
|
54
|
-
readonly description: "Temperature for LLM generation";
|
|
55
|
-
}, {
|
|
56
|
-
readonly key: "maxTokens";
|
|
57
|
-
readonly label: "Max Tokens";
|
|
58
|
-
readonly type: "number";
|
|
59
|
-
readonly required: true;
|
|
60
|
-
readonly default: 8192;
|
|
61
|
-
readonly min: 0;
|
|
62
|
-
readonly max: 16384;
|
|
63
|
-
readonly step: 256;
|
|
64
|
-
readonly description: "Maximum tokens for LLM response";
|
|
65
|
-
}];
|
|
66
|
-
export declare const llmTrajectoryBaseConfigFields: readonly EvaluatorFieldDefinition[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type EvaluatorTypeId } from "./registry.js";
|
|
2
|
-
import type { EvaluatorTypeDefinition } from "./types.js";
|
|
3
|
-
export declare function evaluatorTypeAliases(): string[];
|
|
4
|
-
export declare function isEvaluatorTypeId(value: string): value is EvaluatorTypeId;
|
|
5
|
-
export declare function getEvaluatorTypeDefinition(typeId: string): EvaluatorTypeDefinition | null;
|
|
6
|
-
export declare function resolveEvaluatorType(type: string): EvaluatorTypeId;
|
|
7
|
-
export declare function getDefaultConfigForEvaluatorType(typeId: EvaluatorTypeId): Record<string, unknown>;
|
|
8
|
-
export declare function evaluatorTypeHasConfigField(typeId: string, fieldKey: string): boolean;
|
|
9
|
-
export declare function evaluatorCanUseSharedExpectedOutput(typeId: string): boolean;
|