@oro-ai/sdk 1.0.7 → 1.0.8
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.d.mts +56 -4
- package/dist/index.d.ts +56 -4
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +54 -2
package/dist/index.d.mts
CHANGED
|
@@ -2250,7 +2250,7 @@ type ValidatorPublic = {
|
|
|
2250
2250
|
identity_description?: (string | null);
|
|
2251
2251
|
};
|
|
2252
2252
|
/**
|
|
2253
|
-
* Response for validator scoring analytics.
|
|
2253
|
+
* Response for validator scoring and performance analytics.
|
|
2254
2254
|
*/
|
|
2255
2255
|
type ValidatorScoresResponse = {
|
|
2256
2256
|
/**
|
|
@@ -2265,9 +2265,13 @@ type ValidatorScoresResponse = {
|
|
|
2265
2265
|
* Global standard deviation
|
|
2266
2266
|
*/
|
|
2267
2267
|
global_stddev: number;
|
|
2268
|
+
/**
|
|
2269
|
+
* Global average execution time
|
|
2270
|
+
*/
|
|
2271
|
+
global_avg_execution_seconds?: number;
|
|
2268
2272
|
};
|
|
2269
2273
|
/**
|
|
2270
|
-
* Aggregated scoring stats for a single validator.
|
|
2274
|
+
* Aggregated scoring and performance stats for a single validator.
|
|
2271
2275
|
*/
|
|
2272
2276
|
type ValidatorScoreSummary = {
|
|
2273
2277
|
/**
|
|
@@ -2306,6 +2310,54 @@ type ValidatorScoreSummary = {
|
|
|
2306
2310
|
* True if deviation exceeds 1.5 standard deviations from global mean
|
|
2307
2311
|
*/
|
|
2308
2312
|
is_outlier: boolean;
|
|
2313
|
+
/**
|
|
2314
|
+
* Mean seconds from claimed to completed
|
|
2315
|
+
*/
|
|
2316
|
+
avg_execution_seconds?: number;
|
|
2317
|
+
/**
|
|
2318
|
+
* Median execution time in seconds
|
|
2319
|
+
*/
|
|
2320
|
+
median_execution_seconds?: number;
|
|
2321
|
+
/**
|
|
2322
|
+
* Fastest run
|
|
2323
|
+
*/
|
|
2324
|
+
min_execution_seconds?: number;
|
|
2325
|
+
/**
|
|
2326
|
+
* Slowest run
|
|
2327
|
+
*/
|
|
2328
|
+
max_execution_seconds?: number;
|
|
2329
|
+
/**
|
|
2330
|
+
* % deviation from global avg execution time
|
|
2331
|
+
*/
|
|
2332
|
+
execution_deviation_pct?: number;
|
|
2333
|
+
/**
|
|
2334
|
+
* Significantly slower than peers
|
|
2335
|
+
*/
|
|
2336
|
+
is_slow_outlier?: boolean;
|
|
2337
|
+
/**
|
|
2338
|
+
* SUCCESS runs
|
|
2339
|
+
*/
|
|
2340
|
+
success_count?: number;
|
|
2341
|
+
/**
|
|
2342
|
+
* FAILED runs
|
|
2343
|
+
*/
|
|
2344
|
+
failed_count?: number;
|
|
2345
|
+
/**
|
|
2346
|
+
* TIMED_OUT runs
|
|
2347
|
+
*/
|
|
2348
|
+
timed_out_count?: number;
|
|
2349
|
+
/**
|
|
2350
|
+
* success / total
|
|
2351
|
+
*/
|
|
2352
|
+
success_rate?: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* Most recent failure reason
|
|
2355
|
+
*/
|
|
2356
|
+
last_failure_reason?: (string | null);
|
|
2357
|
+
/**
|
|
2358
|
+
* When last failure occurred
|
|
2359
|
+
*/
|
|
2360
|
+
last_failure_at?: (string | null);
|
|
2309
2361
|
};
|
|
2310
2362
|
/**
|
|
2311
2363
|
* Status of a validator.
|
|
@@ -2954,7 +3006,7 @@ declare const getAgentVersionProblems: <ThrowOnError extends boolean = false>(op
|
|
|
2954
3006
|
declare const getAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AgentVersionPublic, GetAgentVersionError, ThrowOnError>;
|
|
2955
3007
|
/**
|
|
2956
3008
|
* Get artifact download URL
|
|
2957
|
-
* Get a presigned URL to download released
|
|
3009
|
+
* Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
|
|
2958
3010
|
*/
|
|
2959
3011
|
declare const getArtifactDownloadUrl: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ArtifactDownloadResponse, GetArtifactDownloadUrlError, ThrowOnError>;
|
|
2960
3012
|
/**
|
|
@@ -3184,7 +3236,7 @@ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options
|
|
|
3184
3236
|
declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
|
|
3185
3237
|
/**
|
|
3186
3238
|
* Aggregated scoring statistics per validator
|
|
3187
|
-
* Compute per-validator scoring
|
|
3239
|
+
* Compute per-validator scoring and performance statistics.
|
|
3188
3240
|
*/
|
|
3189
3241
|
declare const getValidatorScores: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetValidatorScoresData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorScoresResponse, HTTPValidationError, ThrowOnError>;
|
|
3190
3242
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2250,7 +2250,7 @@ type ValidatorPublic = {
|
|
|
2250
2250
|
identity_description?: (string | null);
|
|
2251
2251
|
};
|
|
2252
2252
|
/**
|
|
2253
|
-
* Response for validator scoring analytics.
|
|
2253
|
+
* Response for validator scoring and performance analytics.
|
|
2254
2254
|
*/
|
|
2255
2255
|
type ValidatorScoresResponse = {
|
|
2256
2256
|
/**
|
|
@@ -2265,9 +2265,13 @@ type ValidatorScoresResponse = {
|
|
|
2265
2265
|
* Global standard deviation
|
|
2266
2266
|
*/
|
|
2267
2267
|
global_stddev: number;
|
|
2268
|
+
/**
|
|
2269
|
+
* Global average execution time
|
|
2270
|
+
*/
|
|
2271
|
+
global_avg_execution_seconds?: number;
|
|
2268
2272
|
};
|
|
2269
2273
|
/**
|
|
2270
|
-
* Aggregated scoring stats for a single validator.
|
|
2274
|
+
* Aggregated scoring and performance stats for a single validator.
|
|
2271
2275
|
*/
|
|
2272
2276
|
type ValidatorScoreSummary = {
|
|
2273
2277
|
/**
|
|
@@ -2306,6 +2310,54 @@ type ValidatorScoreSummary = {
|
|
|
2306
2310
|
* True if deviation exceeds 1.5 standard deviations from global mean
|
|
2307
2311
|
*/
|
|
2308
2312
|
is_outlier: boolean;
|
|
2313
|
+
/**
|
|
2314
|
+
* Mean seconds from claimed to completed
|
|
2315
|
+
*/
|
|
2316
|
+
avg_execution_seconds?: number;
|
|
2317
|
+
/**
|
|
2318
|
+
* Median execution time in seconds
|
|
2319
|
+
*/
|
|
2320
|
+
median_execution_seconds?: number;
|
|
2321
|
+
/**
|
|
2322
|
+
* Fastest run
|
|
2323
|
+
*/
|
|
2324
|
+
min_execution_seconds?: number;
|
|
2325
|
+
/**
|
|
2326
|
+
* Slowest run
|
|
2327
|
+
*/
|
|
2328
|
+
max_execution_seconds?: number;
|
|
2329
|
+
/**
|
|
2330
|
+
* % deviation from global avg execution time
|
|
2331
|
+
*/
|
|
2332
|
+
execution_deviation_pct?: number;
|
|
2333
|
+
/**
|
|
2334
|
+
* Significantly slower than peers
|
|
2335
|
+
*/
|
|
2336
|
+
is_slow_outlier?: boolean;
|
|
2337
|
+
/**
|
|
2338
|
+
* SUCCESS runs
|
|
2339
|
+
*/
|
|
2340
|
+
success_count?: number;
|
|
2341
|
+
/**
|
|
2342
|
+
* FAILED runs
|
|
2343
|
+
*/
|
|
2344
|
+
failed_count?: number;
|
|
2345
|
+
/**
|
|
2346
|
+
* TIMED_OUT runs
|
|
2347
|
+
*/
|
|
2348
|
+
timed_out_count?: number;
|
|
2349
|
+
/**
|
|
2350
|
+
* success / total
|
|
2351
|
+
*/
|
|
2352
|
+
success_rate?: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* Most recent failure reason
|
|
2355
|
+
*/
|
|
2356
|
+
last_failure_reason?: (string | null);
|
|
2357
|
+
/**
|
|
2358
|
+
* When last failure occurred
|
|
2359
|
+
*/
|
|
2360
|
+
last_failure_at?: (string | null);
|
|
2309
2361
|
};
|
|
2310
2362
|
/**
|
|
2311
2363
|
* Status of a validator.
|
|
@@ -2954,7 +3006,7 @@ declare const getAgentVersionProblems: <ThrowOnError extends boolean = false>(op
|
|
|
2954
3006
|
declare const getAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AgentVersionPublic, GetAgentVersionError, ThrowOnError>;
|
|
2955
3007
|
/**
|
|
2956
3008
|
* Get artifact download URL
|
|
2957
|
-
* Get a presigned URL to download released
|
|
3009
|
+
* Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
|
|
2958
3010
|
*/
|
|
2959
3011
|
declare const getArtifactDownloadUrl: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ArtifactDownloadResponse, GetArtifactDownloadUrlError, ThrowOnError>;
|
|
2960
3012
|
/**
|
|
@@ -3184,7 +3236,7 @@ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options
|
|
|
3184
3236
|
declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
|
|
3185
3237
|
/**
|
|
3186
3238
|
* Aggregated scoring statistics per validator
|
|
3187
|
-
* Compute per-validator scoring
|
|
3239
|
+
* Compute per-validator scoring and performance statistics.
|
|
3188
3240
|
*/
|
|
3189
3241
|
declare const getValidatorScores: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetValidatorScoresData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorScoresResponse, HTTPValidationError, ThrowOnError>;
|
|
3190
3242
|
/**
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -106,7 +106,7 @@ export const getAgentVersion = <ThrowOnError extends boolean = false>(options: O
|
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* Get artifact download URL
|
|
109
|
-
* Get a presigned URL to download released
|
|
109
|
+
* Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
|
|
110
110
|
*/
|
|
111
111
|
export const getArtifactDownloadUrl = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => {
|
|
112
112
|
return (options?.client ?? client).post<GetArtifactDownloadUrlResponse, GetArtifactDownloadUrlError, ThrowOnError>({
|
|
@@ -575,7 +575,7 @@ export const listEvaluationRuns = <ThrowOnError extends boolean = false>(options
|
|
|
575
575
|
|
|
576
576
|
/**
|
|
577
577
|
* Aggregated scoring statistics per validator
|
|
578
|
-
* Compute per-validator scoring
|
|
578
|
+
* Compute per-validator scoring and performance statistics.
|
|
579
579
|
*/
|
|
580
580
|
export const getValidatorScores = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetValidatorScoresData, ThrowOnError>) => {
|
|
581
581
|
return (options?.client ?? client).get<GetValidatorScoresResponse, GetValidatorScoresError, ThrowOnError>({
|
|
@@ -2358,7 +2358,7 @@ export type ValidatorPublic = {
|
|
|
2358
2358
|
};
|
|
2359
2359
|
|
|
2360
2360
|
/**
|
|
2361
|
-
* Response for validator scoring analytics.
|
|
2361
|
+
* Response for validator scoring and performance analytics.
|
|
2362
2362
|
*/
|
|
2363
2363
|
export type ValidatorScoresResponse = {
|
|
2364
2364
|
/**
|
|
@@ -2373,10 +2373,14 @@ export type ValidatorScoresResponse = {
|
|
|
2373
2373
|
* Global standard deviation
|
|
2374
2374
|
*/
|
|
2375
2375
|
global_stddev: number;
|
|
2376
|
+
/**
|
|
2377
|
+
* Global average execution time
|
|
2378
|
+
*/
|
|
2379
|
+
global_avg_execution_seconds?: number;
|
|
2376
2380
|
};
|
|
2377
2381
|
|
|
2378
2382
|
/**
|
|
2379
|
-
* Aggregated scoring stats for a single validator.
|
|
2383
|
+
* Aggregated scoring and performance stats for a single validator.
|
|
2380
2384
|
*/
|
|
2381
2385
|
export type ValidatorScoreSummary = {
|
|
2382
2386
|
/**
|
|
@@ -2415,6 +2419,54 @@ export type ValidatorScoreSummary = {
|
|
|
2415
2419
|
* True if deviation exceeds 1.5 standard deviations from global mean
|
|
2416
2420
|
*/
|
|
2417
2421
|
is_outlier: boolean;
|
|
2422
|
+
/**
|
|
2423
|
+
* Mean seconds from claimed to completed
|
|
2424
|
+
*/
|
|
2425
|
+
avg_execution_seconds?: number;
|
|
2426
|
+
/**
|
|
2427
|
+
* Median execution time in seconds
|
|
2428
|
+
*/
|
|
2429
|
+
median_execution_seconds?: number;
|
|
2430
|
+
/**
|
|
2431
|
+
* Fastest run
|
|
2432
|
+
*/
|
|
2433
|
+
min_execution_seconds?: number;
|
|
2434
|
+
/**
|
|
2435
|
+
* Slowest run
|
|
2436
|
+
*/
|
|
2437
|
+
max_execution_seconds?: number;
|
|
2438
|
+
/**
|
|
2439
|
+
* % deviation from global avg execution time
|
|
2440
|
+
*/
|
|
2441
|
+
execution_deviation_pct?: number;
|
|
2442
|
+
/**
|
|
2443
|
+
* Significantly slower than peers
|
|
2444
|
+
*/
|
|
2445
|
+
is_slow_outlier?: boolean;
|
|
2446
|
+
/**
|
|
2447
|
+
* SUCCESS runs
|
|
2448
|
+
*/
|
|
2449
|
+
success_count?: number;
|
|
2450
|
+
/**
|
|
2451
|
+
* FAILED runs
|
|
2452
|
+
*/
|
|
2453
|
+
failed_count?: number;
|
|
2454
|
+
/**
|
|
2455
|
+
* TIMED_OUT runs
|
|
2456
|
+
*/
|
|
2457
|
+
timed_out_count?: number;
|
|
2458
|
+
/**
|
|
2459
|
+
* success / total
|
|
2460
|
+
*/
|
|
2461
|
+
success_rate?: number;
|
|
2462
|
+
/**
|
|
2463
|
+
* Most recent failure reason
|
|
2464
|
+
*/
|
|
2465
|
+
last_failure_reason?: (string | null);
|
|
2466
|
+
/**
|
|
2467
|
+
* When last failure occurred
|
|
2468
|
+
*/
|
|
2469
|
+
last_failure_at?: (string | null);
|
|
2418
2470
|
};
|
|
2419
2471
|
|
|
2420
2472
|
/**
|