@oro-ai/sdk 1.0.15 → 1.0.16
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 +13 -0
- package/dist/index.d.ts +13 -0
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -0
- package/src/generated/types.gen.ts +10 -0
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.
|
|
@@ -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);
|
|
@@ -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.
|
|
@@ -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);
|
|
@@ -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
|
@@ -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
|
/**
|
|
@@ -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);
|