@escapeaihq/client-core 0.138.0 → 0.139.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 +14 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +13 -0
- package/dist/api.js.map +1 -1
- package/dist/domains/personas.d.ts +3 -0
- package/dist/domains/personas.d.ts.map +1 -1
- package/dist/domains/personas.js +6 -0
- package/dist/domains/personas.js.map +1 -1
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +5 -0
- package/dist/generated/contract.js.map +1 -1
- package/dist/toolSchemas.d.ts +5 -0
- package/dist/toolSchemas.d.ts.map +1 -1
- package/dist/toolSchemas.js +1 -0
- package/dist/toolSchemas.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/persona-generation.test.ts +21 -0
- package/src/api.ts +17 -0
- package/src/domains/personas.ts +7 -0
- package/src/generated/contract.ts +5 -0
- package/src/toolSchemas.ts +1 -0
package/dist/api.d.ts
CHANGED
|
@@ -3777,6 +3777,8 @@ export interface PersonaListResponse {
|
|
|
3777
3777
|
personas: PersonaConfig[];
|
|
3778
3778
|
total: number;
|
|
3779
3779
|
next_token?: string | null;
|
|
3780
|
+
/** §Q SHOW.8 — per-request correlation id; absent from an older backend. */
|
|
3781
|
+
traceId?: string | null;
|
|
3780
3782
|
}
|
|
3781
3783
|
/** Lifecycle of an async persona-generation job. Mirrors
|
|
3782
3784
|
* ``shared/persona_models.py:PersonaJobStatus``. Non-terminal:
|
|
@@ -8365,7 +8367,19 @@ export declare class ApiClient {
|
|
|
8365
8367
|
nextToken?: string;
|
|
8366
8368
|
status?: 'pending' | 'approved';
|
|
8367
8369
|
sourceVideoId?: string;
|
|
8370
|
+
includeBlessed?: boolean;
|
|
8368
8371
|
}): Promise<PersonaListResponse>;
|
|
8372
|
+
/**
|
|
8373
|
+
* §Q SHOW.8: the VIEWER roster of one video — the personas a viewer may pick
|
|
8374
|
+
* and chat with. The caller's own personas of the video (as
|
|
8375
|
+
* {@link listPersonasByVideo} returns them), plus other creators' personas of
|
|
8376
|
+
* it that this caller may read (blessed and approved), each shaped exactly
|
|
8377
|
+
* like {@link getPersona}'s viewer copy (no authored prompt). Sends
|
|
8378
|
+
* `?source_video_id=<id>&includeBlessed=true`; the backend answers 403 when
|
|
8379
|
+
* the caller may not read the video. An older backend answers 400 (unknown
|
|
8380
|
+
* parameter).
|
|
8381
|
+
*/
|
|
8382
|
+
listViewerPersonasByVideo(sourceVideoId: string): Promise<PersonaListResponse>;
|
|
8369
8383
|
/**
|
|
8370
8384
|
* C3a: list the personas auto-generated from a given source video. Thin
|
|
8371
8385
|
* wrapper over {@link listPersonas} with ``sourceVideoId`` — backs the review
|