@oro-ai/sdk 1.0.15 → 1.0.17
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 +15 -2
- package/dist/index.d.ts +15 -2
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -1
- package/src/generated/types.gen.ts +11 -1
package/dist/index.d.mts
CHANGED
|
@@ -17,6 +17,10 @@ type ActivateSuiteResponse = {
|
|
|
17
17
|
* Whether this suite is active
|
|
18
18
|
*/
|
|
19
19
|
is_active: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Number of top agent versions requeued from previous suite
|
|
22
|
+
*/
|
|
23
|
+
requeued_versions?: number;
|
|
20
24
|
};
|
|
21
25
|
/**
|
|
22
26
|
* Response with presigned download URL for admin agent code access.
|
|
@@ -2737,7 +2741,7 @@ type UpdateProgressData = {
|
|
|
2737
2741
|
};
|
|
2738
2742
|
};
|
|
2739
2743
|
type UpdateProgressResponse = (ProgressUpdateResponse);
|
|
2740
|
-
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | NotRunOwnerError | HTTPValidationError);
|
|
2744
|
+
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
2741
2745
|
type PresignUploadData = {
|
|
2742
2746
|
body: PresignUploadRequest;
|
|
2743
2747
|
};
|
|
@@ -2874,6 +2878,12 @@ type ActivateSuiteData = {
|
|
|
2874
2878
|
*/
|
|
2875
2879
|
suite_id: number;
|
|
2876
2880
|
};
|
|
2881
|
+
query?: {
|
|
2882
|
+
/**
|
|
2883
|
+
* Number of top agent versions to requeue from the previous suite (0 to skip)
|
|
2884
|
+
*/
|
|
2885
|
+
requeue_top_n?: number;
|
|
2886
|
+
};
|
|
2877
2887
|
};
|
|
2878
2888
|
type ActivateSuiteResponse2 = (ActivateSuiteResponse);
|
|
2879
2889
|
type ActivateSuiteError = (SuiteNotFoundError | HTTPValidationError);
|
|
@@ -3251,7 +3261,7 @@ declare const claimWork: <ThrowOnError extends boolean = false>(options?: Option
|
|
|
3251
3261
|
declare const heartbeat: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HeartbeatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HeartbeatResponse, HeartbeatError, ThrowOnError>;
|
|
3252
3262
|
/**
|
|
3253
3263
|
* Update progress
|
|
3254
|
-
* Report per-problem progress during evaluation.
|
|
3264
|
+
* Report per-problem progress during evaluation.
|
|
3255
3265
|
*/
|
|
3256
3266
|
declare const updateProgress: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateProgressData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProgressUpdateResponse, UpdateProgressError, ThrowOnError>;
|
|
3257
3267
|
/**
|
|
@@ -3341,6 +3351,9 @@ declare const createSuite: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
3341
3351
|
/**
|
|
3342
3352
|
* Activate a problem suite
|
|
3343
3353
|
* Activate a suite, making it the current active suite (deactivates others).
|
|
3354
|
+
*
|
|
3355
|
+
* Automatically requeues the top N agent versions from the previous suite
|
|
3356
|
+
* so validators have work immediately and the leaderboard populates quickly.
|
|
3344
3357
|
*/
|
|
3345
3358
|
declare const activateSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSuiteResponse, ActivateSuiteError, ThrowOnError>;
|
|
3346
3359
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ type ActivateSuiteResponse = {
|
|
|
17
17
|
* Whether this suite is active
|
|
18
18
|
*/
|
|
19
19
|
is_active: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Number of top agent versions requeued from previous suite
|
|
22
|
+
*/
|
|
23
|
+
requeued_versions?: number;
|
|
20
24
|
};
|
|
21
25
|
/**
|
|
22
26
|
* Response with presigned download URL for admin agent code access.
|
|
@@ -2737,7 +2741,7 @@ type UpdateProgressData = {
|
|
|
2737
2741
|
};
|
|
2738
2742
|
};
|
|
2739
2743
|
type UpdateProgressResponse = (ProgressUpdateResponse);
|
|
2740
|
-
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | NotRunOwnerError | HTTPValidationError);
|
|
2744
|
+
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
2741
2745
|
type PresignUploadData = {
|
|
2742
2746
|
body: PresignUploadRequest;
|
|
2743
2747
|
};
|
|
@@ -2874,6 +2878,12 @@ type ActivateSuiteData = {
|
|
|
2874
2878
|
*/
|
|
2875
2879
|
suite_id: number;
|
|
2876
2880
|
};
|
|
2881
|
+
query?: {
|
|
2882
|
+
/**
|
|
2883
|
+
* Number of top agent versions to requeue from the previous suite (0 to skip)
|
|
2884
|
+
*/
|
|
2885
|
+
requeue_top_n?: number;
|
|
2886
|
+
};
|
|
2877
2887
|
};
|
|
2878
2888
|
type ActivateSuiteResponse2 = (ActivateSuiteResponse);
|
|
2879
2889
|
type ActivateSuiteError = (SuiteNotFoundError | HTTPValidationError);
|
|
@@ -3251,7 +3261,7 @@ declare const claimWork: <ThrowOnError extends boolean = false>(options?: Option
|
|
|
3251
3261
|
declare const heartbeat: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HeartbeatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HeartbeatResponse, HeartbeatError, ThrowOnError>;
|
|
3252
3262
|
/**
|
|
3253
3263
|
* Update progress
|
|
3254
|
-
* Report per-problem progress during evaluation.
|
|
3264
|
+
* Report per-problem progress during evaluation.
|
|
3255
3265
|
*/
|
|
3256
3266
|
declare const updateProgress: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateProgressData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProgressUpdateResponse, UpdateProgressError, ThrowOnError>;
|
|
3257
3267
|
/**
|
|
@@ -3341,6 +3351,9 @@ declare const createSuite: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
3341
3351
|
/**
|
|
3342
3352
|
* Activate a problem suite
|
|
3343
3353
|
* Activate a suite, making it the current active suite (deactivates others).
|
|
3354
|
+
*
|
|
3355
|
+
* Automatically requeues the top N agent versions from the previous suite
|
|
3356
|
+
* so validators have work immediately and the leaderboard populates quickly.
|
|
3344
3357
|
*/
|
|
3345
3358
|
declare const activateSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSuiteResponse, ActivateSuiteError, ThrowOnError>;
|
|
3346
3359
|
/**
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -322,7 +322,7 @@ export const heartbeat = <ThrowOnError extends boolean = false>(options: Options
|
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
324
|
* Update progress
|
|
325
|
-
* Report per-problem progress during evaluation.
|
|
325
|
+
* Report per-problem progress during evaluation.
|
|
326
326
|
*/
|
|
327
327
|
export const updateProgress = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateProgressData, ThrowOnError>) => {
|
|
328
328
|
return (options?.client ?? client).post<UpdateProgressResponse, UpdateProgressError, ThrowOnError>({
|
|
@@ -496,6 +496,9 @@ export const createSuite = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
496
496
|
/**
|
|
497
497
|
* Activate a problem suite
|
|
498
498
|
* Activate a suite, making it the current active suite (deactivates others).
|
|
499
|
+
*
|
|
500
|
+
* Automatically requeues the top N agent versions from the previous suite
|
|
501
|
+
* so validators have work immediately and the leaderboard populates quickly.
|
|
499
502
|
*/
|
|
500
503
|
export const activateSuite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => {
|
|
501
504
|
return (options?.client ?? client).post<ActivateSuiteResponse2, ActivateSuiteError, ThrowOnError>({
|
|
@@ -16,6 +16,10 @@ export type ActivateSuiteResponse = {
|
|
|
16
16
|
* Whether this suite is active
|
|
17
17
|
*/
|
|
18
18
|
is_active: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Number of top agent versions requeued from previous suite
|
|
21
|
+
*/
|
|
22
|
+
requeued_versions?: number;
|
|
19
23
|
};
|
|
20
24
|
|
|
21
25
|
/**
|
|
@@ -2931,7 +2935,7 @@ export type UpdateProgressData = {
|
|
|
2931
2935
|
|
|
2932
2936
|
export type UpdateProgressResponse = (ProgressUpdateResponse);
|
|
2933
2937
|
|
|
2934
|
-
export type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | NotRunOwnerError | HTTPValidationError);
|
|
2938
|
+
export type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | (NotRunOwnerError | RunAlreadyCompleteError) | HTTPValidationError);
|
|
2935
2939
|
|
|
2936
2940
|
export type PresignUploadData = {
|
|
2937
2941
|
body: PresignUploadRequest;
|
|
@@ -3108,6 +3112,12 @@ export type ActivateSuiteData = {
|
|
|
3108
3112
|
*/
|
|
3109
3113
|
suite_id: number;
|
|
3110
3114
|
};
|
|
3115
|
+
query?: {
|
|
3116
|
+
/**
|
|
3117
|
+
* Number of top agent versions to requeue from the previous suite (0 to skip)
|
|
3118
|
+
*/
|
|
3119
|
+
requeue_top_n?: number;
|
|
3120
|
+
};
|
|
3111
3121
|
};
|
|
3112
3122
|
|
|
3113
3123
|
export type ActivateSuiteResponse2 = (ActivateSuiteResponse);
|