@oro-ai/sdk 1.0.71 → 1.0.73

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
@@ -3129,9 +3129,7 @@ type HealthCheckResponse = ({
3129
3129
  [key: string]: unknown;
3130
3130
  });
3131
3131
  type HealthCheckError = unknown;
3132
- type DeepHealthCheckResponse = ({
3133
- [key: string]: unknown;
3134
- });
3132
+ type DeepHealthCheckResponse = (unknown);
3135
3133
  type DeepHealthCheckError = unknown;
3136
3134
  type ListSuitesResponse = (Array<SuitePublic>);
3137
3135
  type ListSuitesError = unknown;
@@ -3948,13 +3946,21 @@ declare const healthCheck: <ThrowOnError extends boolean = false>(options?: Opti
3948
3946
  * Deep Health Check
3949
3947
  * Deep readiness check that exercises the SQLAlchemy pool (ORO-1121).
3950
3948
  *
3951
- * Acquires a session and runs SELECT 1 with a hard timeout. If the
3952
- * pool is wedged (phantom-checked-out slots) or RDS is unreachable
3953
- * from this task, the check fails fast and the ALB pulls the task
3954
- * out of rotation; ECS replaces it. The ALB's own per-check timeout
3955
- * is the ultimate ceiling, so the inner timeout must be smaller.
3949
+ * Acquires a session and runs SELECT 1 with a hard timeout, retrying
3950
+ * once on failure to ride out transient pool stalls or one-shot
3951
+ * network blips (ORO-1168). If the pool is wedged (phantom-checked-out
3952
+ * slots) or RDS is unreachable across both attempts, the check fails
3953
+ * and the ALB pulls the task out of rotation after its own
3954
+ * unhealthy_threshold_count consecutive failures.
3955
+ *
3956
+ * On final failure we return 503 directly via `JSONResponse` instead
3957
+ * of raising `HTTPException`. The status to the ALB is identical, but
3958
+ * the Sentry FastAPI integration only captures *exceptions* — so this
3959
+ * path no longer triggers the "new unhandled error" PD rule on a
3960
+ * transient blip. Sustained DB-unreachable is correctly surfaced by
3961
+ * the ALB target-health alarm, not the Sentry new-issue rule.
3956
3962
  */
3957
- declare const deepHealthCheck: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeepHealthCheckResponse, unknown, ThrowOnError>;
3963
+ declare const deepHealthCheck: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
3958
3964
  /**
3959
3965
  * List all suites
3960
3966
  * Get all problem suites, ordered by version descending (newest first).
@@ -4058,6 +4064,13 @@ declare const joinWaitlist: <ThrowOnError extends boolean = false>(options: Opti
4058
4064
  /**
4059
4065
  * List allowed inference models
4060
4066
  * Returns the models available to ORO agents via the inference proxy. Defaults to a flat array of model IDs (provider's static allowlist). Set ``?ranked=true`` to receive models in load-/health-sorted order with per-model stats from the most recent provider poll.
4067
+ *
4068
+ * **Chutes-deprecated models (still in the Chutes allowlist for miner compatibility, but Chutes no longer serves them — route via OpenRouter):**
4069
+ * - `deepseek-ai/DeepSeek-V3.1-TEE`
4070
+ * - `deepseek-ai/DeepSeek-V3-0324-TEE`
4071
+ * - `deepseek-ai/DeepSeek-R1-0528-TEE`
4072
+ * - `tngtech/DeepSeek-TNG-R1T2-Chimera-TEE`
4073
+ * - `XiaomiMiMo/MiMo-V2-Flash-TEE`
4061
4074
  */
4062
4075
  declare const getInferenceModels: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetInferenceModelsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetInferenceModelsResponse, HTTPValidationError, ThrowOnError>;
4063
4076
  /**
package/dist/index.d.ts CHANGED
@@ -3129,9 +3129,7 @@ type HealthCheckResponse = ({
3129
3129
  [key: string]: unknown;
3130
3130
  });
3131
3131
  type HealthCheckError = unknown;
3132
- type DeepHealthCheckResponse = ({
3133
- [key: string]: unknown;
3134
- });
3132
+ type DeepHealthCheckResponse = (unknown);
3135
3133
  type DeepHealthCheckError = unknown;
3136
3134
  type ListSuitesResponse = (Array<SuitePublic>);
3137
3135
  type ListSuitesError = unknown;
@@ -3948,13 +3946,21 @@ declare const healthCheck: <ThrowOnError extends boolean = false>(options?: Opti
3948
3946
  * Deep Health Check
3949
3947
  * Deep readiness check that exercises the SQLAlchemy pool (ORO-1121).
3950
3948
  *
3951
- * Acquires a session and runs SELECT 1 with a hard timeout. If the
3952
- * pool is wedged (phantom-checked-out slots) or RDS is unreachable
3953
- * from this task, the check fails fast and the ALB pulls the task
3954
- * out of rotation; ECS replaces it. The ALB's own per-check timeout
3955
- * is the ultimate ceiling, so the inner timeout must be smaller.
3949
+ * Acquires a session and runs SELECT 1 with a hard timeout, retrying
3950
+ * once on failure to ride out transient pool stalls or one-shot
3951
+ * network blips (ORO-1168). If the pool is wedged (phantom-checked-out
3952
+ * slots) or RDS is unreachable across both attempts, the check fails
3953
+ * and the ALB pulls the task out of rotation after its own
3954
+ * unhealthy_threshold_count consecutive failures.
3955
+ *
3956
+ * On final failure we return 503 directly via `JSONResponse` instead
3957
+ * of raising `HTTPException`. The status to the ALB is identical, but
3958
+ * the Sentry FastAPI integration only captures *exceptions* — so this
3959
+ * path no longer triggers the "new unhandled error" PD rule on a
3960
+ * transient blip. Sustained DB-unreachable is correctly surfaced by
3961
+ * the ALB target-health alarm, not the Sentry new-issue rule.
3956
3962
  */
3957
- declare const deepHealthCheck: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeepHealthCheckResponse, unknown, ThrowOnError>;
3963
+ declare const deepHealthCheck: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
3958
3964
  /**
3959
3965
  * List all suites
3960
3966
  * Get all problem suites, ordered by version descending (newest first).
@@ -4058,6 +4064,13 @@ declare const joinWaitlist: <ThrowOnError extends boolean = false>(options: Opti
4058
4064
  /**
4059
4065
  * List allowed inference models
4060
4066
  * Returns the models available to ORO agents via the inference proxy. Defaults to a flat array of model IDs (provider's static allowlist). Set ``?ranked=true`` to receive models in load-/health-sorted order with per-model stats from the most recent provider poll.
4067
+ *
4068
+ * **Chutes-deprecated models (still in the Chutes allowlist for miner compatibility, but Chutes no longer serves them — route via OpenRouter):**
4069
+ * - `deepseek-ai/DeepSeek-V3.1-TEE`
4070
+ * - `deepseek-ai/DeepSeek-V3-0324-TEE`
4071
+ * - `deepseek-ai/DeepSeek-R1-0528-TEE`
4072
+ * - `tngtech/DeepSeek-TNG-R1T2-Chimera-TEE`
4073
+ * - `XiaomiMiMo/MiMo-V2-Flash-TEE`
4061
4074
  */
4062
4075
  declare const getInferenceModels: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetInferenceModelsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetInferenceModelsResponse, HTTPValidationError, ThrowOnError>;
4063
4076
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.71",
3
+ "version": "1.0.73",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22,11 +22,19 @@ export const healthCheck = <ThrowOnError extends boolean = false>(options?: Opti
22
22
  * Deep Health Check
23
23
  * Deep readiness check that exercises the SQLAlchemy pool (ORO-1121).
24
24
  *
25
- * Acquires a session and runs SELECT 1 with a hard timeout. If the
26
- * pool is wedged (phantom-checked-out slots) or RDS is unreachable
27
- * from this task, the check fails fast and the ALB pulls the task
28
- * out of rotation; ECS replaces it. The ALB's own per-check timeout
29
- * is the ultimate ceiling, so the inner timeout must be smaller.
25
+ * Acquires a session and runs SELECT 1 with a hard timeout, retrying
26
+ * once on failure to ride out transient pool stalls or one-shot
27
+ * network blips (ORO-1168). If the pool is wedged (phantom-checked-out
28
+ * slots) or RDS is unreachable across both attempts, the check fails
29
+ * and the ALB pulls the task out of rotation after its own
30
+ * unhealthy_threshold_count consecutive failures.
31
+ *
32
+ * On final failure we return 503 directly via `JSONResponse` instead
33
+ * of raising `HTTPException`. The status to the ALB is identical, but
34
+ * the Sentry FastAPI integration only captures *exceptions* — so this
35
+ * path no longer triggers the "new unhandled error" PD rule on a
36
+ * transient blip. Sustained DB-unreachable is correctly surfaced by
37
+ * the ALB target-health alarm, not the Sentry new-issue rule.
30
38
  */
31
39
  export const deepHealthCheck = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
32
40
  return (options?.client ?? client).get<DeepHealthCheckResponse, DeepHealthCheckError, ThrowOnError>({
@@ -258,6 +266,13 @@ export const joinWaitlist = <ThrowOnError extends boolean = false>(options: Opti
258
266
  /**
259
267
  * List allowed inference models
260
268
  * Returns the models available to ORO agents via the inference proxy. Defaults to a flat array of model IDs (provider's static allowlist). Set ``?ranked=true`` to receive models in load-/health-sorted order with per-model stats from the most recent provider poll.
269
+ *
270
+ * **Chutes-deprecated models (still in the Chutes allowlist for miner compatibility, but Chutes no longer serves them — route via OpenRouter):**
271
+ * - `deepseek-ai/DeepSeek-V3.1-TEE`
272
+ * - `deepseek-ai/DeepSeek-V3-0324-TEE`
273
+ * - `deepseek-ai/DeepSeek-R1-0528-TEE`
274
+ * - `tngtech/DeepSeek-TNG-R1T2-Chimera-TEE`
275
+ * - `XiaomiMiMo/MiMo-V2-Flash-TEE`
261
276
  */
262
277
  export const getInferenceModels = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetInferenceModelsData, ThrowOnError>) => {
263
278
  return (options?.client ?? client).get<GetInferenceModelsResponse, GetInferenceModelsError, ThrowOnError>({
@@ -3291,9 +3291,7 @@ export type HealthCheckResponse = ({
3291
3291
 
3292
3292
  export type HealthCheckError = unknown;
3293
3293
 
3294
- export type DeepHealthCheckResponse = ({
3295
- [key: string]: unknown;
3296
- });
3294
+ export type DeepHealthCheckResponse = (unknown);
3297
3295
 
3298
3296
  export type DeepHealthCheckError = unknown;
3299
3297