@roarkanalytics/sdk 4.20.0 → 4.22.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/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/resources/benchmark.d.mts +6 -4
- package/resources/benchmark.d.mts.map +1 -1
- package/resources/benchmark.d.ts +6 -4
- package/resources/benchmark.d.ts.map +1 -1
- package/resources/call.d.mts +21 -0
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +21 -0
- package/resources/call.d.ts.map +1 -1
- package/resources/config.d.mts +24 -0
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +24 -0
- package/resources/config.d.ts.map +1 -1
- package/resources/simulation-job.d.mts +34 -2
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +34 -2
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +141 -5
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +141 -5
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan.d.mts +102 -0
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +102 -0
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation.d.mts +34 -0
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +34 -0
- package/resources/simulation.d.ts.map +1 -1
- package/src/resources/benchmark.ts +6 -4
- package/src/resources/call.ts +25 -0
- package/src/resources/config.ts +48 -0
- package/src/resources/simulation-job.ts +40 -2
- package/src/resources/simulation-run-plan-job.ts +168 -5
- package/src/resources/simulation-run-plan.ts +114 -0
- package/src/resources/simulation.ts +38 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -212,13 +212,27 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
212
212
|
* Simulation run plan job with all associated simulation jobs
|
|
213
213
|
*/
|
|
214
214
|
export interface Data {
|
|
215
|
+
/**
|
|
216
|
+
* The run’s simulations against its test cases. Differs from a plain job count
|
|
217
|
+
* only when the plan retries simulations your agent never spoke on.
|
|
218
|
+
*/
|
|
219
|
+
attemptSummary: Data.AttemptSummary;
|
|
220
|
+
|
|
215
221
|
/**
|
|
216
222
|
* When the job was created
|
|
217
223
|
*/
|
|
218
224
|
createdAt: string;
|
|
219
225
|
|
|
220
226
|
/**
|
|
221
|
-
*
|
|
227
|
+
* Retries waiting out their backoff, soonest first. While this is not empty the
|
|
228
|
+
* run is waiting, not stuck: it settles only once every test case has a final
|
|
229
|
+
* attempt. Empty when nothing is scheduled.
|
|
230
|
+
*/
|
|
231
|
+
pendingRetries: Array<Data.PendingRetry>;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* List of simulation jobs (calls) in this run plan job, every attempt included: a
|
|
235
|
+
* simulation your agent never spoke on stays listed after a retry replaces it.
|
|
222
236
|
*/
|
|
223
237
|
simulationJobs: Array<Data.SimulationJob>;
|
|
224
238
|
|
|
@@ -280,12 +294,80 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
280
294
|
}
|
|
281
295
|
|
|
282
296
|
export namespace Data {
|
|
297
|
+
/**
|
|
298
|
+
* The run’s simulations against its test cases. Differs from a plain job count
|
|
299
|
+
* only when the plan retries simulations your agent never spoke on.
|
|
300
|
+
*/
|
|
301
|
+
export interface AttemptSummary {
|
|
302
|
+
/**
|
|
303
|
+
* Every simulation placed, retries included. Each is a separate, billed call.
|
|
304
|
+
*/
|
|
305
|
+
attemptCount: number;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Simulations placed as a retry of one your agent never spoke on.
|
|
309
|
+
*/
|
|
310
|
+
retryCount: number;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Simulations your agent never spoke on, including the ones a retry replaced.
|
|
314
|
+
*/
|
|
315
|
+
silentAttemptCount: number;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Test cases whose final attempt your agent still never spoke on. This is what the
|
|
319
|
+
* `AGENT_NEVER_SPOKE` verdict failure counts.
|
|
320
|
+
*/
|
|
321
|
+
stillSilentTestCaseCount: number;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Test cases in the run. Each one has a single final attempt that its result is
|
|
325
|
+
* read from.
|
|
326
|
+
*/
|
|
327
|
+
testCaseCount: number;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* A retry of a simulation your agent never spoke on, waiting out its backoff
|
|
332
|
+
* before it dials.
|
|
333
|
+
*/
|
|
334
|
+
export interface PendingRetry {
|
|
335
|
+
/**
|
|
336
|
+
* Its place among its test case’s attempts, 2 for the first retry.
|
|
337
|
+
*/
|
|
338
|
+
attemptNumber: number;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The most attempts a test case can get on this run: the plan’s
|
|
342
|
+
* `maxNoResponseRetries` plus 1.
|
|
343
|
+
*/
|
|
344
|
+
maxAttempts: number;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* When the retry dials, ISO 8601. It may wait longer behind the run’s concurrency
|
|
348
|
+
* limit.
|
|
349
|
+
*/
|
|
350
|
+
scheduledAt: string | null;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The scheduled retry.
|
|
354
|
+
*/
|
|
355
|
+
simulationJobId: string;
|
|
356
|
+
}
|
|
357
|
+
|
|
283
358
|
export interface SimulationJob {
|
|
284
359
|
/**
|
|
285
360
|
* Agent endpoint used in a simulation
|
|
286
361
|
*/
|
|
287
362
|
agentEndpoint: SimulationJob.AgentEndpoint;
|
|
288
363
|
|
|
364
|
+
/**
|
|
365
|
+
* This simulation’s place among its test case’s attempts: 1 for the first, 2 for
|
|
366
|
+
* the first retry. Above 1 only when the plan retries simulations your agent never
|
|
367
|
+
* spoke on.
|
|
368
|
+
*/
|
|
369
|
+
attemptNumber: number;
|
|
370
|
+
|
|
289
371
|
/**
|
|
290
372
|
* The background noise the call actually ran with. `persona.backgroundNoise` is
|
|
291
373
|
* only what the persona was set to; a flow’s environment overrides it, and on a
|
|
@@ -325,18 +407,30 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
325
407
|
| 'COLLECTING_METRICS'
|
|
326
408
|
| 'COMPLETED';
|
|
327
409
|
|
|
410
|
+
/**
|
|
411
|
+
* The simulation this one retries, because your agent never spoke on it. Null on a
|
|
412
|
+
* test case’s first attempt.
|
|
413
|
+
*/
|
|
414
|
+
retryOfSimulationJobId: string | null;
|
|
415
|
+
|
|
328
416
|
/**
|
|
329
417
|
* Scenario used in a simulation
|
|
330
418
|
*/
|
|
331
419
|
scenario: SimulationJob.Scenario;
|
|
332
420
|
|
|
421
|
+
/**
|
|
422
|
+
* When a `RETRY_SCHEDULED` retry dials, ISO 8601. Null on a first attempt.
|
|
423
|
+
*/
|
|
424
|
+
scheduledAt: string | null;
|
|
425
|
+
|
|
333
426
|
/**
|
|
334
427
|
* Simulation job ID
|
|
335
428
|
*/
|
|
336
429
|
simulationJobId: string;
|
|
337
430
|
|
|
338
431
|
/**
|
|
339
|
-
* Job status
|
|
432
|
+
* Job status. `RETRY_SCHEDULED` is a retry of a simulation your agent never spoke
|
|
433
|
+
* on, waiting out the plan’s `noResponseRetryBackoffSeconds` before it dials.
|
|
340
434
|
*/
|
|
341
435
|
status:
|
|
342
436
|
| 'PENDING'
|
|
@@ -346,7 +440,8 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
346
440
|
| 'FAILED'
|
|
347
441
|
| 'TIMED_OUT'
|
|
348
442
|
| 'CANCELLED'
|
|
349
|
-
| 'CANCELLING'
|
|
443
|
+
| 'CANCELLING'
|
|
444
|
+
| 'RETRY_SCHEDULED';
|
|
350
445
|
|
|
351
446
|
/**
|
|
352
447
|
* ID of the call created for this simulation job. Null if the call has not been
|
|
@@ -789,6 +884,13 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
789
884
|
*/
|
|
790
885
|
minimumDetectableGap: number | null;
|
|
791
886
|
|
|
887
|
+
/**
|
|
888
|
+
* The values your agent never spoke on significantly more often than the rest of
|
|
889
|
+
* the run, most significant first, tested the same way as `worseValues`. Empty on
|
|
890
|
+
* a run with no silent simulations.
|
|
891
|
+
*/
|
|
892
|
+
neverSpokeValues: Array<SweepAttribution.NeverSpokeValue>;
|
|
893
|
+
|
|
792
894
|
/**
|
|
793
895
|
* How many values had enough counted simulations to be compared.
|
|
794
896
|
*/
|
|
@@ -882,6 +984,47 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
882
984
|
}
|
|
883
985
|
}
|
|
884
986
|
|
|
987
|
+
/**
|
|
988
|
+
* A value your agent never spoke on significantly more often than the rest of the
|
|
989
|
+
* run.
|
|
990
|
+
*/
|
|
991
|
+
export interface NeverSpokeValue {
|
|
992
|
+
/**
|
|
993
|
+
* How likely a difference at least this large would be by chance alone, after
|
|
994
|
+
* correcting across the values (Benjamini-Hochberg).
|
|
995
|
+
*/
|
|
996
|
+
adjustedPValue: number;
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Simulations run at this value.
|
|
1000
|
+
*/
|
|
1001
|
+
attempted: number;
|
|
1002
|
+
|
|
1003
|
+
label: string;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Simulations run across every other value combined.
|
|
1007
|
+
*/
|
|
1008
|
+
restAttempted: number;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Simulations your agent never spoke on across every other value combined.
|
|
1012
|
+
*/
|
|
1013
|
+
restSilentAttempts: number;
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* Retries placed at this value because your agent never spoke.
|
|
1017
|
+
*/
|
|
1018
|
+
retries: number;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Simulations at this value your agent never spoke on, retried or not.
|
|
1022
|
+
*/
|
|
1023
|
+
silentAttempts: number;
|
|
1024
|
+
|
|
1025
|
+
value: string;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
885
1028
|
/**
|
|
886
1029
|
* One value of the swept property.
|
|
887
1030
|
*/
|
|
@@ -908,6 +1051,12 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
908
1051
|
*/
|
|
909
1052
|
label: string;
|
|
910
1053
|
|
|
1054
|
+
/**
|
|
1055
|
+
* Of `attempted`, the retries of simulations your agent never spoke on. Zero
|
|
1056
|
+
* unless the plan retries silent simulations.
|
|
1057
|
+
*/
|
|
1058
|
+
retries: number;
|
|
1059
|
+
|
|
911
1060
|
/**
|
|
912
1061
|
* The mean of each check's pass rate at this value, 0-100, the same rule as the
|
|
913
1062
|
* run's `score`. Descriptive only: a lower score alone never makes a value worse.
|
|
@@ -915,6 +1064,12 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
915
1064
|
*/
|
|
916
1065
|
score: number | null;
|
|
917
1066
|
|
|
1067
|
+
/**
|
|
1068
|
+
* Of `attempted`, the simulations your agent never spoke on, whether or not a
|
|
1069
|
+
* retry followed. They are invalidated, so they are never in `counted`.
|
|
1070
|
+
*/
|
|
1071
|
+
silentAttempts: number;
|
|
1072
|
+
|
|
918
1073
|
/**
|
|
919
1074
|
* Whether this value had at least `minArmCalls` counted simulations. A value below
|
|
920
1075
|
* that is "insufficient data": it is reported with its numbers but never compared
|
|
@@ -1063,12 +1218,13 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
1063
1218
|
maxShare: number;
|
|
1064
1219
|
|
|
1065
1220
|
/**
|
|
1066
|
-
*
|
|
1221
|
+
* Test cases your agent never spoke on, judged on each test case’s last attempt: a
|
|
1222
|
+
* silent simulation a retry later reached your agent on does not count here.
|
|
1067
1223
|
*/
|
|
1068
1224
|
neverSpokeCalls: number;
|
|
1069
1225
|
|
|
1070
1226
|
/**
|
|
1071
|
-
* Every
|
|
1227
|
+
* Every test case of the run whose last attempt reached your agent.
|
|
1072
1228
|
*/
|
|
1073
1229
|
totalCalls: number;
|
|
1074
1230
|
|
|
@@ -1079,6 +1235,13 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
1079
1235
|
* agent.
|
|
1080
1236
|
*/
|
|
1081
1237
|
agentName?: string | null;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Every simulation your agent never spoke on, including the ones a retry replaced.
|
|
1241
|
+
* Above `neverSpokeCalls` only when the plan retries silent simulations
|
|
1242
|
+
* (`maxNoResponseRetries`).
|
|
1243
|
+
*/
|
|
1244
|
+
silentAttempts?: number;
|
|
1082
1245
|
}
|
|
1083
1246
|
|
|
1084
1247
|
export interface UnionMember3 {
|
|
@@ -238,6 +238,19 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
238
238
|
*/
|
|
239
239
|
maxConcurrentJobs: number;
|
|
240
240
|
|
|
241
|
+
/**
|
|
242
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
243
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
244
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
245
|
+
*
|
|
246
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
247
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
248
|
+
* the run with its own call; the run settles once each test case has a final
|
|
249
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
250
|
+
* attempt.
|
|
251
|
+
*/
|
|
252
|
+
maxNoResponseRetries: number;
|
|
253
|
+
|
|
241
254
|
/**
|
|
242
255
|
* Maximum duration in seconds for each simulation
|
|
243
256
|
*/
|
|
@@ -253,6 +266,12 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
253
266
|
*/
|
|
254
267
|
name: string;
|
|
255
268
|
|
|
269
|
+
/**
|
|
270
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
271
|
+
* `maxNoResponseRetries` is above 0.
|
|
272
|
+
*/
|
|
273
|
+
noResponseRetryBackoffSeconds: number;
|
|
274
|
+
|
|
256
275
|
/**
|
|
257
276
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
258
277
|
*/
|
|
@@ -592,6 +611,19 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
592
611
|
*/
|
|
593
612
|
maxConcurrentJobs: number;
|
|
594
613
|
|
|
614
|
+
/**
|
|
615
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
616
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
617
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
618
|
+
*
|
|
619
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
620
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
621
|
+
* the run with its own call; the run settles once each test case has a final
|
|
622
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
623
|
+
* attempt.
|
|
624
|
+
*/
|
|
625
|
+
maxNoResponseRetries: number;
|
|
626
|
+
|
|
595
627
|
/**
|
|
596
628
|
* Maximum duration in seconds for each simulation
|
|
597
629
|
*/
|
|
@@ -607,6 +639,12 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
607
639
|
*/
|
|
608
640
|
name: string;
|
|
609
641
|
|
|
642
|
+
/**
|
|
643
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
644
|
+
* `maxNoResponseRetries` is above 0.
|
|
645
|
+
*/
|
|
646
|
+
noResponseRetryBackoffSeconds: number;
|
|
647
|
+
|
|
610
648
|
/**
|
|
611
649
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
612
650
|
*/
|
|
@@ -910,6 +948,19 @@ export namespace SimulationRunPlanListResponse {
|
|
|
910
948
|
*/
|
|
911
949
|
maxConcurrentJobs: number;
|
|
912
950
|
|
|
951
|
+
/**
|
|
952
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
953
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
954
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
955
|
+
*
|
|
956
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
957
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
958
|
+
* the run with its own call; the run settles once each test case has a final
|
|
959
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
960
|
+
* attempt.
|
|
961
|
+
*/
|
|
962
|
+
maxNoResponseRetries: number;
|
|
963
|
+
|
|
913
964
|
/**
|
|
914
965
|
* Maximum duration in seconds for each simulation
|
|
915
966
|
*/
|
|
@@ -925,6 +976,12 @@ export namespace SimulationRunPlanListResponse {
|
|
|
925
976
|
*/
|
|
926
977
|
name: string;
|
|
927
978
|
|
|
979
|
+
/**
|
|
980
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
981
|
+
* `maxNoResponseRetries` is above 0.
|
|
982
|
+
*/
|
|
983
|
+
noResponseRetryBackoffSeconds: number;
|
|
984
|
+
|
|
928
985
|
/**
|
|
929
986
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
930
987
|
*/
|
|
@@ -1256,6 +1313,19 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1256
1313
|
*/
|
|
1257
1314
|
maxConcurrentJobs: number;
|
|
1258
1315
|
|
|
1316
|
+
/**
|
|
1317
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
1318
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
1319
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
1320
|
+
*
|
|
1321
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
1322
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
1323
|
+
* the run with its own call; the run settles once each test case has a final
|
|
1324
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
1325
|
+
* attempt.
|
|
1326
|
+
*/
|
|
1327
|
+
maxNoResponseRetries: number;
|
|
1328
|
+
|
|
1259
1329
|
/**
|
|
1260
1330
|
* Maximum duration in seconds for each simulation
|
|
1261
1331
|
*/
|
|
@@ -1271,6 +1341,12 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1271
1341
|
*/
|
|
1272
1342
|
name: string;
|
|
1273
1343
|
|
|
1344
|
+
/**
|
|
1345
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
1346
|
+
* `maxNoResponseRetries` is above 0.
|
|
1347
|
+
*/
|
|
1348
|
+
noResponseRetryBackoffSeconds: number;
|
|
1349
|
+
|
|
1274
1350
|
/**
|
|
1275
1351
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
1276
1352
|
*/
|
|
@@ -1619,6 +1695,19 @@ export interface SimulationRunPlanCreateParams {
|
|
|
1619
1695
|
*/
|
|
1620
1696
|
maxConcurrentJobs?: number;
|
|
1621
1697
|
|
|
1698
|
+
/**
|
|
1699
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
1700
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
1701
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
1702
|
+
*
|
|
1703
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
1704
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
1705
|
+
* the run with its own call; the run settles once each test case has a final
|
|
1706
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
1707
|
+
* attempt.
|
|
1708
|
+
*/
|
|
1709
|
+
maxNoResponseRetries?: number;
|
|
1710
|
+
|
|
1622
1711
|
/**
|
|
1623
1712
|
* Metric definitions to include in this run plan. Reference each by `id` (UUID) or
|
|
1624
1713
|
* `slug`.
|
|
@@ -1630,6 +1719,12 @@ export interface SimulationRunPlanCreateParams {
|
|
|
1630
1719
|
*/
|
|
1631
1720
|
metrics?: Array<SimulationRunPlanCreateParams.Metric>;
|
|
1632
1721
|
|
|
1722
|
+
/**
|
|
1723
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
1724
|
+
* `maxNoResponseRetries` is above 0.
|
|
1725
|
+
*/
|
|
1726
|
+
noResponseRetryBackoffSeconds?: number;
|
|
1727
|
+
|
|
1633
1728
|
/**
|
|
1634
1729
|
* Personas to include in this run plan. Required with `scenarios`; ignored with
|
|
1635
1730
|
* `flows`, where each variant carries its own persona.
|
|
@@ -1942,6 +2037,19 @@ export interface SimulationRunPlanUpdateParams {
|
|
|
1942
2037
|
*/
|
|
1943
2038
|
maxConcurrentJobs?: number;
|
|
1944
2039
|
|
|
2040
|
+
/**
|
|
2041
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
2042
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
2043
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
2044
|
+
*
|
|
2045
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
2046
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
2047
|
+
* the run with its own call; the run settles once each test case has a final
|
|
2048
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
2049
|
+
* attempt.
|
|
2050
|
+
*/
|
|
2051
|
+
maxNoResponseRetries?: number;
|
|
2052
|
+
|
|
1945
2053
|
/**
|
|
1946
2054
|
* Maximum duration in seconds for each simulation
|
|
1947
2055
|
*/
|
|
@@ -1958,6 +2066,12 @@ export interface SimulationRunPlanUpdateParams {
|
|
|
1958
2066
|
*/
|
|
1959
2067
|
name?: string;
|
|
1960
2068
|
|
|
2069
|
+
/**
|
|
2070
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
2071
|
+
* `maxNoResponseRetries` is above 0.
|
|
2072
|
+
*/
|
|
2073
|
+
noResponseRetryBackoffSeconds?: number;
|
|
2074
|
+
|
|
1961
2075
|
/**
|
|
1962
2076
|
* Personas to include in this run plan
|
|
1963
2077
|
*/
|
|
@@ -410,6 +410,19 @@ export declare namespace SimulationRunParams {
|
|
|
410
410
|
*/
|
|
411
411
|
maxConcurrentJobs?: number;
|
|
412
412
|
|
|
413
|
+
/**
|
|
414
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
415
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
416
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
417
|
+
*
|
|
418
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
419
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
420
|
+
* the run with its own call; the run settles once each test case has a final
|
|
421
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
422
|
+
* attempt.
|
|
423
|
+
*/
|
|
424
|
+
maxNoResponseRetries?: number;
|
|
425
|
+
|
|
413
426
|
/**
|
|
414
427
|
* Metric definitions to include in this run plan. Reference each by `id` (UUID) or
|
|
415
428
|
* `slug`.
|
|
@@ -427,6 +440,12 @@ export declare namespace SimulationRunParams {
|
|
|
427
440
|
*/
|
|
428
441
|
name?: string;
|
|
429
442
|
|
|
443
|
+
/**
|
|
444
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
445
|
+
* `maxNoResponseRetries` is above 0.
|
|
446
|
+
*/
|
|
447
|
+
noResponseRetryBackoffSeconds?: number;
|
|
448
|
+
|
|
430
449
|
/**
|
|
431
450
|
* Personas to include in this run plan. Required with `scenarios`; ignored with
|
|
432
451
|
* `flows`, where each variant carries its own persona.
|
|
@@ -826,6 +845,19 @@ export declare namespace SimulationRunParams {
|
|
|
826
845
|
*/
|
|
827
846
|
maxConcurrentJobs?: number;
|
|
828
847
|
|
|
848
|
+
/**
|
|
849
|
+
* How many more times to run a test case when the agent under test never responds:
|
|
850
|
+
* it never speaks on a call or never replies in a chat (0-10). 0 turns retries
|
|
851
|
+
* off. Failed checks and failures on Roark’s side are never retried.
|
|
852
|
+
*
|
|
853
|
+
* Each retry is a separate attempt, billed like any other, so a plan retrying N
|
|
854
|
+
* times can place up to N + 1 calls per test case. Every silent attempt stays on
|
|
855
|
+
* the run with its own call; the run settles once each test case has a final
|
|
856
|
+
* attempt, and the agent never spoke verdict is judged on each test case’s last
|
|
857
|
+
* attempt.
|
|
858
|
+
*/
|
|
859
|
+
maxNoResponseRetries?: number;
|
|
860
|
+
|
|
829
861
|
/**
|
|
830
862
|
* Defaults to the template's `defaultMaxSimulationDurationSeconds`, as returned by
|
|
831
863
|
* GET /v1/simulation/template.
|
|
@@ -838,6 +870,12 @@ export declare namespace SimulationRunParams {
|
|
|
838
870
|
*/
|
|
839
871
|
name?: string;
|
|
840
872
|
|
|
873
|
+
/**
|
|
874
|
+
* Seconds a retry waits before it dials (30-600). Only used when
|
|
875
|
+
* `maxNoResponseRetries` is above 0.
|
|
876
|
+
*/
|
|
877
|
+
noResponseRetryBackoffSeconds?: number;
|
|
878
|
+
|
|
841
879
|
/**
|
|
842
880
|
* For `question-answer-check`: the persona that asks the questions.
|
|
843
881
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.22.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.22.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.22.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.22.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|