@oro-ai/sdk 1.0.101 → 1.0.103

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.
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
4
- import type { HealthCheckError, HealthCheckResponse, DeepHealthCheckError, DeepHealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTrajectoryHistoryError, GetTrajectoryHistoryResponse, GetTopMinerPayoutError, GetTopMinerPayoutResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, GetRaceValidatorVarianceData, GetRaceValidatorVarianceError, GetRaceValidatorVarianceResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsData, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreInferenceCredentialData, StoreInferenceCredentialError, StoreInferenceCredentialResponse, GetInferenceAuthStatusOneData, GetInferenceAuthStatusOneError, GetInferenceAuthStatusOneResponse, DeleteInferenceCredentialData, DeleteInferenceCredentialError, DeleteInferenceCredentialResponse, ListInferenceAuthError, ListInferenceAuthResponse, SetDefaultInferenceProviderData, SetDefaultInferenceProviderError, SetDefaultInferenceProviderResponse, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ExchangeChutesCodeData, ExchangeChutesCodeError, ExchangeChutesCodeResponse2, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, SetRaceSelectionData, SetRaceSelectionError, SetRaceSelectionResponse, ClearRaceSelectionError, ClearRaceSelectionResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, GetWeightSaltError, GetWeightSaltResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, UpdateValidatorData, UpdateValidatorError, UpdateValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, EliminateAgentVersionData, EliminateAgentVersionError, EliminateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse, GetValidatorFailuresData, GetValidatorFailuresError, GetValidatorFailuresResponse, GetValidatorPauseError, GetValidatorPauseResponse, PostValidatorPauseData, PostValidatorPauseError, PostValidatorPauseResponse, PostValidatorResumeData, PostValidatorResumeError, PostValidatorResumeResponse, GetCurrentSuiteV2Error, GetCurrentSuiteV2Response, GetSuiteV2Data, GetSuiteV2Error, GetSuiteV2Response, GetEvaluationRunV2Data, GetEvaluationRunV2Error, GetEvaluationRunV2Response, GetEvaluationItemsV2Data, GetEvaluationItemsV2Error, GetEvaluationItemsV2Response, GetEpisodeArtifactV2Data, GetEpisodeArtifactV2Error, GetEpisodeArtifactV2Response, ApiProblemsData, ApiProblemsError, ApiProblemsResponse, ApiRunData, ApiRunError, ApiRunResponse } from './types.gen';
4
+ import type { HealthCheckError, HealthCheckResponse, DeepHealthCheckError, DeepHealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTrajectoryHistoryError, GetTrajectoryHistoryResponse, GetTopMinerPayoutError, GetTopMinerPayoutResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, GetRaceValidatorVarianceData, GetRaceValidatorVarianceError, GetRaceValidatorVarianceResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsData, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreInferenceCredentialData, StoreInferenceCredentialError, StoreInferenceCredentialResponse, GetInferenceAuthStatusOneData, GetInferenceAuthStatusOneError, GetInferenceAuthStatusOneResponse, DeleteInferenceCredentialData, DeleteInferenceCredentialError, DeleteInferenceCredentialResponse, ListInferenceAuthError, ListInferenceAuthResponse, SetDefaultInferenceProviderData, SetDefaultInferenceProviderError, SetDefaultInferenceProviderResponse, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ExchangeChutesCodeData, ExchangeChutesCodeError, ExchangeChutesCodeResponse2, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, SetRaceSelectionData, SetRaceSelectionError, SetRaceSelectionResponse, ClearRaceSelectionError, ClearRaceSelectionResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, GetWeightSaltError, GetWeightSaltResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, UpdateValidatorData, UpdateValidatorError, UpdateValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, EliminateAgentVersionData, EliminateAgentVersionError, EliminateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse, GetValidatorFailuresData, GetValidatorFailuresError, GetValidatorFailuresResponse, GetSubmissionPauseError, GetSubmissionPauseResponse, PostSubmissionPauseData, PostSubmissionPauseError, PostSubmissionPauseResponse, PostSubmissionResumeData, PostSubmissionResumeError, PostSubmissionResumeResponse, GetValidatorPauseError, GetValidatorPauseResponse, PostValidatorPauseData, PostValidatorPauseError, PostValidatorPauseResponse, PostValidatorResumeData, PostValidatorResumeError, PostValidatorResumeResponse, ApiProblemsData, ApiProblemsError, ApiProblemsResponse, ApiRunData, ApiRunError, ApiRunResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -989,84 +989,65 @@ export const getValidatorFailures = <ThrowOnError extends boolean = false>(optio
989
989
  };
990
990
 
991
991
  /**
992
- * Get validator-pause (andon-cord) state
993
- * Returns whether new validator claims are currently paused, plus metadata on who pulled the cord and when it auto-releases.
994
- */
995
- export const getValidatorPause = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
996
- return (options?.client ?? client).get<GetValidatorPauseResponse, GetValidatorPauseError, ThrowOnError>({
997
- ...options,
998
- url: '/v1/admin/validator-pause'
999
- });
1000
- };
1001
-
1002
- /**
1003
- * Pause validator claims (pull the andon cord)
1004
- * Block all validators from claiming new evaluations. In-flight runs continue and report normally. Idempotent — calling twice overwrites the prior pause metadata.
1005
- */
1006
- export const postValidatorPause = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorPauseData, ThrowOnError>) => {
1007
- return (options?.client ?? client).post<PostValidatorPauseResponse, PostValidatorPauseError, ThrowOnError>({
1008
- ...options,
1009
- url: '/v1/admin/validator-pause'
1010
- });
1011
- };
1012
-
1013
- /**
1014
- * Resume validator claims (release the andon cord)
992
+ * Get miner-submission pause state
1015
993
  */
1016
- export const postValidatorResume = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => {
1017
- return (options?.client ?? client).post<PostValidatorResumeResponse, PostValidatorResumeError, ThrowOnError>({
994
+ export const getSubmissionPause = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
995
+ return (options?.client ?? client).get<GetSubmissionPauseResponse, GetSubmissionPauseError, ThrowOnError>({
1018
996
  ...options,
1019
- url: '/v1/admin/validator-resume'
997
+ url: '/v1/admin/submission-pause'
1020
998
  });
1021
999
  };
1022
1000
 
1023
1001
  /**
1024
- * Get Current Suite V2
1002
+ * Pause new miner submissions
1003
+ * Block new agent submissions while validators continue draining existing work. Idempotent — calling twice leaves submissions paused.
1025
1004
  */
1026
- export const getCurrentSuiteV2 = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
1027
- return (options?.client ?? client).get<GetCurrentSuiteV2Response, GetCurrentSuiteV2Error, ThrowOnError>({
1005
+ export const postSubmissionPause = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostSubmissionPauseData, ThrowOnError>) => {
1006
+ return (options?.client ?? client).post<PostSubmissionPauseResponse, PostSubmissionPauseError, ThrowOnError>({
1028
1007
  ...options,
1029
- url: '/v2/public/suites/current'
1008
+ url: '/v1/admin/submission-pause'
1030
1009
  });
1031
1010
  };
1032
1011
 
1033
1012
  /**
1034
- * Get Suite V2
1013
+ * Resume miner submissions
1035
1014
  */
1036
- export const getSuiteV2 = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetSuiteV2Data, ThrowOnError>) => {
1037
- return (options?.client ?? client).get<GetSuiteV2Response, GetSuiteV2Error, ThrowOnError>({
1015
+ export const postSubmissionResume = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostSubmissionResumeData, ThrowOnError>) => {
1016
+ return (options?.client ?? client).post<PostSubmissionResumeResponse, PostSubmissionResumeError, ThrowOnError>({
1038
1017
  ...options,
1039
- url: '/v2/public/suites/{suite_id}'
1018
+ url: '/v1/admin/submission-resume'
1040
1019
  });
1041
1020
  };
1042
1021
 
1043
1022
  /**
1044
- * Get Evaluation Run V2
1023
+ * Get validator-pause (andon-cord) state
1024
+ * Returns whether new validator claims are currently paused, plus metadata on who pulled the cord and when it auto-releases.
1045
1025
  */
1046
- export const getEvaluationRunV2 = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetEvaluationRunV2Data, ThrowOnError>) => {
1047
- return (options?.client ?? client).get<GetEvaluationRunV2Response, GetEvaluationRunV2Error, ThrowOnError>({
1026
+ export const getValidatorPause = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
1027
+ return (options?.client ?? client).get<GetValidatorPauseResponse, GetValidatorPauseError, ThrowOnError>({
1048
1028
  ...options,
1049
- url: '/v2/public/evaluation-runs/{run_id}'
1029
+ url: '/v1/admin/validator-pause'
1050
1030
  });
1051
1031
  };
1052
1032
 
1053
1033
  /**
1054
- * Get Evaluation Items V2
1034
+ * Pause validator claims (pull the andon cord)
1035
+ * Block all validators from claiming new evaluations. In-flight runs continue and report normally. Idempotent — calling twice overwrites the prior pause metadata.
1055
1036
  */
1056
- export const getEvaluationItemsV2 = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetEvaluationItemsV2Data, ThrowOnError>) => {
1057
- return (options?.client ?? client).get<GetEvaluationItemsV2Response, GetEvaluationItemsV2Error, ThrowOnError>({
1037
+ export const postValidatorPause = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorPauseData, ThrowOnError>) => {
1038
+ return (options?.client ?? client).post<PostValidatorPauseResponse, PostValidatorPauseError, ThrowOnError>({
1058
1039
  ...options,
1059
- url: '/v2/public/evaluation-runs/{run_id}/items'
1040
+ url: '/v1/admin/validator-pause'
1060
1041
  });
1061
1042
  };
1062
1043
 
1063
1044
  /**
1064
- * Get Episode Artifact V2
1045
+ * Resume validator claims (release the andon cord)
1065
1046
  */
1066
- export const getEpisodeArtifactV2 = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetEpisodeArtifactV2Data, ThrowOnError>) => {
1067
- return (options?.client ?? client).get<GetEpisodeArtifactV2Response, GetEpisodeArtifactV2Error, ThrowOnError>({
1047
+ export const postValidatorResume = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => {
1048
+ return (options?.client ?? client).post<PostValidatorResumeResponse, PostValidatorResumeError, ThrowOnError>({
1068
1049
  ...options,
1069
- url: '/v2/public/episode-artifacts/{episode_result_id}'
1050
+ url: '/v1/admin/validator-resume'
1070
1051
  });
1071
1052
  };
1072
1053
 
@@ -536,6 +536,14 @@ export type AgentVersionProblemsResponse = {
536
536
  * Problem progress list
537
537
  */
538
538
  problems: Array<ProblemProgressEntry>;
539
+ /**
540
+ * Generated task results, using the same phase visibility as legacy problems
541
+ */
542
+ generated_results?: Array<GeneratedEvaluationResultRead>;
543
+ /**
544
+ * Safe task labels for generated qualifying evaluations
545
+ */
546
+ qualifying_tasks?: Array<QualifyingTaskRead>;
539
547
  };
540
548
 
541
549
  export type AgentVersionPublic = {
@@ -966,16 +974,6 @@ export type ChallengeResponse = {
966
974
  expires_at: number;
967
975
  };
968
976
 
969
- /**
970
- * One named verifier check with its pass/fail result. Names come from
971
- * `EpisodeResult.verdict_checks` and are safe to expose (they identify
972
- * which constraint fired, not the constraint's private threshold).
973
- */
974
- export type CheckDetail = {
975
- name: string;
976
- passed: (boolean | null);
977
- };
978
-
979
977
  export type CheckSummary = {
980
978
  passed?: number;
981
979
  failed?: number;
@@ -1303,6 +1301,7 @@ export type EvaluationExecutionRead = {
1303
1301
  execution_kind: 'legacy_shoppingbench' | 'envpack' | 'unknown';
1304
1302
  execution_contract_id?: (string | null);
1305
1303
  environment?: (SafeEnvironmentMetadata | null);
1304
+ detail_released?: boolean;
1306
1305
  };
1307
1306
 
1308
1307
  export type execution_kind = 'legacy_shoppingbench' | 'envpack' | 'unknown';
@@ -1403,6 +1402,9 @@ export type EvaluationRunDetail = {
1403
1402
  score_components_summary?: ({
1404
1403
  [key: string]: unknown;
1405
1404
  } | null);
1405
+ execution_kind?: 'legacy_shoppingbench' | 'envpack' | 'unknown';
1406
+ execution_contract_id?: (string | null);
1407
+ environment?: (SafeEnvironmentMetadata | null);
1406
1408
  };
1407
1409
 
1408
1410
  export type EvaluationRunPublic = {
@@ -1624,6 +1626,14 @@ export type FileTooLargeError = {
1624
1626
  error_code?: "FILE_TOO_LARGE";
1625
1627
  };
1626
1628
 
1629
+ /**
1630
+ * Generated run identity and task results returned by existing agent reads.
1631
+ */
1632
+ export type GeneratedEvaluationResultRead = {
1633
+ identity: EvaluationExecutionRead;
1634
+ items: EvaluationItemsRead;
1635
+ };
1636
+
1627
1637
  export type HeartbeatRequest = {
1628
1638
  /**
1629
1639
  * Docker image digests for validator stack services
@@ -2759,17 +2769,6 @@ export type ReinstateRequest = {
2759
2769
  reason?: (string | null);
2760
2770
  };
2761
2771
 
2762
- /**
2763
- * One named contribution to the paid reward. Value is the same
2764
- * numeric slice the miner already earned; the name identifies the
2765
- * reward source (e.g. `family_metric`, `constraint_satisfaction`). No
2766
- * private weighting factors surface here.
2767
- */
2768
- export type RewardComponent = {
2769
- name: string;
2770
- value: number;
2771
- };
2772
-
2773
2772
  export type RewardSummary = {
2774
2773
  component_count?: number;
2775
2774
  };
@@ -2857,31 +2856,6 @@ export type SafeEnvironmentMetadata = {
2857
2856
  result_schema_version: string;
2858
2857
  };
2859
2858
 
2860
- export type SanitizedEpisodeArtifact = {
2861
- episode_result_id: string;
2862
- eval_run_id: string;
2863
- task_id: string;
2864
- family: string;
2865
- outcome: string;
2866
- step_count: number;
2867
- trace: Array<SanitizedTraceEntry>;
2868
- paid_reward?: (number | null);
2869
- check_details?: Array<CheckDetail>;
2870
- reward_components?: Array<RewardComponent>;
2871
- };
2872
-
2873
- export type SanitizedTraceEntry = {
2874
- seq: number;
2875
- turn: number;
2876
- kind: 'model_action' | 'model_message' | 'observation' | 'user_message' | 'termination';
2877
- actor: string;
2878
- payload: {
2879
- [key: string]: unknown;
2880
- };
2881
- };
2882
-
2883
- export type kind = 'model_action' | 'model_message' | 'observation' | 'user_message' | 'termination';
2884
-
2885
2859
  /**
2886
2860
  * 400 - Candidate score does not exceed the challenge threshold.
2887
2861
  */
@@ -3022,6 +2996,31 @@ export type StoreInferenceCredentialRequest = {
3022
2996
  credential: string;
3023
2997
  };
3024
2998
 
2999
+ export type SubmissionPauseRequest = {
3000
+ /**
3001
+ * Reason for changing the submission pause
3002
+ */
3003
+ reason: string;
3004
+ };
3005
+
3006
+ export type SubmissionPauseStatus = {
3007
+ /**
3008
+ * True when new miner submissions are paused
3009
+ */
3010
+ active: boolean;
3011
+ };
3012
+
3013
+ export type SubmissionsPausedError = {
3014
+ /**
3015
+ * Error message describing what went wrong
3016
+ */
3017
+ detail: string;
3018
+ /**
3019
+ * Error code for programmatic handling
3020
+ */
3021
+ error_code?: "SUBMISSIONS_PAUSED";
3022
+ };
3023
+
3025
3024
  export type SubmitAgentResponse = {
3026
3025
  /**
3027
3026
  * Unique identifier for the created agent
@@ -3053,16 +3052,6 @@ export type SubmitAgentResponse = {
3053
3052
  message?: string;
3054
3053
  };
3055
3054
 
3056
- export type SuiteExecutionRead = {
3057
- suite_id: number;
3058
- is_active: boolean;
3059
- is_archived: boolean;
3060
- execution_kind: 'legacy_shoppingbench' | 'envpack' | 'unknown';
3061
- execution_contract_id?: (string | null);
3062
- environment?: (SafeEnvironmentMetadata | null);
3063
- qualifying_tasks?: (Array<QualifyingTaskRead> | null);
3064
- };
3065
-
3066
3055
  export type SuiteNotFoundError = {
3067
3056
  /**
3068
3057
  * Error message describing what went wrong
@@ -4049,7 +4038,7 @@ export type SubmitAgentData = {
4049
4038
 
4050
4039
  export type SubmitAgentResponse2 = (SubmitAgentResponse);
4051
4040
 
4052
- export type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | (NoActiveSuiteError | SimilarityCheckUnavailableError));
4041
+ export type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | (NoActiveSuiteError | SimilarityCheckUnavailableError | SubmissionsPausedError));
4053
4042
 
4054
4043
  export type StoreInferenceCredentialData = {
4055
4044
  body: StoreInferenceCredentialRequest;
@@ -4778,81 +4767,45 @@ export type GetValidatorFailuresResponse = (ValidatorFailuresResponse);
4778
4767
 
4779
4768
  export type GetValidatorFailuresError = (HTTPValidationError);
4780
4769
 
4781
- export type GetValidatorPauseResponse = (ValidatorPauseStatus);
4770
+ export type GetSubmissionPauseResponse = (SubmissionPauseStatus);
4782
4771
 
4783
- export type GetValidatorPauseError = unknown;
4772
+ export type GetSubmissionPauseError = unknown;
4784
4773
 
4785
- export type PostValidatorPauseData = {
4786
- body: ValidatorPauseRequest;
4774
+ export type PostSubmissionPauseData = {
4775
+ body: SubmissionPauseRequest;
4787
4776
  };
4788
4777
 
4789
- export type PostValidatorPauseResponse = (ValidatorPauseStatus);
4778
+ export type PostSubmissionPauseResponse = (SubmissionPauseStatus);
4790
4779
 
4791
- export type PostValidatorPauseError = (HTTPValidationError);
4780
+ export type PostSubmissionPauseError = (HTTPValidationError);
4792
4781
 
4793
- export type PostValidatorResumeData = {
4794
- body: ValidatorResumeRequest;
4795
- };
4796
-
4797
- export type PostValidatorResumeResponse = (ValidatorPauseStatus);
4798
-
4799
- export type PostValidatorResumeError = (HTTPValidationError);
4800
-
4801
- export type GetCurrentSuiteV2Response = (SuiteExecutionRead);
4802
-
4803
- export type GetCurrentSuiteV2Error = unknown;
4804
-
4805
- export type GetSuiteV2Data = {
4806
- path: {
4807
- /**
4808
- * Suite identifier
4809
- */
4810
- suite_id: number;
4811
- };
4782
+ export type PostSubmissionResumeData = {
4783
+ body: SubmissionPauseRequest;
4812
4784
  };
4813
4785
 
4814
- export type GetSuiteV2Response = (SuiteExecutionRead);
4815
-
4816
- export type GetSuiteV2Error = (HTTPValidationError);
4786
+ export type PostSubmissionResumeResponse = (SubmissionPauseStatus);
4817
4787
 
4818
- export type GetEvaluationRunV2Data = {
4819
- path: {
4820
- /**
4821
- * Evaluation run identifier
4822
- */
4823
- run_id: string;
4824
- };
4825
- };
4788
+ export type PostSubmissionResumeError = (HTTPValidationError);
4826
4789
 
4827
- export type GetEvaluationRunV2Response = (EvaluationExecutionRead);
4790
+ export type GetValidatorPauseResponse = (ValidatorPauseStatus);
4828
4791
 
4829
- export type GetEvaluationRunV2Error = (HTTPValidationError);
4792
+ export type GetValidatorPauseError = unknown;
4830
4793
 
4831
- export type GetEvaluationItemsV2Data = {
4832
- path: {
4833
- /**
4834
- * Evaluation run identifier
4835
- */
4836
- run_id: string;
4837
- };
4794
+ export type PostValidatorPauseData = {
4795
+ body: ValidatorPauseRequest;
4838
4796
  };
4839
4797
 
4840
- export type GetEvaluationItemsV2Response = (EvaluationItemsRead);
4798
+ export type PostValidatorPauseResponse = (ValidatorPauseStatus);
4841
4799
 
4842
- export type GetEvaluationItemsV2Error = (HTTPValidationError);
4800
+ export type PostValidatorPauseError = (HTTPValidationError);
4843
4801
 
4844
- export type GetEpisodeArtifactV2Data = {
4845
- path: {
4846
- /**
4847
- * Episode result identifier
4848
- */
4849
- episode_result_id: string;
4850
- };
4802
+ export type PostValidatorResumeData = {
4803
+ body: ValidatorResumeRequest;
4851
4804
  };
4852
4805
 
4853
- export type GetEpisodeArtifactV2Response = (SanitizedEpisodeArtifact);
4806
+ export type PostValidatorResumeResponse = (ValidatorPauseStatus);
4854
4807
 
4855
- export type GetEpisodeArtifactV2Error = (HTTPValidationError);
4808
+ export type PostValidatorResumeError = (HTTPValidationError);
4856
4809
 
4857
4810
  export type ApiProblemsData = {
4858
4811
  headers?: {