@oro-ai/sdk 1.0.109 → 1.0.110

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
@@ -978,6 +978,10 @@ type ClaimWorkResponse = {
978
978
  * Content-hash of the sealed environment pack this work item is frozen to (ORO-2062). Stamped at work-item creation, immutable after — validators load and run against this sha regardless of any suite/race pack rotation after the work item was created. Null for legacy work items with no binding (static-suite path).
979
979
  */
980
980
  env_pack_sha256?: (string | null);
981
+ /**
982
+ * Race this work item belongs to (ORO-2144). Populated for race-phase work items so the validator can fetch the race-scoped sub-archive via POST /v1/validator/race/{race_id}/pack. Null for qualifying-phase work items — those load the pack's qualifying sub-archive via GET /v1/validator/pack/{sha}.
983
+ */
984
+ race_id?: (string | null);
981
985
  /**
982
986
  * Per-run scoped inference credential. Null when the miner has no inference auth connected. ORO-1509: when the mint call itself fails with a transient upstream error (5xx / 429 / network), the backend marks the eval run terminal server-side with a distinct failure_reason before returning; the validator's later completion call will get 409 (already complete), which existing clients already handle.
983
987
  */
package/dist/index.d.ts CHANGED
@@ -978,6 +978,10 @@ type ClaimWorkResponse = {
978
978
  * Content-hash of the sealed environment pack this work item is frozen to (ORO-2062). Stamped at work-item creation, immutable after — validators load and run against this sha regardless of any suite/race pack rotation after the work item was created. Null for legacy work items with no binding (static-suite path).
979
979
  */
980
980
  env_pack_sha256?: (string | null);
981
+ /**
982
+ * Race this work item belongs to (ORO-2144). Populated for race-phase work items so the validator can fetch the race-scoped sub-archive via POST /v1/validator/race/{race_id}/pack. Null for qualifying-phase work items — those load the pack's qualifying sub-archive via GET /v1/validator/pack/{sha}.
983
+ */
984
+ race_id?: (string | null);
981
985
  /**
982
986
  * Per-run scoped inference credential. Null when the miner has no inference auth connected. ORO-1509: when the mint call itself fails with a transient upstream error (5xx / 429 / network), the backend marks the eval run terminal server-side with a distinct failure_reason before returning; the validator's later completion call will get 409 (already complete), which existing clients already handle.
983
987
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.109",
3
+ "version": "1.0.110",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1020,6 +1020,10 @@ export type ClaimWorkResponse = {
1020
1020
  * Content-hash of the sealed environment pack this work item is frozen to (ORO-2062). Stamped at work-item creation, immutable after — validators load and run against this sha regardless of any suite/race pack rotation after the work item was created. Null for legacy work items with no binding (static-suite path).
1021
1021
  */
1022
1022
  env_pack_sha256?: (string | null);
1023
+ /**
1024
+ * Race this work item belongs to (ORO-2144). Populated for race-phase work items so the validator can fetch the race-scoped sub-archive via POST /v1/validator/race/{race_id}/pack. Null for qualifying-phase work items — those load the pack's qualifying sub-archive via GET /v1/validator/pack/{sha}.
1025
+ */
1026
+ race_id?: (string | null);
1023
1027
  /**
1024
1028
  * Per-run scoped inference credential. Null when the miner has no inference auth connected. ORO-1509: when the mint call itself fails with a transient upstream error (5xx / 429 / network), the backend marks the eval run terminal server-side with a distinct failure_reason before returning; the validator's later completion call will get 409 (already complete), which existing clients already handle.
1025
1029
  */