@oro-ai/sdk 1.0.108 → 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 +9 -5
- package/dist/index.d.ts +9 -5
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +5 -1
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
|
*/
|
|
@@ -4085,7 +4089,7 @@ type ActivateSuiteData = {
|
|
|
4085
4089
|
};
|
|
4086
4090
|
};
|
|
4087
4091
|
type ActivateSuiteResponse2 = (ActivateSuiteResponse);
|
|
4088
|
-
type ActivateSuiteError = (SuiteNotFoundError | HTTPValidationError);
|
|
4092
|
+
type ActivateSuiteError = (SuiteNotFoundError | unknown | HTTPValidationError);
|
|
4089
4093
|
type GetAuditEventsData = {
|
|
4090
4094
|
query?: {
|
|
4091
4095
|
/**
|
|
@@ -4841,12 +4845,12 @@ declare const cancelAgentVersion: <ThrowOnError extends boolean = false>(options
|
|
|
4841
4845
|
declare const createSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateSuiteResponse, HTTPValidationError, ThrowOnError>;
|
|
4842
4846
|
/**
|
|
4843
4847
|
* Activate a problem suite
|
|
4844
|
-
* Activate a suite
|
|
4848
|
+
* Activate a suite after evaluation work has drained.
|
|
4845
4849
|
*
|
|
4846
|
-
*
|
|
4847
|
-
*
|
|
4850
|
+
* The orchestrator lock makes the suite swap atomic with cancellation of stale
|
|
4851
|
+
* inactive-suite race shells. Historical work and results are never rewritten.
|
|
4848
4852
|
*/
|
|
4849
|
-
declare const activateSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSuiteResponse,
|
|
4853
|
+
declare const activateSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSuiteResponse, unknown, ThrowOnError>;
|
|
4850
4854
|
/**
|
|
4851
4855
|
* Get audit events
|
|
4852
4856
|
* Retrieve audit events with optional filtering and pagination.
|
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
|
*/
|
|
@@ -4085,7 +4089,7 @@ type ActivateSuiteData = {
|
|
|
4085
4089
|
};
|
|
4086
4090
|
};
|
|
4087
4091
|
type ActivateSuiteResponse2 = (ActivateSuiteResponse);
|
|
4088
|
-
type ActivateSuiteError = (SuiteNotFoundError | HTTPValidationError);
|
|
4092
|
+
type ActivateSuiteError = (SuiteNotFoundError | unknown | HTTPValidationError);
|
|
4089
4093
|
type GetAuditEventsData = {
|
|
4090
4094
|
query?: {
|
|
4091
4095
|
/**
|
|
@@ -4841,12 +4845,12 @@ declare const cancelAgentVersion: <ThrowOnError extends boolean = false>(options
|
|
|
4841
4845
|
declare const createSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateSuiteResponse, HTTPValidationError, ThrowOnError>;
|
|
4842
4846
|
/**
|
|
4843
4847
|
* Activate a problem suite
|
|
4844
|
-
* Activate a suite
|
|
4848
|
+
* Activate a suite after evaluation work has drained.
|
|
4845
4849
|
*
|
|
4846
|
-
*
|
|
4847
|
-
*
|
|
4850
|
+
* The orchestrator lock makes the suite swap atomic with cancellation of stale
|
|
4851
|
+
* inactive-suite race shells. Historical work and results are never rewritten.
|
|
4848
4852
|
*/
|
|
4849
|
-
declare const activateSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSuiteResponse,
|
|
4853
|
+
declare const activateSuite: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSuiteResponse, unknown, ThrowOnError>;
|
|
4850
4854
|
/**
|
|
4851
4855
|
* Get audit events
|
|
4852
4856
|
* Retrieve audit events with optional filtering and pagination.
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -802,10 +802,10 @@ export const createSuite = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
802
802
|
|
|
803
803
|
/**
|
|
804
804
|
* Activate a problem suite
|
|
805
|
-
* Activate a suite
|
|
805
|
+
* Activate a suite after evaluation work has drained.
|
|
806
806
|
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
807
|
+
* The orchestrator lock makes the suite swap atomic with cancellation of stale
|
|
808
|
+
* inactive-suite race shells. Historical work and results are never rewritten.
|
|
809
809
|
*/
|
|
810
810
|
export const activateSuite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ActivateSuiteData, ThrowOnError>) => {
|
|
811
811
|
return (options?.client ?? client).post<ActivateSuiteResponse2, ActivateSuiteError, ThrowOnError>({
|
|
@@ -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
|
*/
|
|
@@ -4447,7 +4451,7 @@ export type ActivateSuiteData = {
|
|
|
4447
4451
|
|
|
4448
4452
|
export type ActivateSuiteResponse2 = (ActivateSuiteResponse);
|
|
4449
4453
|
|
|
4450
|
-
export type ActivateSuiteError = (SuiteNotFoundError | HTTPValidationError);
|
|
4454
|
+
export type ActivateSuiteError = (SuiteNotFoundError | unknown | HTTPValidationError);
|
|
4451
4455
|
|
|
4452
4456
|
export type GetAuditEventsData = {
|
|
4453
4457
|
query?: {
|