@runtypelabs/sdk 5.3.0 → 5.4.0
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/index.cjs +437 -68
- package/dist/index.d.cts +752 -2
- package/dist/index.d.ts +752 -2
- package/dist/index.mjs +421 -68
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9399,6 +9399,128 @@ interface paths {
|
|
|
9399
9399
|
patch?: never;
|
|
9400
9400
|
trace?: never;
|
|
9401
9401
|
};
|
|
9402
|
+
"/v1/eval/ensure": {
|
|
9403
|
+
parameters: {
|
|
9404
|
+
query?: never;
|
|
9405
|
+
header?: never;
|
|
9406
|
+
path?: never;
|
|
9407
|
+
cookie?: never;
|
|
9408
|
+
};
|
|
9409
|
+
get?: never;
|
|
9410
|
+
put?: never;
|
|
9411
|
+
/**
|
|
9412
|
+
* Ensure eval suite (config-as-code converge)
|
|
9413
|
+
* @description Idempotently converge a repo-defined eval suite (target + cases + graders) onto the platform. Identity is the suite name + account scope; the target flow/agent is resolved by name. Hash-only probes skip the payload in the steady state (a miss is a normal 200 `definitionRequired` response, not an error); full requests create the suite or replace its cases when the canonical content hash differs. Non-executing: never runs the eval. The response always carries the server-computed canonical hash.
|
|
9414
|
+
*/
|
|
9415
|
+
post: {
|
|
9416
|
+
parameters: {
|
|
9417
|
+
query?: never;
|
|
9418
|
+
header?: never;
|
|
9419
|
+
path?: never;
|
|
9420
|
+
cookie?: never;
|
|
9421
|
+
};
|
|
9422
|
+
requestBody?: {
|
|
9423
|
+
content: {
|
|
9424
|
+
"application/json": {
|
|
9425
|
+
contentHash?: string;
|
|
9426
|
+
definition?: {
|
|
9427
|
+
cases: {
|
|
9428
|
+
expect: ({
|
|
9429
|
+
kind: string;
|
|
9430
|
+
} & {
|
|
9431
|
+
[key: string]: unknown;
|
|
9432
|
+
})[];
|
|
9433
|
+
expected?: {
|
|
9434
|
+
facts?: string[];
|
|
9435
|
+
json?: unknown;
|
|
9436
|
+
text?: string;
|
|
9437
|
+
};
|
|
9438
|
+
/** @default {} */
|
|
9439
|
+
input?: {
|
|
9440
|
+
messages?: {
|
|
9441
|
+
content: string;
|
|
9442
|
+
role: string;
|
|
9443
|
+
}[];
|
|
9444
|
+
variables?: {
|
|
9445
|
+
[key: string]: unknown;
|
|
9446
|
+
};
|
|
9447
|
+
};
|
|
9448
|
+
name: string;
|
|
9449
|
+
}[];
|
|
9450
|
+
name: string;
|
|
9451
|
+
target: {
|
|
9452
|
+
agent?: string;
|
|
9453
|
+
flow?: string;
|
|
9454
|
+
};
|
|
9455
|
+
virtual?: boolean;
|
|
9456
|
+
};
|
|
9457
|
+
name: string;
|
|
9458
|
+
};
|
|
9459
|
+
};
|
|
9460
|
+
};
|
|
9461
|
+
responses: {
|
|
9462
|
+
/** @description Converge result: unchanged | created | updated | definitionRequired (hash miss — retry with the full definition) */
|
|
9463
|
+
200: {
|
|
9464
|
+
headers: {
|
|
9465
|
+
[name: string]: unknown;
|
|
9466
|
+
};
|
|
9467
|
+
content: {
|
|
9468
|
+
"application/json": components["schemas"]["EvalEnsureResponse"];
|
|
9469
|
+
};
|
|
9470
|
+
};
|
|
9471
|
+
/** @description Validation error (bad definition, unresolved target, divergent per-case graders, or virtual) */
|
|
9472
|
+
400: {
|
|
9473
|
+
headers: {
|
|
9474
|
+
[name: string]: unknown;
|
|
9475
|
+
};
|
|
9476
|
+
content: {
|
|
9477
|
+
"application/json": components["schemas"]["Error"];
|
|
9478
|
+
};
|
|
9479
|
+
};
|
|
9480
|
+
/** @description Unauthorized */
|
|
9481
|
+
401: {
|
|
9482
|
+
headers: {
|
|
9483
|
+
[name: string]: unknown;
|
|
9484
|
+
};
|
|
9485
|
+
content: {
|
|
9486
|
+
"application/json": components["schemas"]["Error"];
|
|
9487
|
+
};
|
|
9488
|
+
};
|
|
9489
|
+
/** @description Insufficient permissions */
|
|
9490
|
+
403: {
|
|
9491
|
+
headers: {
|
|
9492
|
+
[name: string]: unknown;
|
|
9493
|
+
};
|
|
9494
|
+
content: {
|
|
9495
|
+
"application/json": components["schemas"]["Error"];
|
|
9496
|
+
};
|
|
9497
|
+
};
|
|
9498
|
+
/** @description Submitted contentHash does not match the server-recomputed canonical hash */
|
|
9499
|
+
422: {
|
|
9500
|
+
headers: {
|
|
9501
|
+
[name: string]: unknown;
|
|
9502
|
+
};
|
|
9503
|
+
content: {
|
|
9504
|
+
"application/json": components["schemas"]["Error"];
|
|
9505
|
+
};
|
|
9506
|
+
};
|
|
9507
|
+
/** @description Internal server error */
|
|
9508
|
+
500: {
|
|
9509
|
+
headers: {
|
|
9510
|
+
[name: string]: unknown;
|
|
9511
|
+
};
|
|
9512
|
+
content: {
|
|
9513
|
+
"application/json": components["schemas"]["Error"];
|
|
9514
|
+
};
|
|
9515
|
+
};
|
|
9516
|
+
};
|
|
9517
|
+
};
|
|
9518
|
+
delete?: never;
|
|
9519
|
+
options?: never;
|
|
9520
|
+
head?: never;
|
|
9521
|
+
patch?: never;
|
|
9522
|
+
trace?: never;
|
|
9523
|
+
};
|
|
9402
9524
|
"/v1/eval/group/{groupId}": {
|
|
9403
9525
|
parameters: {
|
|
9404
9526
|
query?: never;
|
|
@@ -9474,6 +9596,213 @@ interface paths {
|
|
|
9474
9596
|
patch?: never;
|
|
9475
9597
|
trace?: never;
|
|
9476
9598
|
};
|
|
9599
|
+
"/v1/eval/pull": {
|
|
9600
|
+
parameters: {
|
|
9601
|
+
query?: never;
|
|
9602
|
+
header?: never;
|
|
9603
|
+
path?: never;
|
|
9604
|
+
cookie?: never;
|
|
9605
|
+
};
|
|
9606
|
+
/**
|
|
9607
|
+
* Pull eval suite definition (config-as-code)
|
|
9608
|
+
* @description Return the canonical config-as-code definition and provenance for an eval suite by name — the absorb-drift direction of the ensure protocol. The contentHash is recomputed from the live suite state.
|
|
9609
|
+
*/
|
|
9610
|
+
get: {
|
|
9611
|
+
parameters: {
|
|
9612
|
+
query: {
|
|
9613
|
+
name: string;
|
|
9614
|
+
};
|
|
9615
|
+
header?: never;
|
|
9616
|
+
path?: never;
|
|
9617
|
+
cookie?: never;
|
|
9618
|
+
};
|
|
9619
|
+
requestBody?: never;
|
|
9620
|
+
responses: {
|
|
9621
|
+
/** @description Canonical definition + provenance */
|
|
9622
|
+
200: {
|
|
9623
|
+
headers: {
|
|
9624
|
+
[name: string]: unknown;
|
|
9625
|
+
};
|
|
9626
|
+
content: {
|
|
9627
|
+
"application/json": components["schemas"]["EvalPullResponse"];
|
|
9628
|
+
};
|
|
9629
|
+
};
|
|
9630
|
+
/** @description Unauthorized */
|
|
9631
|
+
401: {
|
|
9632
|
+
headers: {
|
|
9633
|
+
[name: string]: unknown;
|
|
9634
|
+
};
|
|
9635
|
+
content: {
|
|
9636
|
+
"application/json": components["schemas"]["Error"];
|
|
9637
|
+
};
|
|
9638
|
+
};
|
|
9639
|
+
/** @description Insufficient permissions */
|
|
9640
|
+
403: {
|
|
9641
|
+
headers: {
|
|
9642
|
+
[name: string]: unknown;
|
|
9643
|
+
};
|
|
9644
|
+
content: {
|
|
9645
|
+
"application/json": components["schemas"]["Error"];
|
|
9646
|
+
};
|
|
9647
|
+
};
|
|
9648
|
+
/** @description No eval suite with that name in the account scope */
|
|
9649
|
+
404: {
|
|
9650
|
+
headers: {
|
|
9651
|
+
[name: string]: unknown;
|
|
9652
|
+
};
|
|
9653
|
+
content: {
|
|
9654
|
+
"application/json": components["schemas"]["Error"];
|
|
9655
|
+
};
|
|
9656
|
+
};
|
|
9657
|
+
/** @description Internal server error */
|
|
9658
|
+
500: {
|
|
9659
|
+
headers: {
|
|
9660
|
+
[name: string]: unknown;
|
|
9661
|
+
};
|
|
9662
|
+
content: {
|
|
9663
|
+
"application/json": components["schemas"]["Error"];
|
|
9664
|
+
};
|
|
9665
|
+
};
|
|
9666
|
+
};
|
|
9667
|
+
};
|
|
9668
|
+
put?: never;
|
|
9669
|
+
post?: never;
|
|
9670
|
+
delete?: never;
|
|
9671
|
+
options?: never;
|
|
9672
|
+
head?: never;
|
|
9673
|
+
patch?: never;
|
|
9674
|
+
trace?: never;
|
|
9675
|
+
};
|
|
9676
|
+
"/v1/eval/run": {
|
|
9677
|
+
parameters: {
|
|
9678
|
+
query?: never;
|
|
9679
|
+
header?: never;
|
|
9680
|
+
path?: never;
|
|
9681
|
+
cookie?: never;
|
|
9682
|
+
};
|
|
9683
|
+
get?: never;
|
|
9684
|
+
put?: never;
|
|
9685
|
+
/**
|
|
9686
|
+
* Run eval suite synchronously
|
|
9687
|
+
* @description Run every case of an eval suite against its target flow/agent and grade the outputs with the suite graders, returning the suite score + per-case gate outcomes in one response. Powers the `runtype eval` CI gate. Synchronous and ephemeral: no batch is created and no scores are persisted (use /eval/submit for a durable, dashboard-visible run). Bounded — suites over the case limit must use the batch path. Flow and standard-agent targets are supported (in both saved and inline/virtual modes); external and claude_managed agent targets are not.
|
|
9688
|
+
*/
|
|
9689
|
+
post: {
|
|
9690
|
+
parameters: {
|
|
9691
|
+
query?: never;
|
|
9692
|
+
header?: never;
|
|
9693
|
+
path?: never;
|
|
9694
|
+
cookie?: never;
|
|
9695
|
+
};
|
|
9696
|
+
requestBody?: {
|
|
9697
|
+
content: {
|
|
9698
|
+
"application/json": {
|
|
9699
|
+
definition?: {
|
|
9700
|
+
cases: {
|
|
9701
|
+
expect: ({
|
|
9702
|
+
kind: string;
|
|
9703
|
+
} & {
|
|
9704
|
+
[key: string]: unknown;
|
|
9705
|
+
})[];
|
|
9706
|
+
expected?: {
|
|
9707
|
+
facts?: string[];
|
|
9708
|
+
json?: unknown;
|
|
9709
|
+
text?: string;
|
|
9710
|
+
};
|
|
9711
|
+
/** @default {} */
|
|
9712
|
+
input?: {
|
|
9713
|
+
messages?: {
|
|
9714
|
+
content: string;
|
|
9715
|
+
role: string;
|
|
9716
|
+
}[];
|
|
9717
|
+
variables?: {
|
|
9718
|
+
[key: string]: unknown;
|
|
9719
|
+
};
|
|
9720
|
+
};
|
|
9721
|
+
name: string;
|
|
9722
|
+
}[];
|
|
9723
|
+
name: string;
|
|
9724
|
+
target: {
|
|
9725
|
+
agent?: string;
|
|
9726
|
+
flow?: string;
|
|
9727
|
+
};
|
|
9728
|
+
virtual?: boolean;
|
|
9729
|
+
};
|
|
9730
|
+
suiteId?: string;
|
|
9731
|
+
};
|
|
9732
|
+
};
|
|
9733
|
+
};
|
|
9734
|
+
responses: {
|
|
9735
|
+
/** @description Suite score + per-case grader outcomes */
|
|
9736
|
+
200: {
|
|
9737
|
+
headers: {
|
|
9738
|
+
[name: string]: unknown;
|
|
9739
|
+
};
|
|
9740
|
+
content: {
|
|
9741
|
+
"application/json": components["schemas"]["RunEvalResponse"];
|
|
9742
|
+
};
|
|
9743
|
+
};
|
|
9744
|
+
/** @description Validation error (bad definition, unresolved/unsupported target, too many cases) */
|
|
9745
|
+
400: {
|
|
9746
|
+
headers: {
|
|
9747
|
+
[name: string]: unknown;
|
|
9748
|
+
};
|
|
9749
|
+
content: {
|
|
9750
|
+
"application/json": components["schemas"]["Error"];
|
|
9751
|
+
};
|
|
9752
|
+
};
|
|
9753
|
+
/** @description Unauthorized */
|
|
9754
|
+
401: {
|
|
9755
|
+
headers: {
|
|
9756
|
+
[name: string]: unknown;
|
|
9757
|
+
};
|
|
9758
|
+
content: {
|
|
9759
|
+
"application/json": components["schemas"]["Error"];
|
|
9760
|
+
};
|
|
9761
|
+
};
|
|
9762
|
+
/** @description Daily eval limit exceeded */
|
|
9763
|
+
402: {
|
|
9764
|
+
headers: {
|
|
9765
|
+
[name: string]: unknown;
|
|
9766
|
+
};
|
|
9767
|
+
content: {
|
|
9768
|
+
"application/json": components["schemas"]["Error"];
|
|
9769
|
+
};
|
|
9770
|
+
};
|
|
9771
|
+
/** @description Forbidden */
|
|
9772
|
+
403: {
|
|
9773
|
+
headers: {
|
|
9774
|
+
[name: string]: unknown;
|
|
9775
|
+
};
|
|
9776
|
+
content: {
|
|
9777
|
+
"application/json": components["schemas"]["Error"];
|
|
9778
|
+
};
|
|
9779
|
+
};
|
|
9780
|
+
/** @description Suite or target not found */
|
|
9781
|
+
404: {
|
|
9782
|
+
headers: {
|
|
9783
|
+
[name: string]: unknown;
|
|
9784
|
+
};
|
|
9785
|
+
content: {
|
|
9786
|
+
"application/json": components["schemas"]["Error"];
|
|
9787
|
+
};
|
|
9788
|
+
};
|
|
9789
|
+
/** @description Internal server error */
|
|
9790
|
+
500: {
|
|
9791
|
+
headers: {
|
|
9792
|
+
[name: string]: unknown;
|
|
9793
|
+
};
|
|
9794
|
+
content: {
|
|
9795
|
+
"application/json": components["schemas"]["Error"];
|
|
9796
|
+
};
|
|
9797
|
+
};
|
|
9798
|
+
};
|
|
9799
|
+
};
|
|
9800
|
+
delete?: never;
|
|
9801
|
+
options?: never;
|
|
9802
|
+
head?: never;
|
|
9803
|
+
patch?: never;
|
|
9804
|
+
trace?: never;
|
|
9805
|
+
};
|
|
9477
9806
|
"/v1/eval/stream": {
|
|
9478
9807
|
parameters: {
|
|
9479
9808
|
query?: never;
|
|
@@ -35205,7 +35534,6 @@ interface paths {
|
|
|
35205
35534
|
enableDashboardAssistant: boolean;
|
|
35206
35535
|
enableRuntypeApps: boolean;
|
|
35207
35536
|
enableSkillScanner: boolean;
|
|
35208
|
-
productGeneratorModel: string;
|
|
35209
35537
|
};
|
|
35210
35538
|
id: string;
|
|
35211
35539
|
orgId?: string | null;
|
|
@@ -35977,6 +36305,53 @@ interface components {
|
|
|
35977
36305
|
}[];
|
|
35978
36306
|
error: string;
|
|
35979
36307
|
};
|
|
36308
|
+
EvalEnsureResponse: {
|
|
36309
|
+
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36310
|
+
contentHash: string;
|
|
36311
|
+
/** @enum {string} */
|
|
36312
|
+
result: "unchanged" | "created" | "updated";
|
|
36313
|
+
suiteId: string;
|
|
36314
|
+
} | {
|
|
36315
|
+
/** @enum {string} */
|
|
36316
|
+
result: "definitionRequired";
|
|
36317
|
+
};
|
|
36318
|
+
EvalPullResponse: {
|
|
36319
|
+
contentHash: string;
|
|
36320
|
+
definition: {
|
|
36321
|
+
cases: {
|
|
36322
|
+
expect: ({
|
|
36323
|
+
kind: string;
|
|
36324
|
+
} & {
|
|
36325
|
+
[key: string]: unknown;
|
|
36326
|
+
})[];
|
|
36327
|
+
expected?: {
|
|
36328
|
+
facts?: string[];
|
|
36329
|
+
json?: unknown;
|
|
36330
|
+
text?: string;
|
|
36331
|
+
};
|
|
36332
|
+
/** @default {} */
|
|
36333
|
+
input: {
|
|
36334
|
+
messages?: {
|
|
36335
|
+
content: string;
|
|
36336
|
+
role: string;
|
|
36337
|
+
}[];
|
|
36338
|
+
variables?: {
|
|
36339
|
+
[key: string]: unknown;
|
|
36340
|
+
};
|
|
36341
|
+
};
|
|
36342
|
+
name: string;
|
|
36343
|
+
}[];
|
|
36344
|
+
name: string;
|
|
36345
|
+
target: {
|
|
36346
|
+
agent?: string;
|
|
36347
|
+
flow?: string;
|
|
36348
|
+
};
|
|
36349
|
+
virtual?: boolean;
|
|
36350
|
+
};
|
|
36351
|
+
lastModifiedSource: string | null;
|
|
36352
|
+
suiteId: string;
|
|
36353
|
+
updatedAt: string | null;
|
|
36354
|
+
};
|
|
35980
36355
|
ExecutionStreamEvent: {
|
|
35981
36356
|
agentId?: string;
|
|
35982
36357
|
agentName?: string;
|
|
@@ -36944,6 +37319,31 @@ interface components {
|
|
|
36944
37319
|
op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "between" | "contains" | "startsWith" | "endsWith" | "in" | "notIn" | "isSet" | "isNotSet" | "isTrue" | "isFalse" | "withinLastDays" | "olderThanDays";
|
|
36945
37320
|
value?: unknown;
|
|
36946
37321
|
};
|
|
37322
|
+
RunEvalResponse: {
|
|
37323
|
+
cases: {
|
|
37324
|
+
errored: boolean;
|
|
37325
|
+
name: string;
|
|
37326
|
+
outcomes: {
|
|
37327
|
+
graderIndex: number;
|
|
37328
|
+
kind: string;
|
|
37329
|
+
passed: boolean;
|
|
37330
|
+
reasoning?: string;
|
|
37331
|
+
score?: number;
|
|
37332
|
+
}[];
|
|
37333
|
+
outputExcerpt: string;
|
|
37334
|
+
passed: boolean;
|
|
37335
|
+
}[];
|
|
37336
|
+
name: string;
|
|
37337
|
+
/** @description True when every case passed every grader. */
|
|
37338
|
+
passed: boolean;
|
|
37339
|
+
passedCases: number;
|
|
37340
|
+
/** @description Suite score, 0..1 (passed cases / total cases). */
|
|
37341
|
+
score: number;
|
|
37342
|
+
suiteId: string | null;
|
|
37343
|
+
/** @enum {string} */
|
|
37344
|
+
targetType: "flow" | "agent";
|
|
37345
|
+
totalCases: number;
|
|
37346
|
+
};
|
|
36947
37347
|
SkillEnsureConflict: {
|
|
36948
37348
|
/** @enum {string} */
|
|
36949
37349
|
code: "external_modification" | "remote_changed";
|
|
@@ -40174,6 +40574,319 @@ declare class BatchesNamespace {
|
|
|
40174
40574
|
}>;
|
|
40175
40575
|
}
|
|
40176
40576
|
|
|
40577
|
+
/**
|
|
40578
|
+
* Eval config-as-code: `defineEval` + the grader builders.
|
|
40579
|
+
*
|
|
40580
|
+
* The authoring layer for code-colocated evals — define the evals for a flow or
|
|
40581
|
+
* agent right next to its `defineFlow` / `flows.ensure` definition. This module
|
|
40582
|
+
* is PURE and local (no I/O), the exact analog of `defineFlow` in
|
|
40583
|
+
* `flows-ensure.ts`: it validates and normalizes a loose `DefineEvalInput` into
|
|
40584
|
+
* a canonical `EvalDefinition` (target + cases + per-case graders) and computes
|
|
40585
|
+
* a content hash for hash-first convergence. The converge motion
|
|
40586
|
+
* (`client.evals.ensure` → `POST /eval/ensure`) and the `runtype eval` CLI build
|
|
40587
|
+
* on this contract in later increments.
|
|
40588
|
+
*
|
|
40589
|
+
* Grader types are MIRRORED INLINE from `@runtypelabs/shared`'s
|
|
40590
|
+
* `grader-types.ts` (the SDK is dependency-free by convention — see the same
|
|
40591
|
+
* pattern in `flows-ensure.ts`). The wire shapes must stay byte-identical to the
|
|
40592
|
+
* shared discriminated union so an eval authored here scores through the existing
|
|
40593
|
+
* `EvalScoringService` unchanged.
|
|
40594
|
+
*
|
|
40595
|
+
* v1 scope: only graders the server already scores (the output + AI-judge union).
|
|
40596
|
+
* Trace graders (`called_tool` / `step_order` / …) and severity (`.gate()` /
|
|
40597
|
+
* `.soft()`) are deliberately NOT emitted here — they land with their server-side
|
|
40598
|
+
* grader-engine extensions. See
|
|
40599
|
+
* `docs/features/planning/2026-06-24-code-colocated-evals.md`.
|
|
40600
|
+
*/
|
|
40601
|
+
|
|
40602
|
+
/** Deterministic, free, instant checks. Scored by the pure `runCheck` engine. */
|
|
40603
|
+
type CheckGrader = {
|
|
40604
|
+
kind: 'contains';
|
|
40605
|
+
value: string;
|
|
40606
|
+
caseSensitive?: boolean;
|
|
40607
|
+
} | {
|
|
40608
|
+
kind: 'not_contains';
|
|
40609
|
+
value: string;
|
|
40610
|
+
caseSensitive?: boolean;
|
|
40611
|
+
} | {
|
|
40612
|
+
kind: 'matches_expected';
|
|
40613
|
+
} | {
|
|
40614
|
+
kind: 'regex';
|
|
40615
|
+
pattern: string;
|
|
40616
|
+
flags?: string;
|
|
40617
|
+
} | {
|
|
40618
|
+
kind: 'valid_json';
|
|
40619
|
+
} | {
|
|
40620
|
+
kind: 'json_field';
|
|
40621
|
+
path: string;
|
|
40622
|
+
equals?: unknown;
|
|
40623
|
+
exists?: boolean;
|
|
40624
|
+
} | {
|
|
40625
|
+
kind: 'length';
|
|
40626
|
+
minChars?: number;
|
|
40627
|
+
maxChars?: number;
|
|
40628
|
+
} | {
|
|
40629
|
+
kind: 'latency';
|
|
40630
|
+
maxMs: number;
|
|
40631
|
+
} | {
|
|
40632
|
+
kind: 'no_error';
|
|
40633
|
+
};
|
|
40634
|
+
/** Built-in AI-grader preset ids (mirror of `BUILT_IN_GRADER_IDS`). */
|
|
40635
|
+
type BuiltInGraderId = 'answersQuestion' | 'matchesExpected' | 'followsInstructions' | 'grounded' | 'rightTone' | 'safeToSend';
|
|
40636
|
+
/** LLM-as-judge over plain-language criteria. Scored by the api grader executor. */
|
|
40637
|
+
interface AIGrader {
|
|
40638
|
+
kind: 'ai';
|
|
40639
|
+
preset?: BuiltInGraderId;
|
|
40640
|
+
/** Plain language: "what does a good answer look like?" */
|
|
40641
|
+
criteria: string;
|
|
40642
|
+
/** Reference-guided when the case has `expected`. */
|
|
40643
|
+
useExpected?: boolean;
|
|
40644
|
+
/** Defaults to a cheap routed model at execution time. */
|
|
40645
|
+
model?: string;
|
|
40646
|
+
/** Pass cutoff on the 1-5 judge scale (default 4 server-side). */
|
|
40647
|
+
threshold?: number;
|
|
40648
|
+
}
|
|
40649
|
+
type GraderConfig = CheckGrader | AIGrader;
|
|
40650
|
+
/** What a good answer looks like for a case (mirror of `CaseExpected`). */
|
|
40651
|
+
interface CaseExpected {
|
|
40652
|
+
text?: string;
|
|
40653
|
+
json?: unknown;
|
|
40654
|
+
facts?: string[];
|
|
40655
|
+
}
|
|
40656
|
+
/** Output contains `value` (case-insensitive unless `caseSensitive`). */
|
|
40657
|
+
declare function contains(value: string, opts?: {
|
|
40658
|
+
caseSensitive?: boolean;
|
|
40659
|
+
}): CheckGrader;
|
|
40660
|
+
/** Output does NOT contain `value`. */
|
|
40661
|
+
declare function notContains(value: string, opts?: {
|
|
40662
|
+
caseSensitive?: boolean;
|
|
40663
|
+
}): CheckGrader;
|
|
40664
|
+
/** Output equals the case's `expected.text` (trim/lowercase/collapse-whitespace normalized). */
|
|
40665
|
+
declare function matchesExpected(): CheckGrader;
|
|
40666
|
+
/** Output matches a regular expression. */
|
|
40667
|
+
declare function regex(pattern: string, flags?: string): CheckGrader;
|
|
40668
|
+
/** Output parses as JSON. */
|
|
40669
|
+
declare function validJson(): CheckGrader;
|
|
40670
|
+
/**
|
|
40671
|
+
* A dot-path field in the output's parsed JSON. With `equals`, asserts value
|
|
40672
|
+
* equality; otherwise asserts presence (`exists: false` asserts absence).
|
|
40673
|
+
*/
|
|
40674
|
+
declare function jsonField(path: string, opts?: {
|
|
40675
|
+
equals?: unknown;
|
|
40676
|
+
exists?: boolean;
|
|
40677
|
+
}): CheckGrader;
|
|
40678
|
+
/** Output character length is within `[minChars, maxChars]`. */
|
|
40679
|
+
declare function length(opts: {
|
|
40680
|
+
minChars?: number;
|
|
40681
|
+
maxChars?: number;
|
|
40682
|
+
}): CheckGrader;
|
|
40683
|
+
/** End-to-end latency is within `maxMs`. */
|
|
40684
|
+
declare function latency(maxMs: number): CheckGrader;
|
|
40685
|
+
/** The case produced output without erroring. */
|
|
40686
|
+
declare function noError(): CheckGrader;
|
|
40687
|
+
/**
|
|
40688
|
+
* LLM-as-judge over free-form criteria. Soft, model-graded — reach for it only
|
|
40689
|
+
* when no deterministic check captures what "good" means.
|
|
40690
|
+
*/
|
|
40691
|
+
declare function judge(criteria: string, opts?: {
|
|
40692
|
+
useExpected?: boolean;
|
|
40693
|
+
model?: string;
|
|
40694
|
+
threshold?: number;
|
|
40695
|
+
preset?: BuiltInGraderId;
|
|
40696
|
+
}): AIGrader;
|
|
40697
|
+
/**
|
|
40698
|
+
* The built-in AI-grader presets (criteria mirrored from `BUILT_IN_GRADERS`).
|
|
40699
|
+
* Each returns a ready `AIGrader`; pass an override string to `rightTone`.
|
|
40700
|
+
*/
|
|
40701
|
+
declare const judges: {
|
|
40702
|
+
readonly answersQuestion: () => AIGrader;
|
|
40703
|
+
readonly matchesExpected: () => AIGrader;
|
|
40704
|
+
readonly followsInstructions: () => AIGrader;
|
|
40705
|
+
readonly grounded: () => AIGrader;
|
|
40706
|
+
readonly rightTone: (voice?: string) => AIGrader;
|
|
40707
|
+
readonly safeToSend: () => AIGrader;
|
|
40708
|
+
};
|
|
40709
|
+
interface EvalMessage {
|
|
40710
|
+
role: 'user' | 'assistant' | 'system';
|
|
40711
|
+
content: string;
|
|
40712
|
+
}
|
|
40713
|
+
/** A case's input: flow variables and/or a scripted conversation to replay. */
|
|
40714
|
+
interface EvalCaseInput {
|
|
40715
|
+
variables?: Record<string, unknown>;
|
|
40716
|
+
messages?: EvalMessage[];
|
|
40717
|
+
}
|
|
40718
|
+
/** The target a suite evaluates — a saved flow or agent, by portable name. */
|
|
40719
|
+
type EvalTarget = {
|
|
40720
|
+
flow: string;
|
|
40721
|
+
} | {
|
|
40722
|
+
agent: string;
|
|
40723
|
+
};
|
|
40724
|
+
/** Loose per-case input to `defineEval`. */
|
|
40725
|
+
interface DefineEvalCaseInput {
|
|
40726
|
+
name: string;
|
|
40727
|
+
input?: EvalCaseInput;
|
|
40728
|
+
expected?: CaseExpected;
|
|
40729
|
+
/** Case-level graders, appended after any suite-level `graders`. */
|
|
40730
|
+
expect?: GraderConfig[];
|
|
40731
|
+
}
|
|
40732
|
+
/** Loose input to `defineEval` (validated + normalized into `EvalDefinition`). */
|
|
40733
|
+
interface DefineEvalInput {
|
|
40734
|
+
/**
|
|
40735
|
+
* Suite name — the converge identity (name + account scope), exactly like a
|
|
40736
|
+
* flow's name. Optional: defaults to a stable name derived from the target
|
|
40737
|
+
* (`flow:<name>` / `agent:<name>`). Give two suites for the same target
|
|
40738
|
+
* distinct names (e.g. 'smoke', 'regression') to keep them separate.
|
|
40739
|
+
*/
|
|
40740
|
+
name?: string;
|
|
40741
|
+
target: EvalTarget;
|
|
40742
|
+
/** Graders applied to EVERY case (suite-level). Run before each case's `expect`. */
|
|
40743
|
+
graders?: GraderConfig[];
|
|
40744
|
+
cases: DefineEvalCaseInput[];
|
|
40745
|
+
/**
|
|
40746
|
+
* Run without persisting a durable suite/batch to the dashboard (the 'virtual'
|
|
40747
|
+
* opt-out, mirroring `useVirtualFlow` / `storeResults:false`). Default false:
|
|
40748
|
+
* evals run via this surface are dashboard-visible by default.
|
|
40749
|
+
*/
|
|
40750
|
+
virtual?: boolean;
|
|
40751
|
+
}
|
|
40752
|
+
/** A normalized case: graders merged (suite-level then case-level) into `expect`. */
|
|
40753
|
+
interface EvalCaseDefinition {
|
|
40754
|
+
name: string;
|
|
40755
|
+
input: EvalCaseInput;
|
|
40756
|
+
expected?: CaseExpected;
|
|
40757
|
+
expect: GraderConfig[];
|
|
40758
|
+
}
|
|
40759
|
+
/** The canonical (wire) eval definition produced by `defineEval`. */
|
|
40760
|
+
interface EvalDefinition {
|
|
40761
|
+
/** Suite name — the converge identity. Derived from the target when omitted. */
|
|
40762
|
+
name: string;
|
|
40763
|
+
target: EvalTarget;
|
|
40764
|
+
cases: EvalCaseDefinition[];
|
|
40765
|
+
virtual: boolean;
|
|
40766
|
+
}
|
|
40767
|
+
/**
|
|
40768
|
+
* Pure-local declarative constructor for an eval definition. No I/O. Validates
|
|
40769
|
+
* structure, rejects unknown fields, merges suite-level `graders` into each
|
|
40770
|
+
* case's `expect`, and produces a canonical, environment-portable
|
|
40771
|
+
* `EvalDefinition`. The target names a saved flow/agent by name (portable across
|
|
40772
|
+
* environments, like `defineFlow`'s `flow:<name>` references).
|
|
40773
|
+
*
|
|
40774
|
+
* @example
|
|
40775
|
+
* ```typescript
|
|
40776
|
+
* import { defineEval, contains, judges } from '@runtypelabs/sdk'
|
|
40777
|
+
*
|
|
40778
|
+
* export default defineEval({
|
|
40779
|
+
* target: { flow: 'support-triage' },
|
|
40780
|
+
* graders: [contains('ticket')],
|
|
40781
|
+
* cases: [
|
|
40782
|
+
* {
|
|
40783
|
+
* name: 'billing routes to finance',
|
|
40784
|
+
* input: { variables: { message: 'I was double charged' } },
|
|
40785
|
+
* expect: [contains('finance'), judges.answersQuestion()],
|
|
40786
|
+
* },
|
|
40787
|
+
* ],
|
|
40788
|
+
* })
|
|
40789
|
+
* ```
|
|
40790
|
+
*/
|
|
40791
|
+
declare function defineEval(input: DefineEvalInput): EvalDefinition;
|
|
40792
|
+
/**
|
|
40793
|
+
* SHA-256 (hex) over the canonical normalized definition. Cases are sorted by
|
|
40794
|
+
* name (name is the case identity); grader order WITHIN a case is preserved
|
|
40795
|
+
* (reordering graders changes their result index, so it is a meaningful edit).
|
|
40796
|
+
* The hash is the basis for hash-first convergence in `client.evals.ensure`.
|
|
40797
|
+
*/
|
|
40798
|
+
declare function computeEvalContentHash(definition: EvalDefinition): Promise<string>;
|
|
40799
|
+
/** The converge outcome of `client.evals.ensure(definition)`. */
|
|
40800
|
+
interface EnsureEvalResult {
|
|
40801
|
+
result: 'unchanged' | 'created' | 'updated';
|
|
40802
|
+
/** The persisted eval suite id. */
|
|
40803
|
+
suiteId: string;
|
|
40804
|
+
/** The server-computed canonical hash (echo this — never your own). */
|
|
40805
|
+
contentHash: string;
|
|
40806
|
+
}
|
|
40807
|
+
/** The canonical definition + provenance returned by `client.evals.pull(name)`. */
|
|
40808
|
+
interface EvalPullResult {
|
|
40809
|
+
suiteId: string;
|
|
40810
|
+
definition: EvalDefinition;
|
|
40811
|
+
contentHash: string;
|
|
40812
|
+
lastModifiedSource: string | null;
|
|
40813
|
+
updatedAt: string | null;
|
|
40814
|
+
}
|
|
40815
|
+
/**
|
|
40816
|
+
* One grader's verdict for one case (mirror of `@runtypelabs/shared`'s
|
|
40817
|
+
* `GraderOutcome`). `graderIndex` is the position in the suite's grader list.
|
|
40818
|
+
*/
|
|
40819
|
+
interface GraderOutcome {
|
|
40820
|
+
graderIndex: number;
|
|
40821
|
+
kind: string;
|
|
40822
|
+
passed: boolean;
|
|
40823
|
+
/** 0..1 for scaled graders (AI graders normalize their 1-5 to 0..1). */
|
|
40824
|
+
score?: number;
|
|
40825
|
+
/** AI-grader verdict, or a check's human-readable reason. */
|
|
40826
|
+
reasoning?: string;
|
|
40827
|
+
}
|
|
40828
|
+
/** One case's run result: pass/fail plus each grader's outcome. */
|
|
40829
|
+
interface RunEvalCaseResult {
|
|
40830
|
+
name: string;
|
|
40831
|
+
passed: boolean;
|
|
40832
|
+
outcomes: GraderOutcome[];
|
|
40833
|
+
/** Truncated final-output snapshot (for surfacing a failing case in CI logs). */
|
|
40834
|
+
outputExcerpt: string;
|
|
40835
|
+
/** Whether producing the output threw. */
|
|
40836
|
+
errored: boolean;
|
|
40837
|
+
}
|
|
40838
|
+
/** The synchronous run + score result returned by `client.evals.runSuite(...)`. */
|
|
40839
|
+
interface RunEvalResult {
|
|
40840
|
+
/** The saved suite id, or `null` for an inline (virtual) run. */
|
|
40841
|
+
suiteId: string | null;
|
|
40842
|
+
name: string;
|
|
40843
|
+
targetType: 'flow' | 'agent';
|
|
40844
|
+
/** Suite score, 0..1 (passed cases / total cases). */
|
|
40845
|
+
score: number;
|
|
40846
|
+
/** True when every case passed every grader. */
|
|
40847
|
+
passed: boolean;
|
|
40848
|
+
totalCases: number;
|
|
40849
|
+
passedCases: number;
|
|
40850
|
+
cases: RunEvalCaseResult[];
|
|
40851
|
+
}
|
|
40852
|
+
/**
|
|
40853
|
+
* Run a saved suite by id (the post-`ensure` path) XOR an inline definition (the
|
|
40854
|
+
* `virtual` path — nothing is persisted). Exactly one must be provided.
|
|
40855
|
+
*/
|
|
40856
|
+
type RunEvalInput = {
|
|
40857
|
+
suiteId: string;
|
|
40858
|
+
} | {
|
|
40859
|
+
definition: EvalDefinition;
|
|
40860
|
+
};
|
|
40861
|
+
/**
|
|
40862
|
+
* Idempotently converge an eval suite definition onto the platform. Hash-first:
|
|
40863
|
+
* probes with a content hash, and only ships the full definition when the
|
|
40864
|
+
* server reports a miss (`definitionRequired`). Upserts the suite + replaces
|
|
40865
|
+
* its cases; never executes the eval (use the `runtype eval` CLI / `/eval`
|
|
40866
|
+
* submit surface to run it).
|
|
40867
|
+
*
|
|
40868
|
+
* `virtual: true` definitions are ephemeral and have nothing durable to
|
|
40869
|
+
* converge — ensure rejects them. Run a virtual eval directly instead.
|
|
40870
|
+
*/
|
|
40871
|
+
declare function ensureEval(client: RuntypeClient$1, definition: EvalDefinition): Promise<EnsureEvalResult>;
|
|
40872
|
+
/**
|
|
40873
|
+
* Pull the canonical definition + provenance for an eval suite by name — the
|
|
40874
|
+
* absorb-drift direction of the ensure protocol. The contentHash reflects the
|
|
40875
|
+
* live suite state.
|
|
40876
|
+
*/
|
|
40877
|
+
declare function pullEval(client: RuntypeClient$1, name: string): Promise<EvalPullResult>;
|
|
40878
|
+
/**
|
|
40879
|
+
* Run an eval suite synchronously and return the suite score + per-case grader
|
|
40880
|
+
* outcomes. Powers the `runtype eval` CI gate: a saved suite is run by id (after
|
|
40881
|
+
* `ensure`); a `virtual` definition is run inline without persisting anything.
|
|
40882
|
+
*
|
|
40883
|
+
* Synchronous and ephemeral — no batch is created and no scores are saved (use
|
|
40884
|
+
* the dashboard / `/eval/submit` for a durable, dashboard-visible run). Bounded:
|
|
40885
|
+
* suites over the server's per-run case limit must use the batch path. Not
|
|
40886
|
+
* supported here: `claude_managed` agents and inline/virtual agent targets.
|
|
40887
|
+
*/
|
|
40888
|
+
declare function runEvalSuite(client: RuntypeClient$1, input: RunEvalInput): Promise<RunEvalResult>;
|
|
40889
|
+
|
|
40177
40890
|
/**
|
|
40178
40891
|
* EvalsNamespace - Static namespace for evaluation operations
|
|
40179
40892
|
*
|
|
@@ -40356,6 +41069,43 @@ declare class EvalsNamespace {
|
|
|
40356
41069
|
* ```
|
|
40357
41070
|
*/
|
|
40358
41071
|
run(config: EvalRunConfig): EvalRunner;
|
|
41072
|
+
/**
|
|
41073
|
+
* Idempotently converge a `defineEval` suite definition onto the platform —
|
|
41074
|
+
* the deploy-time, non-executing converge for code-colocated evals. Hash-first:
|
|
41075
|
+
* the steady state is one tiny probe request. Upserts the eval suite + replaces
|
|
41076
|
+
* its cases; never runs the eval.
|
|
41077
|
+
*
|
|
41078
|
+
* @example
|
|
41079
|
+
* ```typescript
|
|
41080
|
+
* const suite = defineEval({
|
|
41081
|
+
* target: { flow: 'support-triage' },
|
|
41082
|
+
* graders: [noError()],
|
|
41083
|
+
* cases: [{ name: 'billing', input: { variables: { message: 'I was double charged' } }, expect: [contains('finance')] }],
|
|
41084
|
+
* })
|
|
41085
|
+
* const result = await Runtype.evals.ensure(suite)
|
|
41086
|
+
* ```
|
|
41087
|
+
*/
|
|
41088
|
+
ensure(definition: EvalDefinition): Promise<EnsureEvalResult>;
|
|
41089
|
+
/**
|
|
41090
|
+
* Pull the canonical definition + provenance for an eval suite by name — the
|
|
41091
|
+
* absorb-drift direction of the ensure protocol.
|
|
41092
|
+
*/
|
|
41093
|
+
pull(name: string): Promise<EvalPullResult>;
|
|
41094
|
+
/**
|
|
41095
|
+
* Run an eval suite synchronously and return the suite score + per-case grader
|
|
41096
|
+
* outcomes — the executing counterpart of `ensure`, powering the `runtype
|
|
41097
|
+
* eval` CI gate. Run a saved suite by id (`{ suiteId }`, the post-`ensure`
|
|
41098
|
+
* path) or an inline definition without persisting (`{ definition }`, the
|
|
41099
|
+
* virtual path).
|
|
41100
|
+
*
|
|
41101
|
+
* @example
|
|
41102
|
+
* ```typescript
|
|
41103
|
+
* const { suiteId } = await Runtype.evals.ensure(suite)
|
|
41104
|
+
* const result = await Runtype.evals.runSuite({ suiteId })
|
|
41105
|
+
* if (!result.passed) process.exit(1)
|
|
41106
|
+
* ```
|
|
41107
|
+
*/
|
|
41108
|
+
runSuite(input: RunEvalInput): Promise<RunEvalResult>;
|
|
40359
41109
|
/**
|
|
40360
41110
|
* Get evaluation status by ID
|
|
40361
41111
|
*
|
|
@@ -46994,4 +47744,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
46994
47744
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
46995
47745
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
46996
47746
|
|
|
46997
|
-
export { type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type App, type AppManifest, type AppVersion, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, AppsEndpoint, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, ChatEndpoint, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateAppRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateConversationRequest, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DefineAgentInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchClient, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalClient, EvalEndpoint, type EvalListParams, type EvalOptions, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunConfig, EvalRunner, type EvalStatus, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchGitHubStepConfig$1 as FetchGitHubStepConfig, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type ImageContentPart, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListConversationsResponse, type ListParams, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchGitHubStepConfig as RuntypeFetchGitHubStepConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SendTextStepConfig as RuntypeSendTextStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SendTextStepConfig$1 as SendTextStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, UNIFIED_EVENTS_QUERY, type UpdateAppRequest, type UpdateClientTokenRequest, type UpdateConversationRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, compileWorkflowConfig, computeAgentContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, listWorkflowHooks, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullFpo, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, streamEvents, unregisterWorkflowHook, withUnifiedEvents };
|
|
47747
|
+
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type App, type AppManifest, type AppVersion, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, AppsEndpoint, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CaseExpected, ChatEndpoint, type CheckGrader, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateAppRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateConversationRequest, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchClient, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunConfig, EvalRunner, type EvalStatus, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchGitHubStepConfig$1 as FetchGitHubStepConfig, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GraderConfig, type GraderOutcome, type ImageContentPart, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListConversationsResponse, type ListParams, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchGitHubStepConfig as RuntypeFetchGitHubStepConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SendTextStepConfig as RuntypeSendTextStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SendTextStepConfig$1 as SendTextStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, UNIFIED_EVENTS_QUERY, type UpdateAppRequest, type UpdateClientTokenRequest, type UpdateConversationRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, compileWorkflowConfig, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, streamEvents, unregisterWorkflowHook, validJson, withUnifiedEvents };
|