@oro-ai/sdk 1.0.6 → 1.0.8

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
@@ -236,6 +236,90 @@ type AdminMinersResponse = {
236
236
  */
237
237
  offset: number;
238
238
  };
239
+ /**
240
+ * Extends ValidatorPublic with admin-only fields (ban status).
241
+ */
242
+ type AdminValidatorEntry = {
243
+ /**
244
+ * Validator's SS58 address
245
+ */
246
+ hotkey: string;
247
+ /**
248
+ * On-chain identity name, if set
249
+ */
250
+ name?: (string | null);
251
+ /**
252
+ * Current validator status
253
+ */
254
+ status: ValidatorStatus;
255
+ /**
256
+ * When validator was registered
257
+ */
258
+ registered_at: string;
259
+ /**
260
+ * Last work claim time
261
+ */
262
+ last_claim_at?: (string | null);
263
+ /**
264
+ * Last time validator was seen
265
+ */
266
+ last_seen_at?: (string | null);
267
+ /**
268
+ * Agent currently being evaluated, if any
269
+ */
270
+ current_agent?: (ValidatorCurrentAgent | null);
271
+ /**
272
+ * Docker image digests for validator stack services
273
+ */
274
+ service_versions?: ({
275
+ [key: string]: (string);
276
+ } | null);
277
+ /**
278
+ * On-chain identity URL
279
+ */
280
+ identity_url?: (string | null);
281
+ /**
282
+ * On-chain identity image URL
283
+ */
284
+ identity_image?: (string | null);
285
+ /**
286
+ * On-chain identity description
287
+ */
288
+ identity_description?: (string | null);
289
+ /**
290
+ * Whether banned
291
+ */
292
+ is_banned: boolean;
293
+ /**
294
+ * Ban reason
295
+ */
296
+ ban_reason?: (string | null);
297
+ /**
298
+ * When banned
299
+ */
300
+ banned_at?: (string | null);
301
+ };
302
+ /**
303
+ * Response for admin validators listing.
304
+ */
305
+ type AdminValidatorsResponse = {
306
+ /**
307
+ * List of validators
308
+ */
309
+ validators: Array<AdminValidatorEntry>;
310
+ /**
311
+ * Total matching filter
312
+ */
313
+ total: number;
314
+ /**
315
+ * Page size
316
+ */
317
+ limit: number;
318
+ /**
319
+ * Page offset
320
+ */
321
+ offset: number;
322
+ };
239
323
  /**
240
324
  * Reason for rejection of agent submission.
241
325
  */
@@ -2166,7 +2250,7 @@ type ValidatorPublic = {
2166
2250
  identity_description?: (string | null);
2167
2251
  };
2168
2252
  /**
2169
- * Response for validator scoring analytics.
2253
+ * Response for validator scoring and performance analytics.
2170
2254
  */
2171
2255
  type ValidatorScoresResponse = {
2172
2256
  /**
@@ -2181,9 +2265,13 @@ type ValidatorScoresResponse = {
2181
2265
  * Global standard deviation
2182
2266
  */
2183
2267
  global_stddev: number;
2268
+ /**
2269
+ * Global average execution time
2270
+ */
2271
+ global_avg_execution_seconds?: number;
2184
2272
  };
2185
2273
  /**
2186
- * Aggregated scoring stats for a single validator.
2274
+ * Aggregated scoring and performance stats for a single validator.
2187
2275
  */
2188
2276
  type ValidatorScoreSummary = {
2189
2277
  /**
@@ -2222,6 +2310,54 @@ type ValidatorScoreSummary = {
2222
2310
  * True if deviation exceeds 1.5 standard deviations from global mean
2223
2311
  */
2224
2312
  is_outlier: boolean;
2313
+ /**
2314
+ * Mean seconds from claimed to completed
2315
+ */
2316
+ avg_execution_seconds?: number;
2317
+ /**
2318
+ * Median execution time in seconds
2319
+ */
2320
+ median_execution_seconds?: number;
2321
+ /**
2322
+ * Fastest run
2323
+ */
2324
+ min_execution_seconds?: number;
2325
+ /**
2326
+ * Slowest run
2327
+ */
2328
+ max_execution_seconds?: number;
2329
+ /**
2330
+ * % deviation from global avg execution time
2331
+ */
2332
+ execution_deviation_pct?: number;
2333
+ /**
2334
+ * Significantly slower than peers
2335
+ */
2336
+ is_slow_outlier?: boolean;
2337
+ /**
2338
+ * SUCCESS runs
2339
+ */
2340
+ success_count?: number;
2341
+ /**
2342
+ * FAILED runs
2343
+ */
2344
+ failed_count?: number;
2345
+ /**
2346
+ * TIMED_OUT runs
2347
+ */
2348
+ timed_out_count?: number;
2349
+ /**
2350
+ * success / total
2351
+ */
2352
+ success_rate?: number;
2353
+ /**
2354
+ * Most recent failure reason
2355
+ */
2356
+ last_failure_reason?: (string | null);
2357
+ /**
2358
+ * When last failure occurred
2359
+ */
2360
+ last_failure_at?: (string | null);
2225
2361
  };
2226
2362
  /**
2227
2363
  * Status of a validator.
@@ -2687,6 +2823,24 @@ type ListMinersData = {
2687
2823
  };
2688
2824
  type ListMinersResponse = (AdminMinersResponse);
2689
2825
  type ListMinersError = (HTTPValidationError);
2826
+ type ListValidatorsData = {
2827
+ query?: {
2828
+ /**
2829
+ * Filter by ban status
2830
+ */
2831
+ is_banned?: (boolean | null);
2832
+ /**
2833
+ * Page size
2834
+ */
2835
+ limit?: number;
2836
+ /**
2837
+ * Offset
2838
+ */
2839
+ offset?: number;
2840
+ };
2841
+ };
2842
+ type ListValidatorsResponse = (AdminValidatorsResponse);
2843
+ type ListValidatorsError = (HTTPValidationError);
2690
2844
  type ListAgentVersions1Data = {
2691
2845
  query?: {
2692
2846
  /**
@@ -2852,7 +3006,7 @@ declare const getAgentVersionProblems: <ThrowOnError extends boolean = false>(op
2852
3006
  declare const getAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AgentVersionPublic, GetAgentVersionError, ThrowOnError>;
2853
3007
  /**
2854
3008
  * Get artifact download URL
2855
- * Get a presigned URL to download released artifacts.
3009
+ * Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
2856
3010
  */
2857
3011
  declare const getArtifactDownloadUrl: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ArtifactDownloadResponse, GetArtifactDownloadUrlError, ThrowOnError>;
2858
3012
  /**
@@ -3065,6 +3219,11 @@ declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options
3065
3219
  * List all miners with their ban status, agent count, and last submission time.
3066
3220
  */
3067
3221
  declare const listMiners: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminMinersResponse, HTTPValidationError, ThrowOnError>;
3222
+ /**
3223
+ * List validators including banned
3224
+ * List all validators including banned ones.
3225
+ */
3226
+ declare const listValidators: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListValidatorsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminValidatorsResponse, HTTPValidationError, ThrowOnError>;
3068
3227
  /**
3069
3228
  * List agent versions with work item state
3070
3229
  * List agent versions with aggregate and work item state for a specific suite.
@@ -3077,7 +3236,7 @@ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options
3077
3236
  declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
3078
3237
  /**
3079
3238
  * Aggregated scoring statistics per validator
3080
- * Compute per-validator scoring statistics from completed runs.
3239
+ * Compute per-validator scoring and performance statistics.
3081
3240
  */
3082
3241
  declare const getValidatorScores: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetValidatorScoresData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorScoresResponse, HTTPValidationError, ThrowOnError>;
3083
3242
  /**
@@ -3437,4 +3596,4 @@ declare class SessionAuthManager {
3437
3596
  */
3438
3597
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
3439
3598
 
3440
- 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 AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type 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 GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, 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 GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type 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 ValidatorScoreSummary, type ValidatorScoresResponse, 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, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidatorScores, 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 };
3599
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type 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 GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, 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 GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type 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 ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, 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 ValidatorScoreSummary, type ValidatorScoresResponse, 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, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.d.ts CHANGED
@@ -236,6 +236,90 @@ type AdminMinersResponse = {
236
236
  */
237
237
  offset: number;
238
238
  };
239
+ /**
240
+ * Extends ValidatorPublic with admin-only fields (ban status).
241
+ */
242
+ type AdminValidatorEntry = {
243
+ /**
244
+ * Validator's SS58 address
245
+ */
246
+ hotkey: string;
247
+ /**
248
+ * On-chain identity name, if set
249
+ */
250
+ name?: (string | null);
251
+ /**
252
+ * Current validator status
253
+ */
254
+ status: ValidatorStatus;
255
+ /**
256
+ * When validator was registered
257
+ */
258
+ registered_at: string;
259
+ /**
260
+ * Last work claim time
261
+ */
262
+ last_claim_at?: (string | null);
263
+ /**
264
+ * Last time validator was seen
265
+ */
266
+ last_seen_at?: (string | null);
267
+ /**
268
+ * Agent currently being evaluated, if any
269
+ */
270
+ current_agent?: (ValidatorCurrentAgent | null);
271
+ /**
272
+ * Docker image digests for validator stack services
273
+ */
274
+ service_versions?: ({
275
+ [key: string]: (string);
276
+ } | null);
277
+ /**
278
+ * On-chain identity URL
279
+ */
280
+ identity_url?: (string | null);
281
+ /**
282
+ * On-chain identity image URL
283
+ */
284
+ identity_image?: (string | null);
285
+ /**
286
+ * On-chain identity description
287
+ */
288
+ identity_description?: (string | null);
289
+ /**
290
+ * Whether banned
291
+ */
292
+ is_banned: boolean;
293
+ /**
294
+ * Ban reason
295
+ */
296
+ ban_reason?: (string | null);
297
+ /**
298
+ * When banned
299
+ */
300
+ banned_at?: (string | null);
301
+ };
302
+ /**
303
+ * Response for admin validators listing.
304
+ */
305
+ type AdminValidatorsResponse = {
306
+ /**
307
+ * List of validators
308
+ */
309
+ validators: Array<AdminValidatorEntry>;
310
+ /**
311
+ * Total matching filter
312
+ */
313
+ total: number;
314
+ /**
315
+ * Page size
316
+ */
317
+ limit: number;
318
+ /**
319
+ * Page offset
320
+ */
321
+ offset: number;
322
+ };
239
323
  /**
240
324
  * Reason for rejection of agent submission.
241
325
  */
@@ -2166,7 +2250,7 @@ type ValidatorPublic = {
2166
2250
  identity_description?: (string | null);
2167
2251
  };
2168
2252
  /**
2169
- * Response for validator scoring analytics.
2253
+ * Response for validator scoring and performance analytics.
2170
2254
  */
2171
2255
  type ValidatorScoresResponse = {
2172
2256
  /**
@@ -2181,9 +2265,13 @@ type ValidatorScoresResponse = {
2181
2265
  * Global standard deviation
2182
2266
  */
2183
2267
  global_stddev: number;
2268
+ /**
2269
+ * Global average execution time
2270
+ */
2271
+ global_avg_execution_seconds?: number;
2184
2272
  };
2185
2273
  /**
2186
- * Aggregated scoring stats for a single validator.
2274
+ * Aggregated scoring and performance stats for a single validator.
2187
2275
  */
2188
2276
  type ValidatorScoreSummary = {
2189
2277
  /**
@@ -2222,6 +2310,54 @@ type ValidatorScoreSummary = {
2222
2310
  * True if deviation exceeds 1.5 standard deviations from global mean
2223
2311
  */
2224
2312
  is_outlier: boolean;
2313
+ /**
2314
+ * Mean seconds from claimed to completed
2315
+ */
2316
+ avg_execution_seconds?: number;
2317
+ /**
2318
+ * Median execution time in seconds
2319
+ */
2320
+ median_execution_seconds?: number;
2321
+ /**
2322
+ * Fastest run
2323
+ */
2324
+ min_execution_seconds?: number;
2325
+ /**
2326
+ * Slowest run
2327
+ */
2328
+ max_execution_seconds?: number;
2329
+ /**
2330
+ * % deviation from global avg execution time
2331
+ */
2332
+ execution_deviation_pct?: number;
2333
+ /**
2334
+ * Significantly slower than peers
2335
+ */
2336
+ is_slow_outlier?: boolean;
2337
+ /**
2338
+ * SUCCESS runs
2339
+ */
2340
+ success_count?: number;
2341
+ /**
2342
+ * FAILED runs
2343
+ */
2344
+ failed_count?: number;
2345
+ /**
2346
+ * TIMED_OUT runs
2347
+ */
2348
+ timed_out_count?: number;
2349
+ /**
2350
+ * success / total
2351
+ */
2352
+ success_rate?: number;
2353
+ /**
2354
+ * Most recent failure reason
2355
+ */
2356
+ last_failure_reason?: (string | null);
2357
+ /**
2358
+ * When last failure occurred
2359
+ */
2360
+ last_failure_at?: (string | null);
2225
2361
  };
2226
2362
  /**
2227
2363
  * Status of a validator.
@@ -2687,6 +2823,24 @@ type ListMinersData = {
2687
2823
  };
2688
2824
  type ListMinersResponse = (AdminMinersResponse);
2689
2825
  type ListMinersError = (HTTPValidationError);
2826
+ type ListValidatorsData = {
2827
+ query?: {
2828
+ /**
2829
+ * Filter by ban status
2830
+ */
2831
+ is_banned?: (boolean | null);
2832
+ /**
2833
+ * Page size
2834
+ */
2835
+ limit?: number;
2836
+ /**
2837
+ * Offset
2838
+ */
2839
+ offset?: number;
2840
+ };
2841
+ };
2842
+ type ListValidatorsResponse = (AdminValidatorsResponse);
2843
+ type ListValidatorsError = (HTTPValidationError);
2690
2844
  type ListAgentVersions1Data = {
2691
2845
  query?: {
2692
2846
  /**
@@ -2852,7 +3006,7 @@ declare const getAgentVersionProblems: <ThrowOnError extends boolean = false>(op
2852
3006
  declare const getAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AgentVersionPublic, GetAgentVersionError, ThrowOnError>;
2853
3007
  /**
2854
3008
  * Get artifact download URL
2855
- * Get a presigned URL to download released artifacts.
3009
+ * Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
2856
3010
  */
2857
3011
  declare const getArtifactDownloadUrl: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ArtifactDownloadResponse, GetArtifactDownloadUrlError, ThrowOnError>;
2858
3012
  /**
@@ -3065,6 +3219,11 @@ declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options
3065
3219
  * List all miners with their ban status, agent count, and last submission time.
3066
3220
  */
3067
3221
  declare const listMiners: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminMinersResponse, HTTPValidationError, ThrowOnError>;
3222
+ /**
3223
+ * List validators including banned
3224
+ * List all validators including banned ones.
3225
+ */
3226
+ declare const listValidators: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListValidatorsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminValidatorsResponse, HTTPValidationError, ThrowOnError>;
3068
3227
  /**
3069
3228
  * List agent versions with work item state
3070
3229
  * List agent versions with aggregate and work item state for a specific suite.
@@ -3077,7 +3236,7 @@ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options
3077
3236
  declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
3078
3237
  /**
3079
3238
  * Aggregated scoring statistics per validator
3080
- * Compute per-validator scoring statistics from completed runs.
3239
+ * Compute per-validator scoring and performance statistics.
3081
3240
  */
3082
3241
  declare const getValidatorScores: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetValidatorScoresData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ValidatorScoresResponse, HTTPValidationError, ThrowOnError>;
3083
3242
  /**
@@ -3437,4 +3596,4 @@ declare class SessionAuthManager {
3437
3596
  */
3438
3597
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
3439
3598
 
3440
- 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 AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type 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 GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, 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 GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type 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 ValidatorScoreSummary, type ValidatorScoresResponse, 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, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidatorScores, 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 };
3599
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type 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 GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, 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 GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type 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 ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, 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 ValidatorScoreSummary, type ValidatorScoresResponse, 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, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.js CHANGED
@@ -84,6 +84,7 @@ __export(index_exports, {
84
84
  listEvaluationRuns: () => listEvaluationRuns,
85
85
  listMinerAgents: () => listMinerAgents,
86
86
  listMiners: () => listMiners,
87
+ listValidators: () => listValidators,
87
88
  logout: () => logout,
88
89
  parseRetryAfter: () => parseRetryAfter,
89
90
  presignUpload: () => presignUpload,
@@ -377,6 +378,12 @@ var listMiners = (options) => {
377
378
  url: "/v1/admin/miners"
378
379
  });
379
380
  };
381
+ var listValidators = (options) => {
382
+ return (options?.client ?? client).get({
383
+ ...options,
384
+ url: "/v1/admin/validators"
385
+ });
386
+ };
380
387
  var listAgentVersions1 = (options) => {
381
388
  return (options?.client ?? client).get({
382
389
  ...options,
@@ -817,6 +824,7 @@ function configureSessionAuth(baseUrl, config) {
817
824
  listEvaluationRuns,
818
825
  listMinerAgents,
819
826
  listMiners,
827
+ listValidators,
820
828
  logout,
821
829
  parseRetryAfter,
822
830
  presignUpload,
package/dist/index.mjs CHANGED
@@ -276,6 +276,12 @@ var listMiners = (options) => {
276
276
  url: "/v1/admin/miners"
277
277
  });
278
278
  };
279
+ var listValidators = (options) => {
280
+ return (options?.client ?? client).get({
281
+ ...options,
282
+ url: "/v1/admin/validators"
283
+ });
284
+ };
279
285
  var listAgentVersions1 = (options) => {
280
286
  return (options?.client ?? client).get({
281
287
  ...options,
@@ -715,6 +721,7 @@ export {
715
721
  listEvaluationRuns,
716
722
  listMinerAgents,
717
723
  listMiners,
724
+ listValidators,
718
725
  logout,
719
726
  parseRetryAfter,
720
727
  presignUpload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
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, ListMinersData, ListMinersError, ListMinersResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse } 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, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -106,7 +106,7 @@ export const getAgentVersion = <ThrowOnError extends boolean = false>(options: O
106
106
 
107
107
  /**
108
108
  * Get artifact download URL
109
- * Get a presigned URL to download released artifacts.
109
+ * Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
110
110
  */
111
111
  export const getArtifactDownloadUrl = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => {
112
112
  return (options?.client ?? client).post<GetArtifactDownloadUrlResponse, GetArtifactDownloadUrlError, ThrowOnError>({
@@ -540,6 +540,17 @@ export const listMiners = <ThrowOnError extends boolean = false>(options?: Optio
540
540
  });
541
541
  };
542
542
 
543
+ /**
544
+ * List validators including banned
545
+ * List all validators including banned ones.
546
+ */
547
+ export const listValidators = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListValidatorsData, ThrowOnError>) => {
548
+ return (options?.client ?? client).get<ListValidatorsResponse, ListValidatorsError, ThrowOnError>({
549
+ ...options,
550
+ url: '/v1/admin/validators'
551
+ });
552
+ };
553
+
543
554
  /**
544
555
  * List agent versions with work item state
545
556
  * List agent versions with aggregate and work item state for a specific suite.
@@ -564,7 +575,7 @@ export const listEvaluationRuns = <ThrowOnError extends boolean = false>(options
564
575
 
565
576
  /**
566
577
  * Aggregated scoring statistics per validator
567
- * Compute per-validator scoring statistics from completed runs.
578
+ * Compute per-validator scoring and performance statistics.
568
579
  */
569
580
  export const getValidatorScores = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetValidatorScoresData, ThrowOnError>) => {
570
581
  return (options?.client ?? client).get<GetValidatorScoresResponse, GetValidatorScoresError, ThrowOnError>({
@@ -242,6 +242,92 @@ export type AdminMinersResponse = {
242
242
  offset: number;
243
243
  };
244
244
 
245
+ /**
246
+ * Extends ValidatorPublic with admin-only fields (ban status).
247
+ */
248
+ export type AdminValidatorEntry = {
249
+ /**
250
+ * Validator's SS58 address
251
+ */
252
+ hotkey: string;
253
+ /**
254
+ * On-chain identity name, if set
255
+ */
256
+ name?: (string | null);
257
+ /**
258
+ * Current validator status
259
+ */
260
+ status: ValidatorStatus;
261
+ /**
262
+ * When validator was registered
263
+ */
264
+ registered_at: string;
265
+ /**
266
+ * Last work claim time
267
+ */
268
+ last_claim_at?: (string | null);
269
+ /**
270
+ * Last time validator was seen
271
+ */
272
+ last_seen_at?: (string | null);
273
+ /**
274
+ * Agent currently being evaluated, if any
275
+ */
276
+ current_agent?: (ValidatorCurrentAgent | null);
277
+ /**
278
+ * Docker image digests for validator stack services
279
+ */
280
+ service_versions?: ({
281
+ [key: string]: (string);
282
+ } | null);
283
+ /**
284
+ * On-chain identity URL
285
+ */
286
+ identity_url?: (string | null);
287
+ /**
288
+ * On-chain identity image URL
289
+ */
290
+ identity_image?: (string | null);
291
+ /**
292
+ * On-chain identity description
293
+ */
294
+ identity_description?: (string | null);
295
+ /**
296
+ * Whether banned
297
+ */
298
+ is_banned: boolean;
299
+ /**
300
+ * Ban reason
301
+ */
302
+ ban_reason?: (string | null);
303
+ /**
304
+ * When banned
305
+ */
306
+ banned_at?: (string | null);
307
+ };
308
+
309
+ /**
310
+ * Response for admin validators listing.
311
+ */
312
+ export type AdminValidatorsResponse = {
313
+ /**
314
+ * List of validators
315
+ */
316
+ validators: Array<AdminValidatorEntry>;
317
+ /**
318
+ * Total matching filter
319
+ */
320
+ total: number;
321
+ /**
322
+ * Page size
323
+ */
324
+ limit: number;
325
+ /**
326
+ * Page offset
327
+ */
328
+ offset: number;
329
+ };
330
+
245
331
  /**
246
332
  * Reason for rejection of agent submission.
247
333
  */
@@ -2272,7 +2358,7 @@ export type ValidatorPublic = {
2272
2358
  };
2273
2359
 
2274
2360
  /**
2275
- * Response for validator scoring analytics.
2361
+ * Response for validator scoring and performance analytics.
2276
2362
  */
2277
2363
  export type ValidatorScoresResponse = {
2278
2364
  /**
@@ -2287,10 +2373,14 @@ export type ValidatorScoresResponse = {
2287
2373
  * Global standard deviation
2288
2374
  */
2289
2375
  global_stddev: number;
2376
+ /**
2377
+ * Global average execution time
2378
+ */
2379
+ global_avg_execution_seconds?: number;
2290
2380
  };
2291
2381
 
2292
2382
  /**
2293
- * Aggregated scoring stats for a single validator.
2383
+ * Aggregated scoring and performance stats for a single validator.
2294
2384
  */
2295
2385
  export type ValidatorScoreSummary = {
2296
2386
  /**
@@ -2329,6 +2419,54 @@ export type ValidatorScoreSummary = {
2329
2419
  * True if deviation exceeds 1.5 standard deviations from global mean
2330
2420
  */
2331
2421
  is_outlier: boolean;
2422
+ /**
2423
+ * Mean seconds from claimed to completed
2424
+ */
2425
+ avg_execution_seconds?: number;
2426
+ /**
2427
+ * Median execution time in seconds
2428
+ */
2429
+ median_execution_seconds?: number;
2430
+ /**
2431
+ * Fastest run
2432
+ */
2433
+ min_execution_seconds?: number;
2434
+ /**
2435
+ * Slowest run
2436
+ */
2437
+ max_execution_seconds?: number;
2438
+ /**
2439
+ * % deviation from global avg execution time
2440
+ */
2441
+ execution_deviation_pct?: number;
2442
+ /**
2443
+ * Significantly slower than peers
2444
+ */
2445
+ is_slow_outlier?: boolean;
2446
+ /**
2447
+ * SUCCESS runs
2448
+ */
2449
+ success_count?: number;
2450
+ /**
2451
+ * FAILED runs
2452
+ */
2453
+ failed_count?: number;
2454
+ /**
2455
+ * TIMED_OUT runs
2456
+ */
2457
+ timed_out_count?: number;
2458
+ /**
2459
+ * success / total
2460
+ */
2461
+ success_rate?: number;
2462
+ /**
2463
+ * Most recent failure reason
2464
+ */
2465
+ last_failure_reason?: (string | null);
2466
+ /**
2467
+ * When last failure occurred
2468
+ */
2469
+ last_failure_at?: (string | null);
2332
2470
  };
2333
2471
 
2334
2472
  /**
@@ -2926,6 +3064,27 @@ export type ListMinersResponse = (AdminMinersResponse);
2926
3064
 
2927
3065
  export type ListMinersError = (HTTPValidationError);
2928
3066
 
3067
+ export type ListValidatorsData = {
3068
+ query?: {
3069
+ /**
3070
+ * Filter by ban status
3071
+ */
3072
+ is_banned?: (boolean | null);
3073
+ /**
3074
+ * Page size
3075
+ */
3076
+ limit?: number;
3077
+ /**
3078
+ * Offset
3079
+ */
3080
+ offset?: number;
3081
+ };
3082
+ };
3083
+
3084
+ export type ListValidatorsResponse = (AdminValidatorsResponse);
3085
+
3086
+ export type ListValidatorsError = (HTTPValidationError);
3087
+
2929
3088
  export type ListAgentVersions1Data = {
2930
3089
  query?: {
2931
3090
  /**