@oro-ai/sdk 1.0.87 → 1.0.89

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
@@ -3265,41 +3265,32 @@ type WaitlistSignupResponse = {
3265
3265
  success: boolean;
3266
3266
  };
3267
3267
  /**
3268
- * Per-epoch watermark instruction for the weight setter (ORO-1649).
3268
+ * Per-epoch supplementary weight assignments for the weight setter.
3269
3269
  *
3270
- * ``chosen_decoy_uid is None`` with ``x_share == 0`` is the watermark-free
3271
- * public default the validator sets its normal vector. Returned whenever the
3272
- * mechanism is inactive or this validator has not met the participation gate.
3270
+ * ``weight_overlay`` maps miner uid (as a string) weight fraction that the
3271
+ * validator should assign in addition to its base vector for this epoch,
3272
+ * renormalizing the remainder. An **empty** overlay means apply nothing (the
3273
+ * default). The validator treats this as opaque backend guidance.
3273
3274
  */
3274
3275
  type WeightSaltResponse = {
3275
3276
  /**
3276
- * Whether the watermark mechanism is live
3277
+ * Whether supplementary weight assignments are in effect
3277
3278
  */
3278
3279
  active: boolean;
3279
3280
  /**
3280
- * Whether this validator met the participation gate for the salt
3281
+ * Whether this validator qualifies to receive assignments
3281
3282
  */
3282
3283
  eligible: boolean;
3283
3284
  /**
3284
- * Commit-reveal epoch index the salt is keyed to
3285
+ * Epoch index the assignments are keyed to (stable within it)
3285
3286
  */
3286
3287
  epoch_index: number;
3287
3288
  /**
3288
- * Version of the owned decoy uid pool
3289
+ * uid (string) weight fraction to assign this epoch; empty means apply nothing
3289
3290
  */
3290
- decoy_pool_version: number;
3291
- /**
3292
- * Owned decoy miner uids the watermark may target
3293
- */
3294
- decoy_uids: Array<(number)>;
3295
- /**
3296
- * Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
3297
- */
3298
- chosen_decoy_uid?: (number | null);
3299
- /**
3300
- * Fraction of the vector reserved for the watermark; 0 = none
3301
- */
3302
- x_share: number;
3291
+ weight_overlay?: {
3292
+ [key: string]: (number);
3293
+ };
3303
3294
  };
3304
3295
  type WorkItemStatus = {
3305
3296
  /**
@@ -4438,15 +4429,13 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
4438
4429
  declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
4439
4430
  /**
4440
4431
  * Get Weight Salt
4441
- * Per-epoch consensus-watermark instruction for the weight setter (ORO-1649).
4432
+ * Per-epoch supplementary weight assignments for the weight setter.
4442
4433
  *
4443
- * Participation-gated: only a validator that actually did recent eval work
4444
- * receives a ``chosen_decoy_uid``. A free-rider that copies the public race
4445
- * results but does no work gets the watermark-free public default → its vector
4446
- * omits the watermark → it diverges from consensus → loses vtrust.
4434
+ * Participation-gated: only validators that have done recent evaluation work
4435
+ * receive assignments; others get an empty overlay and set their normal
4436
+ * vector. The overlay is opaque guidance the validator applies as-is.
4447
4437
  *
4448
- * Ships DARK: returns the public default (``chosen_decoy_uid=None``) until
4449
- * ``watermark_active`` is set AND a decoy pool + secret key are configured.
4438
+ * Returns an empty overlay unless the feature is enabled and configured.
4450
4439
  */
4451
4440
  declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
4452
4441
  /**
package/dist/index.d.ts CHANGED
@@ -3265,41 +3265,32 @@ type WaitlistSignupResponse = {
3265
3265
  success: boolean;
3266
3266
  };
3267
3267
  /**
3268
- * Per-epoch watermark instruction for the weight setter (ORO-1649).
3268
+ * Per-epoch supplementary weight assignments for the weight setter.
3269
3269
  *
3270
- * ``chosen_decoy_uid is None`` with ``x_share == 0`` is the watermark-free
3271
- * public default the validator sets its normal vector. Returned whenever the
3272
- * mechanism is inactive or this validator has not met the participation gate.
3270
+ * ``weight_overlay`` maps miner uid (as a string) weight fraction that the
3271
+ * validator should assign in addition to its base vector for this epoch,
3272
+ * renormalizing the remainder. An **empty** overlay means apply nothing (the
3273
+ * default). The validator treats this as opaque backend guidance.
3273
3274
  */
3274
3275
  type WeightSaltResponse = {
3275
3276
  /**
3276
- * Whether the watermark mechanism is live
3277
+ * Whether supplementary weight assignments are in effect
3277
3278
  */
3278
3279
  active: boolean;
3279
3280
  /**
3280
- * Whether this validator met the participation gate for the salt
3281
+ * Whether this validator qualifies to receive assignments
3281
3282
  */
3282
3283
  eligible: boolean;
3283
3284
  /**
3284
- * Commit-reveal epoch index the salt is keyed to
3285
+ * Epoch index the assignments are keyed to (stable within it)
3285
3286
  */
3286
3287
  epoch_index: number;
3287
3288
  /**
3288
- * Version of the owned decoy uid pool
3289
+ * uid (string) weight fraction to assign this epoch; empty means apply nothing
3289
3290
  */
3290
- decoy_pool_version: number;
3291
- /**
3292
- * Owned decoy miner uids the watermark may target
3293
- */
3294
- decoy_uids: Array<(number)>;
3295
- /**
3296
- * Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
3297
- */
3298
- chosen_decoy_uid?: (number | null);
3299
- /**
3300
- * Fraction of the vector reserved for the watermark; 0 = none
3301
- */
3302
- x_share: number;
3291
+ weight_overlay?: {
3292
+ [key: string]: (number);
3293
+ };
3303
3294
  };
3304
3295
  type WorkItemStatus = {
3305
3296
  /**
@@ -4438,15 +4429,13 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
4438
4429
  declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
4439
4430
  /**
4440
4431
  * Get Weight Salt
4441
- * Per-epoch consensus-watermark instruction for the weight setter (ORO-1649).
4432
+ * Per-epoch supplementary weight assignments for the weight setter.
4442
4433
  *
4443
- * Participation-gated: only a validator that actually did recent eval work
4444
- * receives a ``chosen_decoy_uid``. A free-rider that copies the public race
4445
- * results but does no work gets the watermark-free public default → its vector
4446
- * omits the watermark → it diverges from consensus → loses vtrust.
4434
+ * Participation-gated: only validators that have done recent evaluation work
4435
+ * receive assignments; others get an empty overlay and set their normal
4436
+ * vector. The overlay is opaque guidance the validator applies as-is.
4447
4437
  *
4448
- * Ships DARK: returns the public default (``chosen_decoy_uid=None``) until
4449
- * ``watermark_active`` is set AND a decoy pool + secret key are configured.
4438
+ * Returns an empty overlay unless the feature is enabled and configured.
4450
4439
  */
4451
4440
  declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
4452
4441
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -588,15 +588,13 @@ export const getRunProblems = <ThrowOnError extends boolean = false>(options: Op
588
588
 
589
589
  /**
590
590
  * Get Weight Salt
591
- * Per-epoch consensus-watermark instruction for the weight setter (ORO-1649).
591
+ * Per-epoch supplementary weight assignments for the weight setter.
592
592
  *
593
- * Participation-gated: only a validator that actually did recent eval work
594
- * receives a ``chosen_decoy_uid``. A free-rider that copies the public race
595
- * results but does no work gets the watermark-free public default → its vector
596
- * omits the watermark → it diverges from consensus → loses vtrust.
593
+ * Participation-gated: only validators that have done recent evaluation work
594
+ * receive assignments; others get an empty overlay and set their normal
595
+ * vector. The overlay is opaque guidance the validator applies as-is.
597
596
  *
598
- * Ships DARK: returns the public default (``chosen_decoy_uid=None``) until
599
- * ``watermark_active`` is set AND a decoy pool + secret key are configured.
597
+ * Returns an empty overlay unless the feature is enabled and configured.
600
598
  */
601
599
  export const getWeightSalt = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
602
600
  return (options?.client ?? client).get<GetWeightSaltResponse, GetWeightSaltError, ThrowOnError>({
@@ -3431,41 +3431,32 @@ export type WaitlistSignupResponse = {
3431
3431
  };
3432
3432
 
3433
3433
  /**
3434
- * Per-epoch watermark instruction for the weight setter (ORO-1649).
3434
+ * Per-epoch supplementary weight assignments for the weight setter.
3435
3435
  *
3436
- * ``chosen_decoy_uid is None`` with ``x_share == 0`` is the watermark-free
3437
- * public default the validator sets its normal vector. Returned whenever the
3438
- * mechanism is inactive or this validator has not met the participation gate.
3436
+ * ``weight_overlay`` maps miner uid (as a string) weight fraction that the
3437
+ * validator should assign in addition to its base vector for this epoch,
3438
+ * renormalizing the remainder. An **empty** overlay means apply nothing (the
3439
+ * default). The validator treats this as opaque backend guidance.
3439
3440
  */
3440
3441
  export type WeightSaltResponse = {
3441
3442
  /**
3442
- * Whether the watermark mechanism is live
3443
+ * Whether supplementary weight assignments are in effect
3443
3444
  */
3444
3445
  active: boolean;
3445
3446
  /**
3446
- * Whether this validator met the participation gate for the salt
3447
+ * Whether this validator qualifies to receive assignments
3447
3448
  */
3448
3449
  eligible: boolean;
3449
3450
  /**
3450
- * Commit-reveal epoch index the salt is keyed to
3451
+ * Epoch index the assignments are keyed to (stable within it)
3451
3452
  */
3452
3453
  epoch_index: number;
3453
3454
  /**
3454
- * Version of the owned decoy uid pool
3455
+ * uid (string) weight fraction to assign this epoch; empty means apply nothing
3455
3456
  */
3456
- decoy_pool_version: number;
3457
- /**
3458
- * Owned decoy miner uids the watermark may target
3459
- */
3460
- decoy_uids: Array<(number)>;
3461
- /**
3462
- * Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
3463
- */
3464
- chosen_decoy_uid?: (number | null);
3465
- /**
3466
- * Fraction of the vector reserved for the watermark; 0 = none
3467
- */
3468
- x_share: number;
3457
+ weight_overlay?: {
3458
+ [key: string]: (number);
3459
+ };
3469
3460
  };
3470
3461
 
3471
3462
  export type WorkItemStatus = {