@oro-ai/sdk 1.0.112 → 1.0.113

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 CHANGED
@@ -1206,6 +1206,112 @@ type EliminateResponse = {
1206
1206
  */
1207
1207
  eliminated_at: string;
1208
1208
  };
1209
+ /**
1210
+ * Request error from an environment operation or its authentication middleware.
1211
+ */
1212
+ type EnvPackErrorResponse = {
1213
+ /**
1214
+ * Error message or structured details. Inspect the HTTP status for retries.
1215
+ */
1216
+ detail: (string | {
1217
+ [key: string]: unknown;
1218
+ });
1219
+ };
1220
+ /**
1221
+ * Request an immutable upload target for one environment episode.
1222
+ */
1223
+ type EpisodeArtifactPresignRequest = {
1224
+ eval_run_id: string;
1225
+ env_pack_sha256: string;
1226
+ artifact_sha256: string;
1227
+ content_length: number;
1228
+ };
1229
+ /**
1230
+ * Content-addressed S3 target returned to the owning validator.
1231
+ */
1232
+ type EpisodeArtifactPresignResponse = {
1233
+ upload_url: string;
1234
+ artifact_uri: string;
1235
+ artifact_sha256: string;
1236
+ };
1237
+ /**
1238
+ * A validator's terminal result for one task in a bound environment pack.
1239
+ */
1240
+ type EpisodeResultEntry = {
1241
+ /**
1242
+ * Evaluation run this episode belongs to.
1243
+ */
1244
+ eval_run_id: string;
1245
+ /**
1246
+ * Pack the task was compiled from.
1247
+ */
1248
+ env_pack_sha256: string;
1249
+ /**
1250
+ * Task identifier within the bound pack.
1251
+ */
1252
+ task_id: string;
1253
+ /**
1254
+ * Task family name (retrieval_recall, intent_decomposition, ...).
1255
+ */
1256
+ family: string;
1257
+ /**
1258
+ * Terminal task outcome.
1259
+ */
1260
+ outcome: 'completed' | 'partial' | 'agent_error' | 'environment_error' | 'verifier_error' | 'leakage' | 'exploit';
1261
+ /**
1262
+ * Whether the deterministic hard gate passed.
1263
+ */
1264
+ verdict_correct?: boolean;
1265
+ /**
1266
+ * Per-check tri-state results (final_in_gold, within_budget, ...).
1267
+ */
1268
+ verdict_checks?: {
1269
+ [key: string]: unknown;
1270
+ };
1271
+ /**
1272
+ * Bounded per-family reward gradients — only paid when verdict_correct.
1273
+ */
1274
+ reward_components?: {
1275
+ [key: string]: unknown;
1276
+ };
1277
+ /**
1278
+ * Terminal reward paid for this episode. MUST be null when verdict_correct is false.
1279
+ */
1280
+ aggregate_reward?: (number | string | null);
1281
+ /**
1282
+ * sha256 of the ledger's final state — cross-validator parity anchor. Required for completed / partial / leakage / exploit; MUST be null for the *_error outcomes (no state to compare).
1283
+ */
1284
+ terminal_state_hash?: (string | null);
1285
+ /**
1286
+ * S3 URI of the complete episode artifact, including its ledger.
1287
+ */
1288
+ ledger_uri?: (string | null);
1289
+ /**
1290
+ * Number of agent steps taken before termination.
1291
+ */
1292
+ step_count?: number;
1293
+ };
1294
+ /**
1295
+ * Terminal task outcome.
1296
+ */
1297
+ type outcome = 'completed' | 'partial' | 'agent_error' | 'environment_error' | 'verifier_error' | 'leakage' | 'exploit';
1298
+ /**
1299
+ * Per-item result inside ``SubmitEpisodeResultsResponse``.
1300
+ */
1301
+ type EpisodeResultSubmission = {
1302
+ eval_run_id: string;
1303
+ task_id: string;
1304
+ status: 201 | 409 | 404 | 422;
1305
+ /**
1306
+ * Populated when status=201 (row was written).
1307
+ */
1308
+ episode_result_id?: (string | null);
1309
+ /**
1310
+ * Populated when status != 201; short human-readable reason.
1311
+ */
1312
+ error?: (string | null);
1313
+ };
1314
+ type status = 201 | 409 | 404 | 422;
1209
1315
  /**
1210
1316
  * Base weight standings pinned to one epoch (ORO-1704).
1211
1317
  *
@@ -1930,6 +2036,53 @@ type NotVersionOwnerError = {
1930
2036
  */
1931
2037
  error_code?: "NOT_VERSION_OWNER";
1932
2038
  };
2039
+ /**
2040
+ * Authorized environment delivery and its parent pack identity.
2041
+ *
2042
+ * Verify downloaded bytes against ``download_url_sha256``, not the parent
2043
+ * ``pack_sha256``. Only tasks authorized for this delivery are included.
2044
+ */
2045
+ type PackFetchResponse = {
2046
+ /**
2047
+ * Content-addressed parent pack identity.
2048
+ */
2049
+ pack_sha256: string;
2050
+ /**
2051
+ * Time-limited URL for the authorized archive.
2052
+ */
2053
+ download_url: string;
2054
+ download_url_expires_at: string;
2055
+ /**
2056
+ * SHA-256 of the delivered archive bytes.
2057
+ */
2058
+ download_url_sha256: string;
2059
+ /**
2060
+ * Byte size of the delivered archive.
2061
+ */
2062
+ download_url_size_bytes: number;
2063
+ /**
2064
+ * Derivative bytes are not covered by the parent artifact signature.
2065
+ */
2066
+ artifact_signature?: null;
2067
+ delivery_scope?: "qualifying";
2068
+ /**
2069
+ * Exact task roster authorized in this delivery.
2070
+ */
2071
+ delivery_task_ids: Array<(string)>;
2072
+ contract_version: string;
2073
+ runtime_version: string;
2074
+ tool_contract_version: string;
2075
+ verifier_version: string;
2076
+ result_schema_version: string;
2077
+ catalog_epoch: string;
2078
+ catalog_sha256: string;
2079
+ search_index_epoch: (string | null);
2080
+ search_index_sha256: (string | null);
2081
+ task_count: number;
2082
+ family_counts: {
2083
+ [key: string]: (number);
2084
+ };
2085
+ };
1933
2086
  type PendingEvaluation = {
1934
2087
  /**
1935
2088
  * Unique work item identifier
@@ -2297,6 +2450,53 @@ type RaceNotFoundError = {
2297
2450
  */
2298
2451
  error_code?: "RACE_NOT_FOUND";
2299
2452
  };
2453
+ /**
2454
+ * Environment delivery scoped to the caller's active assigned work.
2455
+ *
2456
+ * Verify downloaded bytes against ``download_url_sha256``. The parent
2457
+ * ``pack_sha256`` identifies the environment against which results are bound.
2458
+ */
2459
+ type RacePackFetchResponse = {
2460
+ /**
2461
+ * Evaluation group containing the assigned work.
2462
+ */
2463
+ race_id: string;
2464
+ /**
2465
+ * Content-addressed parent pack identity.
2466
+ */
2467
+ pack_sha256: string;
2468
+ /**
2469
+ * Time-limited URL for the assigned-work archive.
2470
+ */
2471
+ download_url: string;
2472
+ download_url_expires_at: string;
2473
+ /**
2474
+ * SHA-256 of the delivered archive bytes.
2475
+ */
2476
+ download_url_sha256: string;
2477
+ /**
2478
+ * Byte size of the delivered archive.
2479
+ */
2480
+ download_url_size_bytes: number;
2481
+ delivery_scope?: "race";
2482
+ /**
2483
+ * Exact task roster authorized in this delivery.
2484
+ */
2485
+ delivery_task_ids: Array<(string)>;
2486
+ contract_version: string;
2487
+ runtime_version: string;
2488
+ tool_contract_version: string;
2489
+ verifier_version: string;
2490
+ result_schema_version: string;
2491
+ catalog_epoch: string;
2492
+ catalog_sha256: string;
2493
+ search_index_epoch: (string | null);
2494
+ search_index_sha256: (string | null);
2495
+ task_count: number;
2496
+ family_counts: {
2497
+ [key: string]: (number);
2498
+ };
2499
+ };
2300
2500
  type RacePublic = {
2301
2501
  /**
2302
2502
  * Race ID
@@ -2910,6 +3110,30 @@ type SubmitAgentResponse = {
2910
3110
  */
2911
3111
  message?: string;
2912
3112
  };
3113
+ /**
3114
+ * Submit between 1 and 500 episode results in a single request.
3115
+ */
3116
+ type SubmitEpisodeResultsRequest = {
3117
+ /**
3118
+ * Non-empty list of episode outcomes. Split more than 500 results into multiple requests.
3119
+ */
3120
+ results: Array<EpisodeResultEntry>;
3121
+ };
3122
+ /**
3123
+ * Acknowledgement for a processed batch; inspect every per-item status.
3124
+ *
3125
+ * HTTP 200 does not mean all items were accepted. Request-level validation
3126
+ * and authorization failures may instead return a non-200 response.
3127
+ */
3128
+ type SubmitEpisodeResultsResponse = {
3129
+ results: Array<EpisodeResultSubmission>;
3130
+ /**
3131
+ * Per-status count summary — quick health check for callers batching hundreds at a time.
3132
+ */
3133
+ counts: {
3134
+ [key: string]: (number);
3135
+ };
3136
+ };
2913
3137
  type SuiteNotFoundError = {
2914
3138
  /**
2915
3139
  * Error message describing what went wrong
@@ -4451,6 +4675,36 @@ type PostValidatorResumeData = {
4451
4675
  };
4452
4676
  type PostValidatorResumeResponse = (ValidatorPauseStatus);
4453
4677
  type PostValidatorResumeError = (HTTPValidationError);
4678
+ type GetPackData = {
4679
+ path: {
4680
+ /**
4681
+ * Content hash of the sealed pack.
4682
+ */
4683
+ pack_sha256: string;
4684
+ };
4685
+ };
4686
+ type GetPackResponse = (PackFetchResponse);
4687
+ type GetPackError = (EnvPackErrorResponse | HTTPValidationError);
4688
+ type GetRacePackData = {
4689
+ path: {
4690
+ /**
4691
+ * Identifier of the evaluation group containing the assigned work.
4692
+ */
4693
+ race_id: string;
4694
+ };
4695
+ };
4696
+ type GetRacePackResponse = (RacePackFetchResponse);
4697
+ type GetRacePackError = (EnvPackErrorResponse | HTTPValidationError);
4698
+ type PresignEpisodeArtifactData = {
4699
+ body: EpisodeArtifactPresignRequest;
4700
+ };
4701
+ type PresignEpisodeArtifactResponse = (EpisodeArtifactPresignResponse);
4702
+ type PresignEpisodeArtifactError = (EnvPackErrorResponse | HTTPValidationError);
4703
+ type SubmitEpisodeResultsData = {
4704
+ body: SubmitEpisodeResultsRequest;
4705
+ };
4706
+ type SubmitEpisodeResultsResponse2 = (SubmitEpisodeResultsResponse);
4707
+ type SubmitEpisodeResultsError = (EnvPackErrorResponse | HTTPValidationError);
4454
4708
  type ApiProblemsData = {
4455
4709
  headers?: {
4456
4710
  'X-Demo-Auth'?: (string | null);
@@ -5019,6 +5273,26 @@ declare const postValidatorPause: <ThrowOnError extends boolean = false>(options
5019
5273
  * Resume validator claims (release the andon cord)
5020
5274
  */
5021
5275
  declare const postValidatorResume: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, HTTPValidationError, ThrowOnError>;
5276
+ /**
5277
+ * Get an authorized environment pack download
5278
+ * Return a time-limited download URL and version metadata. Verify the delivered bytes against download_url_sha256; pack_sha256 identifies the parent pack.
5279
+ */
5280
+ declare const getPack: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PackFetchResponse, GetPackError, ThrowOnError>;
5281
+ /**
5282
+ * Get an environment download for assigned work
5283
+ * Return a time-limited download for the selected tasks. Requires active assigned work. Verify the delivered bytes against download_url_sha256.
5284
+ */
5285
+ declare const getRacePack: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRacePackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RacePackFetchResponse, GetRacePackError, ThrowOnError>;
5286
+ /**
5287
+ * Get an upload URL for an environment episode artifact
5288
+ * Return a content-addressed upload target for an evaluation owned by the caller.
5289
+ */
5290
+ declare const presignEpisodeArtifact: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PresignEpisodeArtifactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EpisodeArtifactPresignResponse, PresignEpisodeArtifactError, ThrowOnError>;
5291
+ /**
5292
+ * Submit environment episode results
5293
+ * Submit up to 500 episode results for evaluations owned by the caller. HTTP 200 is a batch acknowledgement: inspect each item's status for acceptance (201), an already-recorded task (409), or rejection (404/422).
5294
+ */
5295
+ declare const submitEpisodeResults: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitEpisodeResultsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SubmitEpisodeResultsResponse, SubmitEpisodeResultsError, ThrowOnError>;
5022
5296
  /**
5023
5297
  * Api Problems
5024
5298
  */
@@ -5379,4 +5653,4 @@ declare class SessionAuthManager {
5379
5653
  */
5380
5654
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
5381
5655
 
5382
- export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ApiProblemsData, type ApiProblemsError, type ApiProblemsResponse, type ApiRunData, type ApiRunError, type ApiRunResponse, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type CheckSummary, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearAllCooldownsResponse, type ClearAllMinerCooldownsError, type ClearAllMinerCooldownsResponse, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type ClearRaceSelectionError, type ClearRaceSelectionResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type EpochStandings, type ErrorCategory, type EvalRunNotFoundError, type EvaluationExecutionRead, type EvaluationItemRead, type EvaluationItemsRead, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, type FileTooLargeError, type GeneratedEvaluationResultRead, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetRaceValidatorVarianceData, type GetRaceValidatorVarianceError, type GetRaceValidatorVarianceResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSubmissionPauseError, type GetSubmissionPauseResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetTrajectoryHistoryError, type GetTrajectoryHistoryResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type GetWeightSaltError, type GetWeightSaltResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListInferenceAuthError, type ListInferenceAuthResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PinnedFinisher, type PooledWindowRace, type PostSubmissionPauseData, type PostSubmissionPauseError, type PostSubmissionPauseResponse, type PostSubmissionResumeData, type PostSubmissionResumeError, type PostSubmissionResumeResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type QualifyingTaskRead, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceValidatorVarianceResponse, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RewardSummary, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type SafeEnvironmentMetadata, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type SpreadBucket, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmissionPauseRequest, type SubmissionPauseStatus, type SubmissionsPausedError, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type TrajectoryDay, type TrajectoryHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateQualifyingDeadlineData, type UpdateQualifyingDeadlineError, type UpdateQualifyingDeadlineRequest, type UpdateQualifyingDeadlineResponse, type UpdateQualifyingDeadlineResponse2, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type ValidatorVarianceEntry, type WaitlistSignupRequest, type WaitlistSignupResponse, type WeightSaltResponse, type WorkItemStatus, activateSuite, apiProblems, apiRun, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearAllMinerCooldowns, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, type execution_kind, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getRaceValidatorVariance, getReaperStats, getRunProblems, getRunningEvaluations, getSubmissionPause, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getTrajectoryHistory, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, getWeightSalt, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, type item_kind, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postSubmissionPause, postSubmissionResume, postValidatorPause, postValidatorResume, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateQualifyingDeadline, updateValidator };
5656
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ApiProblemsData, type ApiProblemsError, type ApiProblemsResponse, type ApiRunData, type ApiRunError, type ApiRunResponse, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type CheckSummary, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearAllCooldownsResponse, type ClearAllMinerCooldownsError, type ClearAllMinerCooldownsResponse, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type ClearRaceSelectionError, type ClearRaceSelectionResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type EnvPackErrorResponse, type EpisodeArtifactPresignRequest, type EpisodeArtifactPresignResponse, type EpisodeResultEntry, type EpisodeResultSubmission, type EpochStandings, type ErrorCategory, type EvalRunNotFoundError, type EvaluationExecutionRead, type EvaluationItemRead, type EvaluationItemsRead, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, type FileTooLargeError, type GeneratedEvaluationResultRead, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPackData, type GetPackError, type GetPackResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetRacePackData, type GetRacePackError, type GetRacePackResponse, type GetRaceValidatorVarianceData, type GetRaceValidatorVarianceError, type GetRaceValidatorVarianceResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSubmissionPauseError, type GetSubmissionPauseResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetTrajectoryHistoryError, type GetTrajectoryHistoryResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type GetWeightSaltError, type GetWeightSaltResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListInferenceAuthError, type ListInferenceAuthResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PackFetchResponse, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PinnedFinisher, type PooledWindowRace, type PostSubmissionPauseData, type PostSubmissionPauseError, type PostSubmissionPauseResponse, type PostSubmissionResumeData, type PostSubmissionResumeError, type PostSubmissionResumeResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, type PresignEpisodeArtifactData, type PresignEpisodeArtifactError, type PresignEpisodeArtifactResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type QualifyingTaskRead, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePackFetchResponse, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceValidatorVarianceResponse, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RewardSummary, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type SafeEnvironmentMetadata, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type SpreadBucket, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmissionPauseRequest, type SubmissionPauseStatus, type SubmissionsPausedError, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SubmitEpisodeResultsData, type SubmitEpisodeResultsError, type SubmitEpisodeResultsRequest, type SubmitEpisodeResultsResponse, type SubmitEpisodeResultsResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type TrajectoryDay, type TrajectoryHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateQualifyingDeadlineData, type UpdateQualifyingDeadlineError, type UpdateQualifyingDeadlineRequest, type UpdateQualifyingDeadlineResponse, type UpdateQualifyingDeadlineResponse2, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type ValidatorVarianceEntry, type WaitlistSignupRequest, type WaitlistSignupResponse, type WeightSaltResponse, type WorkItemStatus, activateSuite, apiProblems, apiRun, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearAllMinerCooldowns, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, type execution_kind, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPack, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getRacePack, getRaceValidatorVariance, getReaperStats, getRunProblems, getRunningEvaluations, getSubmissionPause, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getTrajectoryHistory, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, getWeightSalt, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, type item_kind, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, type outcome, parseRetryAfter, postSubmissionPause, postSubmissionResume, postValidatorPause, postValidatorResume, presignEpisodeArtifact, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, type status, storeChutesToken, storeInferenceCredential, submitAgent, submitEpisodeResults, unbanMiner, unbanValidator, updateProgress, updateQualifyingDeadline, updateValidator };
package/dist/index.d.ts CHANGED
@@ -1206,6 +1206,112 @@ type EliminateResponse = {
1206
1206
  */
1207
1207
  eliminated_at: string;
1208
1208
  };
1209
+ /**
1210
+ * Request error from an environment operation or its authentication middleware.
1211
+ */
1212
+ type EnvPackErrorResponse = {
1213
+ /**
1214
+ * Error message or structured details. Inspect the HTTP status for retries.
1215
+ */
1216
+ detail: (string | {
1217
+ [key: string]: unknown;
1218
+ });
1219
+ };
1220
+ /**
1221
+ * Request an immutable upload target for one environment episode.
1222
+ */
1223
+ type EpisodeArtifactPresignRequest = {
1224
+ eval_run_id: string;
1225
+ env_pack_sha256: string;
1226
+ artifact_sha256: string;
1227
+ content_length: number;
1228
+ };
1229
+ /**
1230
+ * Content-addressed S3 target returned to the owning validator.
1231
+ */
1232
+ type EpisodeArtifactPresignResponse = {
1233
+ upload_url: string;
1234
+ artifact_uri: string;
1235
+ artifact_sha256: string;
1236
+ };
1237
+ /**
1238
+ * A validator's terminal result for one task in a bound environment pack.
1239
+ */
1240
+ type EpisodeResultEntry = {
1241
+ /**
1242
+ * Evaluation run this episode belongs to.
1243
+ */
1244
+ eval_run_id: string;
1245
+ /**
1246
+ * Pack the task was compiled from.
1247
+ */
1248
+ env_pack_sha256: string;
1249
+ /**
1250
+ * Task identifier within the bound pack.
1251
+ */
1252
+ task_id: string;
1253
+ /**
1254
+ * Task family name (retrieval_recall, intent_decomposition, ...).
1255
+ */
1256
+ family: string;
1257
+ /**
1258
+ * Terminal task outcome.
1259
+ */
1260
+ outcome: 'completed' | 'partial' | 'agent_error' | 'environment_error' | 'verifier_error' | 'leakage' | 'exploit';
1261
+ /**
1262
+ * Whether the deterministic hard gate passed.
1263
+ */
1264
+ verdict_correct?: boolean;
1265
+ /**
1266
+ * Per-check tri-state results (final_in_gold, within_budget, ...).
1267
+ */
1268
+ verdict_checks?: {
1269
+ [key: string]: unknown;
1270
+ };
1271
+ /**
1272
+ * Bounded per-family reward gradients — only paid when verdict_correct.
1273
+ */
1274
+ reward_components?: {
1275
+ [key: string]: unknown;
1276
+ };
1277
+ /**
1278
+ * Terminal reward paid for this episode. MUST be null when verdict_correct is false.
1279
+ */
1280
+ aggregate_reward?: (number | string | null);
1281
+ /**
1282
+ * sha256 of the ledger's final state — cross-validator parity anchor. Required for completed / partial / leakage / exploit; MUST be null for the *_error outcomes (no state to compare).
1283
+ */
1284
+ terminal_state_hash?: (string | null);
1285
+ /**
1286
+ * S3 URI of the complete episode artifact, including its ledger.
1287
+ */
1288
+ ledger_uri?: (string | null);
1289
+ /**
1290
+ * Number of agent steps taken before termination.
1291
+ */
1292
+ step_count?: number;
1293
+ };
1294
+ /**
1295
+ * Terminal task outcome.
1296
+ */
1297
+ type outcome = 'completed' | 'partial' | 'agent_error' | 'environment_error' | 'verifier_error' | 'leakage' | 'exploit';
1298
+ /**
1299
+ * Per-item result inside ``SubmitEpisodeResultsResponse``.
1300
+ */
1301
+ type EpisodeResultSubmission = {
1302
+ eval_run_id: string;
1303
+ task_id: string;
1304
+ status: 201 | 409 | 404 | 422;
1305
+ /**
1306
+ * Populated when status=201 (row was written).
1307
+ */
1308
+ episode_result_id?: (string | null);
1309
+ /**
1310
+ * Populated when status != 201; short human-readable reason.
1311
+ */
1312
+ error?: (string | null);
1313
+ };
1314
+ type status = 201 | 409 | 404 | 422;
1209
1315
  /**
1210
1316
  * Base weight standings pinned to one epoch (ORO-1704).
1211
1317
  *
@@ -1930,6 +2036,53 @@ type NotVersionOwnerError = {
1930
2036
  */
1931
2037
  error_code?: "NOT_VERSION_OWNER";
1932
2038
  };
2039
+ /**
2040
+ * Authorized environment delivery and its parent pack identity.
2041
+ *
2042
+ * Verify downloaded bytes against ``download_url_sha256``, not the parent
2043
+ * ``pack_sha256``. Only tasks authorized for this delivery are included.
2044
+ */
2045
+ type PackFetchResponse = {
2046
+ /**
2047
+ * Content-addressed parent pack identity.
2048
+ */
2049
+ pack_sha256: string;
2050
+ /**
2051
+ * Time-limited URL for the authorized archive.
2052
+ */
2053
+ download_url: string;
2054
+ download_url_expires_at: string;
2055
+ /**
2056
+ * SHA-256 of the delivered archive bytes.
2057
+ */
2058
+ download_url_sha256: string;
2059
+ /**
2060
+ * Byte size of the delivered archive.
2061
+ */
2062
+ download_url_size_bytes: number;
2063
+ /**
2064
+ * Derivative bytes are not covered by the parent artifact signature.
2065
+ */
2066
+ artifact_signature?: null;
2067
+ delivery_scope?: "qualifying";
2068
+ /**
2069
+ * Exact task roster authorized in this delivery.
2070
+ */
2071
+ delivery_task_ids: Array<(string)>;
2072
+ contract_version: string;
2073
+ runtime_version: string;
2074
+ tool_contract_version: string;
2075
+ verifier_version: string;
2076
+ result_schema_version: string;
2077
+ catalog_epoch: string;
2078
+ catalog_sha256: string;
2079
+ search_index_epoch: (string | null);
2080
+ search_index_sha256: (string | null);
2081
+ task_count: number;
2082
+ family_counts: {
2083
+ [key: string]: (number);
2084
+ };
2085
+ };
1933
2086
  type PendingEvaluation = {
1934
2087
  /**
1935
2088
  * Unique work item identifier
@@ -2297,6 +2450,53 @@ type RaceNotFoundError = {
2297
2450
  */
2298
2451
  error_code?: "RACE_NOT_FOUND";
2299
2452
  };
2453
+ /**
2454
+ * Environment delivery scoped to the caller's active assigned work.
2455
+ *
2456
+ * Verify downloaded bytes against ``download_url_sha256``. The parent
2457
+ * ``pack_sha256`` identifies the environment against which results are bound.
2458
+ */
2459
+ type RacePackFetchResponse = {
2460
+ /**
2461
+ * Evaluation group containing the assigned work.
2462
+ */
2463
+ race_id: string;
2464
+ /**
2465
+ * Content-addressed parent pack identity.
2466
+ */
2467
+ pack_sha256: string;
2468
+ /**
2469
+ * Time-limited URL for the assigned-work archive.
2470
+ */
2471
+ download_url: string;
2472
+ download_url_expires_at: string;
2473
+ /**
2474
+ * SHA-256 of the delivered archive bytes.
2475
+ */
2476
+ download_url_sha256: string;
2477
+ /**
2478
+ * Byte size of the delivered archive.
2479
+ */
2480
+ download_url_size_bytes: number;
2481
+ delivery_scope?: "race";
2482
+ /**
2483
+ * Exact task roster authorized in this delivery.
2484
+ */
2485
+ delivery_task_ids: Array<(string)>;
2486
+ contract_version: string;
2487
+ runtime_version: string;
2488
+ tool_contract_version: string;
2489
+ verifier_version: string;
2490
+ result_schema_version: string;
2491
+ catalog_epoch: string;
2492
+ catalog_sha256: string;
2493
+ search_index_epoch: (string | null);
2494
+ search_index_sha256: (string | null);
2495
+ task_count: number;
2496
+ family_counts: {
2497
+ [key: string]: (number);
2498
+ };
2499
+ };
2300
2500
  type RacePublic = {
2301
2501
  /**
2302
2502
  * Race ID
@@ -2910,6 +3110,30 @@ type SubmitAgentResponse = {
2910
3110
  */
2911
3111
  message?: string;
2912
3112
  };
3113
+ /**
3114
+ * Submit between 1 and 500 episode results in a single request.
3115
+ */
3116
+ type SubmitEpisodeResultsRequest = {
3117
+ /**
3118
+ * Non-empty list of episode outcomes. Split more than 500 results into multiple requests.
3119
+ */
3120
+ results: Array<EpisodeResultEntry>;
3121
+ };
3122
+ /**
3123
+ * Acknowledgement for a processed batch; inspect every per-item status.
3124
+ *
3125
+ * HTTP 200 does not mean all items were accepted. Request-level validation
3126
+ * and authorization failures may instead return a non-200 response.
3127
+ */
3128
+ type SubmitEpisodeResultsResponse = {
3129
+ results: Array<EpisodeResultSubmission>;
3130
+ /**
3131
+ * Per-status count summary — quick health check for callers batching hundreds at a time.
3132
+ */
3133
+ counts: {
3134
+ [key: string]: (number);
3135
+ };
3136
+ };
2913
3137
  type SuiteNotFoundError = {
2914
3138
  /**
2915
3139
  * Error message describing what went wrong
@@ -4451,6 +4675,36 @@ type PostValidatorResumeData = {
4451
4675
  };
4452
4676
  type PostValidatorResumeResponse = (ValidatorPauseStatus);
4453
4677
  type PostValidatorResumeError = (HTTPValidationError);
4678
+ type GetPackData = {
4679
+ path: {
4680
+ /**
4681
+ * Content hash of the sealed pack.
4682
+ */
4683
+ pack_sha256: string;
4684
+ };
4685
+ };
4686
+ type GetPackResponse = (PackFetchResponse);
4687
+ type GetPackError = (EnvPackErrorResponse | HTTPValidationError);
4688
+ type GetRacePackData = {
4689
+ path: {
4690
+ /**
4691
+ * Identifier of the evaluation group containing the assigned work.
4692
+ */
4693
+ race_id: string;
4694
+ };
4695
+ };
4696
+ type GetRacePackResponse = (RacePackFetchResponse);
4697
+ type GetRacePackError = (EnvPackErrorResponse | HTTPValidationError);
4698
+ type PresignEpisodeArtifactData = {
4699
+ body: EpisodeArtifactPresignRequest;
4700
+ };
4701
+ type PresignEpisodeArtifactResponse = (EpisodeArtifactPresignResponse);
4702
+ type PresignEpisodeArtifactError = (EnvPackErrorResponse | HTTPValidationError);
4703
+ type SubmitEpisodeResultsData = {
4704
+ body: SubmitEpisodeResultsRequest;
4705
+ };
4706
+ type SubmitEpisodeResultsResponse2 = (SubmitEpisodeResultsResponse);
4707
+ type SubmitEpisodeResultsError = (EnvPackErrorResponse | HTTPValidationError);
4454
4708
  type ApiProblemsData = {
4455
4709
  headers?: {
4456
4710
  'X-Demo-Auth'?: (string | null);
@@ -5019,6 +5273,26 @@ declare const postValidatorPause: <ThrowOnError extends boolean = false>(options
5019
5273
  * Resume validator claims (release the andon cord)
5020
5274
  */
5021
5275
  declare const postValidatorResume: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, HTTPValidationError, ThrowOnError>;
5276
+ /**
5277
+ * Get an authorized environment pack download
5278
+ * Return a time-limited download URL and version metadata. Verify the delivered bytes against download_url_sha256; pack_sha256 identifies the parent pack.
5279
+ */
5280
+ declare const getPack: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PackFetchResponse, GetPackError, ThrowOnError>;
5281
+ /**
5282
+ * Get an environment download for assigned work
5283
+ * Return a time-limited download for the selected tasks. Requires active assigned work. Verify the delivered bytes against download_url_sha256.
5284
+ */
5285
+ declare const getRacePack: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRacePackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RacePackFetchResponse, GetRacePackError, ThrowOnError>;
5286
+ /**
5287
+ * Get an upload URL for an environment episode artifact
5288
+ * Return a content-addressed upload target for an evaluation owned by the caller.
5289
+ */
5290
+ declare const presignEpisodeArtifact: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PresignEpisodeArtifactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EpisodeArtifactPresignResponse, PresignEpisodeArtifactError, ThrowOnError>;
5291
+ /**
5292
+ * Submit environment episode results
5293
+ * Submit up to 500 episode results for evaluations owned by the caller. HTTP 200 is a batch acknowledgement: inspect each item's status for acceptance (201), an already-recorded task (409), or rejection (404/422).
5294
+ */
5295
+ declare const submitEpisodeResults: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitEpisodeResultsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SubmitEpisodeResultsResponse, SubmitEpisodeResultsError, ThrowOnError>;
5022
5296
  /**
5023
5297
  * Api Problems
5024
5298
  */
@@ -5379,4 +5653,4 @@ declare class SessionAuthManager {
5379
5653
  */
5380
5654
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
5381
5655
 
5382
- export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ApiProblemsData, type ApiProblemsError, type ApiProblemsResponse, type ApiRunData, type ApiRunError, type ApiRunResponse, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type CheckSummary, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearAllCooldownsResponse, type ClearAllMinerCooldownsError, type ClearAllMinerCooldownsResponse, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type ClearRaceSelectionError, type ClearRaceSelectionResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type EpochStandings, type ErrorCategory, type EvalRunNotFoundError, type EvaluationExecutionRead, type EvaluationItemRead, type EvaluationItemsRead, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, type FileTooLargeError, type GeneratedEvaluationResultRead, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetRaceValidatorVarianceData, type GetRaceValidatorVarianceError, type GetRaceValidatorVarianceResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSubmissionPauseError, type GetSubmissionPauseResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetTrajectoryHistoryError, type GetTrajectoryHistoryResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type GetWeightSaltError, type GetWeightSaltResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListInferenceAuthError, type ListInferenceAuthResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PinnedFinisher, type PooledWindowRace, type PostSubmissionPauseData, type PostSubmissionPauseError, type PostSubmissionPauseResponse, type PostSubmissionResumeData, type PostSubmissionResumeError, type PostSubmissionResumeResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type QualifyingTaskRead, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceValidatorVarianceResponse, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RewardSummary, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type SafeEnvironmentMetadata, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type SpreadBucket, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmissionPauseRequest, type SubmissionPauseStatus, type SubmissionsPausedError, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type TrajectoryDay, type TrajectoryHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateQualifyingDeadlineData, type UpdateQualifyingDeadlineError, type UpdateQualifyingDeadlineRequest, type UpdateQualifyingDeadlineResponse, type UpdateQualifyingDeadlineResponse2, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type ValidatorVarianceEntry, type WaitlistSignupRequest, type WaitlistSignupResponse, type WeightSaltResponse, type WorkItemStatus, activateSuite, apiProblems, apiRun, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearAllMinerCooldowns, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, type execution_kind, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getRaceValidatorVariance, getReaperStats, getRunProblems, getRunningEvaluations, getSubmissionPause, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getTrajectoryHistory, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, getWeightSalt, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, type item_kind, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postSubmissionPause, postSubmissionResume, postValidatorPause, postValidatorResume, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateQualifyingDeadline, updateValidator };
5656
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ApiProblemsData, type ApiProblemsError, type ApiProblemsResponse, type ApiRunData, type ApiRunError, type ApiRunResponse, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type CheckSummary, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearAllCooldownsResponse, type ClearAllMinerCooldownsError, type ClearAllMinerCooldownsResponse, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type ClearRaceSelectionError, type ClearRaceSelectionResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DeepHealthCheckError, type DeepHealthCheckResponse, type DeleteInferenceCredentialData, type DeleteInferenceCredentialError, type DeleteInferenceCredentialResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type EnvPackErrorResponse, type EpisodeArtifactPresignRequest, type EpisodeArtifactPresignResponse, type EpisodeResultEntry, type EpisodeResultSubmission, type EpochStandings, type ErrorCategory, type EvalRunNotFoundError, type EvaluationExecutionRead, type EvaluationItemRead, type EvaluationItemsRead, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type ExchangeChutesCodeData, type ExchangeChutesCodeError, type ExchangeChutesCodeRequest, type ExchangeChutesCodeResponse, type ExchangeChutesCodeResponse2, type FileTooLargeError, type GeneratedEvaluationResultRead, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetInferenceAuthStatusOneData, type GetInferenceAuthStatusOneError, type GetInferenceAuthStatusOneResponse, type GetInferenceModelsData, type GetInferenceModelsError, type GetInferenceModelsResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPackData, type GetPackError, type GetPackResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetRacePackData, type GetRacePackError, type GetRacePackResponse, type GetRaceValidatorVarianceData, type GetRaceValidatorVarianceError, type GetRaceValidatorVarianceResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSubmissionPauseError, type GetSubmissionPauseResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetTrajectoryHistoryError, type GetTrajectoryHistoryResponse, type GetValidatorFailuresData, type GetValidatorFailuresError, type GetValidatorFailuresResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type GetWeightSaltError, type GetWeightSaltResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, type InferenceTokenGrant, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListInferenceAuthError, type ListInferenceAuthResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MinerRaceSelectionRequest, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NoSelectionError, type NotRunOwnerError, type NotVersionOwnerError, type OroErrorCode, type PackFetchResponse, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PinnedFinisher, type PooledWindowRace, type PostSubmissionPauseData, type PostSubmissionPauseError, type PostSubmissionPauseResponse, type PostSubmissionResumeData, type PostSubmissionResumeError, type PostSubmissionResumeResponse, type PostValidatorPauseData, type PostValidatorPauseError, type PostValidatorPauseResponse, type PostValidatorResumeData, type PostValidatorResumeError, type PostValidatorResumeResponse, type PresignEpisodeArtifactData, type PresignEpisodeArtifactError, type PresignEpisodeArtifactResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type QualifyingTaskRead, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceInFlightError, type RaceLockedError, type RaceNotFoundError, type RacePackFetchResponse, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceValidatorVarianceResponse, type RaceWorkItemEntry, type RankedInferenceModel, type RankedInferenceModelsResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RewardSummary, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type SafeEnvironmentMetadata, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetDefaultInferenceProviderData, type SetDefaultInferenceProviderError, type SetDefaultInferenceProviderResponse, type SetDefaultProviderRequest, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SimilarityCheckUnavailableError, type SpreadBucket, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, type SubmissionPauseRequest, type SubmissionPauseStatus, type SubmissionsPausedError, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SubmitEpisodeResultsData, type SubmitEpisodeResultsError, type SubmitEpisodeResultsRequest, type SubmitEpisodeResultsResponse, type SubmitEpisodeResultsResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type TrajectoryDay, type TrajectoryHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateQualifyingDeadlineData, type UpdateQualifyingDeadlineError, type UpdateQualifyingDeadlineRequest, type UpdateQualifyingDeadlineResponse, type UpdateQualifyingDeadlineResponse2, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorFailureEntry, type ValidatorFailuresResponse, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type ValidatorVarianceEntry, type WaitlistSignupRequest, type WaitlistSignupResponse, type WeightSaltResponse, type WorkItemStatus, activateSuite, apiProblems, apiRun, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearAllMinerCooldowns, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, deepHealthCheck, deleteInferenceCredential, discardAgentVersion, eliminateAgentVersion, exchangeChutesCode, type execution_kind, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPack, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getRacePack, getRaceValidatorVariance, getReaperStats, getRunProblems, getRunningEvaluations, getSubmissionPause, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getTrajectoryHistory, getValidatorFailures, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, getWeightSalt, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, type item_kind, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, type outcome, parseRetryAfter, postSubmissionPause, postSubmissionResume, postValidatorPause, postValidatorResume, presignEpisodeArtifact, presignUpload, type provider, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setDefaultInferenceProvider, setRaceSelection, setTopAgent, type status, storeChutesToken, storeInferenceCredential, submitAgent, submitEpisodeResults, unbanMiner, unbanValidator, updateProgress, updateQualifyingDeadline, updateValidator };
package/dist/index.js CHANGED
@@ -78,10 +78,12 @@ __export(index_exports, {
78
78
  getInferenceModels: () => getInferenceModels,
79
79
  getLeaderboard: () => getLeaderboard,
80
80
  getOwnedAgentVersionStatus: () => getOwnedAgentVersionStatus,
81
+ getPack: () => getPack,
81
82
  getPendingEvaluations: () => getPendingEvaluations,
82
83
  getRaceDetail: () => getRaceDetail,
83
84
  getRaceDiagnostics: () => getRaceDiagnostics,
84
85
  getRaceHistory: () => getRaceHistory,
86
+ getRacePack: () => getRacePack,
85
87
  getRaceValidatorVariance: () => getRaceValidatorVariance,
86
88
  getReaperStats: () => getReaperStats,
87
89
  getRunProblems: () => getRunProblems,
@@ -120,6 +122,7 @@ __export(index_exports, {
120
122
  postSubmissionResume: () => postSubmissionResume,
121
123
  postValidatorPause: () => postValidatorPause,
122
124
  postValidatorResume: () => postValidatorResume,
125
+ presignEpisodeArtifact: () => presignEpisodeArtifact,
123
126
  presignUpload: () => presignUpload,
124
127
  reevaluateAgentVersion: () => reevaluateAgentVersion,
125
128
  reinstateAgentVersion: () => reinstateAgentVersion,
@@ -131,6 +134,7 @@ __export(index_exports, {
131
134
  storeChutesToken: () => storeChutesToken,
132
135
  storeInferenceCredential: () => storeInferenceCredential,
133
136
  submitAgent: () => submitAgent,
137
+ submitEpisodeResults: () => submitEpisodeResults,
134
138
  unbanMiner: () => unbanMiner,
135
139
  unbanValidator: () => unbanValidator,
136
140
  updateProgress: () => updateProgress,
@@ -669,6 +673,30 @@ var postValidatorResume = (options) => {
669
673
  url: "/v1/admin/validator-resume"
670
674
  });
671
675
  };
676
+ var getPack = (options) => {
677
+ return (options?.client ?? client).get({
678
+ ...options,
679
+ url: "/v1/validator/pack/{pack_sha256}"
680
+ });
681
+ };
682
+ var getRacePack = (options) => {
683
+ return (options?.client ?? client).post({
684
+ ...options,
685
+ url: "/v1/validator/race/{race_id}/pack"
686
+ });
687
+ };
688
+ var presignEpisodeArtifact = (options) => {
689
+ return (options?.client ?? client).post({
690
+ ...options,
691
+ url: "/v1/validator/episode-artifacts/presign"
692
+ });
693
+ };
694
+ var submitEpisodeResults = (options) => {
695
+ return (options?.client ?? client).post({
696
+ ...options,
697
+ url: "/v1/validator/episode-results"
698
+ });
699
+ };
672
700
  var apiProblems = (options) => {
673
701
  return (options?.client ?? client).get({
674
702
  ...options,
@@ -1091,10 +1119,12 @@ function configureSessionAuth(baseUrl, config) {
1091
1119
  getInferenceModels,
1092
1120
  getLeaderboard,
1093
1121
  getOwnedAgentVersionStatus,
1122
+ getPack,
1094
1123
  getPendingEvaluations,
1095
1124
  getRaceDetail,
1096
1125
  getRaceDiagnostics,
1097
1126
  getRaceHistory,
1127
+ getRacePack,
1098
1128
  getRaceValidatorVariance,
1099
1129
  getReaperStats,
1100
1130
  getRunProblems,
@@ -1133,6 +1163,7 @@ function configureSessionAuth(baseUrl, config) {
1133
1163
  postSubmissionResume,
1134
1164
  postValidatorPause,
1135
1165
  postValidatorResume,
1166
+ presignEpisodeArtifact,
1136
1167
  presignUpload,
1137
1168
  reevaluateAgentVersion,
1138
1169
  reinstateAgentVersion,
@@ -1144,6 +1175,7 @@ function configureSessionAuth(baseUrl, config) {
1144
1175
  storeChutesToken,
1145
1176
  storeInferenceCredential,
1146
1177
  submitAgent,
1178
+ submitEpisodeResults,
1147
1179
  unbanMiner,
1148
1180
  unbanValidator,
1149
1181
  updateProgress,
package/dist/index.mjs CHANGED
@@ -528,6 +528,30 @@ var postValidatorResume = (options) => {
528
528
  url: "/v1/admin/validator-resume"
529
529
  });
530
530
  };
531
+ var getPack = (options) => {
532
+ return (options?.client ?? client).get({
533
+ ...options,
534
+ url: "/v1/validator/pack/{pack_sha256}"
535
+ });
536
+ };
537
+ var getRacePack = (options) => {
538
+ return (options?.client ?? client).post({
539
+ ...options,
540
+ url: "/v1/validator/race/{race_id}/pack"
541
+ });
542
+ };
543
+ var presignEpisodeArtifact = (options) => {
544
+ return (options?.client ?? client).post({
545
+ ...options,
546
+ url: "/v1/validator/episode-artifacts/presign"
547
+ });
548
+ };
549
+ var submitEpisodeResults = (options) => {
550
+ return (options?.client ?? client).post({
551
+ ...options,
552
+ url: "/v1/validator/episode-results"
553
+ });
554
+ };
531
555
  var apiProblems = (options) => {
532
556
  return (options?.client ?? client).get({
533
557
  ...options,
@@ -949,10 +973,12 @@ export {
949
973
  getInferenceModels,
950
974
  getLeaderboard,
951
975
  getOwnedAgentVersionStatus,
976
+ getPack,
952
977
  getPendingEvaluations,
953
978
  getRaceDetail,
954
979
  getRaceDiagnostics,
955
980
  getRaceHistory,
981
+ getRacePack,
956
982
  getRaceValidatorVariance,
957
983
  getReaperStats,
958
984
  getRunProblems,
@@ -991,6 +1017,7 @@ export {
991
1017
  postSubmissionResume,
992
1018
  postValidatorPause,
993
1019
  postValidatorResume,
1020
+ presignEpisodeArtifact,
994
1021
  presignUpload,
995
1022
  reevaluateAgentVersion,
996
1023
  reinstateAgentVersion,
@@ -1002,6 +1029,7 @@ export {
1002
1029
  storeChutesToken,
1003
1030
  storeInferenceCredential,
1004
1031
  submitAgent,
1032
+ submitEpisodeResults,
1005
1033
  unbanMiner,
1006
1034
  unbanValidator,
1007
1035
  updateProgress,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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, ClearAllMinerCooldownsError, ClearAllMinerCooldownsResponse, 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, UpdateQualifyingDeadlineData, UpdateQualifyingDeadlineError, UpdateQualifyingDeadlineResponse2, 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';
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, ClearAllMinerCooldownsError, ClearAllMinerCooldownsResponse, 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, UpdateQualifyingDeadlineData, UpdateQualifyingDeadlineError, UpdateQualifyingDeadlineResponse2, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse, GetValidatorFailuresData, GetValidatorFailuresError, GetValidatorFailuresResponse, GetSubmissionPauseError, GetSubmissionPauseResponse, PostSubmissionPauseData, PostSubmissionPauseError, PostSubmissionPauseResponse, PostSubmissionResumeData, PostSubmissionResumeError, PostSubmissionResumeResponse, GetValidatorPauseError, GetValidatorPauseResponse, PostValidatorPauseData, PostValidatorPauseError, PostValidatorPauseResponse, PostValidatorResumeData, PostValidatorResumeError, PostValidatorResumeResponse, GetPackData, GetPackError, GetPackResponse, GetRacePackData, GetRacePackError, GetRacePackResponse, PresignEpisodeArtifactData, PresignEpisodeArtifactError, PresignEpisodeArtifactResponse, SubmitEpisodeResultsData, SubmitEpisodeResultsError, SubmitEpisodeResultsResponse2, ApiProblemsData, ApiProblemsError, ApiProblemsResponse, ApiRunData, ApiRunError, ApiRunResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -1073,6 +1073,50 @@ export const postValidatorResume = <ThrowOnError extends boolean = false>(option
1073
1073
  });
1074
1074
  };
1075
1075
 
1076
+ /**
1077
+ * Get an authorized environment pack download
1078
+ * Return a time-limited download URL and version metadata. Verify the delivered bytes against download_url_sha256; pack_sha256 identifies the parent pack.
1079
+ */
1080
+ export const getPack = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPackData, ThrowOnError>) => {
1081
+ return (options?.client ?? client).get<GetPackResponse, GetPackError, ThrowOnError>({
1082
+ ...options,
1083
+ url: '/v1/validator/pack/{pack_sha256}'
1084
+ });
1085
+ };
1086
+
1087
+ /**
1088
+ * Get an environment download for assigned work
1089
+ * Return a time-limited download for the selected tasks. Requires active assigned work. Verify the delivered bytes against download_url_sha256.
1090
+ */
1091
+ export const getRacePack = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRacePackData, ThrowOnError>) => {
1092
+ return (options?.client ?? client).post<GetRacePackResponse, GetRacePackError, ThrowOnError>({
1093
+ ...options,
1094
+ url: '/v1/validator/race/{race_id}/pack'
1095
+ });
1096
+ };
1097
+
1098
+ /**
1099
+ * Get an upload URL for an environment episode artifact
1100
+ * Return a content-addressed upload target for an evaluation owned by the caller.
1101
+ */
1102
+ export const presignEpisodeArtifact = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PresignEpisodeArtifactData, ThrowOnError>) => {
1103
+ return (options?.client ?? client).post<PresignEpisodeArtifactResponse, PresignEpisodeArtifactError, ThrowOnError>({
1104
+ ...options,
1105
+ url: '/v1/validator/episode-artifacts/presign'
1106
+ });
1107
+ };
1108
+
1109
+ /**
1110
+ * Submit environment episode results
1111
+ * Submit up to 500 episode results for evaluations owned by the caller. HTTP 200 is a batch acknowledgement: inspect each item's status for acceptance (201), an already-recorded task (409), or rejection (404/422).
1112
+ */
1113
+ export const submitEpisodeResults = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitEpisodeResultsData, ThrowOnError>) => {
1114
+ return (options?.client ?? client).post<SubmitEpisodeResultsResponse2, SubmitEpisodeResultsError, ThrowOnError>({
1115
+ ...options,
1116
+ url: '/v1/validator/episode-results'
1117
+ });
1118
+ };
1119
+
1076
1120
  /**
1077
1121
  * Api Problems
1078
1122
  */
@@ -1263,6 +1263,119 @@ export type EliminateResponse = {
1263
1263
  eliminated_at: string;
1264
1264
  };
1265
1265
 
1266
+ /**
1267
+ * Request error from an environment operation or its authentication middleware.
1268
+ */
1269
+ export type EnvPackErrorResponse = {
1270
+ /**
1271
+ * Error message or structured details. Inspect the HTTP status for retries.
1272
+ */
1273
+ detail: (string | {
1274
+ [key: string]: unknown;
1275
+ });
1276
+ };
1277
+
1278
+ /**
1279
+ * Request an immutable upload target for one environment episode.
1280
+ */
1281
+ export type EpisodeArtifactPresignRequest = {
1282
+ eval_run_id: string;
1283
+ env_pack_sha256: string;
1284
+ artifact_sha256: string;
1285
+ content_length: number;
1286
+ };
1287
+
1288
+ /**
1289
+ * Content-addressed S3 target returned to the owning validator.
1290
+ */
1291
+ export type EpisodeArtifactPresignResponse = {
1292
+ upload_url: string;
1293
+ artifact_uri: string;
1294
+ artifact_sha256: string;
1295
+ };
1296
+
1297
+ /**
1298
+ * A validator's terminal result for one task in a bound environment pack.
1299
+ */
1300
+ export type EpisodeResultEntry = {
1301
+ /**
1302
+ * Evaluation run this episode belongs to.
1303
+ */
1304
+ eval_run_id: string;
1305
+ /**
1306
+ * Pack the task was compiled from.
1307
+ */
1308
+ env_pack_sha256: string;
1309
+ /**
1310
+ * Task identifier within the bound pack.
1311
+ */
1312
+ task_id: string;
1313
+ /**
1314
+ * Task family name (retrieval_recall, intent_decomposition, ...).
1315
+ */
1316
+ family: string;
1317
+ /**
1318
+ * Terminal task outcome.
1319
+ */
1320
+ outcome: 'completed' | 'partial' | 'agent_error' | 'environment_error' | 'verifier_error' | 'leakage' | 'exploit';
1321
+ /**
1322
+ * Whether the deterministic hard gate passed.
1323
+ */
1324
+ verdict_correct?: boolean;
1325
+ /**
1326
+ * Per-check tri-state results (final_in_gold, within_budget, ...).
1327
+ */
1328
+ verdict_checks?: {
1329
+ [key: string]: unknown;
1330
+ };
1331
+ /**
1332
+ * Bounded per-family reward gradients — only paid when verdict_correct.
1333
+ */
1334
+ reward_components?: {
1335
+ [key: string]: unknown;
1336
+ };
1337
+ /**
1338
+ * Terminal reward paid for this episode. MUST be null when verdict_correct is false.
1339
+ */
1340
+ aggregate_reward?: (number | string | null);
1341
+ /**
1342
+ * sha256 of the ledger's final state — cross-validator parity anchor. Required for completed / partial / leakage / exploit; MUST be null for the *_error outcomes (no state to compare).
1343
+ */
1344
+ terminal_state_hash?: (string | null);
1345
+ /**
1346
+ * S3 URI of the complete episode artifact, including its ledger.
1347
+ */
1348
+ ledger_uri?: (string | null);
1349
+ /**
1350
+ * Number of agent steps taken before termination.
1351
+ */
1352
+ step_count?: number;
1353
+ };
1354
+
1355
+ /**
1356
+ * Terminal task outcome.
1357
+ */
1358
+ export type outcome = 'completed' | 'partial' | 'agent_error' | 'environment_error' | 'verifier_error' | 'leakage' | 'exploit';
1359
+
1360
+ /**
1361
+ * Per-item result inside ``SubmitEpisodeResultsResponse``.
1362
+ */
1363
+ export type EpisodeResultSubmission = {
1364
+ eval_run_id: string;
1365
+ task_id: string;
1366
+ status: 201 | 409 | 404 | 422;
1367
+ /**
1368
+ * Populated when status=201 (row was written).
1369
+ */
1370
+ episode_result_id?: (string | null);
1371
+ /**
1372
+ * Populated when status != 201; short human-readable reason.
1373
+ */
1374
+ error?: (string | null);
1375
+ };
1376
+
1377
+ export type status = 201 | 409 | 404 | 422;
1378
+
1266
1379
  /**
1267
1380
  * Base weight standings pinned to one epoch (ORO-1704).
1268
1381
  *
@@ -2029,6 +2142,54 @@ export type NotVersionOwnerError = {
2029
2142
  error_code?: "NOT_VERSION_OWNER";
2030
2143
  };
2031
2144
 
2145
+ /**
2146
+ * Authorized environment delivery and its parent pack identity.
2147
+ *
2148
+ * Verify downloaded bytes against ``download_url_sha256``, not the parent
2149
+ * ``pack_sha256``. Only tasks authorized for this delivery are included.
2150
+ */
2151
+ export type PackFetchResponse = {
2152
+ /**
2153
+ * Content-addressed parent pack identity.
2154
+ */
2155
+ pack_sha256: string;
2156
+ /**
2157
+ * Time-limited URL for the authorized archive.
2158
+ */
2159
+ download_url: string;
2160
+ download_url_expires_at: string;
2161
+ /**
2162
+ * SHA-256 of the delivered archive bytes.
2163
+ */
2164
+ download_url_sha256: string;
2165
+ /**
2166
+ * Byte size of the delivered archive.
2167
+ */
2168
+ download_url_size_bytes: number;
2169
+ /**
2170
+ * Derivative bytes are not covered by the parent artifact signature.
2171
+ */
2172
+ artifact_signature?: null;
2173
+ delivery_scope?: "qualifying";
2174
+ /**
2175
+ * Exact task roster authorized in this delivery.
2176
+ */
2177
+ delivery_task_ids: Array<(string)>;
2178
+ contract_version: string;
2179
+ runtime_version: string;
2180
+ tool_contract_version: string;
2181
+ verifier_version: string;
2182
+ result_schema_version: string;
2183
+ catalog_epoch: string;
2184
+ catalog_sha256: string;
2185
+ search_index_epoch: (string | null);
2186
+ search_index_sha256: (string | null);
2187
+ task_count: number;
2188
+ family_counts: {
2189
+ [key: string]: (number);
2190
+ };
2191
+ };
2192
+
2032
2193
  export type PendingEvaluation = {
2033
2194
  /**
2034
2195
  * Unique work item identifier
@@ -2418,6 +2579,54 @@ export type RaceNotFoundError = {
2418
2579
  error_code?: "RACE_NOT_FOUND";
2419
2580
  };
2420
2581
 
2582
+ /**
2583
+ * Environment delivery scoped to the caller's active assigned work.
2584
+ *
2585
+ * Verify downloaded bytes against ``download_url_sha256``. The parent
2586
+ * ``pack_sha256`` identifies the environment against which results are bound.
2587
+ */
2588
+ export type RacePackFetchResponse = {
2589
+ /**
2590
+ * Evaluation group containing the assigned work.
2591
+ */
2592
+ race_id: string;
2593
+ /**
2594
+ * Content-addressed parent pack identity.
2595
+ */
2596
+ pack_sha256: string;
2597
+ /**
2598
+ * Time-limited URL for the assigned-work archive.
2599
+ */
2600
+ download_url: string;
2601
+ download_url_expires_at: string;
2602
+ /**
2603
+ * SHA-256 of the delivered archive bytes.
2604
+ */
2605
+ download_url_sha256: string;
2606
+ /**
2607
+ * Byte size of the delivered archive.
2608
+ */
2609
+ download_url_size_bytes: number;
2610
+ delivery_scope?: "race";
2611
+ /**
2612
+ * Exact task roster authorized in this delivery.
2613
+ */
2614
+ delivery_task_ids: Array<(string)>;
2615
+ contract_version: string;
2616
+ runtime_version: string;
2617
+ tool_contract_version: string;
2618
+ verifier_version: string;
2619
+ result_schema_version: string;
2620
+ catalog_epoch: string;
2621
+ catalog_sha256: string;
2622
+ search_index_epoch: (string | null);
2623
+ search_index_sha256: (string | null);
2624
+ task_count: number;
2625
+ family_counts: {
2626
+ [key: string]: (number);
2627
+ };
2628
+ };
2629
+
2421
2630
  export type RacePublic = {
2422
2631
  /**
2423
2632
  * Race ID
@@ -3065,6 +3274,32 @@ export type SubmitAgentResponse = {
3065
3274
  message?: string;
3066
3275
  };
3067
3276
 
3277
+ /**
3278
+ * Submit between 1 and 500 episode results in a single request.
3279
+ */
3280
+ export type SubmitEpisodeResultsRequest = {
3281
+ /**
3282
+ * Non-empty list of episode outcomes. Split more than 500 results into multiple requests.
3283
+ */
3284
+ results: Array<EpisodeResultEntry>;
3285
+ };
3286
+
3287
+ /**
3288
+ * Acknowledgement for a processed batch; inspect every per-item status.
3289
+ *
3290
+ * HTTP 200 does not mean all items were accepted. Request-level validation
3291
+ * and authorization failures may instead return a non-200 response.
3292
+ */
3293
+ export type SubmitEpisodeResultsResponse = {
3294
+ results: Array<EpisodeResultSubmission>;
3295
+ /**
3296
+ * Per-status count summary — quick health check for callers batching hundreds at a time.
3297
+ */
3298
+ counts: {
3299
+ [key: string]: (number);
3300
+ };
3301
+ };
3302
+
3068
3303
  export type SuiteNotFoundError = {
3069
3304
  /**
3070
3305
  * Error message describing what went wrong
@@ -4880,6 +5115,48 @@ export type PostValidatorResumeResponse = (ValidatorPauseStatus);
4880
5115
 
4881
5116
  export type PostValidatorResumeError = (HTTPValidationError);
4882
5117
 
5118
+ export type GetPackData = {
5119
+ path: {
5120
+ /**
5121
+ * Content hash of the sealed pack.
5122
+ */
5123
+ pack_sha256: string;
5124
+ };
5125
+ };
5126
+
5127
+ export type GetPackResponse = (PackFetchResponse);
5128
+
5129
+ export type GetPackError = (EnvPackErrorResponse | HTTPValidationError);
5130
+
5131
+ export type GetRacePackData = {
5132
+ path: {
5133
+ /**
5134
+ * Identifier of the evaluation group containing the assigned work.
5135
+ */
5136
+ race_id: string;
5137
+ };
5138
+ };
5139
+
5140
+ export type GetRacePackResponse = (RacePackFetchResponse);
5141
+
5142
+ export type GetRacePackError = (EnvPackErrorResponse | HTTPValidationError);
5143
+
5144
+ export type PresignEpisodeArtifactData = {
5145
+ body: EpisodeArtifactPresignRequest;
5146
+ };
5147
+
5148
+ export type PresignEpisodeArtifactResponse = (EpisodeArtifactPresignResponse);
5149
+
5150
+ export type PresignEpisodeArtifactError = (EnvPackErrorResponse | HTTPValidationError);
5151
+
5152
+ export type SubmitEpisodeResultsData = {
5153
+ body: SubmitEpisodeResultsRequest;
5154
+ };
5155
+
5156
+ export type SubmitEpisodeResultsResponse2 = (SubmitEpisodeResultsResponse);
5157
+
5158
+ export type SubmitEpisodeResultsError = (EnvPackErrorResponse | HTTPValidationError);
5159
+
4883
5160
  export type ApiProblemsData = {
4884
5161
  headers?: {
4885
5162
  'X-Demo-Auth'?: (string | null);