@oro-ai/sdk 0.7.0 → 0.7.2

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
@@ -404,10 +404,6 @@ type Body_submit_agent = {
404
404
  * Python agent file (max 1MB)
405
405
  */
406
406
  file: (Blob | File);
407
- /**
408
- * Chutes OAuth refresh token for miner-funded inference
409
- */
410
- chutes_refresh_token?: (string | null);
411
407
  };
412
408
  /**
413
409
  * Request to cancel an agent version's evaluation.
@@ -453,6 +449,19 @@ type ChallengeResponse = {
453
449
  */
454
450
  expires_at: number;
455
451
  };
452
+ /**
453
+ * Response for Chutes auth status check.
454
+ */
455
+ type ChutesAuthStatusResponse = {
456
+ /**
457
+ * Whether the miner has a stored Chutes token
458
+ */
459
+ connected: boolean;
460
+ /**
461
+ * When the token was last stored or rotated
462
+ */
463
+ updated_at?: (string | null);
464
+ };
456
465
  /**
457
466
  * Response for successful work claim.
458
467
  */
@@ -500,6 +509,10 @@ type CodeAnalysisError = {
500
509
  violations?: Array<{
501
510
  [key: string]: unknown;
502
511
  }>;
512
+ /**
513
+ * Seconds remaining on cooldown (if cooldown was consumed by this submission)
514
+ */
515
+ remaining_seconds?: (number | null);
503
516
  };
504
517
  /**
505
518
  * Request to complete an evaluation run.
@@ -1558,6 +1571,15 @@ type SetTopResponse = {
1558
1571
  */
1559
1572
  top_at: string;
1560
1573
  };
1574
+ /**
1575
+ * Request body for storing a Chutes refresh token.
1576
+ */
1577
+ type StoreChutesTokenRequest = {
1578
+ /**
1579
+ * Chutes OAuth refresh token from a fresh code exchange
1580
+ */
1581
+ refresh_token: string;
1582
+ };
1561
1583
  /**
1562
1584
  * Response model for agent submission.
1563
1585
  */
@@ -1782,6 +1804,28 @@ type ValidatorPublic = {
1782
1804
  * Status of a validator.
1783
1805
  */
1784
1806
  type ValidatorStatus = 'evaluating' | 'available';
1807
+ /**
1808
+ * Request body for waitlist signup.
1809
+ */
1810
+ type WaitlistSignupRequest = {
1811
+ /**
1812
+ * Email address to add to the waitlist
1813
+ */
1814
+ email: string;
1815
+ /**
1816
+ * Signup source
1817
+ */
1818
+ source?: string;
1819
+ };
1820
+ /**
1821
+ * Response from waitlist signup.
1822
+ */
1823
+ type WaitlistSignupResponse = {
1824
+ /**
1825
+ * Whether signup was recorded
1826
+ */
1827
+ success: boolean;
1828
+ };
1785
1829
  /**
1786
1830
  * Status of the work item after completion.
1787
1831
  */
@@ -1912,6 +1956,11 @@ type GetPendingEvaluationsData = {
1912
1956
  };
1913
1957
  type GetPendingEvaluationsResponse = (PendingEvaluationsResponse);
1914
1958
  type GetPendingEvaluationsError = (HTTPValidationError);
1959
+ type JoinWaitlistData = {
1960
+ body: WaitlistSignupRequest;
1961
+ };
1962
+ type JoinWaitlistResponse = (WaitlistSignupResponse);
1963
+ type JoinWaitlistError = (HTTPValidationError);
1915
1964
  type RequestChallengeData = {
1916
1965
  body: ChallengeRequest;
1917
1966
  };
@@ -1934,6 +1983,15 @@ type SubmitAgentData = {
1934
1983
  };
1935
1984
  type SubmitAgentResponse2 = (SubmitAgentResponse);
1936
1985
  type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | NoActiveSuiteError);
1986
+ type StoreChutesTokenData = {
1987
+ body: StoreChutesTokenRequest;
1988
+ };
1989
+ type StoreChutesTokenResponse = ({
1990
+ [key: string]: unknown;
1991
+ });
1992
+ type StoreChutesTokenError = (HTTPValidationError);
1993
+ type GetChutesAuthStatusResponse = (ChutesAuthStatusResponse);
1994
+ type GetChutesAuthStatusError = unknown;
1937
1995
  type ListMinerAgentsResponse = (MinerAgentsResponse);
1938
1996
  type ListMinerAgentsError = unknown;
1939
1997
  type ListAgentVersionsData = {
@@ -2151,6 +2209,18 @@ type GetAuditEventsResponse = (AuditEventsResponse);
2151
2209
  type GetAuditEventsError = (HTTPValidationError);
2152
2210
  type GetReaperStatsResponse = (ReaperStatsResponse);
2153
2211
  type GetReaperStatsError = unknown;
2212
+ type ClearMinerCooldownData = {
2213
+ path: {
2214
+ /**
2215
+ * Miner hotkey
2216
+ */
2217
+ hotkey: string;
2218
+ };
2219
+ };
2220
+ type ClearMinerCooldownResponse = ({
2221
+ [key: string]: unknown;
2222
+ });
2223
+ type ClearMinerCooldownError = (HTTPValidationError);
2154
2224
 
2155
2225
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
2156
2226
  /**
@@ -2223,6 +2293,11 @@ declare const getRunningEvaluations: <ThrowOnError extends boolean = false>(opti
2223
2293
  * Get all open work items awaiting validator evaluations, with queue summary.
2224
2294
  */
2225
2295
  declare const getPendingEvaluations: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPendingEvaluationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PendingEvaluationsResponse, HTTPValidationError, ThrowOnError>;
2296
+ /**
2297
+ * Join waitlist
2298
+ * Submit an email to join the ORO waitlist.
2299
+ */
2300
+ declare const joinWaitlist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<JoinWaitlistData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WaitlistSignupResponse, HTTPValidationError, ThrowOnError>;
2226
2301
  /**
2227
2302
  * Request Challenge
2228
2303
  * Request a challenge for wallet authentication.
@@ -2253,6 +2328,16 @@ declare const logout: <ThrowOnError extends boolean = false>(options?: OptionsLe
2253
2328
  * Submit an agent file for evaluation. Creates new agent if needed.
2254
2329
  */
2255
2330
  declare const submitAgent: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitAgentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SubmitAgentResponse, SubmitAgentError, ThrowOnError>;
2331
+ /**
2332
+ * Store Chutes OAuth refresh token
2333
+ * Store (or overwrite) the miner's Chutes refresh token.
2334
+ */
2335
+ declare const storeChutesToken: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreChutesTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StoreChutesTokenResponse, HTTPValidationError, ThrowOnError>;
2336
+ /**
2337
+ * Check Chutes auth status
2338
+ * Check whether the authenticated miner has a stored Chutes token.
2339
+ */
2340
+ declare const getChutesAuthStatus: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ChutesAuthStatusResponse, unknown, ThrowOnError>;
2256
2341
  /**
2257
2342
  * List miner's agents
2258
2343
  * List all agents owned by the authenticated miner, with cooldown status.
@@ -2316,11 +2401,16 @@ declare const unbanValidator: <ThrowOnError extends boolean = false>(options: Op
2316
2401
  /**
2317
2402
  * Discard an agent version from leaderboard
2318
2403
  * Discard an agent version from the leaderboard (reversible tombstone).
2404
+ *
2405
+ * Also cancels any active evaluation runs and closes the work item
2406
+ * to prevent the validator from claiming new work for this version.
2319
2407
  */
2320
2408
  declare const discardAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DiscardAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DiscardResponse, DiscardAgentVersionError, ThrowOnError>;
2321
2409
  /**
2322
2410
  * Reinstate a discarded agent version
2323
2411
  * Reinstate a previously discarded agent version.
2412
+ *
2413
+ * Also reopens the work item so validators can claim work again.
2324
2414
  */
2325
2415
  declare const reinstateAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DiscardResponse, ReinstateAgentVersionError, ThrowOnError>;
2326
2416
  /**
@@ -2383,6 +2473,11 @@ declare const getAuditEvents: <ThrowOnError extends boolean = false>(options?: O
2383
2473
  * consistent visibility across all replicas.
2384
2474
  */
2385
2475
  declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReaperStatsResponse, unknown, ThrowOnError>;
2476
+ /**
2477
+ * Clear miner cooldown
2478
+ * Clear the submission cooldown for a miner.
2479
+ */
2480
+ declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearMinerCooldownResponse, HTTPValidationError, ThrowOnError>;
2386
2481
 
2387
2482
  /**
2388
2483
  * Auto-generated error code type.
@@ -2735,4 +2830,4 @@ declare class SessionAuthManager {
2735
2830
  */
2736
2831
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
2737
2832
 
2738
- export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, 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 ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, 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 RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, listAgentVersions, listMinerAgents, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, submitAgent, unbanMiner, unbanValidator, updateProgress };
2833
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, 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 ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, 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 ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, 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 RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, 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 UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listMinerAgents, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.d.ts CHANGED
@@ -404,10 +404,6 @@ type Body_submit_agent = {
404
404
  * Python agent file (max 1MB)
405
405
  */
406
406
  file: (Blob | File);
407
- /**
408
- * Chutes OAuth refresh token for miner-funded inference
409
- */
410
- chutes_refresh_token?: (string | null);
411
407
  };
412
408
  /**
413
409
  * Request to cancel an agent version's evaluation.
@@ -453,6 +449,19 @@ type ChallengeResponse = {
453
449
  */
454
450
  expires_at: number;
455
451
  };
452
+ /**
453
+ * Response for Chutes auth status check.
454
+ */
455
+ type ChutesAuthStatusResponse = {
456
+ /**
457
+ * Whether the miner has a stored Chutes token
458
+ */
459
+ connected: boolean;
460
+ /**
461
+ * When the token was last stored or rotated
462
+ */
463
+ updated_at?: (string | null);
464
+ };
456
465
  /**
457
466
  * Response for successful work claim.
458
467
  */
@@ -500,6 +509,10 @@ type CodeAnalysisError = {
500
509
  violations?: Array<{
501
510
  [key: string]: unknown;
502
511
  }>;
512
+ /**
513
+ * Seconds remaining on cooldown (if cooldown was consumed by this submission)
514
+ */
515
+ remaining_seconds?: (number | null);
503
516
  };
504
517
  /**
505
518
  * Request to complete an evaluation run.
@@ -1558,6 +1571,15 @@ type SetTopResponse = {
1558
1571
  */
1559
1572
  top_at: string;
1560
1573
  };
1574
+ /**
1575
+ * Request body for storing a Chutes refresh token.
1576
+ */
1577
+ type StoreChutesTokenRequest = {
1578
+ /**
1579
+ * Chutes OAuth refresh token from a fresh code exchange
1580
+ */
1581
+ refresh_token: string;
1582
+ };
1561
1583
  /**
1562
1584
  * Response model for agent submission.
1563
1585
  */
@@ -1782,6 +1804,28 @@ type ValidatorPublic = {
1782
1804
  * Status of a validator.
1783
1805
  */
1784
1806
  type ValidatorStatus = 'evaluating' | 'available';
1807
+ /**
1808
+ * Request body for waitlist signup.
1809
+ */
1810
+ type WaitlistSignupRequest = {
1811
+ /**
1812
+ * Email address to add to the waitlist
1813
+ */
1814
+ email: string;
1815
+ /**
1816
+ * Signup source
1817
+ */
1818
+ source?: string;
1819
+ };
1820
+ /**
1821
+ * Response from waitlist signup.
1822
+ */
1823
+ type WaitlistSignupResponse = {
1824
+ /**
1825
+ * Whether signup was recorded
1826
+ */
1827
+ success: boolean;
1828
+ };
1785
1829
  /**
1786
1830
  * Status of the work item after completion.
1787
1831
  */
@@ -1912,6 +1956,11 @@ type GetPendingEvaluationsData = {
1912
1956
  };
1913
1957
  type GetPendingEvaluationsResponse = (PendingEvaluationsResponse);
1914
1958
  type GetPendingEvaluationsError = (HTTPValidationError);
1959
+ type JoinWaitlistData = {
1960
+ body: WaitlistSignupRequest;
1961
+ };
1962
+ type JoinWaitlistResponse = (WaitlistSignupResponse);
1963
+ type JoinWaitlistError = (HTTPValidationError);
1915
1964
  type RequestChallengeData = {
1916
1965
  body: ChallengeRequest;
1917
1966
  };
@@ -1934,6 +1983,15 @@ type SubmitAgentData = {
1934
1983
  };
1935
1984
  type SubmitAgentResponse2 = (SubmitAgentResponse);
1936
1985
  type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | NoActiveSuiteError);
1986
+ type StoreChutesTokenData = {
1987
+ body: StoreChutesTokenRequest;
1988
+ };
1989
+ type StoreChutesTokenResponse = ({
1990
+ [key: string]: unknown;
1991
+ });
1992
+ type StoreChutesTokenError = (HTTPValidationError);
1993
+ type GetChutesAuthStatusResponse = (ChutesAuthStatusResponse);
1994
+ type GetChutesAuthStatusError = unknown;
1937
1995
  type ListMinerAgentsResponse = (MinerAgentsResponse);
1938
1996
  type ListMinerAgentsError = unknown;
1939
1997
  type ListAgentVersionsData = {
@@ -2151,6 +2209,18 @@ type GetAuditEventsResponse = (AuditEventsResponse);
2151
2209
  type GetAuditEventsError = (HTTPValidationError);
2152
2210
  type GetReaperStatsResponse = (ReaperStatsResponse);
2153
2211
  type GetReaperStatsError = unknown;
2212
+ type ClearMinerCooldownData = {
2213
+ path: {
2214
+ /**
2215
+ * Miner hotkey
2216
+ */
2217
+ hotkey: string;
2218
+ };
2219
+ };
2220
+ type ClearMinerCooldownResponse = ({
2221
+ [key: string]: unknown;
2222
+ });
2223
+ type ClearMinerCooldownError = (HTTPValidationError);
2154
2224
 
2155
2225
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
2156
2226
  /**
@@ -2223,6 +2293,11 @@ declare const getRunningEvaluations: <ThrowOnError extends boolean = false>(opti
2223
2293
  * Get all open work items awaiting validator evaluations, with queue summary.
2224
2294
  */
2225
2295
  declare const getPendingEvaluations: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPendingEvaluationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PendingEvaluationsResponse, HTTPValidationError, ThrowOnError>;
2296
+ /**
2297
+ * Join waitlist
2298
+ * Submit an email to join the ORO waitlist.
2299
+ */
2300
+ declare const joinWaitlist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<JoinWaitlistData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WaitlistSignupResponse, HTTPValidationError, ThrowOnError>;
2226
2301
  /**
2227
2302
  * Request Challenge
2228
2303
  * Request a challenge for wallet authentication.
@@ -2253,6 +2328,16 @@ declare const logout: <ThrowOnError extends boolean = false>(options?: OptionsLe
2253
2328
  * Submit an agent file for evaluation. Creates new agent if needed.
2254
2329
  */
2255
2330
  declare const submitAgent: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SubmitAgentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SubmitAgentResponse, SubmitAgentError, ThrowOnError>;
2331
+ /**
2332
+ * Store Chutes OAuth refresh token
2333
+ * Store (or overwrite) the miner's Chutes refresh token.
2334
+ */
2335
+ declare const storeChutesToken: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreChutesTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StoreChutesTokenResponse, HTTPValidationError, ThrowOnError>;
2336
+ /**
2337
+ * Check Chutes auth status
2338
+ * Check whether the authenticated miner has a stored Chutes token.
2339
+ */
2340
+ declare const getChutesAuthStatus: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ChutesAuthStatusResponse, unknown, ThrowOnError>;
2256
2341
  /**
2257
2342
  * List miner's agents
2258
2343
  * List all agents owned by the authenticated miner, with cooldown status.
@@ -2316,11 +2401,16 @@ declare const unbanValidator: <ThrowOnError extends boolean = false>(options: Op
2316
2401
  /**
2317
2402
  * Discard an agent version from leaderboard
2318
2403
  * Discard an agent version from the leaderboard (reversible tombstone).
2404
+ *
2405
+ * Also cancels any active evaluation runs and closes the work item
2406
+ * to prevent the validator from claiming new work for this version.
2319
2407
  */
2320
2408
  declare const discardAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DiscardAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DiscardResponse, DiscardAgentVersionError, ThrowOnError>;
2321
2409
  /**
2322
2410
  * Reinstate a discarded agent version
2323
2411
  * Reinstate a previously discarded agent version.
2412
+ *
2413
+ * Also reopens the work item so validators can claim work again.
2324
2414
  */
2325
2415
  declare const reinstateAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DiscardResponse, ReinstateAgentVersionError, ThrowOnError>;
2326
2416
  /**
@@ -2383,6 +2473,11 @@ declare const getAuditEvents: <ThrowOnError extends boolean = false>(options?: O
2383
2473
  * consistent visibility across all replicas.
2384
2474
  */
2385
2475
  declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReaperStatsResponse, unknown, ThrowOnError>;
2476
+ /**
2477
+ * Clear miner cooldown
2478
+ * Clear the submission cooldown for a miner.
2479
+ */
2480
+ declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearMinerCooldownResponse, HTTPValidationError, ThrowOnError>;
2386
2481
 
2387
2482
  /**
2388
2483
  * Auto-generated error code type.
@@ -2735,4 +2830,4 @@ declare class SessionAuthManager {
2735
2830
  */
2736
2831
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
2737
2832
 
2738
- export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, 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 ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, 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 RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, listAgentVersions, listMinerAgents, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, submitAgent, unbanMiner, unbanValidator, updateProgress };
2833
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, 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 ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, 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 DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, 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 GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, 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 ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, 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 RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, 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 UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listMinerAgents, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ __export(index_exports, {
38
38
  claimWork: () => claimWork,
39
39
  classifyError: () => classifyError,
40
40
  classifyStatus: () => classifyStatus,
41
+ clearMinerCooldown: () => clearMinerCooldown,
41
42
  client: () => client,
42
43
  completeRun: () => completeRun,
43
44
  computeDelay: () => computeDelay,
@@ -55,6 +56,7 @@ __export(index_exports, {
55
56
  getAgentVersionStatus: () => getAgentVersionStatus,
56
57
  getArtifactDownloadUrl: () => getArtifactDownloadUrl,
57
58
  getAuditEvents: () => getAuditEvents,
59
+ getChutesAuthStatus: () => getChutesAuthStatus,
58
60
  getCurrentSuite: () => getCurrentSuite,
59
61
  getErrorCode: () => getErrorCode,
60
62
  getErrorDetail: () => getErrorDetail,
@@ -74,6 +76,7 @@ __export(index_exports, {
74
76
  invalidateEvaluationRun: () => invalidateEvaluationRun,
75
77
  isTransient: () => isTransient,
76
78
  isTransientError: () => isTransientError,
79
+ joinWaitlist: () => joinWaitlist,
77
80
  listAgentVersions: () => listAgentVersions,
78
81
  listMinerAgents: () => listMinerAgents,
79
82
  logout: () => logout,
@@ -83,6 +86,7 @@ __export(index_exports, {
83
86
  reinstateAgentVersion: () => reinstateAgentVersion,
84
87
  requestChallenge: () => requestChallenge,
85
88
  setTopAgent: () => setTopAgent,
89
+ storeChutesToken: () => storeChutesToken,
86
90
  submitAgent: () => submitAgent,
87
91
  unbanMiner: () => unbanMiner,
88
92
  unbanValidator: () => unbanValidator,
@@ -177,6 +181,12 @@ var getPendingEvaluations = (options) => {
177
181
  url: "/v1/public/evaluations/pending"
178
182
  });
179
183
  };
184
+ var joinWaitlist = (options) => {
185
+ return (options?.client ?? client).post({
186
+ ...options,
187
+ url: "/v1/public/waitlist"
188
+ });
189
+ };
180
190
  var requestChallenge = (options) => {
181
191
  return (options?.client ?? client).post({
182
192
  ...options,
@@ -206,6 +216,18 @@ var submitAgent = (options) => {
206
216
  url: "/v1/miner/submit"
207
217
  });
208
218
  };
219
+ var storeChutesToken = (options) => {
220
+ return (options?.client ?? client).post({
221
+ ...options,
222
+ url: "/v1/miner/chutes-auth"
223
+ });
224
+ };
225
+ var getChutesAuthStatus = (options) => {
226
+ return (options?.client ?? client).get({
227
+ ...options,
228
+ url: "/v1/miner/chutes-auth/status"
229
+ });
230
+ };
209
231
  var listMinerAgents = (options) => {
210
232
  return (options?.client ?? client).get({
211
233
  ...options,
@@ -338,6 +360,12 @@ var getReaperStats = (options) => {
338
360
  url: "/v1/admin/reaper/stats"
339
361
  });
340
362
  };
363
+ var clearMinerCooldown = (options) => {
364
+ return (options?.client ?? client).post({
365
+ ...options,
366
+ url: "/v1/admin/miners/{hotkey}/clear-cooldown"
367
+ });
368
+ };
341
369
 
342
370
  // src/errors.ts
343
371
  function classifyStatus(status) {
@@ -708,6 +736,7 @@ function configureSessionAuth(baseUrl, config) {
708
736
  claimWork,
709
737
  classifyError,
710
738
  classifyStatus,
739
+ clearMinerCooldown,
711
740
  client,
712
741
  completeRun,
713
742
  computeDelay,
@@ -725,6 +754,7 @@ function configureSessionAuth(baseUrl, config) {
725
754
  getAgentVersionStatus,
726
755
  getArtifactDownloadUrl,
727
756
  getAuditEvents,
757
+ getChutesAuthStatus,
728
758
  getCurrentSuite,
729
759
  getErrorCode,
730
760
  getErrorDetail,
@@ -744,6 +774,7 @@ function configureSessionAuth(baseUrl, config) {
744
774
  invalidateEvaluationRun,
745
775
  isTransient,
746
776
  isTransientError,
777
+ joinWaitlist,
747
778
  listAgentVersions,
748
779
  listMinerAgents,
749
780
  logout,
@@ -753,6 +784,7 @@ function configureSessionAuth(baseUrl, config) {
753
784
  reinstateAgentVersion,
754
785
  requestChallenge,
755
786
  setTopAgent,
787
+ storeChutesToken,
756
788
  submitAgent,
757
789
  unbanMiner,
758
790
  unbanValidator,
package/dist/index.mjs CHANGED
@@ -85,6 +85,12 @@ var getPendingEvaluations = (options) => {
85
85
  url: "/v1/public/evaluations/pending"
86
86
  });
87
87
  };
88
+ var joinWaitlist = (options) => {
89
+ return (options?.client ?? client).post({
90
+ ...options,
91
+ url: "/v1/public/waitlist"
92
+ });
93
+ };
88
94
  var requestChallenge = (options) => {
89
95
  return (options?.client ?? client).post({
90
96
  ...options,
@@ -114,6 +120,18 @@ var submitAgent = (options) => {
114
120
  url: "/v1/miner/submit"
115
121
  });
116
122
  };
123
+ var storeChutesToken = (options) => {
124
+ return (options?.client ?? client).post({
125
+ ...options,
126
+ url: "/v1/miner/chutes-auth"
127
+ });
128
+ };
129
+ var getChutesAuthStatus = (options) => {
130
+ return (options?.client ?? client).get({
131
+ ...options,
132
+ url: "/v1/miner/chutes-auth/status"
133
+ });
134
+ };
117
135
  var listMinerAgents = (options) => {
118
136
  return (options?.client ?? client).get({
119
137
  ...options,
@@ -246,6 +264,12 @@ var getReaperStats = (options) => {
246
264
  url: "/v1/admin/reaper/stats"
247
265
  });
248
266
  };
267
+ var clearMinerCooldown = (options) => {
268
+ return (options?.client ?? client).post({
269
+ ...options,
270
+ url: "/v1/admin/miners/{hotkey}/clear-cooldown"
271
+ });
272
+ };
249
273
 
250
274
  // src/errors.ts
251
275
  function classifyStatus(status) {
@@ -615,6 +639,7 @@ export {
615
639
  claimWork,
616
640
  classifyError,
617
641
  classifyStatus,
642
+ clearMinerCooldown,
618
643
  client,
619
644
  completeRun,
620
645
  computeDelay,
@@ -632,6 +657,7 @@ export {
632
657
  getAgentVersionStatus,
633
658
  getArtifactDownloadUrl,
634
659
  getAuditEvents,
660
+ getChutesAuthStatus,
635
661
  getCurrentSuite,
636
662
  getErrorCode,
637
663
  getErrorDetail,
@@ -651,6 +677,7 @@ export {
651
677
  invalidateEvaluationRun,
652
678
  isTransient,
653
679
  isTransientError,
680
+ joinWaitlist,
654
681
  listAgentVersions,
655
682
  listMinerAgents,
656
683
  logout,
@@ -660,6 +687,7 @@ export {
660
687
  reinstateAgentVersion,
661
688
  requestChallenge,
662
689
  setTopAgent,
690
+ storeChutesToken,
663
691
  submitAgent,
664
692
  unbanMiner,
665
693
  unbanValidator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
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, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, 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, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse } from './types.gen';
4
+ import type { HealthCheckError, HealthCheckResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, 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, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, 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, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, 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 } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -159,6 +159,17 @@ export const getPendingEvaluations = <ThrowOnError extends boolean = false>(opti
159
159
  });
160
160
  };
161
161
 
162
+ /**
163
+ * Join waitlist
164
+ * Submit an email to join the ORO waitlist.
165
+ */
166
+ export const joinWaitlist = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<JoinWaitlistData, ThrowOnError>) => {
167
+ return (options?.client ?? client).post<JoinWaitlistResponse, JoinWaitlistError, ThrowOnError>({
168
+ ...options,
169
+ url: '/v1/public/waitlist'
170
+ });
171
+ };
172
+
162
173
  /**
163
174
  * Request Challenge
164
175
  * Request a challenge for wallet authentication.
@@ -218,6 +229,28 @@ export const submitAgent = <ThrowOnError extends boolean = false>(options: Optio
218
229
  });
219
230
  };
220
231
 
232
+ /**
233
+ * Store Chutes OAuth refresh token
234
+ * Store (or overwrite) the miner's Chutes refresh token.
235
+ */
236
+ export const storeChutesToken = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<StoreChutesTokenData, ThrowOnError>) => {
237
+ return (options?.client ?? client).post<StoreChutesTokenResponse, StoreChutesTokenError, ThrowOnError>({
238
+ ...options,
239
+ url: '/v1/miner/chutes-auth'
240
+ });
241
+ };
242
+
243
+ /**
244
+ * Check Chutes auth status
245
+ * Check whether the authenticated miner has a stored Chutes token.
246
+ */
247
+ export const getChutesAuthStatus = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
248
+ return (options?.client ?? client).get<GetChutesAuthStatusResponse, GetChutesAuthStatusError, ThrowOnError>({
249
+ ...options,
250
+ url: '/v1/miner/chutes-auth/status'
251
+ });
252
+ };
253
+
221
254
  /**
222
255
  * List miner's agents
223
256
  * List all agents owned by the authenticated miner, with cooldown status.
@@ -353,6 +386,9 @@ export const unbanValidator = <ThrowOnError extends boolean = false>(options: Op
353
386
  /**
354
387
  * Discard an agent version from leaderboard
355
388
  * Discard an agent version from the leaderboard (reversible tombstone).
389
+ *
390
+ * Also cancels any active evaluation runs and closes the work item
391
+ * to prevent the validator from claiming new work for this version.
356
392
  */
357
393
  export const discardAgentVersion = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DiscardAgentVersionData, ThrowOnError>) => {
358
394
  return (options?.client ?? client).post<DiscardAgentVersionResponse, DiscardAgentVersionError, ThrowOnError>({
@@ -364,6 +400,8 @@ export const discardAgentVersion = <ThrowOnError extends boolean = false>(option
364
400
  /**
365
401
  * Reinstate a discarded agent version
366
402
  * Reinstate a previously discarded agent version.
403
+ *
404
+ * Also reopens the work item so validators can claim work again.
367
405
  */
368
406
  export const reinstateAgentVersion = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateAgentVersionData, ThrowOnError>) => {
369
407
  return (options?.client ?? client).post<ReinstateAgentVersionResponse, ReinstateAgentVersionError, ThrowOnError>({
@@ -478,4 +516,15 @@ export const getReaperStats = <ThrowOnError extends boolean = false>(options?: O
478
516
  ...options,
479
517
  url: '/v1/admin/reaper/stats'
480
518
  });
519
+ };
520
+
521
+ /**
522
+ * Clear miner cooldown
523
+ * Clear the submission cooldown for a miner.
524
+ */
525
+ export const clearMinerCooldown = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => {
526
+ return (options?.client ?? client).post<ClearMinerCooldownResponse, ClearMinerCooldownError, ThrowOnError>({
527
+ ...options,
528
+ url: '/v1/admin/miners/{hotkey}/clear-cooldown'
529
+ });
481
530
  };
@@ -426,10 +426,6 @@ export type Body_submit_agent = {
426
426
  * Python agent file (max 1MB)
427
427
  */
428
428
  file: (Blob | File);
429
- /**
430
- * Chutes OAuth refresh token for miner-funded inference
431
- */
432
- chutes_refresh_token?: (string | null);
433
429
  };
434
430
 
435
431
  /**
@@ -480,6 +476,20 @@ export type ChallengeResponse = {
480
476
  expires_at: number;
481
477
  };
482
478
 
479
+ /**
480
+ * Response for Chutes auth status check.
481
+ */
482
+ export type ChutesAuthStatusResponse = {
483
+ /**
484
+ * Whether the miner has a stored Chutes token
485
+ */
486
+ connected: boolean;
487
+ /**
488
+ * When the token was last stored or rotated
489
+ */
490
+ updated_at?: (string | null);
491
+ };
492
+
483
493
  /**
484
494
  * Response for successful work claim.
485
495
  */
@@ -528,6 +538,10 @@ export type CodeAnalysisError = {
528
538
  violations?: Array<{
529
539
  [key: string]: unknown;
530
540
  }>;
541
+ /**
542
+ * Seconds remaining on cooldown (if cooldown was consumed by this submission)
543
+ */
544
+ remaining_seconds?: (number | null);
531
545
  };
532
546
 
533
547
  /**
@@ -1642,6 +1656,16 @@ export type SetTopResponse = {
1642
1656
  top_at: string;
1643
1657
  };
1644
1658
 
1659
+ /**
1660
+ * Request body for storing a Chutes refresh token.
1661
+ */
1662
+ export type StoreChutesTokenRequest = {
1663
+ /**
1664
+ * Chutes OAuth refresh token from a fresh code exchange
1665
+ */
1666
+ refresh_token: string;
1667
+ };
1668
+
1645
1669
  /**
1646
1670
  * Response model for agent submission.
1647
1671
  */
@@ -1878,6 +1902,30 @@ export type ValidatorPublic = {
1878
1902
  */
1879
1903
  export type ValidatorStatus = 'evaluating' | 'available';
1880
1904
 
1905
+ /**
1906
+ * Request body for waitlist signup.
1907
+ */
1908
+ export type WaitlistSignupRequest = {
1909
+ /**
1910
+ * Email address to add to the waitlist
1911
+ */
1912
+ email: string;
1913
+ /**
1914
+ * Signup source
1915
+ */
1916
+ source?: string;
1917
+ };
1918
+
1919
+ /**
1920
+ * Response from waitlist signup.
1921
+ */
1922
+ export type WaitlistSignupResponse = {
1923
+ /**
1924
+ * Whether signup was recorded
1925
+ */
1926
+ success: boolean;
1927
+ };
1928
+
1881
1929
  /**
1882
1930
  * Status of the work item after completion.
1883
1931
  */
@@ -2046,6 +2094,14 @@ export type GetPendingEvaluationsResponse = (PendingEvaluationsResponse);
2046
2094
 
2047
2095
  export type GetPendingEvaluationsError = (HTTPValidationError);
2048
2096
 
2097
+ export type JoinWaitlistData = {
2098
+ body: WaitlistSignupRequest;
2099
+ };
2100
+
2101
+ export type JoinWaitlistResponse = (WaitlistSignupResponse);
2102
+
2103
+ export type JoinWaitlistError = (HTTPValidationError);
2104
+
2049
2105
  export type RequestChallengeData = {
2050
2106
  body: ChallengeRequest;
2051
2107
  };
@@ -2080,6 +2136,20 @@ export type SubmitAgentResponse2 = (SubmitAgentResponse);
2080
2136
 
2081
2137
  export type SubmitAgentError = ((InvalidAgentNameError | InvalidFileError) | FileTooLargeError | CodeAnalysisError | (CooldownActiveError | RateLimitExceededError) | NoActiveSuiteError);
2082
2138
 
2139
+ export type StoreChutesTokenData = {
2140
+ body: StoreChutesTokenRequest;
2141
+ };
2142
+
2143
+ export type StoreChutesTokenResponse = ({
2144
+ [key: string]: unknown;
2145
+ });
2146
+
2147
+ export type StoreChutesTokenError = (HTTPValidationError);
2148
+
2149
+ export type GetChutesAuthStatusResponse = (ChutesAuthStatusResponse);
2150
+
2151
+ export type GetChutesAuthStatusError = unknown;
2152
+
2083
2153
  export type ListMinerAgentsResponse = (MinerAgentsResponse);
2084
2154
 
2085
2155
  export type ListMinerAgentsError = unknown;
@@ -2358,4 +2428,19 @@ export type GetAuditEventsError = (HTTPValidationError);
2358
2428
 
2359
2429
  export type GetReaperStatsResponse = (ReaperStatsResponse);
2360
2430
 
2361
- export type GetReaperStatsError = unknown;
2431
+ export type GetReaperStatsError = unknown;
2432
+
2433
+ export type ClearMinerCooldownData = {
2434
+ path: {
2435
+ /**
2436
+ * Miner hotkey
2437
+ */
2438
+ hotkey: string;
2439
+ };
2440
+ };
2441
+
2442
+ export type ClearMinerCooldownResponse = ({
2443
+ [key: string]: unknown;
2444
+ });
2445
+
2446
+ export type ClearMinerCooldownError = (HTTPValidationError);