@oro-ai/sdk 1.0.1 → 1.0.3

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
@@ -18,6 +18,224 @@ type ActivateSuiteResponse = {
18
18
  */
19
19
  is_active: boolean;
20
20
  };
21
+ /**
22
+ * An agent version entry for admin listing.
23
+ */
24
+ type AdminAgentVersionEntry = {
25
+ /**
26
+ * Agent version ID
27
+ */
28
+ agent_version_id: string;
29
+ /**
30
+ * Parent agent ID
31
+ */
32
+ agent_id: string;
33
+ /**
34
+ * Agent name
35
+ */
36
+ agent_name: string;
37
+ /**
38
+ * Miner hotkey that owns this agent
39
+ */
40
+ miner_hotkey: string;
41
+ /**
42
+ * Version number
43
+ */
44
+ version_number: number;
45
+ /**
46
+ * When this version was created
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * Whether version is eligible
51
+ */
52
+ is_eligible?: (boolean | null);
53
+ /**
54
+ * Whether version is discarded
55
+ */
56
+ is_discarded?: (boolean | null);
57
+ /**
58
+ * Final aggregate score
59
+ */
60
+ final_score?: (number | null);
61
+ /**
62
+ * Whether the work item is closed
63
+ */
64
+ work_item_is_closed?: (boolean | null);
65
+ /**
66
+ * Whether the work item is cancelled
67
+ */
68
+ work_item_is_cancelled?: (boolean | null);
69
+ /**
70
+ * Number of active evaluation runs
71
+ */
72
+ active_run_count?: (number | null);
73
+ /**
74
+ * Whether this is the current top agent
75
+ */
76
+ is_current_top?: boolean;
77
+ /**
78
+ * Number of included successful runs
79
+ */
80
+ work_item_included_success_count?: (number | null);
81
+ };
82
+ /**
83
+ * Response for admin agent versions listing.
84
+ */
85
+ type AdminAgentVersionsResponse = {
86
+ /**
87
+ * List of agent versions
88
+ */
89
+ agent_versions: Array<AdminAgentVersionEntry>;
90
+ /**
91
+ * Total agent versions matching filter
92
+ */
93
+ total: number;
94
+ /**
95
+ * Page size
96
+ */
97
+ limit: number;
98
+ /**
99
+ * Page offset
100
+ */
101
+ offset: number;
102
+ };
103
+ /**
104
+ * An evaluation run entry for admin listing.
105
+ */
106
+ type AdminEvaluationRunEntry = {
107
+ /**
108
+ * Evaluation run ID
109
+ */
110
+ run_id: string;
111
+ /**
112
+ * Agent version being evaluated
113
+ */
114
+ agent_version_id: string;
115
+ /**
116
+ * Validator performing evaluation
117
+ */
118
+ validator_hotkey: string;
119
+ /**
120
+ * Problem suite version
121
+ */
122
+ suite_id: number;
123
+ /**
124
+ * Run status
125
+ */
126
+ status: string;
127
+ /**
128
+ * When the run was claimed
129
+ */
130
+ claimed_at?: (string | null);
131
+ /**
132
+ * When the run completed
133
+ */
134
+ completed_at?: (string | null);
135
+ /**
136
+ * Last heartbeat timestamp
137
+ */
138
+ last_heartbeat_at?: (string | null);
139
+ /**
140
+ * Lease expiration
141
+ */
142
+ lease_expires_at?: (string | null);
143
+ /**
144
+ * Whether run is included in aggregate scoring
145
+ */
146
+ is_included: boolean;
147
+ /**
148
+ * Run score
149
+ */
150
+ score?: (number | null);
151
+ /**
152
+ * When the run was invalidated
153
+ */
154
+ invalidated_at?: (string | null);
155
+ /**
156
+ * Reason for invalidation
157
+ */
158
+ invalidation_reason?: (string | null);
159
+ /**
160
+ * When the run was created
161
+ */
162
+ created_at: string;
163
+ };
164
+ /**
165
+ * Response for admin evaluation runs listing.
166
+ */
167
+ type AdminEvaluationRunsResponse = {
168
+ /**
169
+ * List of evaluation runs
170
+ */
171
+ evaluation_runs: Array<AdminEvaluationRunEntry>;
172
+ /**
173
+ * Total evaluation runs matching filter
174
+ */
175
+ total: number;
176
+ /**
177
+ * Page size
178
+ */
179
+ limit: number;
180
+ /**
181
+ * Page offset
182
+ */
183
+ offset: number;
184
+ };
185
+ /**
186
+ * A miner entry for admin listing.
187
+ */
188
+ type AdminMinerEntry = {
189
+ /**
190
+ * Miner hotkey (SS58 address)
191
+ */
192
+ miner_hotkey: string;
193
+ /**
194
+ * Whether the miner is currently banned
195
+ */
196
+ is_banned: boolean;
197
+ /**
198
+ * Reason for ban if banned
199
+ */
200
+ ban_reason?: (string | null);
201
+ /**
202
+ * When the miner was banned
203
+ */
204
+ banned_at?: (string | null);
205
+ /**
206
+ * Number of agents owned by this miner
207
+ */
208
+ agent_count: number;
209
+ /**
210
+ * When the miner last submitted an agent
211
+ */
212
+ last_submitted_at?: (string | null);
213
+ /**
214
+ * When the miner was first registered
215
+ */
216
+ registered_at?: (string | null);
217
+ };
218
+ /**
219
+ * Response for admin miners listing.
220
+ */
221
+ type AdminMinersResponse = {
222
+ /**
223
+ * List of miners
224
+ */
225
+ miners: Array<AdminMinerEntry>;
226
+ /**
227
+ * Total miners matching filter
228
+ */
229
+ total: number;
230
+ /**
231
+ * Page size
232
+ */
233
+ limit: number;
234
+ /**
235
+ * Page offset
236
+ */
237
+ offset: number;
238
+ };
21
239
  /**
22
240
  * Reason for rejection of agent submission.
23
241
  */
@@ -212,6 +430,10 @@ type AgentVersionStatus = {
212
430
  * Whether artifacts are released
213
431
  */
214
432
  release_state?: ArtifactReleaseState;
433
+ /**
434
+ * When agent code becomes available for download (eligible_at + 24h)
435
+ */
436
+ code_available_at?: (string | null);
215
437
  /**
216
438
  * Per-validator scores on success
217
439
  */
@@ -2286,6 +2508,80 @@ type ClearMinerCooldownResponse = ({
2286
2508
  [key: string]: unknown;
2287
2509
  });
2288
2510
  type ClearMinerCooldownError = (HTTPValidationError);
2511
+ type ListMinersData = {
2512
+ query?: {
2513
+ /**
2514
+ * Filter by ban status
2515
+ */
2516
+ is_banned?: (boolean | null);
2517
+ /**
2518
+ * Number of miners to return
2519
+ */
2520
+ limit?: number;
2521
+ /**
2522
+ * Offset for pagination
2523
+ */
2524
+ offset?: number;
2525
+ };
2526
+ };
2527
+ type ListMinersResponse = (AdminMinersResponse);
2528
+ type ListMinersError = (HTTPValidationError);
2529
+ type ListAgentVersions1Data = {
2530
+ query?: {
2531
+ /**
2532
+ * Filter by discard status
2533
+ */
2534
+ is_discarded?: (boolean | null);
2535
+ /**
2536
+ * Filter by eligibility
2537
+ */
2538
+ is_eligible?: (boolean | null);
2539
+ /**
2540
+ * Number of versions to return
2541
+ */
2542
+ limit?: number;
2543
+ /**
2544
+ * Filter by miner hotkey
2545
+ */
2546
+ miner_hotkey?: (string | null);
2547
+ /**
2548
+ * Offset for pagination
2549
+ */
2550
+ offset?: number;
2551
+ /**
2552
+ * Suite ID (defaults to active suite)
2553
+ */
2554
+ suite_id?: (number | null);
2555
+ };
2556
+ };
2557
+ type ListAgentVersions1Response = (AdminAgentVersionsResponse);
2558
+ type ListAgentVersions1Error = (HTTPValidationError);
2559
+ type ListEvaluationRunsData = {
2560
+ query?: {
2561
+ /**
2562
+ * Filter by agent version ID
2563
+ */
2564
+ agent_version_id?: (string | null);
2565
+ /**
2566
+ * Number of runs to return
2567
+ */
2568
+ limit?: number;
2569
+ /**
2570
+ * Offset for pagination
2571
+ */
2572
+ offset?: number;
2573
+ /**
2574
+ * Filter by run status (e.g., RUNNING, SUCCESS)
2575
+ */
2576
+ status?: (EvaluationRunStatus | null);
2577
+ /**
2578
+ * Filter by validator hotkey
2579
+ */
2580
+ validator_hotkey?: (string | null);
2581
+ };
2582
+ };
2583
+ type ListEvaluationRunsResponse = (AdminEvaluationRunsResponse);
2584
+ type ListEvaluationRunsError = (HTTPValidationError);
2289
2585
 
2290
2586
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
2291
2587
  /**
@@ -2543,6 +2839,21 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
2543
2839
  * Clear the submission cooldown for a miner.
2544
2840
  */
2545
2841
  declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearMinerCooldownResponse, HTTPValidationError, ThrowOnError>;
2842
+ /**
2843
+ * List miners with ban status and agent count
2844
+ * List all miners with their ban status, agent count, and last submission time.
2845
+ */
2846
+ declare const listMiners: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminMinersResponse, HTTPValidationError, ThrowOnError>;
2847
+ /**
2848
+ * List agent versions with work item state
2849
+ * List agent versions with aggregate and work item state for a specific suite.
2850
+ */
2851
+ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAgentVersions1Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminAgentVersionsResponse, HTTPValidationError, ThrowOnError>;
2852
+ /**
2853
+ * List evaluation runs with full details
2854
+ * List evaluation runs with optional filtering and pagination.
2855
+ */
2856
+ declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
2546
2857
 
2547
2858
  /**
2548
2859
  * Auto-generated error code type.
@@ -2895,4 +3206,4 @@ declare class SessionAuthManager {
2895
3206
  */
2896
3207
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
2897
3208
 
2898
- 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 ClaimWorkData, 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 };
3209
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, 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 ClaimWorkData, 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 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 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, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.d.ts CHANGED
@@ -18,6 +18,224 @@ type ActivateSuiteResponse = {
18
18
  */
19
19
  is_active: boolean;
20
20
  };
21
+ /**
22
+ * An agent version entry for admin listing.
23
+ */
24
+ type AdminAgentVersionEntry = {
25
+ /**
26
+ * Agent version ID
27
+ */
28
+ agent_version_id: string;
29
+ /**
30
+ * Parent agent ID
31
+ */
32
+ agent_id: string;
33
+ /**
34
+ * Agent name
35
+ */
36
+ agent_name: string;
37
+ /**
38
+ * Miner hotkey that owns this agent
39
+ */
40
+ miner_hotkey: string;
41
+ /**
42
+ * Version number
43
+ */
44
+ version_number: number;
45
+ /**
46
+ * When this version was created
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * Whether version is eligible
51
+ */
52
+ is_eligible?: (boolean | null);
53
+ /**
54
+ * Whether version is discarded
55
+ */
56
+ is_discarded?: (boolean | null);
57
+ /**
58
+ * Final aggregate score
59
+ */
60
+ final_score?: (number | null);
61
+ /**
62
+ * Whether the work item is closed
63
+ */
64
+ work_item_is_closed?: (boolean | null);
65
+ /**
66
+ * Whether the work item is cancelled
67
+ */
68
+ work_item_is_cancelled?: (boolean | null);
69
+ /**
70
+ * Number of active evaluation runs
71
+ */
72
+ active_run_count?: (number | null);
73
+ /**
74
+ * Whether this is the current top agent
75
+ */
76
+ is_current_top?: boolean;
77
+ /**
78
+ * Number of included successful runs
79
+ */
80
+ work_item_included_success_count?: (number | null);
81
+ };
82
+ /**
83
+ * Response for admin agent versions listing.
84
+ */
85
+ type AdminAgentVersionsResponse = {
86
+ /**
87
+ * List of agent versions
88
+ */
89
+ agent_versions: Array<AdminAgentVersionEntry>;
90
+ /**
91
+ * Total agent versions matching filter
92
+ */
93
+ total: number;
94
+ /**
95
+ * Page size
96
+ */
97
+ limit: number;
98
+ /**
99
+ * Page offset
100
+ */
101
+ offset: number;
102
+ };
103
+ /**
104
+ * An evaluation run entry for admin listing.
105
+ */
106
+ type AdminEvaluationRunEntry = {
107
+ /**
108
+ * Evaluation run ID
109
+ */
110
+ run_id: string;
111
+ /**
112
+ * Agent version being evaluated
113
+ */
114
+ agent_version_id: string;
115
+ /**
116
+ * Validator performing evaluation
117
+ */
118
+ validator_hotkey: string;
119
+ /**
120
+ * Problem suite version
121
+ */
122
+ suite_id: number;
123
+ /**
124
+ * Run status
125
+ */
126
+ status: string;
127
+ /**
128
+ * When the run was claimed
129
+ */
130
+ claimed_at?: (string | null);
131
+ /**
132
+ * When the run completed
133
+ */
134
+ completed_at?: (string | null);
135
+ /**
136
+ * Last heartbeat timestamp
137
+ */
138
+ last_heartbeat_at?: (string | null);
139
+ /**
140
+ * Lease expiration
141
+ */
142
+ lease_expires_at?: (string | null);
143
+ /**
144
+ * Whether run is included in aggregate scoring
145
+ */
146
+ is_included: boolean;
147
+ /**
148
+ * Run score
149
+ */
150
+ score?: (number | null);
151
+ /**
152
+ * When the run was invalidated
153
+ */
154
+ invalidated_at?: (string | null);
155
+ /**
156
+ * Reason for invalidation
157
+ */
158
+ invalidation_reason?: (string | null);
159
+ /**
160
+ * When the run was created
161
+ */
162
+ created_at: string;
163
+ };
164
+ /**
165
+ * Response for admin evaluation runs listing.
166
+ */
167
+ type AdminEvaluationRunsResponse = {
168
+ /**
169
+ * List of evaluation runs
170
+ */
171
+ evaluation_runs: Array<AdminEvaluationRunEntry>;
172
+ /**
173
+ * Total evaluation runs matching filter
174
+ */
175
+ total: number;
176
+ /**
177
+ * Page size
178
+ */
179
+ limit: number;
180
+ /**
181
+ * Page offset
182
+ */
183
+ offset: number;
184
+ };
185
+ /**
186
+ * A miner entry for admin listing.
187
+ */
188
+ type AdminMinerEntry = {
189
+ /**
190
+ * Miner hotkey (SS58 address)
191
+ */
192
+ miner_hotkey: string;
193
+ /**
194
+ * Whether the miner is currently banned
195
+ */
196
+ is_banned: boolean;
197
+ /**
198
+ * Reason for ban if banned
199
+ */
200
+ ban_reason?: (string | null);
201
+ /**
202
+ * When the miner was banned
203
+ */
204
+ banned_at?: (string | null);
205
+ /**
206
+ * Number of agents owned by this miner
207
+ */
208
+ agent_count: number;
209
+ /**
210
+ * When the miner last submitted an agent
211
+ */
212
+ last_submitted_at?: (string | null);
213
+ /**
214
+ * When the miner was first registered
215
+ */
216
+ registered_at?: (string | null);
217
+ };
218
+ /**
219
+ * Response for admin miners listing.
220
+ */
221
+ type AdminMinersResponse = {
222
+ /**
223
+ * List of miners
224
+ */
225
+ miners: Array<AdminMinerEntry>;
226
+ /**
227
+ * Total miners matching filter
228
+ */
229
+ total: number;
230
+ /**
231
+ * Page size
232
+ */
233
+ limit: number;
234
+ /**
235
+ * Page offset
236
+ */
237
+ offset: number;
238
+ };
21
239
  /**
22
240
  * Reason for rejection of agent submission.
23
241
  */
@@ -212,6 +430,10 @@ type AgentVersionStatus = {
212
430
  * Whether artifacts are released
213
431
  */
214
432
  release_state?: ArtifactReleaseState;
433
+ /**
434
+ * When agent code becomes available for download (eligible_at + 24h)
435
+ */
436
+ code_available_at?: (string | null);
215
437
  /**
216
438
  * Per-validator scores on success
217
439
  */
@@ -2286,6 +2508,80 @@ type ClearMinerCooldownResponse = ({
2286
2508
  [key: string]: unknown;
2287
2509
  });
2288
2510
  type ClearMinerCooldownError = (HTTPValidationError);
2511
+ type ListMinersData = {
2512
+ query?: {
2513
+ /**
2514
+ * Filter by ban status
2515
+ */
2516
+ is_banned?: (boolean | null);
2517
+ /**
2518
+ * Number of miners to return
2519
+ */
2520
+ limit?: number;
2521
+ /**
2522
+ * Offset for pagination
2523
+ */
2524
+ offset?: number;
2525
+ };
2526
+ };
2527
+ type ListMinersResponse = (AdminMinersResponse);
2528
+ type ListMinersError = (HTTPValidationError);
2529
+ type ListAgentVersions1Data = {
2530
+ query?: {
2531
+ /**
2532
+ * Filter by discard status
2533
+ */
2534
+ is_discarded?: (boolean | null);
2535
+ /**
2536
+ * Filter by eligibility
2537
+ */
2538
+ is_eligible?: (boolean | null);
2539
+ /**
2540
+ * Number of versions to return
2541
+ */
2542
+ limit?: number;
2543
+ /**
2544
+ * Filter by miner hotkey
2545
+ */
2546
+ miner_hotkey?: (string | null);
2547
+ /**
2548
+ * Offset for pagination
2549
+ */
2550
+ offset?: number;
2551
+ /**
2552
+ * Suite ID (defaults to active suite)
2553
+ */
2554
+ suite_id?: (number | null);
2555
+ };
2556
+ };
2557
+ type ListAgentVersions1Response = (AdminAgentVersionsResponse);
2558
+ type ListAgentVersions1Error = (HTTPValidationError);
2559
+ type ListEvaluationRunsData = {
2560
+ query?: {
2561
+ /**
2562
+ * Filter by agent version ID
2563
+ */
2564
+ agent_version_id?: (string | null);
2565
+ /**
2566
+ * Number of runs to return
2567
+ */
2568
+ limit?: number;
2569
+ /**
2570
+ * Offset for pagination
2571
+ */
2572
+ offset?: number;
2573
+ /**
2574
+ * Filter by run status (e.g., RUNNING, SUCCESS)
2575
+ */
2576
+ status?: (EvaluationRunStatus | null);
2577
+ /**
2578
+ * Filter by validator hotkey
2579
+ */
2580
+ validator_hotkey?: (string | null);
2581
+ };
2582
+ };
2583
+ type ListEvaluationRunsResponse = (AdminEvaluationRunsResponse);
2584
+ type ListEvaluationRunsError = (HTTPValidationError);
2289
2585
 
2290
2586
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
2291
2587
  /**
@@ -2543,6 +2839,21 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
2543
2839
  * Clear the submission cooldown for a miner.
2544
2840
  */
2545
2841
  declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearMinerCooldownResponse, HTTPValidationError, ThrowOnError>;
2842
+ /**
2843
+ * List miners with ban status and agent count
2844
+ * List all miners with their ban status, agent count, and last submission time.
2845
+ */
2846
+ declare const listMiners: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminMinersResponse, HTTPValidationError, ThrowOnError>;
2847
+ /**
2848
+ * List agent versions with work item state
2849
+ * List agent versions with aggregate and work item state for a specific suite.
2850
+ */
2851
+ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAgentVersions1Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminAgentVersionsResponse, HTTPValidationError, ThrowOnError>;
2852
+ /**
2853
+ * List evaluation runs with full details
2854
+ * List evaluation runs with optional filtering and pagination.
2855
+ */
2856
+ declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
2546
2857
 
2547
2858
  /**
2548
2859
  * Auto-generated error code type.
@@ -2895,4 +3206,4 @@ declare class SessionAuthManager {
2895
3206
  */
2896
3207
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
2897
3208
 
2898
- 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 ClaimWorkData, 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 };
3209
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, 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 ClaimWorkData, 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 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 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, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.js CHANGED
@@ -78,7 +78,10 @@ __export(index_exports, {
78
78
  isTransientError: () => isTransientError,
79
79
  joinWaitlist: () => joinWaitlist,
80
80
  listAgentVersions: () => listAgentVersions,
81
+ listAgentVersions1: () => listAgentVersions1,
82
+ listEvaluationRuns: () => listEvaluationRuns,
81
83
  listMinerAgents: () => listMinerAgents,
84
+ listMiners: () => listMiners,
82
85
  logout: () => logout,
83
86
  parseRetryAfter: () => parseRetryAfter,
84
87
  presignUpload: () => presignUpload,
@@ -366,6 +369,24 @@ var clearMinerCooldown = (options) => {
366
369
  url: "/v1/admin/miners/{hotkey}/clear-cooldown"
367
370
  });
368
371
  };
372
+ var listMiners = (options) => {
373
+ return (options?.client ?? client).get({
374
+ ...options,
375
+ url: "/v1/admin/miners"
376
+ });
377
+ };
378
+ var listAgentVersions1 = (options) => {
379
+ return (options?.client ?? client).get({
380
+ ...options,
381
+ url: "/v1/admin/agent-versions"
382
+ });
383
+ };
384
+ var listEvaluationRuns = (options) => {
385
+ return (options?.client ?? client).get({
386
+ ...options,
387
+ url: "/v1/admin/evaluation-runs"
388
+ });
389
+ };
369
390
 
370
391
  // src/errors.ts
371
392
  function classifyStatus(status) {
@@ -776,7 +797,10 @@ function configureSessionAuth(baseUrl, config) {
776
797
  isTransientError,
777
798
  joinWaitlist,
778
799
  listAgentVersions,
800
+ listAgentVersions1,
801
+ listEvaluationRuns,
779
802
  listMinerAgents,
803
+ listMiners,
780
804
  logout,
781
805
  parseRetryAfter,
782
806
  presignUpload,
package/dist/index.mjs CHANGED
@@ -270,6 +270,24 @@ var clearMinerCooldown = (options) => {
270
270
  url: "/v1/admin/miners/{hotkey}/clear-cooldown"
271
271
  });
272
272
  };
273
+ var listMiners = (options) => {
274
+ return (options?.client ?? client).get({
275
+ ...options,
276
+ url: "/v1/admin/miners"
277
+ });
278
+ };
279
+ var listAgentVersions1 = (options) => {
280
+ return (options?.client ?? client).get({
281
+ ...options,
282
+ url: "/v1/admin/agent-versions"
283
+ });
284
+ };
285
+ var listEvaluationRuns = (options) => {
286
+ return (options?.client ?? client).get({
287
+ ...options,
288
+ url: "/v1/admin/evaluation-runs"
289
+ });
290
+ };
273
291
 
274
292
  // src/errors.ts
275
293
  function classifyStatus(status) {
@@ -679,7 +697,10 @@ export {
679
697
  isTransientError,
680
698
  joinWaitlist,
681
699
  listAgentVersions,
700
+ listAgentVersions1,
701
+ listEvaluationRuns,
682
702
  listMinerAgents,
703
+ listMiners,
683
704
  logout,
684
705
  parseRetryAfter,
685
706
  presignUpload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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, 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, ClaimWorkData, 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';
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, ClaimWorkData, 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, ListMinersData, ListMinersError, ListMinersResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -527,4 +527,37 @@ export const clearMinerCooldown = <ThrowOnError extends boolean = false>(options
527
527
  ...options,
528
528
  url: '/v1/admin/miners/{hotkey}/clear-cooldown'
529
529
  });
530
+ };
531
+
532
+ /**
533
+ * List miners with ban status and agent count
534
+ * List all miners with their ban status, agent count, and last submission time.
535
+ */
536
+ export const listMiners = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => {
537
+ return (options?.client ?? client).get<ListMinersResponse, ListMinersError, ThrowOnError>({
538
+ ...options,
539
+ url: '/v1/admin/miners'
540
+ });
541
+ };
542
+
543
+ /**
544
+ * List agent versions with work item state
545
+ * List agent versions with aggregate and work item state for a specific suite.
546
+ */
547
+ export const listAgentVersions1 = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAgentVersions1Data, ThrowOnError>) => {
548
+ return (options?.client ?? client).get<ListAgentVersions1Response, ListAgentVersions1Error, ThrowOnError>({
549
+ ...options,
550
+ url: '/v1/admin/agent-versions'
551
+ });
552
+ };
553
+
554
+ /**
555
+ * List evaluation runs with full details
556
+ * List evaluation runs with optional filtering and pagination.
557
+ */
558
+ export const listEvaluationRuns = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => {
559
+ return (options?.client ?? client).get<ListEvaluationRunsResponse, ListEvaluationRunsError, ThrowOnError>({
560
+ ...options,
561
+ url: '/v1/admin/evaluation-runs'
562
+ });
530
563
  };
@@ -18,6 +18,230 @@ export type ActivateSuiteResponse = {
18
18
  is_active: boolean;
19
19
  };
20
20
 
21
+ /**
22
+ * An agent version entry for admin listing.
23
+ */
24
+ export type AdminAgentVersionEntry = {
25
+ /**
26
+ * Agent version ID
27
+ */
28
+ agent_version_id: string;
29
+ /**
30
+ * Parent agent ID
31
+ */
32
+ agent_id: string;
33
+ /**
34
+ * Agent name
35
+ */
36
+ agent_name: string;
37
+ /**
38
+ * Miner hotkey that owns this agent
39
+ */
40
+ miner_hotkey: string;
41
+ /**
42
+ * Version number
43
+ */
44
+ version_number: number;
45
+ /**
46
+ * When this version was created
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * Whether version is eligible
51
+ */
52
+ is_eligible?: (boolean | null);
53
+ /**
54
+ * Whether version is discarded
55
+ */
56
+ is_discarded?: (boolean | null);
57
+ /**
58
+ * Final aggregate score
59
+ */
60
+ final_score?: (number | null);
61
+ /**
62
+ * Whether the work item is closed
63
+ */
64
+ work_item_is_closed?: (boolean | null);
65
+ /**
66
+ * Whether the work item is cancelled
67
+ */
68
+ work_item_is_cancelled?: (boolean | null);
69
+ /**
70
+ * Number of active evaluation runs
71
+ */
72
+ active_run_count?: (number | null);
73
+ /**
74
+ * Whether this is the current top agent
75
+ */
76
+ is_current_top?: boolean;
77
+ /**
78
+ * Number of included successful runs
79
+ */
80
+ work_item_included_success_count?: (number | null);
81
+ };
82
+
83
+ /**
84
+ * Response for admin agent versions listing.
85
+ */
86
+ export type AdminAgentVersionsResponse = {
87
+ /**
88
+ * List of agent versions
89
+ */
90
+ agent_versions: Array<AdminAgentVersionEntry>;
91
+ /**
92
+ * Total agent versions matching filter
93
+ */
94
+ total: number;
95
+ /**
96
+ * Page size
97
+ */
98
+ limit: number;
99
+ /**
100
+ * Page offset
101
+ */
102
+ offset: number;
103
+ };
104
+
105
+ /**
106
+ * An evaluation run entry for admin listing.
107
+ */
108
+ export type AdminEvaluationRunEntry = {
109
+ /**
110
+ * Evaluation run ID
111
+ */
112
+ run_id: string;
113
+ /**
114
+ * Agent version being evaluated
115
+ */
116
+ agent_version_id: string;
117
+ /**
118
+ * Validator performing evaluation
119
+ */
120
+ validator_hotkey: string;
121
+ /**
122
+ * Problem suite version
123
+ */
124
+ suite_id: number;
125
+ /**
126
+ * Run status
127
+ */
128
+ status: string;
129
+ /**
130
+ * When the run was claimed
131
+ */
132
+ claimed_at?: (string | null);
133
+ /**
134
+ * When the run completed
135
+ */
136
+ completed_at?: (string | null);
137
+ /**
138
+ * Last heartbeat timestamp
139
+ */
140
+ last_heartbeat_at?: (string | null);
141
+ /**
142
+ * Lease expiration
143
+ */
144
+ lease_expires_at?: (string | null);
145
+ /**
146
+ * Whether run is included in aggregate scoring
147
+ */
148
+ is_included: boolean;
149
+ /**
150
+ * Run score
151
+ */
152
+ score?: (number | null);
153
+ /**
154
+ * When the run was invalidated
155
+ */
156
+ invalidated_at?: (string | null);
157
+ /**
158
+ * Reason for invalidation
159
+ */
160
+ invalidation_reason?: (string | null);
161
+ /**
162
+ * When the run was created
163
+ */
164
+ created_at: string;
165
+ };
166
+
167
+ /**
168
+ * Response for admin evaluation runs listing.
169
+ */
170
+ export type AdminEvaluationRunsResponse = {
171
+ /**
172
+ * List of evaluation runs
173
+ */
174
+ evaluation_runs: Array<AdminEvaluationRunEntry>;
175
+ /**
176
+ * Total evaluation runs matching filter
177
+ */
178
+ total: number;
179
+ /**
180
+ * Page size
181
+ */
182
+ limit: number;
183
+ /**
184
+ * Page offset
185
+ */
186
+ offset: number;
187
+ };
188
+
189
+ /**
190
+ * A miner entry for admin listing.
191
+ */
192
+ export type AdminMinerEntry = {
193
+ /**
194
+ * Miner hotkey (SS58 address)
195
+ */
196
+ miner_hotkey: string;
197
+ /**
198
+ * Whether the miner is currently banned
199
+ */
200
+ is_banned: boolean;
201
+ /**
202
+ * Reason for ban if banned
203
+ */
204
+ ban_reason?: (string | null);
205
+ /**
206
+ * When the miner was banned
207
+ */
208
+ banned_at?: (string | null);
209
+ /**
210
+ * Number of agents owned by this miner
211
+ */
212
+ agent_count: number;
213
+ /**
214
+ * When the miner last submitted an agent
215
+ */
216
+ last_submitted_at?: (string | null);
217
+ /**
218
+ * When the miner was first registered
219
+ */
220
+ registered_at?: (string | null);
221
+ };
222
+
223
+ /**
224
+ * Response for admin miners listing.
225
+ */
226
+ export type AdminMinersResponse = {
227
+ /**
228
+ * List of miners
229
+ */
230
+ miners: Array<AdminMinerEntry>;
231
+ /**
232
+ * Total miners matching filter
233
+ */
234
+ total: number;
235
+ /**
236
+ * Page size
237
+ */
238
+ limit: number;
239
+ /**
240
+ * Page offset
241
+ */
242
+ offset: number;
243
+ };
244
+
21
245
  /**
22
246
  * Reason for rejection of agent submission.
23
247
  */
@@ -221,6 +445,10 @@ export type AgentVersionStatus = {
221
445
  * Whether artifacts are released
222
446
  */
223
447
  release_state?: ArtifactReleaseState;
448
+ /**
449
+ * When agent code becomes available for download (eligible_at + 24h)
450
+ */
451
+ code_available_at?: (string | null);
224
452
  /**
225
453
  * Per-validator scores on success
226
454
  */
@@ -2509,4 +2737,87 @@ export type ClearMinerCooldownResponse = ({
2509
2737
  [key: string]: unknown;
2510
2738
  });
2511
2739
 
2512
- export type ClearMinerCooldownError = (HTTPValidationError);
2740
+ export type ClearMinerCooldownError = (HTTPValidationError);
2741
+
2742
+ export type ListMinersData = {
2743
+ query?: {
2744
+ /**
2745
+ * Filter by ban status
2746
+ */
2747
+ is_banned?: (boolean | null);
2748
+ /**
2749
+ * Number of miners to return
2750
+ */
2751
+ limit?: number;
2752
+ /**
2753
+ * Offset for pagination
2754
+ */
2755
+ offset?: number;
2756
+ };
2757
+ };
2758
+
2759
+ export type ListMinersResponse = (AdminMinersResponse);
2760
+
2761
+ export type ListMinersError = (HTTPValidationError);
2762
+
2763
+ export type ListAgentVersions1Data = {
2764
+ query?: {
2765
+ /**
2766
+ * Filter by discard status
2767
+ */
2768
+ is_discarded?: (boolean | null);
2769
+ /**
2770
+ * Filter by eligibility
2771
+ */
2772
+ is_eligible?: (boolean | null);
2773
+ /**
2774
+ * Number of versions to return
2775
+ */
2776
+ limit?: number;
2777
+ /**
2778
+ * Filter by miner hotkey
2779
+ */
2780
+ miner_hotkey?: (string | null);
2781
+ /**
2782
+ * Offset for pagination
2783
+ */
2784
+ offset?: number;
2785
+ /**
2786
+ * Suite ID (defaults to active suite)
2787
+ */
2788
+ suite_id?: (number | null);
2789
+ };
2790
+ };
2791
+
2792
+ export type ListAgentVersions1Response = (AdminAgentVersionsResponse);
2793
+
2794
+ export type ListAgentVersions1Error = (HTTPValidationError);
2795
+
2796
+ export type ListEvaluationRunsData = {
2797
+ query?: {
2798
+ /**
2799
+ * Filter by agent version ID
2800
+ */
2801
+ agent_version_id?: (string | null);
2802
+ /**
2803
+ * Number of runs to return
2804
+ */
2805
+ limit?: number;
2806
+ /**
2807
+ * Offset for pagination
2808
+ */
2809
+ offset?: number;
2810
+ /**
2811
+ * Filter by run status (e.g., RUNNING, SUCCESS)
2812
+ */
2813
+ status?: (EvaluationRunStatus | null);
2814
+ /**
2815
+ * Filter by validator hotkey
2816
+ */
2817
+ validator_hotkey?: (string | null);
2818
+ };
2819
+ };
2820
+
2821
+ export type ListEvaluationRunsResponse = (AdminEvaluationRunsResponse);
2822
+
2823
+ export type ListEvaluationRunsError = (HTTPValidationError);