@oro-ai/sdk 1.0.49 → 1.0.50

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
@@ -398,6 +398,14 @@ type AgentLatestVersion = {
398
398
  * Set on the pinned version only when the pin can't take effect.
399
399
  */
400
400
  selection_fallback_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
401
+ /**
402
+ * True when this version can be pinned as the next race candidate. Mirrors the admission rules used by the PUT /v1/miner/race-selection endpoint.
403
+ */
404
+ is_pinnable?: boolean;
405
+ /**
406
+ * When `is_pinnable` is false, the specific precondition that fails. Same enum as `selection_fallback_reason`.
407
+ */
408
+ pin_disabled_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
401
409
  };
402
410
  type AgentNotFoundError = {
403
411
  /**
@@ -468,6 +476,14 @@ type AgentVersionHistoryEntry = {
468
476
  * Set on the pinned version only when the pin can't take effect.
469
477
  */
470
478
  selection_fallback_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
479
+ /**
480
+ * True when this version can be pinned as the next race candidate. Mirrors the admission rules used by the PUT /v1/miner/race-selection endpoint.
481
+ */
482
+ is_pinnable?: boolean;
483
+ /**
484
+ * When `is_pinnable` is false, the specific precondition that fails. Same enum as `selection_fallback_reason`.
485
+ */
486
+ pin_disabled_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
471
487
  };
472
488
  type AgentVersionNotFoundError = {
473
489
  /**
@@ -1570,6 +1586,10 @@ type MinerAgentsResponse = {
1570
1586
  * Earliest time the miner may submit again, if on cooldown
1571
1587
  */
1572
1588
  next_allowed_at?: (string | null);
1589
+ /**
1590
+ * The agent_version_id this miner would race with right now: the explicitly pinned version when valid, otherwise the picker's auto-pick (highest-scoring eligible version on this hotkey >= the qualifying threshold). None when nothing on this hotkey qualifies.
1591
+ */
1592
+ racing_agent_version_id?: (string | null);
1573
1593
  };
1574
1594
  type MinerNotFoundError = {
1575
1595
  /**
package/dist/index.d.ts CHANGED
@@ -398,6 +398,14 @@ type AgentLatestVersion = {
398
398
  * Set on the pinned version only when the pin can't take effect.
399
399
  */
400
400
  selection_fallback_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
401
+ /**
402
+ * True when this version can be pinned as the next race candidate. Mirrors the admission rules used by the PUT /v1/miner/race-selection endpoint.
403
+ */
404
+ is_pinnable?: boolean;
405
+ /**
406
+ * When `is_pinnable` is false, the specific precondition that fails. Same enum as `selection_fallback_reason`.
407
+ */
408
+ pin_disabled_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
401
409
  };
402
410
  type AgentNotFoundError = {
403
411
  /**
@@ -468,6 +476,14 @@ type AgentVersionHistoryEntry = {
468
476
  * Set on the pinned version only when the pin can't take effect.
469
477
  */
470
478
  selection_fallback_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
479
+ /**
480
+ * True when this version can be pinned as the next race candidate. Mirrors the admission rules used by the PUT /v1/miner/race-selection endpoint.
481
+ */
482
+ is_pinnable?: boolean;
483
+ /**
484
+ * When `is_pinnable` is false, the specific precondition that fails. Same enum as `selection_fallback_reason`.
485
+ */
486
+ pin_disabled_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
471
487
  };
472
488
  type AgentVersionNotFoundError = {
473
489
  /**
@@ -1570,6 +1586,10 @@ type MinerAgentsResponse = {
1570
1586
  * Earliest time the miner may submit again, if on cooldown
1571
1587
  */
1572
1588
  next_allowed_at?: (string | null);
1589
+ /**
1590
+ * The agent_version_id this miner would race with right now: the explicitly pinned version when valid, otherwise the picker's auto-pick (highest-scoring eligible version on this hotkey >= the qualifying threshold). None when nothing on this hotkey qualifies.
1591
+ */
1592
+ racing_agent_version_id?: (string | null);
1573
1593
  };
1574
1594
  type MinerNotFoundError = {
1575
1595
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -409,6 +409,14 @@ export type AgentLatestVersion = {
409
409
  * Set on the pinned version only when the pin can't take effect.
410
410
  */
411
411
  selection_fallback_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
412
+ /**
413
+ * True when this version can be pinned as the next race candidate. Mirrors the admission rules used by the PUT /v1/miner/race-selection endpoint.
414
+ */
415
+ is_pinnable?: boolean;
416
+ /**
417
+ * When `is_pinnable` is false, the specific precondition that fails. Same enum as `selection_fallback_reason`.
418
+ */
419
+ pin_disabled_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
412
420
  };
413
421
 
414
422
  export type AgentNotFoundError = {
@@ -482,6 +490,14 @@ export type AgentVersionHistoryEntry = {
482
490
  * Set on the pinned version only when the pin can't take effect.
483
491
  */
484
492
  selection_fallback_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
493
+ /**
494
+ * True when this version can be pinned as the next race candidate. Mirrors the admission rules used by the PUT /v1/miner/race-selection endpoint.
495
+ */
496
+ is_pinnable?: boolean;
497
+ /**
498
+ * When `is_pinnable` is false, the specific precondition that fails. Same enum as `selection_fallback_reason`.
499
+ */
500
+ pin_disabled_reason?: ('eliminated' | 'discarded' | 'below_threshold' | 'not_eligible' | null);
485
501
  };
486
502
 
487
503
  export type AgentVersionNotFoundError = {
@@ -1643,6 +1659,10 @@ export type MinerAgentsResponse = {
1643
1659
  * Earliest time the miner may submit again, if on cooldown
1644
1660
  */
1645
1661
  next_allowed_at?: (string | null);
1662
+ /**
1663
+ * The agent_version_id this miner would race with right now: the explicitly pinned version when valid, otherwise the picker's auto-pick (highest-scoring eligible version on this hotkey >= the qualifying threshold). None when nothing on this hotkey qualifies.
1664
+ */
1665
+ racing_agent_version_id?: (string | null);
1646
1666
  };
1647
1667
 
1648
1668
  export type MinerNotFoundError = {