@oro-ai/sdk 1.0.49 → 1.0.51
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 +24 -0
- package/dist/index.d.ts +24 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +24 -0
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,14 @@ 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);
|
|
1593
|
+
/**
|
|
1594
|
+
* The agent_id that owns racing_agent_version_id. Surfaced alongside the version id so the dashboard can highlight the right row even when the racing version isn't that agent's latest. None when racing_agent_version_id is None.
|
|
1595
|
+
*/
|
|
1596
|
+
racing_agent_id?: (string | null);
|
|
1573
1597
|
};
|
|
1574
1598
|
type MinerNotFoundError = {
|
|
1575
1599
|
/**
|
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,14 @@ 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);
|
|
1593
|
+
/**
|
|
1594
|
+
* The agent_id that owns racing_agent_version_id. Surfaced alongside the version id so the dashboard can highlight the right row even when the racing version isn't that agent's latest. None when racing_agent_version_id is None.
|
|
1595
|
+
*/
|
|
1596
|
+
racing_agent_id?: (string | null);
|
|
1573
1597
|
};
|
|
1574
1598
|
type MinerNotFoundError = {
|
|
1575
1599
|
/**
|
package/package.json
CHANGED
|
@@ -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,14 @@ 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);
|
|
1666
|
+
/**
|
|
1667
|
+
* The agent_id that owns racing_agent_version_id. Surfaced alongside the version id so the dashboard can highlight the right row even when the racing version isn't that agent's latest. None when racing_agent_version_id is None.
|
|
1668
|
+
*/
|
|
1669
|
+
racing_agent_id?: (string | null);
|
|
1646
1670
|
};
|
|
1647
1671
|
|
|
1648
1672
|
export type MinerNotFoundError = {
|