@escapeaihq/client-core 0.139.0 → 0.140.0

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
@@ -9,6 +9,7 @@ import type { InventoryAction, PartyAction } from './domains/adventures';
9
9
  import type { CreateStoryboardRequest, CreateStoryboardResponse, ExportStoryboardResponse, ListStoryboardsResponse, PatchStoryboardFrameRequest, RegionEditFrameRequest, ReorderStoryboardFramesRequest, RetryStoryboardFrameRequest, SelectFrameVariantRequest, PrepareStoryboardWorldsResponse, ReleaseStoryboardWorldsRequest, ReleaseStoryboardWorldsResponse, SetFrameWorldRequest, StoryboardDetailResponse, StoryboardExportTarget, StoryboardFrameResponse, StoryboardResponse, StoryboardView, StyleProfile } from './domains/storyboards';
10
10
  import type { ArtifactDeletionReport, ListArtifactsParams, ListArtifactsResponse, ListGenerationRunsParams, ListGenerationRunsResponse } from './domains/artifacts';
11
11
  import type { CurateQuestsResponse, CutsceneClipResponse, CutsceneDefinitionWire, ListCutscenesResponse, PutCutscenesResponse, QuestCurationDelta, QuestHistoryResponse, QuestMapResponse, QuestPreviewResponse, ReliveResponse, SessionQuestStateResponse } from './domains/quests';
12
+ import type { RuntimeEventBatchRequest, RuntimeEventBatchResponse } from './runtimeEvents';
12
13
  import type { BundleLinkFields, BundleManifestResult } from './domains/visemeBundles';
13
14
  export { CHARACTER_STYLE_PRESETS, MAX_IMAGE_OPTION_COUNT, RecloneConflictError, } from './domains/personas';
14
15
  export type { CharacterStylePreset, RecloneConflictCode } from './domains/personas';
@@ -7145,6 +7146,7 @@ export declare class ApiClient {
7145
7146
  private readonly chat;
7146
7147
  private readonly graph;
7147
7148
  private readonly showcase;
7149
+ private readonly runtime;
7148
7150
  private readonly universes;
7149
7151
  private readonly adventureDefinitions;
7150
7152
  private readonly studioSettings;
@@ -8368,6 +8370,7 @@ export declare class ApiClient {
8368
8370
  status?: 'pending' | 'approved';
8369
8371
  sourceVideoId?: string;
8370
8372
  includeBlessed?: boolean;
8373
+ general?: boolean;
8371
8374
  }): Promise<PersonaListResponse>;
8372
8375
  /**
8373
8376
  * §Q SHOW.8: the VIEWER roster of one video — the personas a viewer may pick
@@ -8380,6 +8383,16 @@ export declare class ApiClient {
8380
8383
  * parameter).
8381
8384
  */
8382
8385
  listViewerPersonasByVideo(sourceVideoId: string): Promise<PersonaListResponse>;
8386
+ /**
8387
+ * §Q SHOW.9: the VIEWER roster of GENERAL personas — the ones that name no
8388
+ * video (a site guide an admin made). The caller's own general personas,
8389
+ * plus other owners' general personas this caller may read (blessed and
8390
+ * approved), each shaped exactly like {@link getPersona}'s viewer copy (no
8391
+ * authored prompt). Sends `?general=true&includeBlessed=true`; not paginated
8392
+ * (`next_token` is always null). An older backend answers 400 (unknown
8393
+ * parameter).
8394
+ */
8395
+ listViewerGeneralPersonas(): Promise<PersonaListResponse>;
8383
8396
  /**
8384
8397
  * C3a: list the personas auto-generated from a given source video. Thin
8385
8398
  * wrapper over {@link listPersonas} with ``sourceVideoId`` — backs the review
@@ -10695,6 +10708,16 @@ export declare class ApiClient {
10695
10708
  listShowcaseExperiences(options?: {
10696
10709
  signal?: AbortSignal;
10697
10710
  }): Promise<ShowcaseExperiencesResponse>;
10711
+ /**
10712
+ * §Q RUNTIME.3 — report a batch of external-runtime facts (zone reached,
10713
+ * object found, world predicate set, map area unlocked) into a running
10714
+ * adventure session the caller owns. `POST /api/v1/runtime/sessions/{id}/events`;
10715
+ * see {@link RuntimeApi.submitRuntimeEvents} for the status contract. The
10716
+ * WebSocket twin is {@link ChatWebSocket.sendRuntimeEvent}. Additive.
10717
+ */
10718
+ submitRuntimeEvents(sessionId: string, request: RuntimeEventBatchRequest, options?: {
10719
+ signal?: AbortSignal;
10720
+ }): Promise<RuntimeEventBatchResponse>;
10698
10721
  /** See {@link AdventureDefinitionsApi.createDefinition}. */
10699
10722
  createAdventureDefinition(request: CreateAdventureDefinitionRequest, options?: {
10700
10723
  signal?: AbortSignal;