lumiverse-spindle-types 0.6.32 → 0.6.33

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/api.d.ts CHANGED
@@ -1598,6 +1598,8 @@ export interface WorldInfoInterceptorEntryDTO {
1598
1598
  readonly delay: number;
1599
1599
  /** Latest prompt-local chat placement supplied by an earlier handler. */
1600
1600
  readonly placement?: WorldInfoInterceptorPlacementDTO;
1601
+ /** Active output-order request from an earlier handler; omission means selection order. */
1602
+ readonly outputOrder?: "selection" | "insertion";
1601
1603
  /** Attachment scope that contributed the entry's book to this chat. */
1602
1604
  readonly book_source?: WorldBookSourceDTO;
1603
1605
  }
@@ -1663,8 +1665,8 @@ export interface WorldInfoInterceptorCtxDTO {
1663
1665
  readonly activationSettings: WorldInfoActivationSettingsDTO;
1664
1666
  }
1665
1667
  /**
1666
- * Per-entry content overrides emitted by a `registerWorldInfoInterceptor`
1667
- * handler. Both values are prompt-local and never persist to the world book.
1668
+ * Per-entry overrides emitted by a `registerWorldInfoInterceptor` handler.
1669
+ * Overrides are prompt-local and never persist to the world book.
1668
1670
  */
1669
1671
  export interface WorldInfoInterceptorMutationDTO {
1670
1672
  readonly id: string;
@@ -1681,6 +1683,18 @@ export interface WorldInfoInterceptorMutationDTO {
1681
1683
  * Omit it to retain the stored native position, depth, and role.
1682
1684
  */
1683
1685
  readonly placement?: WorldInfoInterceptorPlacementDTO;
1686
+ /**
1687
+ * "insertion" orders selected entries by order_value ascending, reversing
1688
+ * equal-order ties relative to selection order, as chat-depth placement does.
1689
+ * Entries requested by the same extension exchange only their own output
1690
+ * slots; other entries and other extensions' groups retain their slots.
1691
+ * This runs after selection and budget filtering and applies to native
1692
+ * position buckets and named outlets. Explicit chat-depth placement takes
1693
+ * precedence and keeps its existing ordering.
1694
+ * "selection" clears an earlier request; omission leaves it unchanged.
1695
+ * The last valid request for an entry determines its extension group.
1696
+ */
1697
+ readonly outputOrder?: "selection" | "insertion";
1684
1698
  }
1685
1699
  /**
1686
1700
  * Return value of a `registerWorldInfoInterceptor` handler. Each list is
@@ -1349,6 +1349,9 @@ export interface SpindleAPI {
1349
1349
  * `preAssemblyGenerationContext >= 1`: generation contexts carry
1350
1350
  * `dryRun`/`userId` and `cancelGeneration` is honored.
1351
1351
  * `worldInfoActivationCapture >= 1`: world info activation capture is supported.
1352
+ * `worldInfoOutputOrdering >= 1`: world info mutations accept prompt-local
1353
+ * `outputOrder`, applied after selection without changing budget priority.
1354
+ *
1352
1355
  * `worldInfoRuntimePlacement >= 1`: world info mutations accept prompt-local
1353
1356
  * chat-depth placement.
1354
1357
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
- "version": "0.6.32",
3
+ "version": "0.6.33",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "keywords": [