zeus-api-types 1.0.84 → 1.0.85
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/deck.d.ts +2 -20
- package/dist/game-state.d.ts +3 -3
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/deck.d.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
import type { GameState } from "./game-state";
|
|
2
|
-
export interface StoryArc {
|
|
3
|
-
id?: string;
|
|
4
|
-
theme?: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
narrative_hooks?: string[];
|
|
8
|
-
atmosphere_modifiers?: Record<string, number>;
|
|
9
|
-
/**
|
|
10
|
-
* Arc pattern representing emotional trajectory
|
|
11
|
-
* 11 values (0-100) at 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100% progress
|
|
12
|
-
*/
|
|
13
|
-
arc_pattern?: number[];
|
|
14
|
-
/**
|
|
15
|
-
* Tone pattern representing emotional tone trajectory throughout the story
|
|
16
|
-
* 11 tone values in compact notation at progress intervals
|
|
17
|
-
*/
|
|
18
|
-
tone_pattern?: string[];
|
|
19
|
-
[key: string]: unknown;
|
|
20
|
-
}
|
|
1
|
+
import type { GameState, MetadataCustomDataShape } from "./game-state";
|
|
21
2
|
/**
|
|
22
3
|
* Base card interface - shared properties across all card types
|
|
23
4
|
*/
|
|
@@ -27,6 +8,7 @@ export interface BaseDeckCard {
|
|
|
27
8
|
title?: string;
|
|
28
9
|
description?: string;
|
|
29
10
|
emoji?: string;
|
|
11
|
+
customDataShape?: MetadataCustomDataShape;
|
|
30
12
|
[key: string]: unknown;
|
|
31
13
|
}
|
|
32
14
|
/**
|
package/dist/game-state.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToneCompact } from "tonelib";
|
|
2
2
|
import type { AIMetadata } from "./ai";
|
|
3
|
-
import type { NarrativeStyleCard,
|
|
3
|
+
import type { NarrativeStyleCard, StoryArcCard } from "./deck";
|
|
4
4
|
import type { WorldEvents } from "./events";
|
|
5
5
|
import { UserMetadata } from "./user-preferences";
|
|
6
6
|
/**
|
|
@@ -256,7 +256,7 @@ export interface GameState {
|
|
|
256
256
|
world: World;
|
|
257
257
|
session: Session;
|
|
258
258
|
metadata: Metadata;
|
|
259
|
-
storyArc?:
|
|
259
|
+
storyArc?: StoryArcCard;
|
|
260
260
|
narrativeStyle?: NarrativeStyleCard;
|
|
261
261
|
}
|
|
262
262
|
export interface GameStateReduced {
|
|
@@ -265,7 +265,7 @@ export interface GameStateReduced {
|
|
|
265
265
|
location: string;
|
|
266
266
|
player: Player;
|
|
267
267
|
world: WorldReduced;
|
|
268
|
-
storyArc?:
|
|
268
|
+
storyArc?: StoryArcCard;
|
|
269
269
|
narrativeStyle?: NarrativeStyleCard;
|
|
270
270
|
}
|
|
271
271
|
export interface StateSnapshot {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { ApiError, ApiErrorResponse } from './errors';
|
|
2
2
|
export type { DoneEventPayload, ErrorEventPayload, MetadataEventPayload, NarrativeChunkEventPayload, NarrativeCompleteEventPayload, NarrativeMetadataEventPayload, NarrativeSSEEventPayload, NarrativeStartEventPayload } from './sse/narrative';
|
|
3
3
|
export type { AIMetadata, AIOperationTokens, AIOperationType } from './ai';
|
|
4
|
-
export type { BaseDeckCard, DeckDefinition, FixtureSet, MultiDeckDefinition, NarrativeStyleCard,
|
|
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
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';
|