@oro-ai/sdk 1.0.57 → 1.0.59

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
@@ -340,6 +340,10 @@ type AdminValidatorEntry = {
340
340
  * When the validator was banned
341
341
  */
342
342
  banned_at?: (string | null);
343
+ /**
344
+ * Maximum concurrent evaluation runs for this hotkey
345
+ */
346
+ max_concurrent_runs: number;
343
347
  };
344
348
  type AdminValidatorsResponse = {
345
349
  /**
@@ -1434,6 +1438,23 @@ type HeartbeatResponse = {
1434
1438
  type HTTPValidationError = {
1435
1439
  detail?: Array<ValidationError>;
1436
1440
  };
1441
+ /**
1442
+ * Response body for ``GET /v1/miner/inference-auth``.
1443
+ */
1444
+ type InferenceAuthListResponse = {
1445
+ providers: Array<InferenceAuthStatusResponse>;
1446
+ };
1447
+ /**
1448
+ * Response body for ``GET /v1/miner/inference-auth/{provider}``.
1449
+ */
1450
+ type InferenceAuthStatusResponse = {
1451
+ connected: boolean;
1452
+ provider: string;
1453
+ /**
1454
+ * When the credential for this provider was last updated.
1455
+ */
1456
+ updated_at?: (string | null);
1457
+ };
1437
1458
  /**
1438
1459
  * List of models available to ORO agents via the inference proxy.
1439
1460
  */
@@ -2449,6 +2470,15 @@ type StoreChutesTokenRequest = {
2449
2470
  */
2450
2471
  refresh_token: string;
2451
2472
  };
2473
+ /**
2474
+ * Request body for ``POST /v1/miner/inference-auth/{provider}``.
2475
+ */
2476
+ type StoreInferenceCredentialRequest = {
2477
+ /**
2478
+ * Provider-specific credential (refresh token, API key, etc.)
2479
+ */
2480
+ credential: string;
2481
+ };
2452
2482
  type SubmitAgentResponse = {
2453
2483
  /**
2454
2484
  * Unique identifier for the created agent
@@ -2628,6 +2658,12 @@ type TopMinerPayoutResponse = {
2628
2658
  */
2629
2659
  as_of: string;
2630
2660
  };
2661
+ type UpdateValidatorRequest = {
2662
+ /**
2663
+ * Maximum concurrent evaluation runs (must be >= 1)
2664
+ */
2665
+ max_concurrent_runs: number;
2666
+ };
2631
2667
  type ValidationError = {
2632
2668
  loc: Array<(string | number)>;
2633
2669
  msg: string;
@@ -2675,6 +2711,38 @@ type ValidatorNotFoundError = {
2675
2711
  */
2676
2712
  error_code?: "VALIDATOR_NOT_FOUND";
2677
2713
  };
2714
+ type ValidatorPauseRequest = {
2715
+ /**
2716
+ * Reason for pulling the andon cord
2717
+ */
2718
+ reason: string;
2719
+ /**
2720
+ * UTC timestamp at which the pause auto-clears. Safety net so a pause can't be left on by accident.
2721
+ */
2722
+ auto_release_at?: (string | null);
2723
+ };
2724
+ type ValidatorPauseStatus = {
2725
+ /**
2726
+ * True when validator claims are paused
2727
+ */
2728
+ active: boolean;
2729
+ /**
2730
+ * Reason from the most recent pause
2731
+ */
2732
+ reason?: (string | null);
2733
+ /**
2734
+ * Admin hotkey that pulled the cord
2735
+ */
2736
+ paused_by?: (string | null);
2737
+ /**
2738
+ * When the cord was pulled
2739
+ */
2740
+ paused_at?: (string | null);
2741
+ /**
2742
+ * When the pause will auto-clear, if scheduled
2743
+ */
2744
+ auto_release_at?: (string | null);
2745
+ };
2678
2746
  type ValidatorProblemResult = {
2679
2747
  /**
2680
2748
  * Evaluation run ID this result belongs to
@@ -2799,6 +2867,12 @@ type ValidatorResourceSamplesResponse = {
2799
2867
  samples: Array<ValidatorResourceSampleEntry>;
2800
2868
  count: number;
2801
2869
  };
2870
+ type ValidatorResumeRequest = {
2871
+ /**
2872
+ * Optional reason for releasing the cord
2873
+ */
2874
+ reason?: (string | null);
2875
+ };
2802
2876
  /**
2803
2877
  * Aggregated validator scoring analysis.
2804
2878
  */
@@ -3147,11 +3221,30 @@ type SubmitAgentData = {
3147
3221
  };
3148
3222
  type SubmitAgentResponse2 = (SubmitAgentResponse);
3149
3223
  type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | NoActiveSuiteError);
3224
+ type StoreInferenceCredentialData = {
3225
+ body: StoreInferenceCredentialRequest;
3226
+ path: {
3227
+ provider: string;
3228
+ };
3229
+ };
3230
+ type StoreInferenceCredentialResponse = ({
3231
+ [key: string]: (boolean);
3232
+ });
3233
+ type StoreInferenceCredentialError = (HTTPValidationError);
3234
+ type GetInferenceAuthStatusOneData = {
3235
+ path: {
3236
+ provider: string;
3237
+ };
3238
+ };
3239
+ type GetInferenceAuthStatusOneResponse = (InferenceAuthStatusResponse);
3240
+ type GetInferenceAuthStatusOneError = (HTTPValidationError);
3241
+ type ListInferenceAuthResponse = (InferenceAuthListResponse);
3242
+ type ListInferenceAuthError = unknown;
3150
3243
  type StoreChutesTokenData = {
3151
3244
  body: StoreChutesTokenRequest;
3152
3245
  };
3153
3246
  type StoreChutesTokenResponse = ({
3154
- [key: string]: unknown;
3247
+ [key: string]: (boolean);
3155
3248
  });
3156
3249
  type StoreChutesTokenError = (HTTPValidationError);
3157
3250
  type GetChutesAuthStatusResponse = (ChutesAuthStatusResponse);
@@ -3280,6 +3373,17 @@ type UnbanValidatorData = {
3280
3373
  };
3281
3374
  type UnbanValidatorResponse = (BanResponse);
3282
3375
  type UnbanValidatorError = (ValidatorNotFoundError | HTTPValidationError);
3376
+ type UpdateValidatorData = {
3377
+ body: UpdateValidatorRequest;
3378
+ path: {
3379
+ /**
3380
+ * Validator hotkey to update
3381
+ */
3382
+ validator_hotkey: string;
3383
+ };
3384
+ };
3385
+ type UpdateValidatorResponse = (AdminValidatorEntry);
3386
+ type UpdateValidatorError = (ValidatorNotFoundError | HTTPValidationError);
3283
3387
  type DiscardAgentVersionData = {
3284
3388
  body: DiscardRequest;
3285
3389
  path: {
@@ -3659,6 +3763,18 @@ type GetValidatorResourceSamplesData = {
3659
3763
  };
3660
3764
  type GetValidatorResourceSamplesResponse = (ValidatorResourceSamplesResponse);
3661
3765
  type GetValidatorResourceSamplesError = (HTTPValidationError);
3766
+ type GetValidatorPauseResponse = (ValidatorPauseStatus);
3767
+ type GetValidatorPauseError = unknown;
3768
+ type PostValidatorPauseData = {
3769
+ body: ValidatorPauseRequest;
3770
+ };
3771
+ type PostValidatorPauseResponse = (ValidatorPauseStatus);
3772
+ type PostValidatorPauseError = (HTTPValidationError);
3773
+ type PostValidatorResumeData = {
3774
+ body: ValidatorResumeRequest;
3775
+ };
3776
+ type PostValidatorResumeResponse = (ValidatorPauseStatus);
3777
+ type PostValidatorResumeError = (HTTPValidationError);
3662
3778
 
3663
3779
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
3664
3780
  /**
@@ -3802,13 +3918,31 @@ declare const logout: <ThrowOnError extends boolean = false>(options?: OptionsLe
3802
3918
  */
3803
3919
  declare const submitAgent: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitAgentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SubmitAgentResponse, SubmitAgentError, ThrowOnError>;
3804
3920
  /**
3805
- * Store Chutes OAuth refresh token
3806
- * Store (or overwrite) the miner's Chutes refresh token.
3921
+ * Store an inference-provider credential
3922
+ * Store (or overwrite) the miner's credential for the given provider.
3923
+ */
3924
+ declare const storeInferenceCredential: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreInferenceCredentialData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StoreInferenceCredentialResponse, HTTPValidationError, ThrowOnError>;
3925
+ /**
3926
+ * Check inference auth status for a single provider
3927
+ * Check whether the miner has a stored credential for the given provider.
3928
+ */
3929
+ declare const getInferenceAuthStatusOne: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInferenceAuthStatusOneData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InferenceAuthStatusResponse, HTTPValidationError, ThrowOnError>;
3930
+ /**
3931
+ * List all inference-auth providers the miner has connected
3932
+ * List every provider the authenticated miner currently has a credential for.
3933
+ */
3934
+ declare const listInferenceAuth: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InferenceAuthListResponse, unknown, ThrowOnError>;
3935
+ /**
3936
+ * @deprecated
3937
+ * Store Chutes OAuth refresh token (legacy — use /inference-auth/chutes)
3938
+ * Back-compat shim. Routes through the new inference-auth path so older
3939
+ * Frontend builds keep populating the new table during the deploy window.
3807
3940
  */
3808
3941
  declare const storeChutesToken: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreChutesTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StoreChutesTokenResponse, HTTPValidationError, ThrowOnError>;
3809
3942
  /**
3810
- * Check Chutes auth status
3811
- * Check whether the authenticated miner has a stored Chutes token.
3943
+ * @deprecated
3944
+ * Check Chutes auth status (legacy use /inference-auth/chutes)
3945
+ * Back-compat shim. Reads from the new MinerInferenceAuth table.
3812
3946
  */
3813
3947
  declare const getChutesAuthStatus: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ChutesAuthStatusResponse, unknown, ThrowOnError>;
3814
3948
  /**
@@ -3889,6 +4023,11 @@ declare const banValidator: <ThrowOnError extends boolean = false>(options: Opti
3889
4023
  * Unban a validator, allowing them to claim work again.
3890
4024
  */
3891
4025
  declare const unbanValidator: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UnbanValidatorData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BanResponse, UnbanValidatorError, ThrowOnError>;
4026
+ /**
4027
+ * Update validator configuration
4028
+ * Update validator configuration. Currently supports `max_concurrent_runs`.
4029
+ */
4030
+ declare const updateValidator: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateValidatorData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminValidatorEntry, UpdateValidatorError, ThrowOnError>;
3892
4031
  /**
3893
4032
  * Discard an agent version from leaderboard
3894
4033
  * Discard an agent version from the leaderboard (reversible tombstone).
@@ -4054,6 +4193,20 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
4054
4193
  * Validator host resource samples
4055
4194
  */
4056
4195
  declare const getValidatorResourceSamples: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetValidatorResourceSamplesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorResourceSamplesResponse, HTTPValidationError, ThrowOnError>;
4196
+ /**
4197
+ * Get validator-pause (andon-cord) state
4198
+ * Returns whether new validator claims are currently paused, plus metadata on who pulled the cord and when it auto-releases.
4199
+ */
4200
+ declare const getValidatorPause: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, unknown, ThrowOnError>;
4201
+ /**
4202
+ * Pause validator claims (pull the andon cord)
4203
+ * Block all validators from claiming new evaluations. In-flight runs continue and report normally. Idempotent — calling twice overwrites the prior pause metadata.
4204
+ */
4205
+ declare const postValidatorPause: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorPauseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, HTTPValidationError, ThrowOnError>;
4206
+ /**
4207
+ * Resume validator claims (release the andon cord)
4208
+ */
4209
+ declare const postValidatorResume: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, HTTPValidationError, ThrowOnError>;
4057
4210
 
4058
4211
  /**
4059
4212
  * Auto-generated error code type.
@@ -4406,4 +4559,4 @@ declare class SessionAuthManager {
4406
4559
  */
4407
4560
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
4408
4561
 
4409
- 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 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 ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 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 GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceModelsResponse, 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 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 PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, 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 RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, 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 UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, eliminateAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorResourceSamples, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setRaceSelection, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
4562
+ 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 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 ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 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 GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, 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 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 RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, 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 RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, 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 UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, eliminateAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postValidatorPause, postValidatorResume, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateValidator };
package/dist/index.d.ts CHANGED
@@ -340,6 +340,10 @@ type AdminValidatorEntry = {
340
340
  * When the validator was banned
341
341
  */
342
342
  banned_at?: (string | null);
343
+ /**
344
+ * Maximum concurrent evaluation runs for this hotkey
345
+ */
346
+ max_concurrent_runs: number;
343
347
  };
344
348
  type AdminValidatorsResponse = {
345
349
  /**
@@ -1434,6 +1438,23 @@ type HeartbeatResponse = {
1434
1438
  type HTTPValidationError = {
1435
1439
  detail?: Array<ValidationError>;
1436
1440
  };
1441
+ /**
1442
+ * Response body for ``GET /v1/miner/inference-auth``.
1443
+ */
1444
+ type InferenceAuthListResponse = {
1445
+ providers: Array<InferenceAuthStatusResponse>;
1446
+ };
1447
+ /**
1448
+ * Response body for ``GET /v1/miner/inference-auth/{provider}``.
1449
+ */
1450
+ type InferenceAuthStatusResponse = {
1451
+ connected: boolean;
1452
+ provider: string;
1453
+ /**
1454
+ * When the credential for this provider was last updated.
1455
+ */
1456
+ updated_at?: (string | null);
1457
+ };
1437
1458
  /**
1438
1459
  * List of models available to ORO agents via the inference proxy.
1439
1460
  */
@@ -2449,6 +2470,15 @@ type StoreChutesTokenRequest = {
2449
2470
  */
2450
2471
  refresh_token: string;
2451
2472
  };
2473
+ /**
2474
+ * Request body for ``POST /v1/miner/inference-auth/{provider}``.
2475
+ */
2476
+ type StoreInferenceCredentialRequest = {
2477
+ /**
2478
+ * Provider-specific credential (refresh token, API key, etc.)
2479
+ */
2480
+ credential: string;
2481
+ };
2452
2482
  type SubmitAgentResponse = {
2453
2483
  /**
2454
2484
  * Unique identifier for the created agent
@@ -2628,6 +2658,12 @@ type TopMinerPayoutResponse = {
2628
2658
  */
2629
2659
  as_of: string;
2630
2660
  };
2661
+ type UpdateValidatorRequest = {
2662
+ /**
2663
+ * Maximum concurrent evaluation runs (must be >= 1)
2664
+ */
2665
+ max_concurrent_runs: number;
2666
+ };
2631
2667
  type ValidationError = {
2632
2668
  loc: Array<(string | number)>;
2633
2669
  msg: string;
@@ -2675,6 +2711,38 @@ type ValidatorNotFoundError = {
2675
2711
  */
2676
2712
  error_code?: "VALIDATOR_NOT_FOUND";
2677
2713
  };
2714
+ type ValidatorPauseRequest = {
2715
+ /**
2716
+ * Reason for pulling the andon cord
2717
+ */
2718
+ reason: string;
2719
+ /**
2720
+ * UTC timestamp at which the pause auto-clears. Safety net so a pause can't be left on by accident.
2721
+ */
2722
+ auto_release_at?: (string | null);
2723
+ };
2724
+ type ValidatorPauseStatus = {
2725
+ /**
2726
+ * True when validator claims are paused
2727
+ */
2728
+ active: boolean;
2729
+ /**
2730
+ * Reason from the most recent pause
2731
+ */
2732
+ reason?: (string | null);
2733
+ /**
2734
+ * Admin hotkey that pulled the cord
2735
+ */
2736
+ paused_by?: (string | null);
2737
+ /**
2738
+ * When the cord was pulled
2739
+ */
2740
+ paused_at?: (string | null);
2741
+ /**
2742
+ * When the pause will auto-clear, if scheduled
2743
+ */
2744
+ auto_release_at?: (string | null);
2745
+ };
2678
2746
  type ValidatorProblemResult = {
2679
2747
  /**
2680
2748
  * Evaluation run ID this result belongs to
@@ -2799,6 +2867,12 @@ type ValidatorResourceSamplesResponse = {
2799
2867
  samples: Array<ValidatorResourceSampleEntry>;
2800
2868
  count: number;
2801
2869
  };
2870
+ type ValidatorResumeRequest = {
2871
+ /**
2872
+ * Optional reason for releasing the cord
2873
+ */
2874
+ reason?: (string | null);
2875
+ };
2802
2876
  /**
2803
2877
  * Aggregated validator scoring analysis.
2804
2878
  */
@@ -3147,11 +3221,30 @@ type SubmitAgentData = {
3147
3221
  };
3148
3222
  type SubmitAgentResponse2 = (SubmitAgentResponse);
3149
3223
  type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | NoActiveSuiteError);
3224
+ type StoreInferenceCredentialData = {
3225
+ body: StoreInferenceCredentialRequest;
3226
+ path: {
3227
+ provider: string;
3228
+ };
3229
+ };
3230
+ type StoreInferenceCredentialResponse = ({
3231
+ [key: string]: (boolean);
3232
+ });
3233
+ type StoreInferenceCredentialError = (HTTPValidationError);
3234
+ type GetInferenceAuthStatusOneData = {
3235
+ path: {
3236
+ provider: string;
3237
+ };
3238
+ };
3239
+ type GetInferenceAuthStatusOneResponse = (InferenceAuthStatusResponse);
3240
+ type GetInferenceAuthStatusOneError = (HTTPValidationError);
3241
+ type ListInferenceAuthResponse = (InferenceAuthListResponse);
3242
+ type ListInferenceAuthError = unknown;
3150
3243
  type StoreChutesTokenData = {
3151
3244
  body: StoreChutesTokenRequest;
3152
3245
  };
3153
3246
  type StoreChutesTokenResponse = ({
3154
- [key: string]: unknown;
3247
+ [key: string]: (boolean);
3155
3248
  });
3156
3249
  type StoreChutesTokenError = (HTTPValidationError);
3157
3250
  type GetChutesAuthStatusResponse = (ChutesAuthStatusResponse);
@@ -3280,6 +3373,17 @@ type UnbanValidatorData = {
3280
3373
  };
3281
3374
  type UnbanValidatorResponse = (BanResponse);
3282
3375
  type UnbanValidatorError = (ValidatorNotFoundError | HTTPValidationError);
3376
+ type UpdateValidatorData = {
3377
+ body: UpdateValidatorRequest;
3378
+ path: {
3379
+ /**
3380
+ * Validator hotkey to update
3381
+ */
3382
+ validator_hotkey: string;
3383
+ };
3384
+ };
3385
+ type UpdateValidatorResponse = (AdminValidatorEntry);
3386
+ type UpdateValidatorError = (ValidatorNotFoundError | HTTPValidationError);
3283
3387
  type DiscardAgentVersionData = {
3284
3388
  body: DiscardRequest;
3285
3389
  path: {
@@ -3659,6 +3763,18 @@ type GetValidatorResourceSamplesData = {
3659
3763
  };
3660
3764
  type GetValidatorResourceSamplesResponse = (ValidatorResourceSamplesResponse);
3661
3765
  type GetValidatorResourceSamplesError = (HTTPValidationError);
3766
+ type GetValidatorPauseResponse = (ValidatorPauseStatus);
3767
+ type GetValidatorPauseError = unknown;
3768
+ type PostValidatorPauseData = {
3769
+ body: ValidatorPauseRequest;
3770
+ };
3771
+ type PostValidatorPauseResponse = (ValidatorPauseStatus);
3772
+ type PostValidatorPauseError = (HTTPValidationError);
3773
+ type PostValidatorResumeData = {
3774
+ body: ValidatorResumeRequest;
3775
+ };
3776
+ type PostValidatorResumeResponse = (ValidatorPauseStatus);
3777
+ type PostValidatorResumeError = (HTTPValidationError);
3662
3778
 
3663
3779
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
3664
3780
  /**
@@ -3802,13 +3918,31 @@ declare const logout: <ThrowOnError extends boolean = false>(options?: OptionsLe
3802
3918
  */
3803
3919
  declare const submitAgent: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitAgentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SubmitAgentResponse, SubmitAgentError, ThrowOnError>;
3804
3920
  /**
3805
- * Store Chutes OAuth refresh token
3806
- * Store (or overwrite) the miner's Chutes refresh token.
3921
+ * Store an inference-provider credential
3922
+ * Store (or overwrite) the miner's credential for the given provider.
3923
+ */
3924
+ declare const storeInferenceCredential: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreInferenceCredentialData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StoreInferenceCredentialResponse, HTTPValidationError, ThrowOnError>;
3925
+ /**
3926
+ * Check inference auth status for a single provider
3927
+ * Check whether the miner has a stored credential for the given provider.
3928
+ */
3929
+ declare const getInferenceAuthStatusOne: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInferenceAuthStatusOneData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InferenceAuthStatusResponse, HTTPValidationError, ThrowOnError>;
3930
+ /**
3931
+ * List all inference-auth providers the miner has connected
3932
+ * List every provider the authenticated miner currently has a credential for.
3933
+ */
3934
+ declare const listInferenceAuth: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InferenceAuthListResponse, unknown, ThrowOnError>;
3935
+ /**
3936
+ * @deprecated
3937
+ * Store Chutes OAuth refresh token (legacy — use /inference-auth/chutes)
3938
+ * Back-compat shim. Routes through the new inference-auth path so older
3939
+ * Frontend builds keep populating the new table during the deploy window.
3807
3940
  */
3808
3941
  declare const storeChutesToken: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreChutesTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StoreChutesTokenResponse, HTTPValidationError, ThrowOnError>;
3809
3942
  /**
3810
- * Check Chutes auth status
3811
- * Check whether the authenticated miner has a stored Chutes token.
3943
+ * @deprecated
3944
+ * Check Chutes auth status (legacy use /inference-auth/chutes)
3945
+ * Back-compat shim. Reads from the new MinerInferenceAuth table.
3812
3946
  */
3813
3947
  declare const getChutesAuthStatus: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ChutesAuthStatusResponse, unknown, ThrowOnError>;
3814
3948
  /**
@@ -3889,6 +4023,11 @@ declare const banValidator: <ThrowOnError extends boolean = false>(options: Opti
3889
4023
  * Unban a validator, allowing them to claim work again.
3890
4024
  */
3891
4025
  declare const unbanValidator: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UnbanValidatorData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BanResponse, UnbanValidatorError, ThrowOnError>;
4026
+ /**
4027
+ * Update validator configuration
4028
+ * Update validator configuration. Currently supports `max_concurrent_runs`.
4029
+ */
4030
+ declare const updateValidator: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateValidatorData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminValidatorEntry, UpdateValidatorError, ThrowOnError>;
3892
4031
  /**
3893
4032
  * Discard an agent version from leaderboard
3894
4033
  * Discard an agent version from the leaderboard (reversible tombstone).
@@ -4054,6 +4193,20 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
4054
4193
  * Validator host resource samples
4055
4194
  */
4056
4195
  declare const getValidatorResourceSamples: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetValidatorResourceSamplesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorResourceSamplesResponse, HTTPValidationError, ThrowOnError>;
4196
+ /**
4197
+ * Get validator-pause (andon-cord) state
4198
+ * Returns whether new validator claims are currently paused, plus metadata on who pulled the cord and when it auto-releases.
4199
+ */
4200
+ declare const getValidatorPause: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, unknown, ThrowOnError>;
4201
+ /**
4202
+ * Pause validator claims (pull the andon cord)
4203
+ * Block all validators from claiming new evaluations. In-flight runs continue and report normally. Idempotent — calling twice overwrites the prior pause metadata.
4204
+ */
4205
+ declare const postValidatorPause: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorPauseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, HTTPValidationError, ThrowOnError>;
4206
+ /**
4207
+ * Resume validator claims (release the andon cord)
4208
+ */
4209
+ declare const postValidatorResume: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorPauseStatus, HTTPValidationError, ThrowOnError>;
4057
4210
 
4058
4211
  /**
4059
4212
  * Auto-generated error code type.
@@ -4406,4 +4559,4 @@ declare class SessionAuthManager {
4406
4559
  */
4407
4560
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
4408
4561
 
4409
- 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 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 ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 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 GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceModelsResponse, 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 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 PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, 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 RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, 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 UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, eliminateAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorResourceSamples, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setRaceSelection, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
4562
+ 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 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 ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type EliminateAgentVersionData, type EliminateAgentVersionError, type EliminateAgentVersionResponse, type EliminateRequest, type EliminateResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 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 GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorPauseError, type GetValidatorPauseResponse, type GetValidatorResourceSamplesData, type GetValidatorResourceSamplesError, type GetValidatorResourceSamplesResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceAuthListResponse, type InferenceAuthStatusResponse, type InferenceModelsResponse, 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 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 RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceLockedError, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, 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 RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetRaceSelectionData, type SetRaceSelectionError, type SetRaceSelectionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type StoreInferenceCredentialData, type StoreInferenceCredentialError, type StoreInferenceCredentialRequest, type StoreInferenceCredentialResponse, 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 UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type UpdateValidatorData, type UpdateValidatorError, type UpdateValidatorRequest, type UpdateValidatorResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorPauseRequest, type ValidatorPauseStatus, type ValidatorProblemResult, type ValidatorPublic, type ValidatorResourceSampleEntry, type ValidatorResourceSamplesResponse, type ValidatorResumeRequest, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, clearRaceSelection, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, eliminateAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceAuthStatusOne, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorPause, getValidatorResourceSamples, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listInferenceAuth, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, postValidatorPause, postValidatorResume, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setRaceSelection, setTopAgent, storeChutesToken, storeInferenceCredential, submitAgent, unbanMiner, unbanValidator, updateProgress, updateValidator };
package/dist/index.js CHANGED
@@ -68,6 +68,7 @@ __export(index_exports, {
68
68
  getErrorCode: () => getErrorCode,
69
69
  getErrorDetail: () => getErrorDetail,
70
70
  getEvaluationRun: () => getEvaluationRun,
71
+ getInferenceAuthStatusOne: () => getInferenceAuthStatusOne,
71
72
  getInferenceModels: () => getInferenceModels,
72
73
  getLeaderboard: () => getLeaderboard,
73
74
  getOwnedAgentVersionStatus: () => getOwnedAgentVersionStatus,
@@ -82,6 +83,7 @@ __export(index_exports, {
82
83
  getTopAgent: () => getTopAgent,
83
84
  getTopHistory: () => getTopHistory,
84
85
  getTopMinerPayout: () => getTopMinerPayout,
86
+ getValidatorPause: () => getValidatorPause,
85
87
  getValidatorResourceSamples: () => getValidatorResourceSamples,
86
88
  getValidatorScores: () => getValidatorScores,
87
89
  getValidators: () => getValidators,
@@ -96,12 +98,15 @@ __export(index_exports, {
96
98
  listAgentVersions: () => listAgentVersions,
97
99
  listAgentVersions1: () => listAgentVersions1,
98
100
  listEvaluationRuns: () => listEvaluationRuns,
101
+ listInferenceAuth: () => listInferenceAuth,
99
102
  listMinerAgents: () => listMinerAgents,
100
103
  listMiners: () => listMiners,
101
104
  listSuites: () => listSuites,
102
105
  listValidators: () => listValidators,
103
106
  logout: () => logout,
104
107
  parseRetryAfter: () => parseRetryAfter,
108
+ postValidatorPause: () => postValidatorPause,
109
+ postValidatorResume: () => postValidatorResume,
105
110
  presignUpload: () => presignUpload,
106
111
  reevaluateAgentVersion: () => reevaluateAgentVersion,
107
112
  reinstateAgentVersion: () => reinstateAgentVersion,
@@ -110,10 +115,12 @@ __export(index_exports, {
110
115
  setRaceSelection: () => setRaceSelection,
111
116
  setTopAgent: () => setTopAgent,
112
117
  storeChutesToken: () => storeChutesToken,
118
+ storeInferenceCredential: () => storeInferenceCredential,
113
119
  submitAgent: () => submitAgent,
114
120
  unbanMiner: () => unbanMiner,
115
121
  unbanValidator: () => unbanValidator,
116
- updateProgress: () => updateProgress
122
+ updateProgress: () => updateProgress,
123
+ updateValidator: () => updateValidator
117
124
  });
118
125
  module.exports = __toCommonJS(index_exports);
119
126
 
@@ -281,6 +288,24 @@ var submitAgent = (options) => {
281
288
  url: "/v1/miner/submit"
282
289
  });
283
290
  };
291
+ var storeInferenceCredential = (options) => {
292
+ return (options?.client ?? client).post({
293
+ ...options,
294
+ url: "/v1/miner/inference-auth/{provider}"
295
+ });
296
+ };
297
+ var getInferenceAuthStatusOne = (options) => {
298
+ return (options?.client ?? client).get({
299
+ ...options,
300
+ url: "/v1/miner/inference-auth/{provider}"
301
+ });
302
+ };
303
+ var listInferenceAuth = (options) => {
304
+ return (options?.client ?? client).get({
305
+ ...options,
306
+ url: "/v1/miner/inference-auth"
307
+ });
308
+ };
284
309
  var storeChutesToken = (options) => {
285
310
  return (options?.client ?? client).post({
286
311
  ...options,
@@ -383,6 +408,12 @@ var unbanValidator = (options) => {
383
408
  url: "/v1/admin/validators/{validator_hotkey}/unban"
384
409
  });
385
410
  };
411
+ var updateValidator = (options) => {
412
+ return (options?.client ?? client).patch({
413
+ ...options,
414
+ url: "/v1/admin/validators/{validator_hotkey}"
415
+ });
416
+ };
386
417
  var discardAgentVersion = (options) => {
387
418
  return (options?.client ?? client).post({
388
419
  ...options,
@@ -527,6 +558,24 @@ var getValidatorResourceSamples = (options) => {
527
558
  url: "/v1/admin/analytics/validator-resources"
528
559
  });
529
560
  };
561
+ var getValidatorPause = (options) => {
562
+ return (options?.client ?? client).get({
563
+ ...options,
564
+ url: "/v1/admin/validator-pause"
565
+ });
566
+ };
567
+ var postValidatorPause = (options) => {
568
+ return (options?.client ?? client).post({
569
+ ...options,
570
+ url: "/v1/admin/validator-pause"
571
+ });
572
+ };
573
+ var postValidatorResume = (options) => {
574
+ return (options?.client ?? client).post({
575
+ ...options,
576
+ url: "/v1/admin/validator-resume"
577
+ });
578
+ };
530
579
 
531
580
  // src/errors.ts
532
581
  function classifyStatus(status) {
@@ -927,6 +976,7 @@ function configureSessionAuth(baseUrl, config) {
927
976
  getErrorCode,
928
977
  getErrorDetail,
929
978
  getEvaluationRun,
979
+ getInferenceAuthStatusOne,
930
980
  getInferenceModels,
931
981
  getLeaderboard,
932
982
  getOwnedAgentVersionStatus,
@@ -941,6 +991,7 @@ function configureSessionAuth(baseUrl, config) {
941
991
  getTopAgent,
942
992
  getTopHistory,
943
993
  getTopMinerPayout,
994
+ getValidatorPause,
944
995
  getValidatorResourceSamples,
945
996
  getValidatorScores,
946
997
  getValidators,
@@ -955,12 +1006,15 @@ function configureSessionAuth(baseUrl, config) {
955
1006
  listAgentVersions,
956
1007
  listAgentVersions1,
957
1008
  listEvaluationRuns,
1009
+ listInferenceAuth,
958
1010
  listMinerAgents,
959
1011
  listMiners,
960
1012
  listSuites,
961
1013
  listValidators,
962
1014
  logout,
963
1015
  parseRetryAfter,
1016
+ postValidatorPause,
1017
+ postValidatorResume,
964
1018
  presignUpload,
965
1019
  reevaluateAgentVersion,
966
1020
  reinstateAgentVersion,
@@ -969,8 +1023,10 @@ function configureSessionAuth(baseUrl, config) {
969
1023
  setRaceSelection,
970
1024
  setTopAgent,
971
1025
  storeChutesToken,
1026
+ storeInferenceCredential,
972
1027
  submitAgent,
973
1028
  unbanMiner,
974
1029
  unbanValidator,
975
- updateProgress
1030
+ updateProgress,
1031
+ updateValidator
976
1032
  });
package/dist/index.mjs CHANGED
@@ -162,6 +162,24 @@ var submitAgent = (options) => {
162
162
  url: "/v1/miner/submit"
163
163
  });
164
164
  };
165
+ var storeInferenceCredential = (options) => {
166
+ return (options?.client ?? client).post({
167
+ ...options,
168
+ url: "/v1/miner/inference-auth/{provider}"
169
+ });
170
+ };
171
+ var getInferenceAuthStatusOne = (options) => {
172
+ return (options?.client ?? client).get({
173
+ ...options,
174
+ url: "/v1/miner/inference-auth/{provider}"
175
+ });
176
+ };
177
+ var listInferenceAuth = (options) => {
178
+ return (options?.client ?? client).get({
179
+ ...options,
180
+ url: "/v1/miner/inference-auth"
181
+ });
182
+ };
165
183
  var storeChutesToken = (options) => {
166
184
  return (options?.client ?? client).post({
167
185
  ...options,
@@ -264,6 +282,12 @@ var unbanValidator = (options) => {
264
282
  url: "/v1/admin/validators/{validator_hotkey}/unban"
265
283
  });
266
284
  };
285
+ var updateValidator = (options) => {
286
+ return (options?.client ?? client).patch({
287
+ ...options,
288
+ url: "/v1/admin/validators/{validator_hotkey}"
289
+ });
290
+ };
267
291
  var discardAgentVersion = (options) => {
268
292
  return (options?.client ?? client).post({
269
293
  ...options,
@@ -408,6 +432,24 @@ var getValidatorResourceSamples = (options) => {
408
432
  url: "/v1/admin/analytics/validator-resources"
409
433
  });
410
434
  };
435
+ var getValidatorPause = (options) => {
436
+ return (options?.client ?? client).get({
437
+ ...options,
438
+ url: "/v1/admin/validator-pause"
439
+ });
440
+ };
441
+ var postValidatorPause = (options) => {
442
+ return (options?.client ?? client).post({
443
+ ...options,
444
+ url: "/v1/admin/validator-pause"
445
+ });
446
+ };
447
+ var postValidatorResume = (options) => {
448
+ return (options?.client ?? client).post({
449
+ ...options,
450
+ url: "/v1/admin/validator-resume"
451
+ });
452
+ };
411
453
 
412
454
  // src/errors.ts
413
455
  function classifyStatus(status) {
@@ -807,6 +849,7 @@ export {
807
849
  getErrorCode,
808
850
  getErrorDetail,
809
851
  getEvaluationRun,
852
+ getInferenceAuthStatusOne,
810
853
  getInferenceModels,
811
854
  getLeaderboard,
812
855
  getOwnedAgentVersionStatus,
@@ -821,6 +864,7 @@ export {
821
864
  getTopAgent,
822
865
  getTopHistory,
823
866
  getTopMinerPayout,
867
+ getValidatorPause,
824
868
  getValidatorResourceSamples,
825
869
  getValidatorScores,
826
870
  getValidators,
@@ -835,12 +879,15 @@ export {
835
879
  listAgentVersions,
836
880
  listAgentVersions1,
837
881
  listEvaluationRuns,
882
+ listInferenceAuth,
838
883
  listMinerAgents,
839
884
  listMiners,
840
885
  listSuites,
841
886
  listValidators,
842
887
  logout,
843
888
  parseRetryAfter,
889
+ postValidatorPause,
890
+ postValidatorResume,
844
891
  presignUpload,
845
892
  reevaluateAgentVersion,
846
893
  reinstateAgentVersion,
@@ -849,8 +896,10 @@ export {
849
896
  setRaceSelection,
850
897
  setTopAgent,
851
898
  storeChutesToken,
899
+ storeInferenceCredential,
852
900
  submitAgent,
853
901
  unbanMiner,
854
902
  unbanValidator,
855
- updateProgress
903
+ updateProgress,
904
+ updateValidator
856
905
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
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, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, 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, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, 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, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, EliminateAgentVersionData, EliminateAgentVersionError, EliminateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse } from './types.gen';
4
+ import type { HealthCheckError, HealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, 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, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreInferenceCredentialData, StoreInferenceCredentialError, StoreInferenceCredentialResponse, GetInferenceAuthStatusOneData, GetInferenceAuthStatusOneError, GetInferenceAuthStatusOneResponse, ListInferenceAuthError, ListInferenceAuthResponse, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, 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, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, UpdateValidatorData, UpdateValidatorError, UpdateValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, EliminateAgentVersionData, EliminateAgentVersionError, EliminateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2, GetValidatorResourceSamplesData, GetValidatorResourceSamplesError, GetValidatorResourceSamplesResponse, GetValidatorPauseError, GetValidatorPauseResponse, PostValidatorPauseData, PostValidatorPauseError, PostValidatorPauseResponse, PostValidatorResumeData, PostValidatorResumeError, PostValidatorResumeResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -307,8 +307,43 @@ export const submitAgent = <ThrowOnError extends boolean = false>(options: Optio
307
307
  };
308
308
 
309
309
  /**
310
- * Store Chutes OAuth refresh token
311
- * Store (or overwrite) the miner's Chutes refresh token.
310
+ * Store an inference-provider credential
311
+ * Store (or overwrite) the miner's credential for the given provider.
312
+ */
313
+ export const storeInferenceCredential = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreInferenceCredentialData, ThrowOnError>) => {
314
+ return (options?.client ?? client).post<StoreInferenceCredentialResponse, StoreInferenceCredentialError, ThrowOnError>({
315
+ ...options,
316
+ url: '/v1/miner/inference-auth/{provider}'
317
+ });
318
+ };
319
+
320
+ /**
321
+ * Check inference auth status for a single provider
322
+ * Check whether the miner has a stored credential for the given provider.
323
+ */
324
+ export const getInferenceAuthStatusOne = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInferenceAuthStatusOneData, ThrowOnError>) => {
325
+ return (options?.client ?? client).get<GetInferenceAuthStatusOneResponse, GetInferenceAuthStatusOneError, ThrowOnError>({
326
+ ...options,
327
+ url: '/v1/miner/inference-auth/{provider}'
328
+ });
329
+ };
330
+
331
+ /**
332
+ * List all inference-auth providers the miner has connected
333
+ * List every provider the authenticated miner currently has a credential for.
334
+ */
335
+ export const listInferenceAuth = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
336
+ return (options?.client ?? client).get<ListInferenceAuthResponse, ListInferenceAuthError, ThrowOnError>({
337
+ ...options,
338
+ url: '/v1/miner/inference-auth'
339
+ });
340
+ };
341
+
342
+ /**
343
+ * @deprecated
344
+ * Store Chutes OAuth refresh token (legacy — use /inference-auth/chutes)
345
+ * Back-compat shim. Routes through the new inference-auth path so older
346
+ * Frontend builds keep populating the new table during the deploy window.
312
347
  */
313
348
  export const storeChutesToken = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreChutesTokenData, ThrowOnError>) => {
314
349
  return (options?.client ?? client).post<StoreChutesTokenResponse, StoreChutesTokenError, ThrowOnError>({
@@ -318,8 +353,9 @@ export const storeChutesToken = <ThrowOnError extends boolean = false>(options:
318
353
  };
319
354
 
320
355
  /**
321
- * Check Chutes auth status
322
- * Check whether the authenticated miner has a stored Chutes token.
356
+ * @deprecated
357
+ * Check Chutes auth status (legacy use /inference-auth/chutes)
358
+ * Back-compat shim. Reads from the new MinerInferenceAuth table.
323
359
  */
324
360
  export const getChutesAuthStatus = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
325
361
  return (options?.client ?? client).get<GetChutesAuthStatusResponse, GetChutesAuthStatusError, ThrowOnError>({
@@ -496,6 +532,17 @@ export const unbanValidator = <ThrowOnError extends boolean = false>(options: Op
496
532
  });
497
533
  };
498
534
 
535
+ /**
536
+ * Update validator configuration
537
+ * Update validator configuration. Currently supports `max_concurrent_runs`.
538
+ */
539
+ export const updateValidator = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateValidatorData, ThrowOnError>) => {
540
+ return (options?.client ?? client).patch<UpdateValidatorResponse, UpdateValidatorError, ThrowOnError>({
541
+ ...options,
542
+ url: '/v1/admin/validators/{validator_hotkey}'
543
+ });
544
+ };
545
+
499
546
  /**
500
547
  * Discard an agent version from leaderboard
501
548
  * Discard an agent version from the leaderboard (reversible tombstone).
@@ -803,4 +850,36 @@ export const getValidatorResourceSamples = <ThrowOnError extends boolean = false
803
850
  ...options,
804
851
  url: '/v1/admin/analytics/validator-resources'
805
852
  });
853
+ };
854
+
855
+ /**
856
+ * Get validator-pause (andon-cord) state
857
+ * Returns whether new validator claims are currently paused, plus metadata on who pulled the cord and when it auto-releases.
858
+ */
859
+ export const getValidatorPause = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
860
+ return (options?.client ?? client).get<GetValidatorPauseResponse, GetValidatorPauseError, ThrowOnError>({
861
+ ...options,
862
+ url: '/v1/admin/validator-pause'
863
+ });
864
+ };
865
+
866
+ /**
867
+ * Pause validator claims (pull the andon cord)
868
+ * Block all validators from claiming new evaluations. In-flight runs continue and report normally. Idempotent — calling twice overwrites the prior pause metadata.
869
+ */
870
+ export const postValidatorPause = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorPauseData, ThrowOnError>) => {
871
+ return (options?.client ?? client).post<PostValidatorPauseResponse, PostValidatorPauseError, ThrowOnError>({
872
+ ...options,
873
+ url: '/v1/admin/validator-pause'
874
+ });
875
+ };
876
+
877
+ /**
878
+ * Resume validator claims (release the andon cord)
879
+ */
880
+ export const postValidatorResume = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<PostValidatorResumeData, ThrowOnError>) => {
881
+ return (options?.client ?? client).post<PostValidatorResumeResponse, PostValidatorResumeError, ThrowOnError>({
882
+ ...options,
883
+ url: '/v1/admin/validator-resume'
884
+ });
806
885
  };
@@ -347,6 +347,10 @@ export type AdminValidatorEntry = {
347
347
  * When the validator was banned
348
348
  */
349
349
  banned_at?: (string | null);
350
+ /**
351
+ * Maximum concurrent evaluation runs for this hotkey
352
+ */
353
+ max_concurrent_runs: number;
350
354
  };
351
355
 
352
356
  export type AdminValidatorsResponse = {
@@ -1499,6 +1503,25 @@ export type HTTPValidationError = {
1499
1503
  detail?: Array<ValidationError>;
1500
1504
  };
1501
1505
 
1506
+ /**
1507
+ * Response body for ``GET /v1/miner/inference-auth``.
1508
+ */
1509
+ export type InferenceAuthListResponse = {
1510
+ providers: Array<InferenceAuthStatusResponse>;
1511
+ };
1512
+
1513
+ /**
1514
+ * Response body for ``GET /v1/miner/inference-auth/{provider}``.
1515
+ */
1516
+ export type InferenceAuthStatusResponse = {
1517
+ connected: boolean;
1518
+ provider: string;
1519
+ /**
1520
+ * When the credential for this provider was last updated.
1521
+ */
1522
+ updated_at?: (string | null);
1523
+ };
1524
+
1502
1525
  /**
1503
1526
  * List of models available to ORO agents via the inference proxy.
1504
1527
  */
@@ -2572,6 +2595,16 @@ export type StoreChutesTokenRequest = {
2572
2595
  refresh_token: string;
2573
2596
  };
2574
2597
 
2598
+ /**
2599
+ * Request body for ``POST /v1/miner/inference-auth/{provider}``.
2600
+ */
2601
+ export type StoreInferenceCredentialRequest = {
2602
+ /**
2603
+ * Provider-specific credential (refresh token, API key, etc.)
2604
+ */
2605
+ credential: string;
2606
+ };
2607
+
2575
2608
  export type SubmitAgentResponse = {
2576
2609
  /**
2577
2610
  * Unique identifier for the created agent
@@ -2760,6 +2793,13 @@ export type TopMinerPayoutResponse = {
2760
2793
  as_of: string;
2761
2794
  };
2762
2795
 
2796
+ export type UpdateValidatorRequest = {
2797
+ /**
2798
+ * Maximum concurrent evaluation runs (must be >= 1)
2799
+ */
2800
+ max_concurrent_runs: number;
2801
+ };
2802
+
2763
2803
  export type ValidationError = {
2764
2804
  loc: Array<(string | number)>;
2765
2805
  msg: string;
@@ -2811,6 +2851,40 @@ export type ValidatorNotFoundError = {
2811
2851
  error_code?: "VALIDATOR_NOT_FOUND";
2812
2852
  };
2813
2853
 
2854
+ export type ValidatorPauseRequest = {
2855
+ /**
2856
+ * Reason for pulling the andon cord
2857
+ */
2858
+ reason: string;
2859
+ /**
2860
+ * UTC timestamp at which the pause auto-clears. Safety net so a pause can't be left on by accident.
2861
+ */
2862
+ auto_release_at?: (string | null);
2863
+ };
2864
+
2865
+ export type ValidatorPauseStatus = {
2866
+ /**
2867
+ * True when validator claims are paused
2868
+ */
2869
+ active: boolean;
2870
+ /**
2871
+ * Reason from the most recent pause
2872
+ */
2873
+ reason?: (string | null);
2874
+ /**
2875
+ * Admin hotkey that pulled the cord
2876
+ */
2877
+ paused_by?: (string | null);
2878
+ /**
2879
+ * When the cord was pulled
2880
+ */
2881
+ paused_at?: (string | null);
2882
+ /**
2883
+ * When the pause will auto-clear, if scheduled
2884
+ */
2885
+ auto_release_at?: (string | null);
2886
+ };
2887
+
2814
2888
  export type ValidatorProblemResult = {
2815
2889
  /**
2816
2890
  * Evaluation run ID this result belongs to
@@ -2939,6 +3013,13 @@ export type ValidatorResourceSamplesResponse = {
2939
3013
  count: number;
2940
3014
  };
2941
3015
 
3016
+ export type ValidatorResumeRequest = {
3017
+ /**
3018
+ * Optional reason for releasing the cord
3019
+ */
3020
+ reason?: (string | null);
3021
+ };
3022
+
2942
3023
  /**
2943
3024
  * Aggregated validator scoring analysis.
2944
3025
  */
@@ -3362,12 +3443,39 @@ export type SubmitAgentResponse2 = (SubmitAgentResponse);
3362
3443
 
3363
3444
  export type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | NoActiveSuiteError);
3364
3445
 
3446
+ export type StoreInferenceCredentialData = {
3447
+ body: StoreInferenceCredentialRequest;
3448
+ path: {
3449
+ provider: string;
3450
+ };
3451
+ };
3452
+
3453
+ export type StoreInferenceCredentialResponse = ({
3454
+ [key: string]: (boolean);
3455
+ });
3456
+
3457
+ export type StoreInferenceCredentialError = (HTTPValidationError);
3458
+
3459
+ export type GetInferenceAuthStatusOneData = {
3460
+ path: {
3461
+ provider: string;
3462
+ };
3463
+ };
3464
+
3465
+ export type GetInferenceAuthStatusOneResponse = (InferenceAuthStatusResponse);
3466
+
3467
+ export type GetInferenceAuthStatusOneError = (HTTPValidationError);
3468
+
3469
+ export type ListInferenceAuthResponse = (InferenceAuthListResponse);
3470
+
3471
+ export type ListInferenceAuthError = unknown;
3472
+
3365
3473
  export type StoreChutesTokenData = {
3366
3474
  body: StoreChutesTokenRequest;
3367
3475
  };
3368
3476
 
3369
3477
  export type StoreChutesTokenResponse = ({
3370
- [key: string]: unknown;
3478
+ [key: string]: (boolean);
3371
3479
  });
3372
3480
 
3373
3481
  export type StoreChutesTokenError = (HTTPValidationError);
@@ -3543,6 +3651,20 @@ export type UnbanValidatorResponse = (BanResponse);
3543
3651
 
3544
3652
  export type UnbanValidatorError = (ValidatorNotFoundError | HTTPValidationError);
3545
3653
 
3654
+ export type UpdateValidatorData = {
3655
+ body: UpdateValidatorRequest;
3656
+ path: {
3657
+ /**
3658
+ * Validator hotkey to update
3659
+ */
3660
+ validator_hotkey: string;
3661
+ };
3662
+ };
3663
+
3664
+ export type UpdateValidatorResponse = (AdminValidatorEntry);
3665
+
3666
+ export type UpdateValidatorError = (ValidatorNotFoundError | HTTPValidationError);
3667
+
3546
3668
  export type DiscardAgentVersionData = {
3547
3669
  body: DiscardRequest;
3548
3670
  path: {
@@ -3989,4 +4111,24 @@ export type GetValidatorResourceSamplesData = {
3989
4111
 
3990
4112
  export type GetValidatorResourceSamplesResponse = (ValidatorResourceSamplesResponse);
3991
4113
 
3992
- export type GetValidatorResourceSamplesError = (HTTPValidationError);
4114
+ export type GetValidatorResourceSamplesError = (HTTPValidationError);
4115
+
4116
+ export type GetValidatorPauseResponse = (ValidatorPauseStatus);
4117
+
4118
+ export type GetValidatorPauseError = unknown;
4119
+
4120
+ export type PostValidatorPauseData = {
4121
+ body: ValidatorPauseRequest;
4122
+ };
4123
+
4124
+ export type PostValidatorPauseResponse = (ValidatorPauseStatus);
4125
+
4126
+ export type PostValidatorPauseError = (HTTPValidationError);
4127
+
4128
+ export type PostValidatorResumeData = {
4129
+ body: ValidatorResumeRequest;
4130
+ };
4131
+
4132
+ export type PostValidatorResumeResponse = (ValidatorPauseStatus);
4133
+
4134
+ export type PostValidatorResumeError = (HTTPValidationError);