zeus-api-types 1.0.85 → 1.0.87
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/game-state.d.ts +7 -2
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/game-state.d.ts
CHANGED
|
@@ -136,9 +136,12 @@ export interface PresentationChoiceMeta {
|
|
|
136
136
|
tone?: ToneCompact;
|
|
137
137
|
[key: string]: unknown;
|
|
138
138
|
}
|
|
139
|
+
export interface DialogMessageSegment {
|
|
140
|
+
speakerId: string;
|
|
141
|
+
text: string;
|
|
142
|
+
}
|
|
139
143
|
export interface DialogMessage {
|
|
140
|
-
|
|
141
|
-
message: string;
|
|
144
|
+
segments: DialogMessageSegment[];
|
|
142
145
|
timestamp?: string;
|
|
143
146
|
tone?: string;
|
|
144
147
|
}
|
|
@@ -322,4 +325,6 @@ export interface GameMetadata {
|
|
|
322
325
|
lastModified: string;
|
|
323
326
|
/** File size in bytes (of game.json) */
|
|
324
327
|
sizeBytes: number;
|
|
328
|
+
/** Optional flag to indicate if the game has reached an end state (e.g., after act 4 or if player died) */
|
|
329
|
+
isGameOver?: boolean;
|
|
325
330
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export type { AIMetadata, AIOperationTokens, AIOperationType } from './ai';
|
|
|
4
4
|
export type { BaseDeckCard, DeckDefinition, FixtureSet, MultiDeckDefinition, NarrativeStyleCard, StoryArcCard } from './deck';
|
|
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
|
-
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';
|
|
7
|
+
export type { BaseImmutableState, DialogContext, DialogMessage, DialogMessageSegment, 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
8
|
export type { AIPreferences, MaxAgeRating, ModelEntry, ModelStack, ModelStackPreferences, ModelStackPreset, NarrativeFontPreferences, SoundPreferences, SystemModelPresets, TtsPreferences, UserMetadata, UserPreferences, UserProfilePreferences } from './user-preferences';
|
|
9
9
|
export type { CreatePresetRequest, CreatePresetResponse, DeletePresetResponse, ListPresetsResponse, PaginatedPresetsResponse, PaginationMetadata, PresetIndex, PresetMetadata, UpdatePresetRequest, UpdatePresetResponse } from './preset';
|