@oro-ai/sdk 1.0.82 → 1.0.84

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
@@ -550,6 +550,14 @@ type AgentVersionPublic = {
550
550
  * When this version was submitted
551
551
  */
552
552
  submitted_at: string;
553
+ /**
554
+ * UTC timestamp at which this version's code became / becomes public
555
+ */
556
+ released_at: string;
557
+ /**
558
+ * UTC timestamp at which the code artifact becomes downloadable. Alias for released_at kept as a distinct field for Frontend compatibility. ORO-1504.
559
+ */
560
+ code_available_at: string;
553
561
  /**
554
562
  * Final score if eligible
555
563
  */
@@ -643,7 +651,7 @@ type AgentVersionStatus = {
643
651
  */
644
652
  release_state?: ArtifactReleaseState;
645
653
  /**
646
- * When agent code becomes available for download (eligible_at + 24h)
654
+ * When agent code becomes available for download (= AgentVersion.released_at)
647
655
  */
648
656
  code_available_at?: (string | null);
649
657
  /**
@@ -945,6 +953,10 @@ type ClaimWorkResponse = {
945
953
  * Per-run scoped inference credential. Null when the miner has no inference auth connected or minting failed.
946
954
  */
947
955
  inference_token?: (InferenceTokenGrant | null);
956
+ /**
957
+ * When ``inference_token`` is null because the mint call itself failed (rather than the miner having no credential), this carries the human-readable reason the validator should write into the eval run's ``failure_reason`` field. Present only when the backend classified the failure — legacy no-credential runs leave it null and the validator uses its own default. (ORO-1509)
958
+ */
959
+ inference_mint_failure_reason?: (string | null);
948
960
  };
949
961
  type ClearCooldownResponse = {
950
962
  /**
@@ -4090,7 +4102,7 @@ declare const getAgentVersionProblems: <ThrowOnError extends boolean = false>(op
4090
4102
  declare const getAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AgentVersionPublic, GetAgentVersionError, ThrowOnError>;
4091
4103
  /**
4092
4104
  * Get artifact download URL
4093
- * Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
4105
+ * Get a presigned URL to download artifacts. Agent code requires the version to be released. Qualifying-phase trajectories and logs are available immediately; race-phase artifacts are gated until the race completes (403 RACE_IN_FLIGHT).
4094
4106
  */
4095
4107
  declare const getArtifactDownloadUrl: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ArtifactDownloadResponse, GetArtifactDownloadUrlError, ThrowOnError>;
4096
4108
  /**
package/dist/index.d.ts CHANGED
@@ -550,6 +550,14 @@ type AgentVersionPublic = {
550
550
  * When this version was submitted
551
551
  */
552
552
  submitted_at: string;
553
+ /**
554
+ * UTC timestamp at which this version's code became / becomes public
555
+ */
556
+ released_at: string;
557
+ /**
558
+ * UTC timestamp at which the code artifact becomes downloadable. Alias for released_at kept as a distinct field for Frontend compatibility. ORO-1504.
559
+ */
560
+ code_available_at: string;
553
561
  /**
554
562
  * Final score if eligible
555
563
  */
@@ -643,7 +651,7 @@ type AgentVersionStatus = {
643
651
  */
644
652
  release_state?: ArtifactReleaseState;
645
653
  /**
646
- * When agent code becomes available for download (eligible_at + 24h)
654
+ * When agent code becomes available for download (= AgentVersion.released_at)
647
655
  */
648
656
  code_available_at?: (string | null);
649
657
  /**
@@ -945,6 +953,10 @@ type ClaimWorkResponse = {
945
953
  * Per-run scoped inference credential. Null when the miner has no inference auth connected or minting failed.
946
954
  */
947
955
  inference_token?: (InferenceTokenGrant | null);
956
+ /**
957
+ * When ``inference_token`` is null because the mint call itself failed (rather than the miner having no credential), this carries the human-readable reason the validator should write into the eval run's ``failure_reason`` field. Present only when the backend classified the failure — legacy no-credential runs leave it null and the validator uses its own default. (ORO-1509)
958
+ */
959
+ inference_mint_failure_reason?: (string | null);
948
960
  };
949
961
  type ClearCooldownResponse = {
950
962
  /**
@@ -4090,7 +4102,7 @@ declare const getAgentVersionProblems: <ThrowOnError extends boolean = false>(op
4090
4102
  declare const getAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AgentVersionPublic, GetAgentVersionError, ThrowOnError>;
4091
4103
  /**
4092
4104
  * Get artifact download URL
4093
- * Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
4105
+ * Get a presigned URL to download artifacts. Agent code requires the version to be released. Qualifying-phase trajectories and logs are available immediately; race-phase artifacts are gated until the race completes (403 RACE_IN_FLIGHT).
4094
4106
  */
4095
4107
  declare const getArtifactDownloadUrl: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ArtifactDownloadResponse, GetArtifactDownloadUrlError, ThrowOnError>;
4096
4108
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -166,7 +166,7 @@ export const getAgentVersion = <ThrowOnError extends boolean = false>(options: O
166
166
 
167
167
  /**
168
168
  * Get artifact download URL
169
- * Get a presigned URL to download artifacts. Agent code requires the version to be released. Trajectories and logs are available immediately.
169
+ * Get a presigned URL to download artifacts. Agent code requires the version to be released. Qualifying-phase trajectories and logs are available immediately; race-phase artifacts are gated until the race completes (403 RACE_IN_FLIGHT).
170
170
  */
171
171
  export const getArtifactDownloadUrl = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetArtifactDownloadUrlData, ThrowOnError>) => {
172
172
  return (options?.client ?? client).post<GetArtifactDownloadUrlResponse, GetArtifactDownloadUrlError, ThrowOnError>({
@@ -567,6 +567,14 @@ export type AgentVersionPublic = {
567
567
  * When this version was submitted
568
568
  */
569
569
  submitted_at: string;
570
+ /**
571
+ * UTC timestamp at which this version's code became / becomes public
572
+ */
573
+ released_at: string;
574
+ /**
575
+ * UTC timestamp at which the code artifact becomes downloadable. Alias for released_at kept as a distinct field for Frontend compatibility. ORO-1504.
576
+ */
577
+ code_available_at: string;
570
578
  /**
571
579
  * Final score if eligible
572
580
  */
@@ -663,7 +671,7 @@ export type AgentVersionStatus = {
663
671
  */
664
672
  release_state?: ArtifactReleaseState;
665
673
  /**
666
- * When agent code becomes available for download (eligible_at + 24h)
674
+ * When agent code becomes available for download (= AgentVersion.released_at)
667
675
  */
668
676
  code_available_at?: (string | null);
669
677
  /**
@@ -986,6 +994,10 @@ export type ClaimWorkResponse = {
986
994
  * Per-run scoped inference credential. Null when the miner has no inference auth connected or minting failed.
987
995
  */
988
996
  inference_token?: (InferenceTokenGrant | null);
997
+ /**
998
+ * When ``inference_token`` is null because the mint call itself failed (rather than the miner having no credential), this carries the human-readable reason the validator should write into the eval run's ``failure_reason`` field. Present only when the backend classified the failure — legacy no-credential runs leave it null and the validator uses its own default. (ORO-1509)
999
+ */
1000
+ inference_mint_failure_reason?: (string | null);
989
1001
  };
990
1002
 
991
1003
  export type ClearCooldownResponse = {