zeus-api-types 1.0.76 → 1.0.78

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.
@@ -197,7 +197,7 @@ export type MetadataPromptTargetMask = (typeof MetadataPromptTargets)[MetadataPr
197
197
  export declare const ALL_METADATA_PROMPT_TARGETS: number;
198
198
  export declare function hasMetadataPromptTarget(mask: number, target: MetadataPromptTargetMask): boolean;
199
199
  export declare function buildMetadataPromptIncludeMask(targets: MetadataPromptTargetKey[]): number;
200
- export type MetadataVisibilityTargetPath = 'location' | `player.${string}` | `world.${string}`;
200
+ export type MetadataVisibilityTargetPath = 'location' | 'currentTurn' | 'immutable.act' | 'time' | 'time.day' | `player.${string}` | `world.${string}`;
201
201
  export type MetadataVisibilityOperatorValue = string | number | boolean;
202
202
  export interface MetadataVisibilityCondition {
203
203
  exists?: boolean;
package/dist/index.d.ts CHANGED
@@ -5,5 +5,5 @@ export type { BaseDeckCard, DeckDefinition, FixtureSet, MultiDeckDefinition, Nar
5
5
  export type { BaseEvent, DeterministicEvent, EventHistoryEntry, EventPropagation, ProbabilisticEvent, ScheduledEvent, WorldEvents } from './events';
6
6
  export { ALL_METADATA_PROMPT_TARGETS, buildMetadataPromptIncludeMask, computeTimeString, formatTimeHuman, hasMetadataPromptTarget, MetadataPromptTargets } from './game-state';
7
7
  export type { BaseImmutableState, DialogContext, DialogMessage, GameMetadata, GameState, GameStateReduced, GenreImmutableState, HistoryEntry, ImmutableState, Location, Metadata, MetadataCustomDataShape, MetadataCustomDataShapeEntry, MetadataCustomDataShapeValue, MetadataVisibilityCondition, MetadataVisibilityConditionEntry, MetadataVisibilityConditions, MetadataVisibilityOperatorValue, MetadataVisibilityTargetPath, MetadataPromptTargetKey, MetadataPromptTargetMask, NPC, NpcExistingOrNewOp, Player, PresentationCache, PresentationChoiceMeta, PromptVariables, Session, StateSnapshot, Tag, TimeState, World, WorldEntity, WorldReduced } from './game-state';
8
- export type { AIPreferences, ModelEntry, ModelStack, ModelStackPreferences, ModelStackPreset, NarrativeFontPreferences, SoundPreferences, SystemModelPresets, UserMetadata, UserPreferences } from './user-preferences';
8
+ export type { AIPreferences, ModelEntry, ModelStack, ModelStackPreferences, ModelStackPreset, NarrativeFontPreferences, SoundPreferences, SystemModelPresets, TtsPreferences, UserMetadata, UserPreferences } from './user-preferences';
9
9
  export type { CreatePresetRequest, CreatePresetResponse, DeletePresetResponse, ListPresetsResponse, PaginatedPresetsResponse, PaginationMetadata, PresetIndex, PresetMetadata, UpdatePresetRequest, UpdatePresetResponse } from './preset';
@@ -39,6 +39,13 @@ export interface SoundPreferences {
39
39
  /** Enable haptic feedback (vibration) when narrative ends */
40
40
  hapticsOnNarrativeEnd?: boolean;
41
41
  }
42
+ /**
43
+ * Text-to-speech preferences
44
+ */
45
+ export interface TtsPreferences {
46
+ /** Preferred ElevenLabs voice ID for manual narration playback */
47
+ voiceId?: string;
48
+ }
42
49
  /**
43
50
  * Preset identifiers for model stacks
44
51
  */
@@ -138,6 +145,7 @@ export interface UserPreferences {
138
145
  profile?: UserProfilePreferences;
139
146
  narrativeFont: NarrativeFontPreferences;
140
147
  sound?: SoundPreferences;
148
+ tts?: TtsPreferences;
141
149
  ai?: AIPreferences;
142
150
  }
143
151
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zeus-api-types",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "Shared API types for Wagtales - SSE payloads, error types, and common interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",